Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: si_hussain1 on June 24, 2009, 02:46:12 AM
-
Hi,
How do i restart the window manager jwm from command line or shell script?
-
try /usr/bin/jwm_restart
-
Hi,
There is no binary called jwm_restart in /usr/bin. Am i missing something?
-
maybe it is at /usr/local/bin
if your window manager is jwm then call jwm_restart can be from anywhere.
tc@anarkia:~$ ls /usr/bin/j*
/usr/bin/jpegtran /usr/bin/jwm_initmenu /usr/bin/jwm_restart
/usr/bin/jwm /usr/bin/jwm_makemenu /usr/bin/jwm_setbackground
tc@anarkia:~$ cat /usr/bin/jwm_restart
#!/bin/sh
pidof jwm >/dev/null && jwm -restart
-
There is no binary called jwm_restart in /usr/bin. Am i missing something?
Which version of TC are you useing? Since TC 2.0 each window manager has interface files. The interface files for the window manager extensions are script files, not binaries.
the interface files for a window manager will be in either /usr/bin or /usr/local/bin, both of which should be in your PATH. So you can just use the command `jwm_restart`
If you are still using 1.X you can use `jwm -restart` as long as X is running.
-
Hi,
jwm -restart did the trick. Thanks.