You are not logged in.

#1 2010-07-26 12:17:15

begbie
Member
From: Poland
Registered: 2010-04-28
Posts: 39

[SOLVED]Ob menu - can't start MOC in urxvt.

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

#2 2010-07-26 12:28:50

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: [SOLVED]Ob menu - can't start MOC in urxvt.

Try:

urxvt -e mocp

Offline

#3 2010-07-26 12:46:10

begbie
Member
From: Poland
Registered: 2010-04-28
Posts: 39

Re: [SOLVED]Ob menu - can't start MOC in urxvt.

It works! Thanks Ashren.

Just curious, what does that -e do?

Last edited by begbie (2010-07-26 12:46:37)

Offline

#4 2010-07-26 13:20:36

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: [SOLVED]Ob menu - can't start MOC in urxvt.

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

Board footer

Powered by FluxBB