View previous topic :: View next topic |
Author |
Message |
crimson Guru
Joined: 27 Apr 2002 Posts: 430 Location: Cedar Rapids, IA
|
Posted: Sat Mar 01, 2003 11:50 pm Post subject: Windows key broken after XFree 4.3.0 |
|
|
I use fluxbox and have [Windows Key](Mod4) + e set to run rox. This worked just fine until I emerged XFree86 4.3.0. There are so many damn X keyboard files I have no idea what to change! Does anyone know how to fix this? Thanks. |
|
Back to top |
|
|
David_Escott l33t
Joined: 12 Jan 2003 Posts: 952 Location: Boston, MA
|
Posted: Sun Mar 02, 2003 2:32 am Post subject: |
|
|
xev will tell you the keys name which is a better thing to do than changing Xs keyboard maps |
|
Back to top |
|
|
crimson Guru
Joined: 27 Apr 2002 Posts: 430 Location: Cedar Rapids, IA
|
Posted: Sun Mar 02, 2003 4:29 am Post subject: |
|
|
Wow, xev would be a nice tool for writing x programs. Anyway, it doesn't even recognize the key! It sees the keypress, but here's what happens:
KeyPress event, serial 24, synthetic NO, window 0xc00001,
root 0x9c, subw 0x0, time 196199, (69,35), root:(212,217),
state 0x10, keycode 115 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes: ""
KeyRelease event, serial 24, synthetic NO, window 0xc00001,
root 0x9c, subw 0x0, time 196356, (69,35), root:(212,217),
state 0x10, keycode 115 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes: ""
Where it says NoSymbol it should have the key's name. So, is there anyone that knows how I could map keys? I'm using just the standard keymap I would guess, I haven't done anything unusual. I need that win key to work, or I'm ten times slower opening progams. Thanks. |
|
Back to top |
|
|
crimson Guru
Joined: 27 Apr 2002 Posts: 430 Location: Cedar Rapids, IA
|
|
Back to top |
|
|
David_Escott l33t
Joined: 12 Jan 2003 Posts: 952 Location: Boston, MA
|
Posted: Sun Mar 02, 2003 5:28 am Post subject: |
|
|
modmap isnt really the way to do this. How do you have your keyboard defined in your XF86Config you probably have the wrong type listed there. |
|
Back to top |
|
|
crimson Guru
Joined: 27 Apr 2002 Posts: 430 Location: Cedar Rapids, IA
|
Posted: Sun Mar 02, 2003 5:39 am Post subject: |
|
|
well perhaps not, but after reading some more I wouldn't mind mapping some of my other logitech function keys. I made a .Xmodmap file and edited another file but that didn't work. I just noticed this however in the error output from startx which is probably my problem :
Code: |
Couldn't load XKB keymap. Falling back to pre-XKB keymap.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Can't find file "unknown" for geometry include
> exiting
> abandoning geometry "default"
Errors from xkbcomp are not fatal to the X Server.
|
I have this in my XF86Config, but I *doubt it's the problem because the XF86Config file hasn't changed and it used to work
Option "XkbModel" "itouch"
Option "XkbLayout" "us" |
|
Back to top |
|
|
crimson Guru
Joined: 27 Apr 2002 Posts: 430 Location: Cedar Rapids, IA
|
Posted: Sun Mar 02, 2003 5:54 am Post subject: |
|
|
Solved! Well sort of. I added this to xmodmap .Xmodmap to my .xinitrc file, and they now work like a charm. I still don't know why they don't work like they are supposed to, but Hey atleast I got them to work. |
|
Back to top |
|
|
dev Apprentice
Joined: 06 Jul 2002 Posts: 248 Location: San Antonio, TX
|
Posted: Sun Mar 02, 2003 6:22 am Post subject: |
|
|
My windows key works fine in fluxbox after upgrading to X4.3. I didn't have to do anything. I did redo my XF86Config, but thats it. |
|
Back to top |
|
|
crimson Guru
Joined: 27 Apr 2002 Posts: 430 Location: Cedar Rapids, IA
|
Posted: Sun Mar 02, 2003 6:26 am Post subject: |
|
|
Quote: |
My windows key works fine in fluxbox after upgrading to X4.3. I didn't have to do anything. I did redo my XF86Config, but thats it.
|
Well I must have messed up one of the config files while updating them. I still wish I knew exactly what the problem is. |
|
Back to top |
|
|
dev Apprentice
Joined: 06 Jul 2002 Posts: 248 Location: San Antonio, TX
|
Posted: Sun Mar 02, 2003 6:36 am Post subject: |
|
|
Here's my XF86Config so you can compare all the keyboard stuff.
Code: |
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "Module"
Load "freetype"
Load "extmod"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
Load "speedo"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "DigitalVibrance" # <i>
#Option "PageFlip" # [<bool>]
#Option "Dac8Bit" # [<bool>]
Option "NoLogo" "1" # [<bool>]
#Option "Overlay" # [<bool>]
#Option "UBB" # [<bool>]
#Option "Stereo" # <i>
#Option "WindowFlip" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "VideoKey" # <i>
#Option "NvAGP" # <i>
#Option "PixmapCacheLines" # <i>
#Option "IgnoreEDID" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ConnectedMonitor" # <str>
#Option "ConnectedMonitors" # <str>
#Option "TVStandard" # <str>
#Option "TVOutFormat" # <str>
#Option "NoRenderAccel" # [<bool>]
#Option "CursorShadow" # [<bool>]
#Option "CursorShadowAlpha" # <i>
#Option "CursorShadowXOffset" # <i>
#Option "CursorShadowYOffset" # <i>
#Option "UseEdidFreqs" # [<bool>]
#Option "FlatPanelProperties" # <str>
#Option "TwinView" # [<bool>]
#Option "TwinViewOrientation" # <str>
#Option "SecondMonitorHorizSync" # <str>
#Option "SecondMonitorVertRefresh" # <str>
#Option "MetaModes" # <str>
#Option "UseInt10Module" # [<bool>]
#Option "SwapReady" # [<bool>]
#Option "NoTwinViewXineramaInfo" # [<bool>]
#Option "NoRenderExtension" # [<bool>]
#Option "UseClipIDs" # [<bool>]
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV15 [GeForce2 GTS/Pro]"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"
Depth 16
EndSubSection
SubSection "Display"
Depth 24
EndSubSection
EndSection
|
|
|
Back to top |
|
|
dev Apprentice
Joined: 06 Jul 2002 Posts: 248 Location: San Antonio, TX
|
Posted: Sun Mar 02, 2003 6:49 am Post subject: |
|
|
There were a bunch of config files in /usr/X11R6/somewhereinhere that probably need to be updated if you upgraded from 4.2x to 4.3. I went in and copied all the new configs over the older ones. That might have something to do with it. |
|
Back to top |
|
|
David_Escott l33t
Joined: 12 Jan 2003 Posts: 952 Location: Boston, MA
|
Posted: Sun Mar 02, 2003 6:54 am Post subject: |
|
|
> grep -R itouch /etc/X11/
/etc/X11/xkb/symbols.dir:--p----- a------- inet(itouch)
/etc/X11/xkb/symbols.dir:--p----- a------- inet(itouchin)
/etc/X11/xkb/symbols/inet:xkb_symbols "itouch" {
/etc/X11/xkb/symbols/inet:xkb_symbols "itouchin" {
/etc/X11/xkb/rules/xfree86: logicdn logidak logiik itouch logiitc logiik logiink itouchin \
/etc/X11/xkb/rules/xfree86.lst: itouch Logitech iTouch
/etc/X11/xkb/rules/xfree86.lst: itouchin Logitech iTouch keyboard Internet Navigator
/etc/X11/xkb/rules/xfree86.xml: <name>itouch</name>
/etc/X11/xkb/rules/xfree86.xml: <name>itouchin</name>
Don't know if you thought to do that or not |
|
Back to top |
|
|
|