Re: xsession customization
On Sun, Apr 5, 2009 at 06:34, Khosrow Hassani <firstname.lastname@example.org> wrote:
> just got annoyed and decided to issue this warning about the X server
> structure and documentation getting more and more messy and
> mysterious. there are tons of man pages about the labyrinthic way
> various X configuration files in /etc/X11 work and communicate with
> each other. however, they don't tell you how to do simple
> customization tasks! how do I change my default x window manager?
It depends on if you are using xdm/gdm/kdm or startx. If you have
a graphical login, you are using a *dm, and they have a menu that
lets you choose among your installed WMs/DEs. If you use startx
from the command line, you usually just change the .xinitrc line
containing your WM/DE.
> how can one have x start a program, such as xscreensaver, globally (for
> all users). man pages say, you can start them in your ~/.xsession. I
> thought X would just append my xsession to the system-wide one in
> /etc/X11. wrong! it only reads the ~/.xsession file and the desktop
> environment (xfce4) doesn't load at all!
I think it should look at both ~.Xsession and /etc/X11/Xsession, but
I am not too familiar with it, as I use startx, not a Display Manager .