LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Fluxbox workspace switch keybinding acting up (https://www.linuxquestions.org/questions/linux-desktop-74/fluxbox-workspace-switch-keybinding-acting-up-881876/)

mutanabbi 05-20-2011 06:23 PM

Fluxbox workspace switch keybinding acting up
 
Hi!
I have a rather insignificant malfunction that causes me a lot of trubble. Pretty much everything works smothly on my arch+fluxbox install except for one or two things. The greatest annoyance is that the key-binding for switching desktops is not working. I had it wired so that ctrl + alt + right/left was used to trigger the PrevWorkspace, NextWorkspace commands in the keys file:

Like this:
# change to previous/next workspace
Control Mod1 Left :PrevWorkspace
Control Mod1 Right :NextWorkspace

Now this code is working, but only after i edit the code and prompt fluxbox to reconfig, it does not work on startup but only after I have entered the file made a change to this configuration and changed it back, alternativly replaced it with Left/RightWorkspace. This is the only keybinding where I have this issue though i also have it in conky where the workspace name command acts just the same way. Since this is the most convenient way for me to swap workspaces and organize my work i'd be really happy to get some or help as to why insight.

frankbell 05-20-2011 09:09 PM

I have no idea what could be causing this, but I have three suggestions for testing.

1. Try different keybindings for one of those commands that does not use the arrow keys and test. That could serve to determine whether it's the keybinding or the use of the arrow keys that might be quirky.

2. Create a new user. Test the keybindings for the new user. If they work okay for the new user, that indicates that something might have gone squirrelly in your ~/.fluxbox directory (though the contents are so straightforward it's hard to imagine what they might be); if not, it indicates that it's a global problem.

3. Try a different Fluxbox theme. Perhaps something in the theme files is walking on the keybindings at startup.

mutanabbi 05-28-2011 07:48 AM

I tried changing fluxbox-style with no luck and then tried using the ö and ä keys on my swedish keyboard together with control and that worked and then came to think that maybee the right/left aliases for my left and right keys wasn't working. So i used the xev application to test the keycode events and found out that the keycode was 113 respectively 114 so i changed the keybinding to "control mod1 113"/"114" and now it is working flawlessly.

frankbell 05-28-2011 07:07 PM

Nice piece of detective work.


All times are GMT -5. The time now is 03:55 PM.