LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fluxbox in the menu (https://www.linuxquestions.org/questions/linux-newbie-8/fluxbox-in-the-menu-64905/)

rvijay17 06-10-2003 11:35 PM

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.

fancypiper 06-11-2003 12:49 AM

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 :D ) 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. :D

Tabs and the slit! :cool:

acid_kewpie 06-11-2003 04:19 AM

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


All times are GMT -5. The time now is 06:53 PM.