[Scribus] Accents on US keyboards

Dave Spagnol davecs
Tue Feb 22 00:29:40 CET 2005


Although in Britain, I do have a laptop with a US keyboard. In order to get 
access on a US keyboard to accents, you need to change a few lines in 
your /etc/X11/xorg.conf file. It may also be XF86Config-4 or XF86Config.

Try making the keyboard section of the file look something like this:

Section "InputDevice"

    Identifier "Keyboard1" #DO NOT CHANGE THIS LINE
    Driver "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc104" #CORRECT FOR AN AMERICAN WINDOWS KEYBOARD
    Option "XkbLayout" "us"
    Option "XkbOptions" "lv3:ralt_switch,compose:menu" 

EndSection

The trick is in the XkbOptions line. This makes your Right Alt key act as a 
shift to another set of characters on each key, and using Shift and the Right 
Alt key provides yet more.

What they provide is defined in the file:

/usr/lib/X11/xkb/symbols/pc/latin

If you are using another (non-US) keyboard, then this file will act as a 
"fallback" for any key not defined in your country's keyboard layout file. 
(Hint: it can be edited). Some (generally symbol - not alphanumeric) keys are 
"dead". When you press another key, you get it accented. Experiment. You 
won't break anything.

The other trick in the XkbOptions line is that the Windows "Menu" key becomes 
a "Compose" key. To get e-acute press Menu, apostrophe, e.

Hope this helps.




More information about the scribus mailing list