Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: bigpcman on May 22, 2009, 12:26:22 PM

Title: How to restart flwm display 0 & 1 on menu updates?
Post by: bigpcman on May 22, 2009, 12:26:22 PM
I thought I figured out how to restart flwm display 0 & 1 on menu updates by changing the flwm_restart script as shown below. The script seems to restart flwm for both displays but it does not fix the menu update problems. For instance when I uninstall emelfm2 the wbar button goes away but the menu entries do not. So it looks like something else in addition to flwm_restart needs to be updated. Any ideas?

Code: [Select]
#!/bin/sh

restart() {
 killall flwm
 DISPLAY=:0.0 flwm &
 [ -e /tmp/.X11-unix/X1 ] && DISPLAY=:1.0 flwm &
 }

 WBARPID=$(pidof flwm)
 [ -n "$WBARPID" ] && restart
-------------------------------------------------------------------------------
Edit: Clearing out uninstalled menu entries appears to be in the tcz-uninstall script.