Баг с буквами “d’ и “s” в VNC-сессии Ubuntu 14.04LTS
vnc4server
d_not_work
Баг с буквами “d’ и “s” в VNC-сессии Ubuntu 14.04LTS
Problem with letters ‘d’, ‘s’ in VNC session
Проблема с буквами d, s в VNC клиенте
Проявление проблемы:
После входа на удаленный Ubuntu 14.04 сервер по любому VNC-клиенту пробовал TightVNC, UtraVNC:
- при нажатии кнопки “d” активное окно сворачивается!
- при нажати кнопки “s” вылезает меню программ
Долго бился, пытаясь решить эту проблему, т.к. невозможно работать было, пока не нашел описание этого бага и решения на сайте https://medium.com/linux-operation-system/5e6fac849ea3
- I left off the day before being dissatisfied with the look of xfce4 as my desktop manager in a VNC session. So I tried to chase down the crashes gnome-session was having in ~/.vnc/xstartup. I couldn’t pin down the exact issue, but I got around this by manually issuing enough of desktop environment for it to be “good enough” to table my fight with VNC. Here’s my xstartup:
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresourcesxsetroot -solid greyvncconfig -iconic &x-window-manager &gnome-panel &gnome-settings-daemon &metacity &nautilus -n &gnome-terminal &
- So VNC’s look was now jiving with me, but I still faced the issue with the ‘s’ and ‘\<TAB>’ being mapped to some crazy shortcuts I didn’t agree with. I checked my ‘System Settings’ high and low but couldn’t find anything that showed that they were misconfigured. Then I recalled that I had the issue with my desktop icons not showing the day prior due to gsettings being used over unity-settings. I then set out to find the character mappings. Sure enough, both ‘s’ and ‘\<TAB>’ were part of a super shortcut gsettings has by default. I jumped on fixing this annoyance real quick — again from the desktop, not SSH:
$ gsettings set org.gnome.desktop.wm.keybindings panel-main-menu "['<Alt>F1']";$ gsettings set org.gnome.desktop.wm.keybindings switch-applications # "['<Alt>Tab']"