-
Notifications
You must be signed in to change notification settings - Fork 883
Release keyboard grab with Ctrl-Alt #49
Comments
+1. This is definitely the most important feature that I need in freerdp. Please make it possible to bind "release keyboard grab" to some predefined combination of keys, preferably a combination of keys that the user can specify. Without this feature I cannot switch from rdestop to freerdp. |
+1 Maybe it could be bound to the right Ctrl key like in Virtualbox by default. edit: |
+1 this is the best part of Remmina, the right Ctrl key. #931 is related. |
+1 Indeed. Switched from Remmina to xfreerdp because of multi-monitor support, and the most needed feature is this one. Interestingly enough, exactly for the same scenario: "Right-Ctrl", "Ctrl+Alt+Up". |
I'm trying to implement the feature in xfreerdp. I'm not an expert in XLib, though. I was able to use XUngrabKeyboard successfully, and binded it to different keys trying to find the best. However, I'm facing some problems. |
@khvMX could you share your solution? |
Here's a git patch:
|
@khvMX Any progress on fullscreen mode? I have the exact same problem as you. I will be implementing your patch, as it is better than nothing! :) |
@Rudedog9d Hi. No, didn't touch it, works well for me so far :) There are majorly one thing that still annoys me, namely: |
Ok, cool! I was thinking that would be very frustrating aswell, but still very good piece of technology here! I may look into expanding upon your patch this semester at school, I will keep you updated if I do :) Thanks for the patch you did create! |
@khvMX I have a version that works with fullscreen :) It's not perfect, maybe you can help improve it - I reused code that already existed in the source (although it appears to not have existed in yours). Using ctrl+alt+C releases the keyboard for a single action, such as switching desktops. The fix:
That section is just below the bit about toggling fullscreen. Please let me know if you have questions, I fear that was not particularly clear! I don't understand where the 'C' key comes from (the CTRL and ALT key portions are pretty obvious), and so I'm not sure how to change the key binding to something like simply 'Right CTRL'. |
@Rudedog9d the first line of the patch "if ((keysym == XK_c) || (keysym == XK_C))" introduced the (lower and uppercase) 'c' via keysyms https://tronche.com/gui/x/xlib/input/keyboard-encoding.html |
Hmm, seems like this |
@Rudedog9d |
@kevinf28 Thank you, that makes more sense now! |
I would love for xfreerdp to send ctrl+alt+up and ctrl+alt+down to my linux host (ubuntu) so I can switch to another workspace. I'm using fullscreen xfreerdp on my 2nd workspace. This works great in the Citrix Receiver. It's quite cumbersome to have to switch back to windowed mode using ctrl+alt+enter and move the mouse outside the xfreerdp window. The patch seems to be here, so just merge it? Or am I being to practical :-P |
http://sourceforge.net/tracker/?func=detail&atid=381349&aid=1569293&group_id=24366
The text was updated successfully, but these errors were encountered: