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 08-02-2004, 10:23 AM   #1
LQ Newbie
Registered: Mar 2004
Posts: 26

Rep: Reputation: 15
how do you run fluxbox?

I've been wanting to try out some different window managers, so I downloaded and installed fluxbox via synaptic (using Fedora Core2). The fluxbox website instructions:
It's all nice and good if you have it installed, but what use is it if you can't run it?

There are two generally different ways to start X11 (and thus Fluxbox). The traditional way is using the command startx. The other way is using a graphical login manager (also called "display manager"). The most common display manager is xdm which is part of the XFree86 distribution. The display manager provided by Gnome is called gdm, the one from KDE is kdm.

If X11 is started the former way (via startx), the file that is important is called .xinitrc and resides in your home directory. In the case of starting via a display manager, the file is .xsession which resides at the same location.

The next step is to find the executable for Fluxbox. For most people, this is /usr/local/bin/fluxbox. Now you need to edit (or create) the file I just mentioned. Just put the following line at the bottom of the file:

exec /usr/local/bin/fluxbox
I can't seem to find this .xsession file to modify it, or the .xinitrc file for that matter.
Any ideas?

Old 08-02-2004, 10:27 AM   #2
LQ Guru
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
'whereis fluxbox'
Should be /usr/bin/fluxbox
Then use your favorite text editor to create a file called .xinitrc in your home dir and put the location of fluxbox in the .xinitrc file.
Old 08-02-2004, 12:08 PM   #3
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
.xsession and .xinitrc should be in your home directory. Try using "ls -a" to see if it's there. If not, you can create the files if necessary.


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
Fluxbox: looking for run dialog? (something like grun) vxc69 Debian 3 06-29-2005 01:18 PM
xorg and getting fluxbox to run for the first time Godsmacker777 Linux - Software 1 02-21-2005 02:49 PM
Getting Fluxbox to run in Mandrake 9.1 whoots Mandriva 35 06-03-2004 08:46 AM
How to run fluxbox? A1Ph4 Linux - Software 3 08-21-2003 01:10 PM
Can I run Gkrellm on Fluxbox without having Gnome?? cathodion Linux - Software 9 07-03-2003 01:44 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:41 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
Open Source Consulting | Domain Registration