[Gllug] Remapping Meta Keys

Bruce Richardson itsbruce at workshy.org
Sun Mar 25 12:09:28 UTC 2007


On Sun, Mar 25, 2007 at 09:48:41AM +0100, Stephen wrote:
> Incidentally, what's the difference between .xinitrc and .xsession?
> Something to do with gdm?

.xinitrc is the default client script for xinit.  That is, xinit uses it
to specify the program (usually a window manager) that it should run
after it has started X.  If there is no file, it launches xterm.

However, xinit is only invoked when you launch a single-user X session
(usually from the command line, via the startx script).  If you run
xdm/kdm/gdm then .xinitrc will be ignored.  So for some time now, there
has been an Xsession component to the X startup which is honoured by
both xdm and xinit.  That's what .xsession provides the per-user
configuration for.

If you look in /etc/X11 you should find an Xsession script, Xsession.d
directory and so on (as usual, different distributions will have verying
layouts); read the Xsession script to get a better idea of what's going
on.

-- 
Bruce

Explota!: miles de lemmings no pueden estar equivocados.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20070325/be85e8d4/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list