<div dir="ltr">OK, tried with a new user profile.  Tried a number of times, deleting and re-creating the user between attempts. <div>There doesn't seem to be any way to get this working on wayland.</div><div>Went back to X11 on the client and it's working fine.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 27, 2020 at 10:20 AM Ulrich Sibiller <<a href="mailto:uli42@gmx.de">uli42@gmx.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Apr 27, 2020 at 3:40 PM Neal Becker <<a href="mailto:ndbecker2@gmail.com" target="_blank">ndbecker2@gmail.com</a>> wrote:<br>
><br>
> Spoke too soon.  This is driving me nuts.  There seems to be no way to get<br>
> my remapping of caps lock as ctrl to work (although it worked once!).<br>
><br>
> I've tried a bunch of remote desktops: mate, xfce, lxqt.  I've tried setting<br>
> on x2go client I/O to configure keyboard, don't configure keyboard, auto-<br>
> detect.  I've tried in the x2go session various ways to configure the<br>
> keyboard.  The best I can manage is that caps lock does nothing (the worst I<br>
> can get is caps lock is stuck on and can't be turned off).<br>
<br>
I have just checked, that works for me without wayland being involved)<br>
I have checked with xfce. x2go had the "determine keyboard<br>
automatically" setting.<br>
<br>
> I'm baffled.  I'm not an X expert, but if I run xev within the x2go session<br>
> and hit capslock I see something about a keysym "capslock".  So the concept<br>
> of capslock is being propagated to the remote session.  But I can't seem to<br>
> remap it to do anything (like ctrl as I want) either through any gui<br>
> keyboard config, or using setxkbmap.<br>
><br>
> The current setxkbmap state is (as told by the remote session)<br>
> setxkbmap -query<br>
> rules:      evdev<br>
> model:      pc105<br>
> layout:     us<br>
> options:    ctrl:nocaps,caps:ctrl_modifier<br>
<br>
which looks correct.<br>
<br>
> > run<br>
> > with Capslock remapped to Ctrl.  Now running on wayland, I set x2go client<br>
> > to "do not configure keyboard".  When I reconnect to my session (running<br>
> > mate), in settings it has layout<br>
> > (system/preferences/hardware/keyboard/layout/options) set 'ctrl position:<br>
> > caps lock as ctrl'.  I have to turn this off.  Now caps lock is working as<br>
> > ctrl as I want.  But every time I reconnect I have to go through this<br>
> > setting, otherwise caps lock is not acting as ctrl, it's acting as caps<br>
> > lock.<br>
<br>
That is clearly a mate issue. Destop Enviroments should be configured<br>
to not change the keyboard at all. Maybe you can try with a new user<br>
and see if it also happens in the default. I had sessions where it<br>
worked. But once you changed anything in the keyboard settings via the<br>
DE's system settings you could never go back to the default as this<br>
could not be enterd into the dialogs. So try with a fresh clean<br>
profile.<br>
<br>
Uli<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><i>Those who don't understand recursion are doomed to repeat it</i></div></div>