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

Re: xmodmap



Florian Kulzer said:

> On Tue, Apr 28, 2009 at 11:42:13 +0000, marc wrote:
>> Florian Kulzer said:
> 
> [...]
> 
>> > Once you are done editing the file you can compile the new keymap and
>> > update the layout of the X server (both steps with one command):
>> > 
>> > $ xkbcomp layout.xkb $DISPLAY
>> > 
>> > The changes should be effective immediately.
>> 
>> Thanks very much for this, you nailed the problem precisely.
>> 
>> One further question, is there a way to make this change permanent or
>> do I have to run:
>> 
>>   $ xkbcomp layout.xkb $DISPLAY
>> 
>> at every login?
> 
> I think you have to run this at every login

Okay, cool.

> but you do not have to do that manually.

I think I worked that out!

> Alternatively, you can edit the relevant keymap in
> /usr/share/X11/xkb/symbols/ or create a copy with a new name, modify the
> copy and configure Xorg to always load the new layout (or both the new
> and the old layout with a key combination to quickly switch between the
> two).

Nah, might get overwritten with an update down the line.

-- 
Best,
Marc


Reply to: