stumpwm-devel
[Top][All Lists]
Advanced

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

Re: [STUMP] Strange keyboard layouts and Stumpwm


From: Shawn Betts
Subject: Re: [STUMP] Strange keyboard layouts and Stumpwm
Date: Sun, 13 Jun 2010 14:27:11 -0700

2010/6/13 Eric Wolf <address@hidden>:
> Shawn Betts <address@hidden> writes:
>
>> 2010/6/13 Eric Wolf <address@hidden>:
>>> Hi there!
>>>
>>> I use a keyboard layout, where ISO_Level3_Shift is needed to get
>>> the ;:@! and so on symbols. And ISO_Level3_Shift was placed on the
>>> caps lock key.
>>>
>>> If I try to exec ( C-t ! ) something I would have to type
>>> C-t capslock-k. But in the moment I press capslock in this
>>> sequence, stumpwm complains about C-t ISO_Level3_Shift not
>>> being mapped.
>>>
>>> How can I get stumpwm not to recognise ISO_Level3_shift as
>>> a relevant keystroke in this context? (So that it can do
>>> its job changing the keyboard level.)
>>
>> It's probably not marked as a modifier in X. it should appear on one
>> of the MOD lines in the output from xmodmap.
>
> Okay, I modified the symbols-file of the keyboardlayout to
> include "modifier_map ModX { <KEY> };" statements instead of
> "modifier_map ModX { ISO_Level3_Shift };".
>
> And now xmodmap displays
> mod3        ISO_Level5_Shift (0x5e),  ISO_Level5_Shift (0x6c),  
> ISO_Level5_Shift (0xcb)
> and
> mod5        ISO_Level3_Shift (0x33),  ISO_Level3_Shift (0x42),  
> ISO_Level3_Shift (0x5c)
> for the relevant modifiers.
>
> And stumpwm doesn’t complain any more.
>
> But now there is another problem. If I type C-t capslock-k stumpwm does
> "kill" instead of "exec".
>
> So stumpwm receives "k" instead of "!". But in xfterm4 and emacs for
> example capslock-k gives "!".

Can you post the full output of xmodmap? And how about an xmodmap -pk
while we're at it :).

If stumpwm doesn't do the same thing as emacs, I'd say that's a bug in stumpwm.

-Shawn



reply via email to

[Prev in Thread] Current Thread [Next in Thread]