Page 1 of 1

How to restart JWM from script?

Posted: Sun 04 Mar 2007, 09:48
by smog
I have written a script to personalise my JWM settings.

Please could someone tell me what command I need to use to kill and restart JWM from the script rather than having to go into the menu manually after running the script?

Thanks

Posted: Sun 04 Mar 2007, 10:01
by HairyWill
easy question, pick me, pick me

Code: Select all

sh-3.00# jwm -h 
JWM v1.8 by Joe Wingbermuehle
compiled options: fribidi icons png shape xft xinerama xpm xrender 
system configuration: /usr/local/etc/system.jwmrc
usage: jwm [ options ]
  -display X  Set the X display to use
  -exit       Exit JWM (send _JWM_EXIT to the root)
  -h          Display this help message
  -p          Parse the configuration file and exit
  -restart    Restart JWM (send _JWM_RESTART to the root)
  -v          Display version information
so try

Code: Select all

jwm -restart
should do the job

JWM

Posted: Sun 04 Mar 2007, 10:13
by smog
Thanks VERY much HairyWill.

That has done the trick, much appreciated.

smog