Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-27-2004, 11:16 PM   #1
Registered: Feb 2004
Posts: 71

Rep: Reputation: 15
change default window manager?

i looked around a bit and had trouble understanding the syntax for startx commands

basicly i changed my login from graphical to a text one by editing /etc/initrc and replacing the 5 with a 3.

so now i login with text mode and things look pretty spiffy but when i issue startx im booting right into gnome. i was wondering if i should just change my default manager to fluxbox (oh and how would i do that too) or maybe startx has a command that will let me choose my window manager. like startx -fluxbox (which doesnt work) or something like that.

thanks in advance yall!

Old 02-27-2004, 11:28 PM   #2
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
Simply put a .xinitrc in your /home directory.


exec gkrellm &


This is mine using Gnome and starting gkrellm.
Old 02-28-2004, 12:55 AM   #3
Senior Member
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
/etc/X11/xinit/* is a script that runs at strartup , its pretty strait forward, in a default file its some stuff at the top, then at the bottom is a bunch of comands like
xterm &
xclock &
filemanager &

you get the drift
Old 02-28-2004, 03:04 PM   #4
Registered: Feb 2004
Posts: 71

Original Poster
Rep: Reputation: 15
thanks Allen614

that worked great. i also was planning on asking how to start gkrellm up with x too. looks like you killed 2 birds with one stone.
Old 03-14-2004, 05:44 AM   #5
LQ Newbie
Registered: Mar 2004
Location: Saint Petersburg, Russia
Distribution: Debian Sarge 3.1
Posts: 25

Rep: Reputation: 15
Help please with FluxBox - can't run it. Seems I've done all that is said in native docs (I choose to start it automatically with display manager):

* installed fluxbox without errors: ./configure, make, make install.
* add to ~/.xsession
exec /usr/local/bin/fluxbox
* mkdir ~/.fluxbox

then I restart computer, but look & fell stayd the same (gnome) :-(

OS: Red Hat 9
Fluxbox: latest I found at its site
Old 03-14-2004, 09:58 AM   #6
Registered: Mar 2004
Location: Somerset, UK
Distribution: Zenwalk Current & Ubuntu Feisty
Posts: 61

Rep: Reputation: 15
You need to let GNOME now that Fluxbox is there
(presuming you're still using graphical log in...)
I've used fluxbox with RH9 before and this is how it worked.

Install as you have done.
Locate and cd to the directory called /etc/X11/gdm/Session
use your favourite editor (vi,emacs,etc...) to create a file named "Fluxbox" containing the single line:

exec fluxbox

save the file and make is executable
( chmod +x Fluxbox )

now when you reboot you'll get the GNOME log in screen, click on Session and there should be the option of Fluxbox, select this and away you go.
Old 03-14-2004, 04:12 PM   #7
LQ Newbie
Registered: Mar 2004
Location: Saint Petersburg, Russia
Distribution: Debian Sarge 3.1
Posts: 25

Rep: Reputation: 15

thanx a lot for your instruction! it works


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
How to change the window manager for GNOME? (default is sawfish?) sylvain_gnu Linux - Newbie 9 08-06-2007 02:07 AM
default window manager srinis Linux - General 2 01-24-2005 04:02 AM
How to change default window manager? kwerkun Mandriva 10 11-11-2004 06:36 PM
How to change the window manager for GNOME? (default is sawfish?) sylvain_gnu Linux - Software 2 04-20-2004 02:25 PM
Default Window Manager JHuizingh Linux - General 6 08-19-2001 11:43 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:49 AM.

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