Joined: July 2004
||Posted: Nov. 13 2007,18:29
|The problem is not the uci, it is mounted, the problem is the call of the wm|
These two sentences seem to contradict each other. When you restart fluxbox using anything other than the built-in restart in fluxbox, X is restarted and therefore the mydsl-load commands are run again. This includes switching desktops or restarting using the DSL switch application.
|Now i put the mydsl-load-commands too to bootlocal.sh, because when i restart fluxbox, then the ucis are unmounted.|
Ok, maybe it would help if you understood exactly what's happening in .xinitrc with respect to the window manager.
Near the beginning of the script, the variable "DESKTOP" is set by reading the file .desktop and grabbing what is listed after "wm=".
At the end of the script, the case command checks the value of DESKTOP against 3 possibilites: fluxbox, jwm, and anything else. If "fluxbox" is found, the commands between "fluxbox)" and the nearest ";;" are run. The same goes for jwm. If anything other than fluxbox or jwm is found in the DESKTOP variable (including nothing), the commands following "*)" are run.
It appears as though your script should work if the file is mounted.
Since you have adjusted your PATH variable to include /opt/fluxbox_0.9.14/bin at the beginning, you don't really even need to specify a path when running fluxbox 0.9.14. It should be chosen as *the* fluxbox to run from the "fluxbox)" case.
I would do as ^thehatsrule^ suggested. Remove the "2>/dev/null" from the fluxbox command and see if you get any errors.