LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-28-2004, 12:16 AM   #1
sporkit
Member
 
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-28-2004, 12:28 AM   #2
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

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

!#bin/bash

exec gkrellm &


#startkde
gnome-session
#fluxbox

This is mine using Gnome and starting gkrellm.
 
Old 02-28-2004, 01:55 AM   #3
SciYro
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 &
windowmanager


you get the drift
 
Old 02-28-2004, 04:04 PM   #4
sporkit
Member
 
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, 06:44 AM   #5
pvv
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, 10:58 AM   #6
Niteskye
Member
 
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, 05:12 PM   #7
pvv
LQ Newbie
 
Registered: Mar 2004
Location: Saint Petersburg, Russia
Distribution: Debian Sarge 3.1
Posts: 25

Rep: Reputation: 15
yhanx

Niteskye
thanx a lot for your instruction! it works
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:00 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration