[Novalug] trying to learn how to pass a command to launched terminal
Bonnie Dalzell
bdalzell@qis.net
Thu Jan 10 22:23:52 EST 2013
On Thu, 10 Jan 2013, William Sutton wrote:
> Many terminals (e.g., xterm, eterm) provide a -e option. Under xterm, for
> example, you could theoretically do
>
> exo-open --launch 'xterm -e "cat /etc/issue"'
xterm is installed on my system so
xterm from the command line opens an xterm terminal
however
exo-open --launch 'xterm -e "cat /etc/issue"'
generates this error:
(exo-helper-1:9562): exo-helper-WARNING **: Invalid helper type "xterm -e
"cat /etc/issue""
exo-helper specifically seems to want TerminalEmulator to launch a
terminal
i have tried it setting the terminal to be launched in Terminalmulator
(which is settable in Preferred Applications) to xterm.
something is missing - 'frustration!!!'
I havd tried the command with backticks instead of single quotes with the
same error
>
> William Sutton
>
> On Thu, 10 Jan 2013, Bonnie Dalzell wrote:
>
>>
>> what i want to do is launch a terminal and run a command in that terminal
>> from another terminal
>>
>> exo-open --launch TerminalEmulator
>>
>> will open a new terminal
>>
>> however i want to run a command within the new terminal and have the
>> terminal remain open to display the result of the command
>>
>> the command returns the version of Ubuntu
>>
>> cat /etc/issue
>>
>> i have spent a lot of time on google but I do not seem to be able to ask
>> the questioon correctly
>>
>> I cannot figure out how to pass the command to the terminal
>>
>> exo-open --launch TerminalEmulator `cat \/etc\/issue`
>>
>> for example this version above gives me an error "Failed to execute child
>> process "Ubuntu" (No such file or directory)"
>>
>> I am using the xfce-desktop and 12.04 Xubuntu
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Bonnie Dalzell, MA
>> mail:PO box 9767 Baldwin, MD, USA 21013 | EMAIL:bdalzell@qis.net
>> shipping address:5100 Hydes Rd 21082 (Hydes Post Office closed Jan 2012)
>> Freelance anatomist, vertebrate paleontologist, writer, illustrator, dog
>> breeder, computer nerd & iconoclast... Borzoi info at www.borzois.com.
>> HOME www.batw.net ART bdalzellart.batw.net BUSINESS
>> www.boardingatwedge.com
>>
>> _______________________________________________
>> Novalug mailing list
>> Novalug@calypso.tux.org
>> http://calypso.tux.org/mailman/listinfo/novalug
>>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bonnie Dalzell, MA
mail:PO box 9767 Baldwin, MD, USA 21013 | EMAIL:bdalzell@qis.net
shipping address:5100 Hydes Rd 21082 (Hydes Post Office closed Jan 2012)
Freelance anatomist, vertebrate paleontologist, writer, illustrator, dog
breeder, computer nerd & iconoclast... Borzoi info at www.borzois.com.
HOME www.batw.net ART bdalzellart.batw.net BUSINESS www.boardingatwedge.com
More information about the Novalug
mailing list