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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-28-2004, 12:16 AM
|
#1
|
Member
Registered: Feb 2004
Posts: 71
Rep:
|
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!
|
|
|
02-28-2004, 12:28 AM
|
#2
|
Member
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465
Rep:
|
Simply put a .xinitrc in your /home directory.
!#bin/bash
exec gkrellm &
#startkde
gnome-session
#fluxbox
This is mine using Gnome and starting gkrellm.
|
|
|
02-28-2004, 01:55 AM
|
#3
|
Senior Member
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038
Rep:
|
/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
|
|
|
02-28-2004, 04:04 PM
|
#4
|
Member
Registered: Feb 2004
Posts: 71
Original Poster
Rep:
|
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.
|
|
|
03-14-2004, 06:44 AM
|
#5
|
LQ Newbie
Registered: Mar 2004
Location: Saint Petersburg, Russia
Distribution: Debian Sarge 3.1
Posts: 25
Rep:
|
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
|
|
|
03-14-2004, 10:58 AM
|
#6
|
Member
Registered: Mar 2004
Location: Somerset, UK
Distribution: Zenwalk Current & Ubuntu Feisty
Posts: 61
Rep:
|
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.
|
|
|
03-14-2004, 05:12 PM
|
#7
|
LQ Newbie
Registered: Mar 2004
Location: Saint Petersburg, Russia
Distribution: Debian Sarge 3.1
Posts: 25
Rep:
|
yhanx
Niteskye
thanx a lot for your instruction! it works
|
|
|
All times are GMT -5. The time now is 12:00 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|