How to restart JWM from script?

Using applications, configuring, problems
Post Reply
Message
Author
smog
Posts: 134
Joined: Tue 13 Jun 2006, 12:52

How to restart JWM from script?

#1 Post 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

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#2 Post 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
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

smog
Posts: 134
Joined: Tue 13 Jun 2006, 12:52

JWM

#3 Post by smog »

Thanks VERY much HairyWill.

That has done the trick, much appreciated.

smog

Post Reply