Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
tab key doesn't work in xvnc
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
the.root
Apprentice
Apprentice


Joined: 29 Apr 2007
Posts: 210
Location: -84.706059324915, -62.4843750666430

PostPosted: Sun Nov 27, 2011 4:59 am    Post subject: tab key doesn't work in xvnc Reply with quote

So I have a gentoo host running a headless gentoo guest in virtualbox.

I have a simple vnc script that launches using vncserver/Xvnc
Code:
$ cat /usr/local/bin/vnc.sh
#!/bin/bash
vncserver -geometry 1920x1200 -depth 16


and the xstartup

Code:
$ cat ~/.vnc/xstartup
#!/bin/sh

xrdb $HOME/.Xresources
export XKL_XMODMAP_DISABLE=1
autocutsel -fork
xsetroot -solid grey
startxfce4 &


however using this I cannot get the tab key to be passed to the vncserver by itself. tried it with vncviewer and krdc.

using xev in the guest i press the [tab] key and get the following
Code:

FocusOut event, serial 32, synthetic NO, window 0x5400001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 32, synthetic NO, window 0x5400001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 32, synthetic NO, window 0x0,
    keys:  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   


when i press ctrl+tab or shift+tab it seems to pass it just fine.. this is from ctrl+tab

Code:

KeyPress event, serial 32, synthetic NO, window 0x5400001,
    root 0x25, subw 0x0, time 3814795988, (103,-27), root:(974,488),
    state 0x0, keycode 8 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 32, synthetic NO, window 0x5400001,
    root 0x25, subw 0x0, time 3814796144, (103,-27), root:(974,488),
    state 0x4, keycode 66 (keysym 0xff09, Tab), same_screen YES,
    XLookupString gives 1 bytes: (09) "   "
    XmbLookupString gives 1 bytes: (09) "   "
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x5400001,
    root 0x25, subw 0x0, time 3814796256, (103,-27), root:(974,488),
    state 0x4, keycode 8 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x5400001,
    root 0x25, subw 0x0, time 3814796276, (103,-27), root:(974,488),
    state 0x0, keycode 66 (keysym 0xff09, Tab), same_screen YES,
    XLookupString gives 1 bytes: (09) "   "
    XFilterEvent returns: False




I'm not sure what i'm missing here, why any two key combinations pass it just fine but when it's by itself it fails.. I looked around and really couldnt find any others with this issue or suggestions, other then some java viewer stuff from tightvnc..

Anyways, if anyone has any ideas, please let me know!

Thanks!
_________________
Ps = (1.5 x 6 x .75) / {(4/3) (pi) [(31.039 x 10^15) (46.5 x 10^9)]^3}
Seems like a waste..
Back to top
View user's profile Send private message
RonK
n00b
n00b


Joined: 30 Jan 2014
Posts: 1

PostPosted: Thu Jan 30, 2014 4:49 pm    Post subject: Reply with quote

The information at URL http://blog.zerosum42.com/2011/10/tech-fixing-tab-key-in-vnc.html might be useful to you.

Quick summary: the window manager (xfce4) was set up by default to trap <Super>-Tab, and was therefore relating to Tab (without <Super>) in a way which caused the VNC client to flake out. Solution: remove the offending keyboard shortcut from the settings.

(Yes, I know this thread is very old...)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum