Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ 1 [2] 3 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Fluxbox keybinding not loading, using Fluxbox documentation as a guide< Next Oldest | Next Newest >
Barry Offline





Group: Members
Posts: 21
Joined: Dec. 2004
Posted: Jan. 13 2005,04:55 QUOTE

I didn't specifically reload the configuration, I rebooted the whole enchelada. But I found the reconfigure the window manager button in the menu but that dina du it neither. Hey, I just noticed that my light bulb is lit up. Well, it's just a freakish spike...I assure you I have no bright ideas on this one.

--------------
All paid jobs absorb and degrade the mind.

Aristotle
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 13 2005,13:59 QUOTE

Well.....that kicks me in the pants....

Do the other keybinds work?
Try Alt+Tab to switch between windows and Alt+F1/F2 to switch desktops.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Barry Offline





Group: Members
Posts: 21
Joined: Dec. 2004
Posted: Jan. 14 2005,23:26 QUOTE

OK, so now when I go back and use xev to identify keycodes I get something a little different. Number 8 on the keyboard is the one that I changed in the keys file like so...
Code Sample
none 8 :NextTab

It now show in xev as:
Quote
FocusOut event.serial 20, synthetic NO. window 0xa00001,
   mode NotifyGrab, detail NotifyAncestor

FocusIn event.serial 20, synthetic NO. window 0xa00001,
   mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event. serial 20, synthetic NO, window 0x0,
   keys  2  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

The rest of the numbers that have not been modified all give something like this "9" does:
Quote
KeyPress event. serial 20, synthetic NO, window 0x1a00001,
root 0x33, subw 0x1a00002, time 1927327932, (44,37), root:(636,84),
state 0x0, keycode 18 (keysym 0x39, 9), same_screen YES
XLookupString gives 1 bytes:  "9"

KeyRelease event. serial 20, synthetic NO, window 0x1a00001,
root 0x33, subw 0x1a00002, time 1927328014, (44,37), root:(636,84),
state 0x0, keycode 18 (keysym 0x39, 9), same_screen YES
XLookupString gives 1 bytes:  "9"

Which is the format that the "8" showed before I edited. So something changed. Anyone care to back me up on syntax? I'm going to try the keycode instead of the name...will post.


--------------
All paid jobs absorb and degrade the mind.

Aristotle
Back to top
Profile PM 
Barry Offline





Group: Members
Posts: 21
Joined: Dec. 2004
Posted: Jan. 14 2005,23:44 QUOTE

The fluxbox documentation shows using the name, the keycode didn't work. I did however successfully map an xmms command to a key in   the form of "None 8 :ExecCommand xmms -p". But I still need to be able to use the mapping in x such as NextTab. Ideas? Thoughts? Comments?

--------------
All paid jobs absorb and degrade the mind.

Aristotle
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 15 2005,00:58 QUOTE

If you map a key with no modifier fluxbox grabs that key, so it is not passed to applications.  This is why the xev display is unusual....it knows something was pressed but does not receive anything specific.

Only thing I can think of at the moment is maybe you have numlock off.  This might prevent the keypad keys from properly registering.  Fluxbox might be seeing the keypress as KP_Home instead of KP_7.

FYI you probably don't want to map something like "none 8".  Fluxbox will grab it every time and you won't be able to type '8' in an application.  As a rule I don't map any standard keys without using a modifier.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
18 replies since Jan. 12 2005,21:18 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ 1 [2] 3 4 >/
reply to topic new topic new poll
Quick Reply: Fluxbox keybinding not loading

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code