LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-20-2011, 06:23 PM   #1
mutanabbi
LQ Newbie
 
Registered: May 2011
Posts: 4

Rep: Reputation: Disabled
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.
 
Old 05-20-2011, 09:09 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,307
Blog Entries: 28

Rep: Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136
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.
 
1 members found this post helpful.
Old 05-28-2011, 07:48 AM   #3
mutanabbi
LQ Newbie
 
Registered: May 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
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.
 
Old 05-28-2011, 07:07 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,307
Blog Entries: 28

Rep: Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136
Nice piece of detective work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] WorkSpace hangs switch to 2nd WorkSpace also hung ken poy Linux - Newbie 2 08-14-2010 08:07 AM
Fluxbox keybinding addr1 Linux - Desktop 4 05-29-2010 05:26 AM
How to switch workspace in Gnome michalng Linux - Newbie 5 03-15-2009 07:37 PM
GNOME Workspace Switch from CLI hal_baumgardner Linux - Software 3 09-21-2007 03:22 PM
workspace switch bar gone cch2cch Linux - Software 1 03-18-2005 03:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration