View previous topic :: View next topic |
Author |
Message |
goanuj Tux's lil' helper
Joined: 13 Jul 2002 Posts: 125 Location: California
|
Posted: Tue May 20, 2003 8:25 pm Post subject: X with fluxbox |
|
|
I usually start up X from the command line
and it brings up an ugly (but functional) X window apparently running wdm or xdm.
How can I change this to fluxbox? Is it in .xinitrc? |
|
Back to top |
|
|
stustill Guru
Joined: 25 Feb 2003 Posts: 333 Location: Aberdeen, Scotland
|
Posted: Tue May 20, 2003 8:31 pm Post subject: |
|
|
Yeah, you set up everything in ~/.xinitrc. Check out http://www.fluxbox.org/docbook/en/html for in depth details in getting fluxbox to start be default with startx.
Stu[/url] |
|
Back to top |
|
|
nrl Guru
Joined: 27 Mar 2003 Posts: 446 Location: Glasgow, UK
|
Posted: Tue May 20, 2003 8:34 pm Post subject: |
|
|
Yes put this in .xinitrc:
Code: |
exec /usr/bin/fluxbox
|
or perhaps
Code: |
xscreensaver &
fluxbox
|
so that you get a screensaver too .
Edit: looks like stustill beat me too it. |
|
Back to top |
|
|
iwasbiggs Apprentice
Joined: 17 Jan 2003 Posts: 203
|
Posted: Tue May 20, 2003 11:52 pm Post subject: |
|
|
You can also specify system wide in the end of
/etc/rc.conf
or also on the command line
#XSESSION=fluxbox startx _________________ www.ruinedsoft.com
Freeware development. |
|
Back to top |
|
|
goanuj Tux's lil' helper
Joined: 13 Jul 2002 Posts: 125 Location: California
|
Posted: Wed May 28, 2003 6:26 pm Post subject: still not working |
|
|
even when I put this in my rc.conf file (# is not there obviously), X does not start up... when I log in as root.
iwasbiggs wrote: |
or also on the command line
#XSESSION=fluxbox startx |
|
|
Back to top |
|
|
ralph Advocate
Joined: 02 Mar 2003 Posts: 2001 Location: Hamburg
|
Posted: Wed May 28, 2003 7:16 pm Post subject: |
|
|
i may be wrong, but i think XSESSION in your rc.conf defines what is started if you use a graphical login manager.
it you want to start X from the commandline simply edit your .xinitrc. |
|
Back to top |
|
|
RdsArts Apprentice
Joined: 08 Oct 2002 Posts: 190 Location: MI, USA
|
Posted: Wed May 28, 2003 7:37 pm Post subject: |
|
|
Quote: | #XSESSION=fluxbox startx |
uncomment it and remove the startx.
It should look like sooooo:
on a line by itself. If you do that, it'll start Flux. Or, if you change that to the name of any script in /etc/X11/Sessions, it'll run that script when you startx or use the default in XDM/GDM/KDM/Ect..
Also, make sure the Fluxbox script in that directory is executable. I know the Openbox one wasn't many times I installed it. |
|
Back to top |
|
|
alwyn Tux's lil' helper
Joined: 21 May 2003 Posts: 140
|
Posted: Tue Jun 03, 2003 1:09 am Post subject: |
|
|
When using Gdm and an XSESSION of fluxbox...
Where can a user put stuff it wants to start up by default in fluxbox?
Mine is in .xinitrc and it doesn't work... |
|
Back to top |
|
|
TenPin Guru
Joined: 26 Aug 2002 Posts: 500 Location: Kansas City
|
Posted: Tue Jun 03, 2003 12:07 pm Post subject: |
|
|
Edit /etc/rc.conf so that XSESSION and DISPLAYMANAGER are commented out.
Then make yourself an ~/.xinitrc heres mine:
Code: |
xset m 5/4 1
xset b off
xset r rate 250 40
xset +dpms
xset dpms 0 0 1200
xset s off
exec xmms &
exec rxvt -sl 1000 +sb -sw -si -sk -bg black -fg white -g 90x22+0+16 &
exec fluxbox
|
|
|
Back to top |
|
|
pheelay Tux's lil' helper
Joined: 06 Nov 2002 Posts: 128 Location: Ireland
|
Posted: Tue Jun 03, 2003 12:58 pm Post subject: |
|
|
alwyn wrote: | When using Gdm and an XSESSION of fluxbox...
Where can a user put stuff it wants to start up by default in fluxbox?
Mine is in .xinitrc and it doesn't work... |
This thread needs to be cleared up.
The variables in /etc/rc.conf define the default window manager.
* GDM/KDM
Uses the WM defined in XSEESION= in /etc/rc.conf unless the user selects a different default WM within GDM.
* XDM
Uses the WM defined in XSEESION= in /etc/rc.conf
I thought ~/.xsession would override rc.conf for *dm but this was not the case for me.
* startx / xinit on the console
The default in /etc/rc.conf is used unless the ~/.xinitrc exists in the users directory. xinitrc takes preference over rc.conf for both startx and xinit.
alwyn: ~/.fluxboxrc is the place to put stuff you want started by fluxbox when you start it from the GDM.
Phil |
|
Back to top |
|
|
miguel1132 n00b
Joined: 25 May 2003 Posts: 37 Location: Ohio
|
Posted: Tue Jun 10, 2003 2:26 am Post subject: gdm |
|
|
You could also use /etc/X11/gdm/Sessions and then edit(in this case) fluxbox and add the things you wanted started at boot.
you could add:
gkrellm2 -w &
xscreensaver &
either /usr/bin/fluxbox or simple fluxbox.
Remember the window manager line is always last. |
|
Back to top |
|
|
goanuj Tux's lil' helper
Joined: 13 Jul 2002 Posts: 125 Location: California
|
Posted: Sun Jun 15, 2003 8:20 pm Post subject: my rc.conf |
|
|
X and fluxbox still do not come up automatically when I power on the computer. This is my /etc/rc.conf
Code: |
KEYMAP="us"
CONSOLEFONT="viscii10-8x16"
CLOCK="UTC"
PROTOCOLS="1 2 10"
DISPLAYMANAGER=xdm
XSESSION=fluxbox
|
do I need quotes? |
|
Back to top |
|
|
Bonkie Guru
Joined: 28 Oct 2002 Posts: 501 Location: Antwerpen, Belgium
|
Posted: Sun Jun 15, 2003 8:38 pm Post subject: |
|
|
x not starting up has nothing to do with fluxbox ... i guess you need to add xfree or xdm to a runlevel ...
And XSession is only used if you use a session manager like xdm, gdm or kdm |
|
Back to top |
|
|
goanuj Tux's lil' helper
Joined: 13 Jul 2002 Posts: 125 Location: California
|
Posted: Mon Jun 16, 2003 1:35 am Post subject: adding xdm worked |
|
|
Code: | # rc-update add xdm default
|
as well as using WINDOWMANAGER and XSESSION in the /etc/rc.conf file should allow one to log in directly to fluxbox. |
|
Back to top |
|
|
|