[winswitch] Specifying xmodmap settings (in a file)

Alexey Loginov alelog at gmail.com
Tue Jun 5 18:51:01 BST 2012


Hi Antoine,

I switched to the latest, given that you fixed the 'a' issue--thanks a lot!

Now, I still can't apply my desired xmodmap settings and I'm a bit
confused as to the mechanism I should follow.  Perhaps, you can
clarify the next few points for me:

1. The latest version has xpra.org/trac/changeset/325 and
winswitch.org/trac/changeset/4802.  Does one or the other of these,
negate the need for custom xmodmap files?

2. When do I need the ability to set custom xmodmap settings with the
above?  (If I don't ever run X, perhaps?)  I see that you added the
ability to use custom xmodmap files in
winswitch.org/trac/changeset/4903.

3. Do the changesets in question 1 (and the custom settings in
question 2) handle the "clear ... ; keycode ... ; add ..." sequence
correctly (to clear the old logical modifiers, map keysyms, and then
apply new logical modifiers)?

I restarted WinSwitch with the X server running.  Then, I restarted it
after making the conf-file changes mentioned in global_settings.py.  I
see mentions of reading appropriate xmodmap settings in log files but
I still don't have the Alt key work as Meta.  Any thoughts as to what
I'm doing wrong?

Thanks!
-Alexey

On Sun, Jun 3, 2012 at 2:55 AM, Antoine Martin <antoine at nagafix.co.uk> wrote:
> Hi,
>
> I can reproduce the missing 'a' issue now, so I will fix this asap.
> I have created a ticket for your xmodmap settings option:
> https://www.xpra.org/trac/ticket/134
> Feel free to add info/comments there.
>
> Cheers
> Antoine
>
>
>
> On 06/03/2012 02:36 AM, Alexey Loginov wrote:
>> Hi all,
>>
>> I'm setting up xpra/WinSwitch, using older versions (0.7.36/12.10) to
>> get around the missing 'a' issue (https://xpra.org/trac/ticket/92).
>> Older versions don't handle xmodmap setting with modifier keys (e.g.,
>> to swap Escape and Alt, as I do in my .Xmodmap file, shown below).
>>
>> Is there an easy way just to ask WinSwitch/xpra to use an existing
>> .Xmodmap file (e.g., by copying it to .winswitch/server/xmodmap or
>> something like that)?  I got a bit tangled up in the many set_xmodmap
>> functions trying to use a file that I place in the above directory and
>> not let it be overwritten with new xmodmap calls.
>>
>> Of course, if the partial version of xmodmap settings like below
>> doesn't work, please let me know.  Thanks for any help!
>> -Alexey
>>
>> .Xmodmap:
>>
>> ! Make esc and alt behave as Meta:
>> clear Mod1
>> clear Mod2
>> keycode 63 = Mode_switch
>> keycode 66 = Meta_L
>> keycode 69 = Meta_R
>> add Mod1 = Meta_L Meta_R
>> add Mod2 = Mode_switch
> _______________________________________________
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
> http://lists.devloop.org.uk/mailman/listinfo/shifter-users



More information about the shifter-users mailing list