Window Mangers :: fluxbox 0.9.14 not loading by xinitrc



In /home/dsl/.desktop i have fluxbox and dfm

okango

edit:
It seems, that the call of the wm wouldt be from another place in xinitrc or from another file.

okango

Quote
In /home/dsl/.desktop i have fluxbox and dfm
You should have only one or the other. The .xinitrc script [indirectly] checks .desktop for "wm=something", and uses "something" as the window manager if it is listed under "case $DESKTOP in".

Then again, this has nothing to do with the extension being unmounted. That would probably be the result of putting mydsl-load commands in .xinitrc. UCI packages mount the first time mydsl-load is run on them, and unmount if it runs a second time. The .xinitrc script runs every time you start x. If a UCI listed in that script is already mounted, it will be unmounted when the script is run.  If you need to put mydsl-load commands somewhere, bootlocal.sh is probably the least troublesome. That script runs only once.

The problem is not the uci, it is mounted, the problem is the call of the wm.

now i have tried the following:

At first i edited desktop and changed the "wm=fluxbox" to "wm=/opt/fluxbox_0.9.14/bin/fluxbox" => no effect.

Then i edited again xinitrc and commented out the lines

case $DESKTOP in
 fluxbox )

=> no effect

(the later calls of "exec /opt/fluxbox_0.9.14/bin/fluxbox" are completed with "2>/dev/null" again).

I dont know, what i could do else.

okango

Quote
The problem is not the uci, it is mounted, the problem is the call of the wm
Quote
Now i put the mydsl-load-commands too to bootlocal.sh, because when i restart fluxbox, then the ucis are unmounted.
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.

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.

Quote (okango @ Nov. 13 2007,12:03)
now i have tried the following:

At first i edited desktop and changed the "wm=fluxbox" to "wm=/opt/fluxbox_0.9.14/bin/fluxbox" => no effect.

Then i edited again xinitrc and commented out the lines

case $DESKTOP in
 fluxbox )

As mikshaw noted, you want to leave "wm: fluxbox" in .desktop, since this is the word that will be matched in the case argument in .xinitrc that reads the script.  

The line for dfm should be "icons: dfm"  (note: there is no "=" in my copy of .desktop; it uses ":"

Next Page...
original here.