You are not logged in.
In Openbox menu I can only start MOC player in xterm (with command xterm mocp). I removed xterm, I prefer urxvt, but when I put in menu command urxvt mocp, nothing happens. Same with other terminals, it works only when started with xterm. It's something with Ob menu I guess because I can normally start MOC in urxvt started first.
I'm doing something wrong or I must use xterm in Ob menu?
Last edited by begbie (2010-07-26 12:46:54)
Offline
Try:
urxvt -e mocp
Offline
It works! Thanks Ashren.
Just curious, what does that -e do?
Last edited by begbie (2010-07-26 12:46:37)
Offline
man urxvt
-e command [arguments]
Run the command with its command-line arguments in the urxvt window; also sets the window title and icon name to be the basename of the
program being executed if neither -title (-T) nor -n are given on the command line. If this option is used, it must be the last on the
command-line. If there is no -e option then the default is to run the program specified by the SHELL environment variable or, failing
that, sh(1).Please note that you must specify a program with arguments. If you want to run shell commands, you have to specify the shell, like
this:urxvt -e sh -c "shell commands"
Offline