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

[wmx] new window command

E.Ivandaev - Mon Mar 22 19:18:15 1999


i have started linux 5 and wmx 2 days ago, plus don't know too much about
C++ so this is probably something simple..

what i am trying to do is to run this command every time i choose "new
window" command from the popup menu:

"rxvt -pixmap ~/HOME/.rxvt/rxvtbg.xpm -fg white -bg black -sl 50 -title
Shell -fn 6x13"

if i do this in Config.h

#define CONFIG_NEW_WINDOW_LABEL "New"
#define CONFIG_NEW_WINDOW_COMMAND "rxvt"
#define CONFIG_NEW_WINDOW_COMMAND_OPTIONS 0
#define CONFIG_DISABLE_NEW_WINDOW_COMMAND (dConfig.disableNew())

it works fine, but if i change this to:


#define CONFIG_NEW_WINDOW_COMMAND_OPTIONS "-pixmap $HOME/.rxvt/rxvtbg.xpm
-fg white -bg black -sl 50 -title Shell -fn 6x13"


or even

#define CONFIG_NEW_WINDOW_COMMAND_OPTIONS "-pixmap
$HOME/.rxvt/rxvtbg.xpm", "-fg white", "-bg black", "-sl 50", "-title
Shell", "-fn 6x13", 0

or 

CONFIG_NEW_WINDOW_COMMAND "rxvt -pixmap ~/HOME/.rxvt/rxvtbg.xpm -fg white
-bg black -sl 50 -title Shell -fn 6x13"


and than try choosing "New" from the menu nothing happens... so the wmx
becomes more or less unusable..

is there any other way to pass parameters to rxvt or am i doing something
wrong?

cheers,

---
Egor.Ivandaev@ncl.ac.uk



Next: