LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-10-2003, 11:35 PM   #1
rvijay17
LQ Newbie
 
Registered: Oct 2002
Posts: 29

Rep: Reputation: 15
fluxbox in the menu


i installed a new window manager called 'fluxbox'. how can i make it come in the menu where i choose which window manager to use, the one where i get kde,gnome etc.

now to use fluxbox, i need to change the /etc/inittab from 5 to 3 to get into text-based login and use the command 'startx' to get into fluxbox.

i could find a HELP section in the fluxbox website but no mention of such a problem.

regards,
vijay.
 
Old 06-11-2003, 12:49 AM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
I don't know your distro, so I don't know what text editors you may be using.

Basically, use a text editor and open the file /etc/inittab
look for this line:

id:5:initdefault:

Make it read:

id:3:initdefault:

Save the file. The next time you boot, you will have a console login (A CLUE, Command Line User Environment ) and can use startx to start your x session.

In your user account use a text editor and type something like this in it
Code:
# Duron 950 box "uilleann" user fancy .xinitrc file
# Start stuff I want to run when I startx
#exec gnome-session
#exec kde
#Esetroot ~/backgrounds/linux.png &
gkrellm -w &
xscreensaver &
exec fluxbox
Change de/wms by commenting out what you don't want and uncommenting things you do. Add selections as you learn them.

In an x term:
Code:
[phil@uilleann phil]$ su -
Password: 
[root@uilleann root]# init 3
You should now have a console login. startx should start fluxbox with glrellm running in the slit and the screensaver daemon loaded.

A gui is nice for running lots of x terms to get to the command line.

Tabs and the slit!

Last edited by fancypiper; 06-11-2003 at 04:26 AM.
 
Old 06-11-2003, 04:19 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
to get fluxbox in your xdm menu you'll need a file called "fluxbox" in /etc/X11/Sessions (or something very similar - have a look in the X11 directory, it will probably already contain files for KDE and or Gnome so it'll be pretty obvious) containing the location of the fluxbox binary. set this file to be an executable script and it should appear in the menu
 
  


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
Fluxbox Menu Sk8trf69 Linux - Newbie 4 07-07-2005 09:03 PM
fluxbox sub menu question geletine Linux - Software 8 06-06-2005 08:45 PM
Fluxbox menu kirth Linux - Software 1 05-23-2005 02:44 AM
fluxbox menu help cs-cam Linux - Software 3 11-13-2004 08:05 PM
FluxBox not in menu Darkseid Linux - Software 2 12-15-2003 07:16 PM


All times are GMT -5. The time now is 08:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration