Back to fluxbox


Forum: X and Fluxbox
Topic: Back to fluxbox
started by: davide

Posted by davide on Mar. 15 2005,09:34
Hi Guys
I installed icewm as an extention, downloading from the repository. I tought this would have given me a chance to swap window manager in case I wanted to or needed, but instead I got icewm as the standard wm.
If so, I prefer getting back to fluxbox. How do I do this?
I tryied to comment the last two line of .xinitrc, but no result.

any suggest?


davide

:(

Posted by davide on Mar. 15 2005,09:35
forgot to say that I run dsl from hd install
Posted by henk.1955 on Mar. 15 2005,10:16
copy /etc/skel/.xinitrc to /home/dsl/.xinitrc

/etc/skel contains the default setting for each new user

Posted by davide on Mar. 15 2005,12:20
thank you! I'll try it immediately!
:)

Posted by mikshaw on Mar. 15 2005,17:31
I don't know what changes were made with the icewm installation, but it should have done nothing to existing files.  Adding a window manager should require the user to specify which he wants by editing the appropriate file(s) -- in this case /home/dsl/.xinitrc. The last line in .xinitrc should be the window manager you want.  This means a tiny bit of work for the user, but it prevents one window manager from messing with another.
Posted by davide on Mar. 15 2005,18:13
I thought it would be like that. But it wasn't. Icewm became the default Wmanager. I tryied to change those lines, as you suggested, and put fluxbox again, but I probably messed it up..don't know. It just didn't work.
bye

Posted by davide on Mar. 15 2005,18:34
I thought it would be like that. But it wasn't. Icewm became the default Wmanager. I tryied to change those lines, as you suggested, and put fluxbox again, but I probably messed it up..don't know. It just didn't work.

I did as henk.1955 suggested, and it worked.

:)

Posted by mikshaw on Mar. 15 2005,18:44
There isn't really a "default" window manager when you boot into runlevel 3 (or is it 5 in DSL?).  It's dependent on the specific window manager you specify.  If nothing is specified, then no window mnager will run.  
Let's see if we can narrow this down to the source of the trouble....

When you boot into DSL, root is automatically logged in, and then root su's to user dsl.  This has nothing to do with X, so we can probably assume Icewm made no changes here.

Next, when dsl logs in, /etc/profile and /home/dsl/.bash_profile are run.  You might check each of these files to see if there is anything unusual here.  It's not likely that /etc/profile would be the trouble, but you never know...

When .bash_profile is run, startx is run from that, which begins the xinit process (loading X).  It's possible that "startx" was replaced by another command, such as "xinit icewm".  If if the startx command was untouched, look for something before the "startx" line.

The Xinit process generally runs /home/dsl/.xinitrc.  However, if the XINITRC variable was set at some point prior to this (such as from .bash_profile), Xinit would use that file instead, ignoring .xinitrc completely.  This isn't a standard way to change window managers, but it could happen (I did that myself in an older extension, but thought better of it later).

If .xinitrc is not your trouble, as you said, and changing this file doesn't help, then my guess is that something changed prior to the time when .xinitrc would normally be run.  Probable culprit is the XINITRC variable mentioned above.

EDIT:
Quote
I did as henk.1955 suggested, and it worked.

ok, fine....that's good.  You can ignore this post then....grumble....

Posted by henk.1955 on Mar. 15 2005,20:11
Quote
You can ignore this post then....grumble....
NO do not  ignore mikshaw's post!
It contains usefull information.
I was to lazy to explain this. i have used the icwmm.dsl, and i know it just overwrites /home/dsl/.xinitrc. my "solution" was just a quick fix.

Posted by walterb on Mar. 17 2005,14:29
Hi!

I'm new with linux and DSL. I'm starting with a special project, a high speed laser measurement system for transportation industry. We would like to use a small pc104 linux board for data acquisition. now i'm testing with Geode MMX-200 processor, made a DSL installation booting from 1GB cf-card, without hd without cd....
my problem:
during some experimentation i installed icewm, but was not satisfied.
i did replace the .xinitrc and it worked, but still i have one problem.

the desktop icon shortly display on the screen, but are gone when fluxbox finished startup.

I'm sure someone can help me!
???

Posted by walterb on Mar. 17 2005,14:30
sorry!

all icons disappear!
???

Posted by mikshaw on Mar. 17 2005,16:55
Did you make any changes in your /home/dsl/.xtdesktop directory?  If there is a missing icon file or bad .lnk file, xtdesk will shut down.
Posted by davide on Mar. 18 2005,08:53
Milkshaw you help is appreciated.
You gave some hints that I'll follow to investigate, even if ther problem seems to be solved.
But you never know..it SEEMS to be solved..it may come up later in other ways..so I'll check!
thanx

davide

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.