Correct place to put keymap-modifying script?
Tim Jackson
tim.jackson at ints.com
Tue Dec 11 20:43:32 UTC 2007
Danny Colligan wrote:
> I want to switch my keymaps such that the Esc key triggers the
> Caps_Lock function and the Caps_Lock triggers the Esc function,
> essentially switching the functionality of the keys. To enable this
> functionality, I need to run a command like xmodmap
> .switch_esc_and_capslock where .switch_esc_and_capslock contains the
> necessary configurations. Of course, it would be nice to have this
> command run automatically by placing it in some kind of startup file.
> Which startup file would be the correct place to put this command if I
> wanted it to run across all of X and only when I log in? I'm using
> the standard X/GNOME Ubuntu configuration.
>
> Thanks in advance,
>
> Danny
>
If you want all users to get the changes, /etc/X11/Xsession.d is the
standard place for X start up scripts.
More information about the ubuntu-users
mailing list