Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meta keys scrambled, OSX/Linux #566

Closed
totaam opened this issue May 8, 2014 · 18 comments
Closed

meta keys scrambled, OSX/Linux #566

totaam opened this issue May 8, 2014 · 18 comments

Comments

@totaam
Copy link
Collaborator

totaam commented May 8, 2014

Issue migrated from trac ticket # 566

component: client | priority: minor | resolution: fixed

2014-05-08 11:42:58: troycauble created the issue


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).

@totaam
Copy link
Collaborator Author

totaam commented May 8, 2014

2014-05-08 12:38:26: troycauble commented


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.

@totaam
Copy link
Collaborator Author

totaam commented May 8, 2014

2014-05-08 13:23:15: antoine changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented May 8, 2014

2014-05-08 13:23:15: antoine changed resolution from ** to invalid

@totaam
Copy link
Collaborator Author

totaam commented May 8, 2014

2014-05-08 13:23:15: antoine commented


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).

@totaam
Copy link
Collaborator Author

totaam commented May 8, 2014

2014-05-08 14:18:02: troycauble changed priority from major to minor

@totaam
Copy link
Collaborator Author

totaam commented May 8, 2014

2014-05-08 14:18:02: troycauble changed status from closed to reopened

@totaam
Copy link
Collaborator Author

totaam commented May 8, 2014

2014-05-08 14:18:02: troycauble changed component from android to client

@totaam
Copy link
Collaborator Author

totaam commented May 8, 2014

2014-05-08 14:18:02: troycauble changed resolution from invalid to **

@totaam
Copy link
Collaborator Author

totaam commented May 8, 2014

2014-05-08 14:18:02: troycauble commented


OK, great!

  1. A command line option would be appreciated.

  2. 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.

@totaam
Copy link
Collaborator Author

totaam commented May 8, 2014

2014-05-08 14:21:26: totaam commented


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)

@totaam
Copy link
Collaborator Author

totaam commented May 9, 2014

2014-05-09 13:22:28: totaam changed status from reopened to new

@totaam
Copy link
Collaborator Author

totaam commented May 9, 2014

2014-05-09 13:22:28: totaam changed owner from antoine to troycauble

@totaam
Copy link
Collaborator Author

totaam commented May 9, 2014

2014-05-09 13:22:28: totaam commented


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.

@totaam
Copy link
Collaborator Author

totaam commented May 9, 2014

2014-05-09 20:02:30: troycauble commented


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

@totaam
Copy link
Collaborator Author

totaam commented May 10, 2014

2014-05-10 04:48:30: totaam commented


That was a typo, r6434 fixes that.

New beta build available in the same location.

@totaam
Copy link
Collaborator Author

totaam commented May 11, 2014

2014-05-11 03:40:48: troycauble changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented May 11, 2014

2014-05-11 03:40:48: troycauble changed resolution from ** to fixed

@totaam
Copy link
Collaborator Author

totaam commented May 11, 2014

2014-05-11 03:40:48: troycauble commented


Works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant