[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to configure users X setup?



On Tue, 12 Jun 2007 03:07:42 -0400
Zach <netrek@gmail.com> wrote:

> On 6/12/07, Liam O'Toole <liam.p.otoole@gmail.com> wrote:
> >
> > Both of those files influence what clients (e.g. window managers)
> > are run when the user starts an X server. They do not set up X
> > itself. Just what setting up do you want to achieve?
> 
> Right. I want certain programs run when I start X such as
> xscreensaver, xload, and a certain custom built window manager in
> /usr/local (not a debian package).

OK. The 'Debian way' is to place the commands in the
executable file ~/.Xsession, e.g.,

    #!/bin/sh
    xscreensaver &
    xload &
    exec /usr/local/bin/my_custom_window_manager

That file will determine your X session when you start X from the
console and when you choose the default session in GDM.

Liam



Reply to: