On Tue, Jun 17, 2003 at 12:24:56PM +0000, Michael Rasile wrote:
> > Can someone tell me how to use a user defined .xinit/.xsession when
> > using gdm?
> >
> > I'm trying fluxbox at the moment, and it depends on xinit/xsession to
> > start additional programs.
> >
> > So how can I "persuade" gdm to include scripts from the homedir while
> > starting up fluxbox?
> In the /etc/X11/gdm/Sessions directory there should be a file called fluxbox. If you
> edit that you can
> insert programs that you want started at boot. For example:
>
> xscreensaver &
> gkrellm2 -w $
> exec fluxbox
>
> Just be sure that the fluxbox line is the last line in the file.
>
> This is the way I do it. I don't really use .xsession at all. Maybe this won't do
> what you want. Just a
> thought.
After a little bit more thinking I chose a slightly different approach,
but using the /etc/X11/Sessions/fluxbox file.
I don't want to persuade all users on the box to use the programs I want
to use (although I'm currently the only one on the box, but used to
administer multi-user-environments :)) ), so I put something like
this in /etc/X11/Sessions/fluxbox
#!/bin/bash
if [ -e $HOME/.xsession ]
then
. $HOME/.xsession
fi
fluxbox
So it uses the .xsession if it exists, otherwise it simply starts up fluxbox.
CU all,
Jens
--
GPG: 1024D/CF884D50 F2E8 F7FC F823 6464 4E9D EFAB 6EE9 8B9C CF88 4D50
------------------------------------------------------------------------
Jens Hoffrichter / [EMAIL PROTECTED] / [EMAIL PROTECTED] / Fon: 0172/5376989
The color of nature is not green. It is red, bloodred.
Cassie in "Animorphs - The Unknown by K.A.Applegate
--
[EMAIL PROTECTED] mailing list