Click to See Complete Forum and Search --> : Starting up Fluxbox
dgantony
11-03-2002, 07:55 PM
Hello,
I just installed Fluxbox after a few days with KDE. I like it very much. Applications load much faster and everything is just more quicker. I am not going back.
I have a question: I have Mandrake 9.0 and the way I start Fluxbox is select "Failsafe" option in the dropdown and login and then start Fluxbox from the terminal. Is there a way to add Fluxbox as an option to the list of window managers? I want to be able to have the graphical login as I am not the only person using the computer and others need Gnome and KDE.
Thanks.
George.
swangods
11-03-2002, 08:24 PM
Look for a file called xsession somewhere under /etc/X11. It should be under another subdirectory there - I'm not sure what Mandrake uses, but the window manager for Libranet (which I'm using) is xfce, so my xsession is /etc/X11/xfce/xsession. This is a plaintext file with a list of the choices you have for selecting a sessions - ie. GNOME, KDE, Fluxbox, IceWM, etc..
Look through that file and you should be able to figure out how to clone one of the existing entries and make a new one.
shadowrider
11-05-2002, 05:48 AM
i'm running suse 8.1 with gnome, kde, fluxbox, and went to Xsession but couldn't find it.
they do have some sort of setup (ie. if this fails, then do this..these kind of stuff...), but couldn't find exactly the section where you display thing at startup
astralcars
11-05-2002, 07:01 AM
Firts, as root, create a file called Fluxbox in /etc/gdm/Session (or
/etc/X11/gdm/Session depending your distro) and edit it so it contains :
#!/bin/sh
thingsToLaunchAtStartUp &
otherThingsToLaunchAtStartUp &
exec fluxbox
Make shure it's executable : chmod a+x Fluxbox
You should now have a new entry in your gdm menu
goon12
11-05-2002, 09:50 AM
Well I just made a file called ~/.xinitrc that contains this:
#!/bin/bash
fluxbox
xterm
So when I type "startx" it starts FluxBox no problem.
I'm runnning RedHat 7.3
shadowrider
11-05-2002, 12:27 PM
ok i made the file called "Fluxbox" under /etc/X11/xdm because here's my XSession file located.
shadowrider@blackshadow:/etc/X11/xdm> ls
BackGround README.security Xreset Xsession authdir xdm-config
Fluxbox RunChooser Xresources Xsetup chooser xdm-errors
GiveDevices TakeDevices Xservers Xstartup pixmaps xdm-pid
README.SuSE Xaccess Xservers.fs Xwilling sys.xsession
chmod it and everything, but nothing happen.
i mean, it's still not showing in the login menu.
but whatever x-windows you choose,it'll bring you to fluxbox. i need to sort of add "fluxbox" under the droplist during login.
thx:(
mrBen
11-05-2002, 12:32 PM
The Fluxbox file goes in the /etc/X11/gdm/Session directory, if you're using gdm.
Mandrake uses KDM AFAIK, which I think you can manipulate from the control center under KDE.
I'm using MANDRAKE 9.0
I also need help adding Fluxbox to the drop down menu when you log in but can't find the right file to edit. There are severel Xsession's but none of them appear to have the entries im looking for... help? plz :(
shadowrider
11-10-2002, 05:44 PM
The Fluxbox file goes in the /etc/X11/gdm/Session directory, if you're using gdm.
well it seems that i'm using gdm because i have gnome2, but then i only have xdm .
so, is that not possible then?
theevilblah
11-10-2002, 06:15 PM
I have SlackWare 8.1 and I just make an ~/.xinitrc containing
fluxbox
startx
Vlad902
11-10-2002, 07:19 PM
Originally posted by theevilblah
I have SlackWare 8.1 and I just make an ~/.xinitrc containing
fluxbox
startx
1.) exec fluxbox not fluxbox....
2.) Thats not the question... Please read the question....
theevilblah
11-10-2002, 07:25 PM
1. fluxbox does the same thing as exec fluxbox
Vlad902
11-10-2002, 07:28 PM
Whatever thats not the question....
theevilblah
11-11-2002, 01:01 AM
I know....it says so in your top post....please dont spam the threads
Vlad902
11-11-2002, 01:07 AM
Originally posted by theevilblah
I know....it says so in your top post....please dont spam the threads
your the one showing the guy info he already knows... biter...:mad:
shadowrider
11-11-2002, 01:31 AM
hehe guys ..please...don't start the fight:D
let's actually help each other here...
piece:p
shadowrider
11-11-2002, 01:35 AM
I have SlackWare 8.1 and I just make an ~/.xinitrc containing
fluxbox
startx
i'm running fluxbox but just couldn't put the name on the login menu
linux12414
11-11-2002, 04:43 PM
Here's what I did...maybe it will help you-->
For a graphical login, you must have and/or create a file called .xsession. All this file is is a shell script. Make sure your login is as "default" and not into KDE or Gnome.
Then, if you want to add Fluxbox to your menu, you must find where your menu file is located; usually in /.fluxbox. You have to add an entry.
Rather than take up time and space here, contact me privately (linux12414@mhonline.net) and I will send you sample shell scripts and menus for this.
I run RH7.3, but this is pretty much generic.
Tabini
11-13-2002, 10:29 PM
Perhaps this might help somewhat. First, become root. and go into KDE. Open up the Control Center. On the list at left, select System, then Login Manager. Fourth tab from left says "Sessions"; click on it. Where it says Session types at bottom, there is where you add fluxbox. You can even rearrange the order on the right by selecting a line and moving it with the up and down arrows.
Mind you, this ONLY adds it to the menu list when logging in; it does NOT start fluxbox. To do that, you need to change other settings that I am unsure of right now.
linux12414
11-13-2002, 11:06 PM
The best thing I can think of that he could do is have the graphical login default to Fluxbox (done with the .xsession script I mentioned previously) and then edit the Fluxbox menu to restart with Gnome, KDE and whatever other WMs are on the machine.
The menu file for fluxbox is in the ~/.fluxbox directory --this will only affect the user acount...it won't be global. The menu is very easy to edit. Use any text editor.