-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, Aug 16, 2015 at 12:31:32PM +0100, Brian wrote: > On Sun 16 Aug 2015 at 09:28:24 +0200, to...@tuxteam.de wrote:
[...] > > for xmodmap, there's this snippet in /etc/X11/Xsession.d/80x11xmodmap: > > This file is a non-Debian file. It is not needed for the simple task at > hand. I doubt it would ever be needed. That's right: according to Debian Policy, files in /etc are the sysadmin's realm. That's me, on my machine :-) > There is rarely any need to alter any of the scripts in Xsession.d or > add to the number there. Everything a user wants to do can be done in > $HOME. Debian's X configuration is very flexible. It didn't read my $HOME/.Xmodmap. I wanted it to do this. The place to achieve that is in Xsession.d. What would you propose as an alternative? Yes, there's an $HOME/.xsessionrc. I could stick everything into that. > bri...@aracnet.com has give a good account of how to use a ~/.xsession. > Unfortunately, it is probably not suitable to put xmodmap commands (or > any other commands) in it without starting a window manager also. Should work too (my file is called ~/.xsessionrc, though) > The solution is to put the commands Thomas Schmit has provided in a > created ~/.xsessionrc. A two-minute (not two-year) job. :) See above. It's a two minute job any way you slice it :-) > > Again, your desktop environment might provide other mechanisms for doing > > things > > "at start of the X session" -- or perhaps other mechanisms to change the key > > mappings. > > All DMs read the files in /etc/X11/Xsession and, by extension. the user > provided ones. But a user might feel more comfortable using the DE > facilities. I've had mixed experiences under Gnome (the DE regularly resetting things I'd set via xmodmap, taking the values out of some gconf-y key-value store). But YMMV. Regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlXQfEIACgkQBcgs9XrR2kbCOQCfeoC8NuXNDAJ/JAsekEKR8jqF wucAn2iGyolyeJRfid6MUI5tWxwbxs0z =l8zx -----END PGP SIGNATURE-----