LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 06-13-2004, 12:36 AM   #1
MiniBubba
LQ Newbie
 
Registered: Sep 2003
Distribution: Ubuntu
Posts: 14

Rep: Reputation: 0
changing window managers


Currently using Mandrake 10.0 Official and KDE. I'm also booting into the console and NOT the GUI.
Earlier I managed to successfully install fluxbox after a little work, however I can't figure out how to get the default WM changed from KDE to fluxbox (and possibly back again), so when I type in 'startx' flux starts up instead of kde. In my searching I've figured out how to do it in RH and Slack ...but I'm using Mdk. I haven't found any reasonable solutions yet. I have a friend who is attempting to do the same thing, but he's logging into the GUI (selecting flux just logs him into KDE from what I understand). Clearly I'm still learning here, call me a newbie if it helps

So how do I do this? I apologize if it's a silly question, but the solution is lost to me...
 
Old 06-13-2004, 12:38 AM   #2
dickohead
Member
 
Registered: Feb 2003
Location: Melbourne, VIC, Australia
Distribution: Ubuntu 6.06
Posts: 101

Rep: Reputation: 15
so you log in at the command line eh? Try this: kdm& that should load up the KDE login manager, and from there, you should be able to choose which window manager to use.
 
Old 06-13-2004, 12:51 AM   #3
MiniBubba
LQ Newbie
 
Registered: Sep 2003
Distribution: Ubuntu
Posts: 14

Original Poster
Rep: Reputation: 0
worked like a charm
except fluxbox isn't listed for some reason. I get "kde, gnome, windowmaker, icewm, default, failsafe". I assume I need to edit a file somewhere, so where do I point my keyboard? I appreciate the help.
 
Old 06-13-2004, 01:06 AM   #4
dickohead
Member
 
Registered: Feb 2003
Location: Melbourne, VIC, Australia
Distribution: Ubuntu 6.06
Posts: 101

Rep: Reputation: 15
couldn't help you there i'm afraid! I use gnome and kde.... and i've never heard of fluxbox! :S it could be a setting under the mandrake control centre somewhere?
 
Old 06-13-2004, 01:18 AM   #5
MiniBubba
LQ Newbie
 
Registered: Sep 2003
Distribution: Ubuntu
Posts: 14

Original Poster
Rep: Reputation: 0
nah, i dont even see the option (I think). fluxbox is pretty cool, fast and light on resources, just not as 'pretty' as kde or gnome
 
Old 06-13-2004, 01:21 AM   #6
dickohead
Member
 
Registered: Feb 2003
Location: Melbourne, VIC, Australia
Distribution: Ubuntu 6.06
Posts: 101

Rep: Reputation: 15
i like my pretty things keeps me entertained when thing's stop working!
 
Old 06-13-2004, 12:50 PM   #7
RockmanExe
Member
 
Registered: Aug 2003
Distribution: Mandriva, Slackware
Posts: 265

Rep: Reputation: 30
Hey MiniBubba;:

to add fluxbox to the wm list in kdm, you need you add a file under /etc/X11/dm/Sessions

if you go to that path you'll see several files already there, named:
01KDE.desktop
02GNOME.desktop
07IceWM.desktop

open your favorite editor and create a new text file. Add the following

[Desktop Entry]
Encoding=UTF-8
Name=fluxbox
Comment=fluxbox
TryExec=/usr/local/bin/startfluxbox
Exec=/etc/X11/xdm/Xsession fluxbox
Icon=
Type=Application

save it as 05Fluxbox.desktop (the number '05' may be already used, so choose another one)

you need to be root to do all this...
and that's all

hope this helps
 
Old 06-13-2004, 01:38 PM   #8
MiniBubba
LQ Newbie
 
Registered: Sep 2003
Distribution: Ubuntu
Posts: 14

Original Poster
Rep: Reputation: 0
thanks, I think I got it...

except the path is different: /etc/X11/wmsession.d
the file names are the same, except the content format is different (example):
Code:
NAME=KDE
ICON=kde-wmsession.xpm
DESC=The K Desktop Environment
EXEC=/usr/bin/startkde
SCRIPT:
exec /usr/bin/startkde
also, i don't see the .desktop extention. if it's hidden, how do I show it?

EDIT: under /usr/local/bin I've got fbrun, fluxbox, fluxbox-generate_menu and a couple other files
should I map to 'fbrun'? trial and error, here I come

Last edited by MiniBubba; 06-13-2004 at 01:45 PM.
 
Old 06-13-2004, 01:52 PM   #9
RockmanExe
Member
 
Registered: Aug 2003
Distribution: Mandriva, Slackware
Posts: 265

Rep: Reputation: 30
Yup, i created a '05Fluxbox' file there too, sorry, i fogot about it

under /etc/X11/wmsession.d create a file '05Fluxbox'

under /etc/X11/dm/Sessions create the '05Fluxbox.desktop' file.

they both have almost the same content described above

that's how it worked for me

Last edited by RockmanExe; 06-13-2004 at 01:55 PM.
 
Old 06-13-2004, 02:48 PM   #10
MiniBubba
LQ Newbie
 
Registered: Sep 2003
Distribution: Ubuntu
Posts: 14

Original Poster
Rep: Reputation: 0
problem is, I don't have /etc/X11/dm/Sessions path
the closest thing I have is /etc/X11/xdm/ ..with no Sessions. Although there is a file named Xsession with the single line
Code:
exec /etc/X11/Xsession $*
the only folder is really a shorcut to /var/lib/xdm/
 
Old 06-14-2004, 08:57 AM   #11
RockmanExe
Member
 
Registered: Aug 2003
Distribution: Mandriva, Slackware
Posts: 265

Rep: Reputation: 30
Weird, we're using the same mdk version, i don't know why the paths are different...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problems changing window managers run_linux Slackware 2 07-24-2004 08:45 PM
changing window managers north49er Slackware 2 07-10-2004 04:12 PM
Changing Window Managers Brother Michael Debian 6 06-21-2004 08:18 PM
Changing Window Managers Bigun Linux - Software 4 03-25-2004 05:48 PM
changing window managers WingNut Slackware 18 07-17-2003 07:46 AM


All times are GMT -5. The time now is 10:09 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration