VNC support for alt-tab

Corné Beerse cbeerse "at" lycos.nl
Tue Jun 29 14:30:01 2004


bansidhar.deshpande "at" infineon.com wrote:

>> In the viewers menu (mouse button on the top bar) you can select the <ctrl>
>> and <alt> keys. Combine them with the required keys and the result is sent
>> to the server.
> 
> 
> 
>>> Please guide me if there is any hidden key behind this.
> 
> 
>> <F8> is a key to show the above menu.
> 
> 
>> Cbee
> 
> 
> 
> Thanks Cbee for the help. But unfortunately <F8> is not working in my case.
> Can I press it in Full screen mode in VNC Viewer ?

Check the documentation, I have reasons to believe function keys can be defined. 
You should be able to define <alt><tab> either in the menu or in a function-key.

The root of all evil is that the os at the desktop does not forward the 
<alt><tab> combination so the applications (here `vncviewer`) does not see it at 
all and hence cannot do anything about it.

> 
> BTW still I have a doubt in my mind. Isn't it a pain to repeat this procedure
> for every alt-tab ? Can't the VNC Viewer give an interface like the "VMWare"
> which catches all the keyboard events except that of ctrl-alt-del. Because I
> am sure that everybody who works in the GUI mode of Linux using VNC would
> like to switch between the dialog windows using the keyboard not the mouse.

VMWare has the same problem. They have re-assigned <ctrl><alt><del> to 
<ctrl><alt><ins> for example.

In the end, the best way is to have some customizable keys, like the 
function-keys, then users can define their own mapping for frequently used 
combinations. For the not so frequently used combinations, a virtual-keyboard 
does suit a need. If the local or remote machine is unix, the application 
`xkeycaps` can do that for all (and many more) keyboards you can imagine: it can 
redefine roughly all keys and it can suit as a virtual keyboard.




CBee