Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am constantly troubled by various gnome and linux shortcuts propagating through while I'm in remote desktop on ubuntu.

Some of it I know I can disable in gnome control panel, but I'm also troubled by the stuff like Ctrl-Alt-F keys (which I do not thinks is gnome)

Is there any way to disable all of these shortcuts, preferably only while the application has focus/is running?

share|improve this question

3 Answers 3

Just like the previous posters, I'm not sure what you mean.

My situation: using rdesktop from Linux to take over a Windows laptop. Using Alt-F4 closed rdesktop instead of the Windows window. After some googling, I added the rdesktop cmd-line switch -G which solved that issue.

If your issue is similar - you might need to add the -G flag also.

share|improve this answer

So help me understand your question better - by "propagating through" do you mean that your local window manager is intercepting these keystrokes and acting on them (and you want them to be sent to the application running in the remote desktop) ...or do you mean that they're being acted on by gnome remotely, rather than sent to the application?

share|improve this answer
    
The first. When I press ctrl-alt-f2 i want it to go to the remote application. –  krosenvold Oct 4 '09 at 20:47

Hrm... I can't reply via another comment because my reply was too long. This seems to me a bad design, as it disrupts the "reply" threads. Oh, well...

Anyways, Ctrl-alt-F1/F2/F3/F4 etc. are captured at a VERY low level; outside X-Windows and Gnome altogether. While there are many explanations of these keys and how they work, this one seems quite readable: http://linux.about.com/od/linux101/l/blnewbie5%5F1.htm

While I can see the value in begin able to pass these keystrokes through, I also see the importance of ensuring they always work locally. If there IS a way to do this, it would have to be implemented on your client RDP program - i.e. when app has "focus", disabling all the Ctrl-Alt-F{n} keys and forwarding those to the remote machine, and when the app loses "focus" restoring all the Ctrl-Alt-F{n} mappings so they work properly for all other applications and from the Xwindow system itself.

Dunno how that might work at the moment; I'll keep my eyes open for solutions and let you know if I find one.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.