You are not logged in.

#1 2014-02-04 20:27:35

n0tel
Member
Registered: 2014-01-28
Posts: 3

Ctrl-Shift Keyboard Shortcuts Broken

Hello

I switch layout with Ctrl+Shift. And have a little trouble. When i try:

  • Reopen recent tab in Chrome/Firefox (Ctrl+Shift+T)

  • Select previous tab in Chrome/Firefox (Ctrl+Shift+Tab)

I get just new tab in the first case, and select next tab in the second. This changes the layout. So, performs the action, as if the Shift key not pressed.

Looking for a solution I found that this is common problem. Not only for browsers... ( http://stackoverflow.com/questions/5592 … -linux-kde )
I found similar topic https://bbs.archlinux.org/viewtopic.php?pid=1352640 and read this --> https://wiki.archlinux.org/index.php/Ke … on_in_Xorg . But solution don't found.

Someone can help? I don't want change to Alt+Shift switch layout.

P.S. I using Awesome WM

Offline

#2 2014-02-04 21:22:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Ctrl-Shift Keyboard Shortcuts Broken

Window managers really should bind those keys (or you shouldn't tell them too).  If your window manager binds Ctrl+Shift (in typical ways), then applictions will not be able to receive Ctrl+Shift+<other-key> keypress events.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2014-11-02 23:04:26

alexzk
Member
Registered: 2014-11-02
Posts: 25

Re: Ctrl-Shift Keyboard Shortcuts Broken

May be it is too late, but this topic is at top of google...any way

here is russian link:
http://habrahabr.ru/sandbox/44336/

in short, you must get sources of xserver by using abs, save there patch file from article, modify PKGBUILD to apply this patch.

Reason is, xserver switches keyboard "onkeypress" while it should do "onkeyrelease". This bug is mentioned in 2006 and not fixed since that because it will lead to change xserver's specs.

P.S. patch in article is for 1.12.xx, but it worked with 1.16.1 for me.

Offline

Board footer

Powered by FluxBB