Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X with fluxbox
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
goanuj
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2002
Posts: 125
Location: California

PostPosted: Tue May 20, 2003 8:25 pm    Post subject: X with fluxbox Reply with quote

I usually start up X from the command line

Code:
# startx


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
View user's profile Send private message
stustill
Guru
Guru


Joined: 25 Feb 2003
Posts: 333
Location: Aberdeen, Scotland

PostPosted: Tue May 20, 2003 8:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
nrl
Guru
Guru


Joined: 27 Mar 2003
Posts: 446
Location: Glasgow, UK

PostPosted: Tue May 20, 2003 8:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
iwasbiggs
Apprentice
Apprentice


Joined: 17 Jan 2003
Posts: 203

PostPosted: Tue May 20, 2003 11:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
goanuj
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2002
Posts: 125
Location: California

PostPosted: Wed May 28, 2003 6:26 pm    Post subject: still not working Reply with quote

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
View user's profile Send private message
ralph
Advocate
Advocate


Joined: 02 Mar 2003
Posts: 2001
Location: Hamburg

PostPosted: Wed May 28, 2003 7:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
RdsArts
Apprentice
Apprentice


Joined: 08 Oct 2002
Posts: 190
Location: MI, USA

PostPosted: Wed May 28, 2003 7:37 pm    Post subject: Reply with quote

Quote:
#XSESSION=fluxbox startx


uncomment it and remove the startx.

It should look like sooooo:

Code:
XSESSION=fluxbox


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
View user's profile Send private message
alwyn
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 140

PostPosted: Tue Jun 03, 2003 1:09 am    Post subject: Reply with quote

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
View user's profile Send private message
TenPin
Guru
Guru


Joined: 26 Aug 2002
Posts: 500
Location: Kansas City

PostPosted: Tue Jun 03, 2003 12:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
pheelay
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2002
Posts: 128
Location: Ireland

PostPosted: Tue Jun 03, 2003 12:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
miguel1132
n00b
n00b


Joined: 25 May 2003
Posts: 37
Location: Ohio

PostPosted: Tue Jun 10, 2003 2:26 am    Post subject: gdm Reply with quote

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
View user's profile Send private message
goanuj
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2002
Posts: 125
Location: California

PostPosted: Sun Jun 15, 2003 8:20 pm    Post subject: my rc.conf Reply with quote

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
View user's profile Send private message
Bonkie
Guru
Guru


Joined: 28 Oct 2002
Posts: 501
Location: Antwerpen, Belgium

PostPosted: Sun Jun 15, 2003 8:38 pm    Post subject: Reply with quote

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 :wink:
Back to top
View user's profile Send private message
goanuj
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2002
Posts: 125
Location: California

PostPosted: Mon Jun 16, 2003 1:35 am    Post subject: adding xdm worked Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum