Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have three workspaces: WS1, WS2 and WS3.

  • In WS1, I have an active remote desktop session to a windows computer, started with "rdesktop ".
  • In WS2, I have some bash terminals
  • In WS3, I have some text editors

What I want to do is this: switch to and from WS1 with a keyboard shortcut.

The problem I have is this: when in WS1 with an active rdesktop session, keyboard shortcuts are sent to the remote desktop rather than Ubuntu, so the workspaces are not switched.

Is it possible to set some keyboard shortcuts that get sent to Ubuntu rather than rdesktop?

Edit 1: rdesktop -K does not seem to work after the rdesktop session is interacted with.

share|improve this question

2 Answers 2

According to the manpage, you could use rdesktop -K. That sends all window manager shortcuts to Ubuntu, not just the "switch workspace" one. Depending on your needs, that may work for you.

share|improve this answer
    
I too tried that, and the weird thing it works until I've clicked in the rdesktop window. Once I have clicked there, the remote OS gets all my keyboard input again. –  Adam S Jul 27 '12 at 19:37
    
It may be helpful to add that information to your question (it's encouraged to edit your question once you realise you have more information to share). Perhaps that will help someone else answer your question. –  Timo Kluck Jul 27 '12 at 21:10
up vote 0 down vote accepted

I figured out a way. Instead of using rdesktop, I instead use a program called "remmina". This program performs the same task of remote desktop, but still allows workspace switching.

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.