« Have a 1970 terminal | Main | XEN - da li se još dvoumite? »

Fix hr keyboard in X.org 7.0

As always, hr_US keyboard is broken (again) in X.org 7.0.
However, problem is easily solved this time (just one line diff), at least
under Debian:

--- /usr/share/X11/xkb/symbols/hr.orig	2006-04-14 16:44:19.000000000 +0200
+++ /usr/share/X11/xkb/symbols/hr	2006-04-14 16:44:36.000000000 +0200
@@ -10,6 +10,8 @@
 partial alphanumeric_keys 
 xkb_symbols "us" {
 
+    include "us"
+
     name[Group1]= "Croatia - US keyboard with Croatian letters";
 
     key  { [    any,    any,	backslash	        ] };

You should note that xkb files moved to /usr/share/X11/xkb/symbols
and that keyboard can be activated using:

$ setxkbmap hr us

Update: Ante Karamatic noted that same fix is already in
upstream code.
To be honest, fix was to include us and not latin symbols,
so that's also corrected in this post.

TrackBack

TrackBack URL for this entry:
http://blog.rot13.org/mt/mt-tb.cgi/515

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on April 17, 2006 1:38 AM.

The previous post in this blog was Have a 1970 terminal.

The next post in this blog is XEN - da li se još dvoumite?.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 4.1