When connected via
rdesktop to a remote machine, normally all keys pressed inside the active rdesktop window are transferred to the remote machine.
Is it possible to define key strokes, which are excluded? By that I mean, when pressed while the rdesktop window is active, these keystrokes will act locally.
A concrete example is the key kombination CTRL+ALT+LEFT and CTRL+ALT+RIGHT which I use on my local machine to switch between virtual desktops. The remote machine does not have any virtual desktops, and this key combination has no effect there. But the key strokes are "eaten" by the rdesktop window nevertheless.
I am not sure on what level this should be done. My guess is, that the keystrokes would have to be intercepted before they are passed to rdesktop.
Is there any way to achieve this?
My local machine is Debian Wheezy with LXDE.