Xpra: Ticket #566: meta keys scrambled, OSX/Linux

OSX Xpra Client, Ubuntu Xpra Server & calibre application.

In this configuration, the Linux app used to use Linux meta keys -- ctrl-C, ctrl-V, ctrl-A, etc. Recently some of the OSX meta keys work instead -- command-C/V/A, etc. I don't know if this was by choice or accident.

If this is on purpose to make apps feel like client apps, I think that is a mistake. Many applications explicitly display their meta keys as hints in menus 'Ctrl-P'. Also, some apps use complex meta combinations that may get lost in translation.

Also, I am currently unable to do disjoint selections in lists -- select, then ctrl-select (or command-select).



Thu, 08 May 2014 11:38:26 GMT - Troy Cauble:

Also, ctrl-Q to close the application is intercepted by Xpra and Xpra closes.

Also, swapping ctrl for command doesn't work at all for command line apps and curses apps -- VIM, EMACS, shell navigation and exit, etc.


Thu, 08 May 2014 12:23:15 GMT - Antoine Martin: status changed; resolution set

That's not a bug I am afraid, and not a new thing either (present in v0.11), see: #456

There is also an option in the menu to disable the swapping (we could add a command line option for it).


Thu, 08 May 2014 13:18:01 GMT - Troy Cauble: priority, status, component changed; resolution deleted

OK, great!

  1. A command line option would be appreciated.
  1. It won't bother me anymore since I'll turn off the swap, but I'll restate one item: With the swap on, you can't select multiple, non-adjacent items in a list. I suspect command-click -> ctrl-click is not being forwarded.

Thu, 08 May 2014 13:21:25 GMT - Antoine Martin:

I'll try to remember to add the command line option, as for the other one it sounds like a real bug, so I am moving it to: #567 (please add yourself to the CC list)


Fri, 09 May 2014 12:22:27 GMT - Antoine Martin: owner, status changed

The command line option has been added in r6427: --no-swap-keys.

Note: you can also just place it in your ~/.xpra/xpra.conf or even /etc/xpra/xpra.conf to make it global:

echo "swap-keys=no" >> ~/.xpra/xpra.conf

Beta builds including this change (and much more) are available here: osx beta area

If that works for you, please close this ticket.


Fri, 09 May 2014 19:02:29 GMT - Troy Cauble:

The command line option worked. The config file change did not and produced Warning: invalid option: 'swap-keys'


Sat, 10 May 2014 03:48:29 GMT - Antoine Martin:

That was a typo, r6434 fixes that.

New beta build available in the same location.


Sun, 11 May 2014 02:40:48 GMT - Troy Cauble: status changed; resolution set

Works for me.


Sat, 23 Jan 2021 04:59:34 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/566