You are not logged in.
I want to have a script that opens a new terminal and calls some commands. I am to stupid. :oops:
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
a new terminal? try "xterm -e"
as in:
# xterm -e "ls -rl /dev"
Offline
... well, this was it. Thank you. I was sure, the terminal would stay up, but it is closed after running the commands. Last issue.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
hmmm, well what are you trying to do? you could pop up the terminal and output whatever it is through "less"
# xterm -e "ls -lr /dev | less"
and the output will be there until you hit "q"
though you may need some other options to less to have it read from stdin
Offline
Use "read" to wait for input (e.g. enter).
xterm -e "ls -lr /dev; read"
Offline
Or maybe you want to use 'xmessage' as in:
'ls -lr /dev | xmessage -file -'
That pops up a nice little window containing the command output with an 'Okay' button to close it down again.
Offline
Or maybe you want to use 'xmessage' as in:
'ls -lr /dev | xmessage -file -'
That pops up a nice little window containing the command output with an 'Okay' button to close it down again.
yeah but xmessage looks like crap IMHO
Offline
*Smack*
This should be ok. I was tired of typing "makepkg foobar", and so I wrote a tiny dirty nautilus script to do that for me. Unfortunately, it worked in the background. Not bad, if you KNOW your package is ok, but in case of errors.
Thank you all.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
*Smack*
This should be ok. I was tired of typing "makepkg foobar", and so I wrote a tiny dirty nautilus script to do that for me. Unfortunately, it worked in the background. Not bad, if you KNOW your package is ok, but in case of errors.
Thank you all.
hmm sounds like an interesting idea... i don't use nautilus myself... but i could see it being cool to double click a PKGBUILD file and have it run makepkg...
Offline
Another idea:
aterm -e bash -c "ls -l; bash"
This runs bash after last command so you can still play with the aterm window
Offline
asif you dont all use screen and just disconnect the session
Offline