Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: fluxbox 0.9.14 not loading by xinitrc< Next Oldest | Next Newest >
okango Offline





Group: Members
Posts: 13
Joined: Aug. 2007
Posted: Nov. 12 2007,08:52 QUOTE

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
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 12 2007,14:20 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
okango Offline





Group: Members
Posts: 13
Joined: Aug. 2007
Posted: Nov. 13 2007,17:03 QUOTE

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
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 13 2007,18:29 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Nov. 13 2007,19:18 QUOTE

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 ":"
Back to top
Profile PM 
12 replies since Nov. 11 2007,16:54 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: fluxbox 0.9.14 not loading by xinitrc

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code