Re: xterm vs gnome terminal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/02/11 16:18, Tom H wrote:
> On Mon, May 2, 2011 at 5:31 PM, JD<jd1008@xxxxxxxxx>  wrote:
>> On 05/02/11 14:09, Cameron Simpson wrote:
>>> On 02May2011 13:14, JD<jd1008@xxxxxxxxx>    wrote:
>>> | $ cat /home/jd/bin/viewer
>>> | #!/bin/sh
>>> | xterm -fn 12x24 -bg white -fg black -e vi $*&
>>> |
>>> | How can I replace xterm with gnome-terminal?
>>> |
>>> | I tried to simply change xterm to gnome-terminal
>>> | but gnome-terminal does not recognize the args
>>> | and never executes vi on the file selected.
>>>
>>> I discovered to my horror several years ago that gnome-terminal wants to
>>> use "-x" where xterm and most other terminals use "-e".
>>>
>>> Have a look at "man gnome-terminal" for specifics.
>>>
>>> But try this:
>>>
>>> gnome-terminal -bg white -fg black -x vi ${1+"$@"}&
>>>
>>> ALso note the change of $* - your origial script will break if you get files
>>> with whitespec in their names.
>> When I tried it I got this message:
>>
>> Failed to parse arguments: Unknown option -bg
>>
>> Also, there is no man page for gnome-terminal on my F14.
> You can set up a profile with white bg and black fg and then call it
> with "--window-with-profile=PROFILENAME]" or
> "--tab-with-profile=PROFILENAME".
>
> For the command, from the man page:
>
> -e, --command=STRING
>                   Execute the argument to this option inside the terminal.
>
> -x, --execute
>                   Execute  the  remainder  of  the  command  line  inside   the
>                   terminal.
Thanx a lot.
I hope that the Fedora packagers of the gnome-terminal-2.32.0-1.fc14.i686
will not skip over including the man page when building the package.

$ rpm -ql gnome-terminal-2.32.0-1.fc14.i686
/etc/gconf/schemas/gnome-terminal.schemas
/usr/bin/gnome-terminal
/usr/share/applications/gnome-terminal.desktop
/usr/share/doc/gnome-terminal-2.32.0
/usr/share/doc/gnome-terminal-2.32.0/AUTHORS
/usr/share/doc/gnome-terminal-2.32.0/COPYING
/usr/share/doc/gnome-terminal-2.32.0/NEWS
/usr/share/doc/gnome-terminal-2.32.0/README
/usr/share/gnome-terminal
/usr/share/gnome-terminal/encodings-dialog.ui
/usr/share/gnome-terminal/find-dialog.ui
/usr/share/gnome-terminal/keybinding-editor.ui
/usr/share/gnome-terminal/profile-manager.ui
/usr/share/gnome-terminal/profile-new-dialog.ui
/usr/share/gnome-terminal/profile-preferences.ui
/usr/share/gnome-terminal/skey-challenge.ui
/usr/share/gnome-terminal/terminal.about
/usr/share/gnome-terminal/terminal.xml
/usr/share/gnome/help/gnome-terminal
/usr/share/gnome/help/gnome-terminal/C
/usr/share/gnome/help/gnome-terminal/C/figures
/usr/share/gnome/help/gnome-terminal/C/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/C/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/C/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/C/legal.xml
/usr/share/gnome/help/gnome-terminal/bg
/usr/share/gnome/help/gnome-terminal/bg/figures
/usr/share/gnome/help/gnome-terminal/bg/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/bg/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/bg/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/bg/legal.xml
/usr/share/gnome/help/gnome-terminal/ca
/usr/share/gnome/help/gnome-terminal/ca/figures
/usr/share/gnome/help/gnome-terminal/ca/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/ca/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/ca/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/cs
/usr/share/gnome/help/gnome-terminal/cs/figures
/usr/share/gnome/help/gnome-terminal/cs/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/cs/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/cs/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/da
/usr/share/gnome/help/gnome-terminal/da/figures
/usr/share/gnome/help/gnome-terminal/da/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/da/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/da/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/de
/usr/share/gnome/help/gnome-terminal/de/figures
/usr/share/gnome/help/gnome-terminal/de/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/de/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/de/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/el
/usr/share/gnome/help/gnome-terminal/el/figures
/usr/share/gnome/help/gnome-terminal/el/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/el/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/el/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/en_GB
/usr/share/gnome/help/gnome-terminal/en_GB/figures
/usr/share/gnome/help/gnome-terminal/en_GB/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/en_GB/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/en_GB/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/es
/usr/share/gnome/help/gnome-terminal/es/figures
/usr/share/gnome/help/gnome-terminal/es/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/es/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/es/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/fr
/usr/share/gnome/help/gnome-terminal/fr/figures
/usr/share/gnome/help/gnome-terminal/fr/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/fr/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/fr/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/it
/usr/share/gnome/help/gnome-terminal/it/figures
/usr/share/gnome/help/gnome-terminal/it/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/it/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/it/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/ja
/usr/share/gnome/help/gnome-terminal/ja/figures
/usr/share/gnome/help/gnome-terminal/ja/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/ja/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/ja/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/ja/legal.xml
/usr/share/gnome/help/gnome-terminal/ko
/usr/share/gnome/help/gnome-terminal/ko/figures
/usr/share/gnome/help/gnome-terminal/ko/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/ko/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/ko/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/oc
/usr/share/gnome/help/gnome-terminal/oc/figures
/usr/share/gnome/help/gnome-terminal/oc/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/oc/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/oc/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/pt_BR
/usr/share/gnome/help/gnome-terminal/pt_BR/figures
/usr/share/gnome/help/gnome-terminal/pt_BR/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/pt_BR/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/pt_BR/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/ro
/usr/share/gnome/help/gnome-terminal/ro/figures
/usr/share/gnome/help/gnome-terminal/ro/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/ro/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/ro/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/ro/legal.xml
/usr/share/gnome/help/gnome-terminal/ru
/usr/share/gnome/help/gnome-terminal/ru/figures
/usr/share/gnome/help/gnome-terminal/ru/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/ru/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/ru/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/sv
/usr/share/gnome/help/gnome-terminal/sv/figures
/usr/share/gnome/help/gnome-terminal/sv/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/sv/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/sv/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/uk
/usr/share/gnome/help/gnome-terminal/uk/figures
/usr/share/gnome/help/gnome-terminal/uk/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/uk/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/uk/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/zh_CN
/usr/share/gnome/help/gnome-terminal/zh_CN/figures
/usr/share/gnome/help/gnome-terminal/zh_CN/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/zh_CN/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/zh_CN/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/zh_TW
/usr/share/gnome/help/gnome-terminal/zh_TW/figures
/usr/share/gnome/help/gnome-terminal/zh_TW/figures/gnome-terminal-default.png
/usr/share/gnome/help/gnome-terminal/zh_TW/figures/gnome-terminal-tabbed.png
/usr/share/gnome/help/gnome-terminal/zh_TW/gnome-terminal.xml
/usr/share/gnome/help/gnome-terminal/zh_TW/legal.xml
/usr/share/locale/am/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/ar/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/as/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/ast/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/az/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/be/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/be@latin/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/bg/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/bn/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/bn_IN/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/br/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/bs/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/ca/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/cs/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/cy/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/da/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/de/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/dz/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/el/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/en@shaw/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/en_CA/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/en_GB/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/eo/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/es/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/et/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/eu/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/fa/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/fi/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/fr/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/fur/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/ga/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/gl/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/gu/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/he/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/hi/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/hr/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/hu/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/hy/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/id/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/it/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/ja/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/ka/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/kk/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/kn/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/ko/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/ku/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/lt/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/lv/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/mai/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/mg/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/mk/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/ml/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/mn/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/mr/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/ms/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/nb/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/nds/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/ne/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/nl/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/nn/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/oc/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/or/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/pa/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/pl/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/ps/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/pt/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/ro/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/ru/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/rw/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/si/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/sk/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/sl/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/sq/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/sr/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/sr@latin/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/sv/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/ta/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/te/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/th/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/tr/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/ug/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/uk/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/vi/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/wa/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/xh/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/zh_HK/LC_MESSAGES/gnome-terminal.mo
/usr/share/locale/zh_TW/LC_MESSAGES/gnome-terminal.mo
/usr/share/omf/gnome-terminal
/usr/share/omf/gnome-terminal/gnome-terminal-C.omf
/usr/share/omf/gnome-terminal/gnome-terminal-bg.omf
/usr/share/omf/gnome-terminal/gnome-terminal-ca.omf
/usr/share/omf/gnome-terminal/gnome-terminal-cs.omf
/usr/share/omf/gnome-terminal/gnome-terminal-da.omf
/usr/share/omf/gnome-terminal/gnome-terminal-de.omf
/usr/share/omf/gnome-terminal/gnome-terminal-el.omf
/usr/share/omf/gnome-terminal/gnome-terminal-en_GB.omf
/usr/share/omf/gnome-terminal/gnome-terminal-es.omf
/usr/share/omf/gnome-terminal/gnome-terminal-fr.omf
/usr/share/omf/gnome-terminal/gnome-terminal-it.omf
/usr/share/omf/gnome-terminal/gnome-terminal-ja.omf
/usr/share/omf/gnome-terminal/gnome-terminal-ko.omf
/usr/share/omf/gnome-terminal/gnome-terminal-oc.omf
/usr/share/omf/gnome-terminal/gnome-terminal-pt_BR.omf
/usr/share/omf/gnome-terminal/gnome-terminal-ro.omf
/usr/share/omf/gnome-terminal/gnome-terminal-ru.omf
/usr/share/omf/gnome-terminal/gnome-terminal-sv.omf
/usr/share/omf/gnome-terminal/gnome-terminal-uk.omf
/usr/share/omf/gnome-terminal/gnome-terminal-zh_CN.omf
/usr/share/omf/gnome-terminal/gnome-terminal-zh_TW.omf

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux