[openbox] Openbox and evdev don't play nice.

Ryan Tandy tarpman at gmail.com
Sat Jan 12 16:03:21 EST 2008


On Jan 12, 2008 12:13 PM, Rafał Mużyło <galtgendo at o2.pl> wrote:
> Well, as I'm using Openbox with rox-session on Gentoo with evdev 1.2.0
> and hal 0.5.10, I don't think openbox is the problem.

Fair enough.

> Also I meant
> `change `input.xkb.rules = 'base'` to `input.xkb.rules =
> 'evdev'` in the fdi file, restart hal, go to X and run setxkbmap`.

[gantrithor] ~ > grep -i rules /var/log/Xorg.0.log
(**) Option "xkb_rules" "evdev"
[gantrithor] ~ > setxkbmap
Couldn't find rules file (evdev)

I should mention that I'm not using an FDI file, just a Device section
in /etc/xorg.conf; if you think using an FDI file instead would make a
difference I can give that a try.

> Reasons are following
> - evdev driver is meant to work with evdev xkbrules

...which apparently don't exist on my machine :(

> - I'm using evdev with a standard keyboard, but I still need to run
>   setxkbmap to get repeat on left arrow (layout is already correct)
> Futhermore I've got x11-base/xorg-server-1.4.0.90 and
> x11-apps/xinit-1.0.5-r1 both with hal useflags.

[ebuild   R   ] sys-apps/hal-0.5.10  USE="acpi laptop -apm -crypt
-debug -dell -disk-partition -doc (-selinux)" 0 kB
[ebuild   R   ] x11-apps/xinit-1.0.5-r1  USE="hal pam -debug -minimal" 0 kB
[ebuild   R   ] x11-base/xorg-server-1.4.0.90  USE="dri hal xorg -3dfx
-debug -dmx -ipv6 -kdrive -minimal (-nptl) -sdl -xprint"
INPUT_DEVICES="evdev keyboard synaptics -acecad -aiptek -calcomp
-citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit
-hyperpen -jamstudio -joystick -magellan -microtouch -mouse -mutouch
-palmax -penmount -spaceorb -summa -tek4957 -ur98 -vmmouse -void
-wacom" VIDEO_CARDS="nvidia -amd -apm -ark -chips -cirrus -cyrix
-dummy -epson -fbdev -fglrx -glint -i128 -i740 -i810 (-impact) -imstt
-mach64 -mga -neomagic (-newport) -nsc -nv -r128 -radeon -rendition
-s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14)
(-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident
-tseng -v4l -vermilion -vesa -vga -via -vmware -voodoo -xgi" 0 kB

> And as fluxbox and twm
> work, check if you aren't running something in openbox autostart or your
> standard xsession.

I don't use openbox's autostart functionality.  In fact I don't use
any kind of session manager, just ~/.xinitrc (which I can paste if you
think it's relevant).  The only difference between launching openbox
and e.g. fluxbox is that I change 'exec openbox' to 'exec fluxbox' in
~/.xinitrc.

> And post what does `setxkbmap -print` prints while keyboard works and
> while it does not.

With 'evdev' xkbrules:
Couldn't find rules file (evdev)

With 'base' xkbrules, both before and after 'openbox --reconfigure':
xkb_keymap {
	xkb_keycodes  { include "evdev+aliases(qwerty)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete"	};
	xkb_symbols   { include "pc+us+inet(evdev)+compose(rctrl)"	};
	xkb_geometry  { include "pc(pc104)"	};
};

Thanks a lot for all your time so far.


More information about the openbox mailing list