[RULE] TinyX-4.3.0-6RULE (kdrive with xkb) Howto?

Michael Fratoni mfratoni at tuxfan.homeip.net
Sat Aug 2 08:38:16 EEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 01 August 2003 03:22 pm, Richard Kweskin wrote:
> Hello All
>
> Living in Greece, I want to try through xkb to get an additional layout
> for Greek. Thus Michael recompiled the TinyX package with xkb.
>
> Slinky at version 0.3.96 is still using the smaller package,
> TinyX-4.3.0-5RULE which hasn't got xkb.

Correct, I'll update the package for the next release.

> Now to my question:
>
> If XFree86 were being used, these additions to the keyboard section of
> XF86Config would make xkb work as desired:
>
> Option "XkbRules"   "xfree86"
> Option "XkbModel"   "pc101"
> Option "XkbLayout"   "us,el"
> Option "XkbOptions"  "grp:alt_shift_toggle"
>
> But Xvesa does not use this config file. Instead, some extra parameters
> are added in the startx script, e.g.
>
> defaultserverargs="-screen 800x600x24 -2button"
>
> (which is all that is needed to get a working resolution and color
> depth while emulating a 3 button mouse.) What additional parameters
> will do the trick?
>
> Looking in /etc/X11/sysconfig/xkb/README.config a reference is made to
> setxkmap and how to alternatively get the options above to run but
> there doesn't seem to be a setxkmap in my minimal system.
>
> Suggestions anyone??

Typo in your command, perhaps? You should have "setxkbmap" installed which 
should do the trick. It's part of the XFree86 package.
You might also try running redhat-config-keyboard. The bonus here is that 
when run from an xterm, redhat-config-keyboard prints out the commands it 
issues. You can then copy them to a script and cause the script to be 
executed when X is started to make the keyboard load automatically. Here 
is what I get on my system:

[root at pheobe root]# which setxkbmap
/usr/bin/X11/setxkbmap

[root at pheobe root]# rpm -qf /usr/bin/X11/setxkbmap
XFree86-4.3.0-2

[root at pheobe root]# redhat-config-keyboard 
(select Greek, output follows):
Loading //lib/kbd/keymaps/i386/qwerty/gr.map.gz
* running ['/usr/X11R6/bin/setxkbmap', '-layout', 'el,us', '-model', 
'pc105', '-option', 'grp:shift_toggle,grp_led:scroll']

It appears to work here, although I don't have anything other than a US 
keyboard available for testing.

Good luck, hope that helps,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: www.rule-project.org
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/K05In/07WoAb/SsRAucbAJ9WagEqiH1fqkHpzdNKO40g+wdHIACgop08
4YdC4Qz6hqdIgUD865Vel/A=
=p8ID
-----END PGP SIGNATURE-----



_______________________________________________
Original home page of the RULE project: www.rule-project.org
Original Rule Development Site http://savannah.gnu.org/projects/rule/
Original RULE mailing list: Rule-list at nongnu.org, hosted at http://mail.nongnu.org/mailman/listinfo/rule-list




This full static mirror of the Run Up to Date Linux Everywhere Project mailing list, originally hosted at http://lists.hellug.gr/mailman/listinfo/rule-list, is kept online by Free Software popularizer, researcher and trainer Marco Fioretti. To know how you can support this archive, and Marco's work in general, please click here