[Solved] Accents on US keyboards

Hello everyone,
I have already solved this for my laptop, so I post the solution to help someone else.
My laptop is a Dell Inspiron E1505, with English-us keyboard. And my main language is Spanish, so I normally use accents like áéíóú, and ñ.
The solution suggested on the wiki was not helpful for me:
http://wiki.archlinux.org/index.php/Acc … _keyboards
You may consider adding this other solution to the wiki.
I have found that the us xkb layout already has an International variant, with all the accents, so, to enable the accents on a us layout you only have to edit /etc/hal/fdi/policy/10-keymap.fdi and correct the following two lines as follows:
<merge key="input.xkb.layout" type="string">us</merge>
<merge key="input.xkb.variant" type="string">altgr-intl</merge>
Save, exit, reboot.
To use the accents, just press the right Alt + the key you want
Example: Alt+e = é
That way you get a lot of special characters (¿µñb®©œæøœïðßáöóíúüþëéåä, etc.)
That's it.
There's no need to modify xorg.conf or install extra stuff/config files or scripts to modify the default layout.
With this solution works perfect.
Updated - June 30, 2010
The HAL solution doesn't work any more with Xorg 1.8, so I solved it by adding the keyboard layout and variant to xorg.conf:
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbLayout" "us"
Option "XkbVariant" "intl"
EndSection
Use "intl" variant to get á wit 'a, or "altgr-intl" to get á with AltGr+a
Last edited by iopo (2010-06-30 21:39:15)

Hello all,
Excuse me for the delay,
For me, the problem with the Xmodmap suggested in the wiki was:
1- XKeyCaps program was buggy (didn't allowed me to select a keyboard)
2- The Example xmodmap file doesn't have the same keycodes of my keyoboard, so the solution was to manually create my own keyboard layout.
If I was going to create my own keyboard layout, I think that the most clear/clean solution is to create a custom layout for HAL. I was going to do that, taking the "us" layout as base, and that's how I found that the us layout already hast the international variant (and there are a few other variants, you can search the one that better fit your needs). The default International variant was good for me, so there was no need to create a new layout
I think that the Xmodmap solution is more like a patch, and it may create some problem or confusion in a future after several system updates...
Maybe some Arch expert can give us a better explanation about both solutions.
Regards.

Similar Messages

  • Please help-how can I find accents on the keyboard when typing in French?

    Please help.How can I find accents on the keyboard when typing in french?Thanks

    You can also open the Keyboard Viewer & hold Option key & Shift+Option to see...
    Option key...
    Shift+Option or alt key...

  • Keypad: Locate Accent Key, standard keyboard is under Tilde Key

    How can I get the ascent key (which is under the Tilde key, top left on a standard keyboard) on an iPhone? You would think by holding down the Tilde ~ key on the iPhone the key would appear.

    hold the vowel you want the accent mark over and it will appear with a series of letters
    This doesn't solve the problem, which is that some people need to make a ` (grave accent) all by itself for passwords. If you know a way to do that, a lot of people will be interested in it.

  • [SOLVED] Vi and international keyboards dead keys

    Hello all,
    I'm learning Vi from the excellent documentation by the author himself and Mary Ann Horton at FreeBSD Documentation. However I'm facing a wall that I can't seem to get around.
    Under the portuguese keyboard layout as defined by pt-latin1, the following diacritics are dead-keys:
    ~ (tilde)
    ^ (circumflex) (above the tilde, requires also the use of the SHIFT key)
    ` (gave accent, aka back tick) (above acute accent, requires the use of the SHIFT key)
    Because they are dead keys, these diacritics aren't compatible with Vi command mode and certain CTRL combinations. They are however very useful. How can I handle this problem in Vi without remmaping these symbols to different keys (it is very important I don't remap them)? Is there a way to temporarily disable dead-keys functionality and have them function as regular one-hit keys?
    My search for pt keymaps without dead keys produced 0 results. So, I don't think that is an option.
    Last edited by marfig (2010-08-09 00:22:23)

    Well, I took a closer look at man keymaps and found a way to deal with this; I can create single modifier definitions and load them with loadkeys.
    So, if I look at dumpkeys I may find the following two lines
    keycode 27 = dead_acute dead_grave apostrophe
    keycode 43 = dead_tilde dead_circumflex asciitilde Control_backslash
    I now know the keycodes. So I can create a new file (say, pt-latin1-undead), and write this this:
    plain keycode 27 = acute
    shift keycode 27 = grave
    plain keycode 43 = asciitilde
    shift keycode 43 = circumflex
    Then all I need to do is load it with:
    sudo loadkeys pt-latin1-undead
    This will load it on top of my current keymap, replacing only those modifiers I defined and leaving the rest intact. When I'm done and want to get back to dead_keys mode, I simply load pt-latin1 again. Tested it already and works flawlessly!
    The only disadvantage I can see is that loadkeys requires root access.
    Note: The actual code for circumflex is 'asciicircum'. I didn't know this and my first try with 'asciicircumflex' was giving me a syntax error on loadkeys. So I just tried 'circumflex' and it worked. Seems to be a synonym.
    Flagging as SOLVED.
    Last edited by marfig (2010-08-09 00:38:14)

  • The spanish accents on my keyboard dont work anymore, it works for the ñ but not for the A, E, I, O or U

    how do i get the accent marks over the vowels when using my keyboard?  It used to work using option + e then the letter but it doesn't do it anymore.

    Hi Cerene....yes I tried increasing the reverb and delay in the Master functions. Helped a little but not like a sustain pedal carrying the sound while you are singing and playing live. Only if I play a chord inversion close to previous chord will it sound seamless. I am basically happy with all but this function, as other synths I have played allowed me to sustain even the organ sounds. Do you recommend another app to use that has a sustain function for organ sounds , for live performance other than Garage Band?

  • [SOLVED] Zynaddsubfx and qwerty keyboard

    Hello guys and girls!
    I have a little trouble with zynaddsubfx   For a long time I was having fun with Zynaddsubfx and his awesome synths. I don't have any real musical (midi or usb, no matter) keyboard  and i played sounds with general qwerty keyboard. Zynaddsubfx previously worked on windows port and some other linux-based distros on my computer (for years never modified). But now here on Arch I can't play sounds with pc keyboard . Zynaddsubfx doesn't respond on almost all keys, except "6" and "7". But it is catastrophically small amount of keys to play with
    I have installed Archlinux x64 and here the list of installed packages:
    zynaddsubfx 2.4.1-1
    alsa-firmware 1.0.23-1
    alsa-lib 1.0.23-1
    alsa-oss 1.0.17-1
    alsa-utils 1.0.23-2
    gnome-alsamixer 0.9.6-3
    alsa-plugins 1.0.23-1
    lib32-alsa-lib 1.0.23-2 (lib32)
    lib32-alsa-plugins 1.0.23-2 (lib32)
    jack 0.118.0-3
    timidity++ 2.13.2-9
    fluidsynth 1.1.1-2
    I think the problem is wrong keymap(?) But i don't know where to fix it
    And, please, don't tell me things like "go and buy some serious stuff (midi keyboard, real synthesizer etc etc)" bcause I am not a musician and I am just having fun with Zynaddsubfx.
    Thanks in advance
    Last edited by Salamatiqus (2010-08-22 04:00:42)

    Haha, I found a solution
    It is simple as Arch must to be
    Launch [System -> Settings -> Keyboard], then move english keymap to up until english keymap will be first in the keymap's list. And wow, now zynaddsubfx works like in good old days
    Thanks to all, problem officially solved
    P.S yes, of course when i click piano keys with mouse sound appears
    Last edited by Salamatiqus (2010-07-04 10:17:05)

  • French accents on QWERTY keyboards

    Short of changing my keyboard or adopting the time-consuming methods for inserting French accents when using a QWERTY keyboard (I use them now and they slow me down enormously), is there a way to reprogram[?] some keys on my MacBook Pro so they input the more common accents - à, è, é at a single keystroke?

    PS The French Canadian layout:
    You can also easily make a custom layout with
    http://scripts.sil.org/ukelele

  • [SOLVED] Touchpad detected as keyboard

    Since some week back, most probably because of some update my touchpad stopped working correctly. It's like all the extra functions are gone since there is no scrolling, no tapfunction, and it's extremly sensitive.
    I've read some of the threads on the forum and tried the solutions but found nothing to work. What I've tried:
    1. Comment out the touchpad in /etx/X11/xorg.conf.d/10-evdev.conf
    2. Remove /etc/X11/xorg.conf
    3. Update udev to 168
    4. None of the changes I make to /etc/X11/xorg.conf.d/10-synaptics.conf seem to have any effect at all on the touchpad.
    The configuration now is:
    /etc/X11/xorg.conf.d/10-evdev.conf
    Section "InputClass"
    Identifier "evdev pointer catchall"
    MatchIsPointer "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    EndSection
    Section "InputClass"
    Identifier "evdev keyboard catchall"
    MatchIsKeyboard "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    EndSection
    Section "InputClass"
    Identifier "evdev touchpad catchall"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
    Driver "synaptic"
    EndSection
    Section "InputClass"
    Identifier "evdev tablet catchall"
    MatchIsTablet "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    EndSection
    Section "InputClass"
    Identifier "evdev touchscreen catchall"
    MatchIsTouchscreen "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    EndSection
    /etx/X11/xorg.conf.d/10-synaptic.conf
    Section "InputClass"
    Identifier "touchpad catchall"
    Driver "synaptics"
    MatchDevicePath "/dev/input/event*"
    MatchIsTouchpad "on"
    Option "TapButton1" "1"
    Option "TapButton2" "2"
    Option "TapButton3" "3"
    Option "VertEdgeScroll" "on"
    EndSection
    And the lines from xorg log containing synaptic:
    [ 705.427] (II) config/udev: Adding input device Sleep Button (/dev/input/event4)
    [ 705.427] (**) Sleep Button: Applying InputClass "evdev touchpad catchall"
    [ 705.427] (**) Sleep Button: Applying InputClass "touchpad catchall"
    [ 705.427] (II) LoadModule: "synaptics"
    [ 705.428] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
    [ 705.428] (II) Module synaptics: vendor="X.Org Foundation"
    [ 705.428] compiled for 1.10.0, module version = 1.4.0
    [ 705.428] Module class: X.Org XInput Driver
    [ 705.428] ABI class: X.Org XInput driver, version 12.2
    [ 705.428] (II) Using input driver 'synaptics' for 'Sleep Button'
    [ 705.428] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
    [ 705.428] (**) Sleep Button: always reports core events
    [ 705.428] (**) Option "Device" "/dev/input/event4"
    [ 705.560] (--) Sleep Button: invalid x-axis range. defaulting to 1615 - 5685
    [ 705.560] (--) Sleep Button: invalid y-axis range. defaulting to 1729 - 4171
    [ 705.560] (--) Sleep Button: invalid pressure range. defaulting to 0 - 256
    [ 705.560] (--) Sleep Button: invalid finger width range. defaulting to 0 - 16
    [ 705.560] (**) Option "VertEdgeScroll" "on"
    [ 705.560] (**) Option "TapButton1" "1"
    [ 705.560] (**) Option "TapButton2" "2"
    [ 705.560] (**) Option "TapButton3" "3"
    [ 705.666] (--) Sleep Button: no supported touchpad found
    [ 705.666] (EE) Sleep Button Unable to query/initialize Synaptics hardware.
    [ 705.720] (EE) PreInit returned 11 for "Sleep Button"
    [ 705.720] (II) UnloadModule: "synaptics"
    [ 705.720] (II) Unloading synaptics
    [ 705.827] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event7)
    [ 705.827] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev keyboard catchall"
    [ 705.827] (II) Using input driver 'evdev' for 'SynPS/2 Synaptics TouchPad'
    [ 705.827] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 705.827] (**) SynPS/2 Synaptics TouchPad: always reports core events
    [ 705.827] (**) SynPS/2 Synaptics TouchPad: Device: "/dev/input/event7"
    [ 705.853] (--) SynPS/2 Synaptics TouchPad: Found 3 mouse buttons
    [ 705.853] (--) SynPS/2 Synaptics TouchPad: Found absolute axes
    [ 705.853] (--) SynPS/2 Synaptics TouchPad: Found x and y absolute axes
    [ 705.853] (--) SynPS/2 Synaptics TouchPad: Found absolute touchpad.
    [ 705.853] (II) SynPS/2 Synaptics TouchPad: Configuring as touchpad
    [ 705.853] (**) SynPS/2 Synaptics TouchPad: YAxisMapping: buttons 4 and 5
    [ 705.853] (**) SynPS/2 Synaptics TouchPad: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 705.853] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input7/event7"
    [ 705.853] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
    [ 705.853] (II) SynPS/2 Synaptics TouchPad: initialized for absolute axes.
    [ 705.853] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
    [ 705.853] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 0
    [ 705.853] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
    [ 705.853] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
    [ 705.854] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
    [ 705.854] (II) No input driver/identifier specified (ignoring)
    [ 705.854] (II) config/udev: Adding input device PC Speaker (/dev/input/event1)
    [ 705.854] (II) No input driver/identifier specified (ignoring)
    Last edited by Larsson (2011-04-29 12:09:08)

    Temporarily solved the problem. It was as I suspected, the touchpad was detected as a keyboard and therefor loaded the evdev driver as seen in xorg.log. So I changed the /etx/X11/xorg.conf.d/10-synaptic.conf to match keyboard instead and only for the specific event named in xorg.log. 
    So /etx/X11/xorg.conf.d/10-synaptic.conf:
    Section "InputClass"
    Identifier "touchpad catchall"
    Driver "synaptics"
    MatchIsKeyboard "on"
    MatchDevicePath "/dev/input/event7"
    Option "TapButton1" "1"
    Option "TapButton2" "2"
    Option "TapButton3" "3
    Option "VertEdgeScroll" "on"
    EndSection
    Last edited by Larsson (2011-04-29 12:08:21)

  • [solved] Accented keys dont work in zsh

    My HDD failed a week ago, now i have a new one but most of config files are lost.
    I have hungarian keyboard and my accented keys simply wont work in zsh neither under X neither vterms. If I start a bash, or login as root (whos term is also bash) in a vterm, the keys start working. All keys work in normal GUI apps, and generate proper keycodes in X.
    All of them worked fine in my prevoius arch install, what am i missing?!
    Last edited by ijanos (2008-05-10 18:43:58)

    (~) % locale -a
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    C
    POSIX
    oh god... i forgot to generate the locales. Epic fail
    Last edited by ijanos (2008-05-10 16:25:44)

  • How can i change the accent in my keyboard?

    My macbook pro (mountain lion .2) has a problem with the graphic spanish accent,
    i have to write in spanish and it is really necessary.
    my keayboard writes àèìòù and its wrong, the correct spanish accent is áéíóú
    this is important for spanish lenguage!!
    i have spanish keyboard configuration
    i copied the correct graphic accent from internet
    Greetings

    anybody please!!!

  • Accents using wireless keyboard attached to ipad

    is there any way I can access accents using this?

    I'd be grateful for any thoughts on this.  It is French accents I am keen on accessing.  With the virtual keyboard, adding accents is really simple

  • [ALMOST SOLVED] Pretending an Apple keyboard isn't

    I just got an Apple aluminium USB keyboard.  I like the keyboard itself, but I'd like the layout to match the rest of my normal (US) keyboards.  This means:
    - Make the function keys default over the multimedia keys (solved)
    - Map F13-15 to SysRQ, Scroll Lock, and Pause, respectively (solved)
    - Swap the Command (Meta) and Alt keys (solved, see next post)
    - Disable Num Lock, and make the numeric keypad always enter digits
    - This should all happen automatically when the keyboard is attached, not on boot (solved, see next post)
    This has to work both on a VT and in X.  And it shouldn't affect any other keyboards in the system, just the Apple keyboard.  So far, I've done this:
    - Add "options hid_apple fnmode=2" to /etc/modprobe.d/modprobe.conf.  This makes the F keys the default
    - Used keyfuzz to remap the F13-15 keys:
    # cat apple_fuzz
    # map F13 to SYSRQ
    458856 99
    # map F14 to Scroll Lock
    458857 70
    # map F15 to Pause
    458858 119
    # keyfuzz -s -d /dev/input/by-id/usb-Apple_Inc._Apple_Keyboard-event-kbd < apple_fuzz
    I suspect I need to write a udev rule to run the keyfuzz script when the keyboard is plugged in.
    How do I do the rest of these things?  In particular, how do I figure out the scancodes for keyfuzz?  showkey -s gives 0xe0 0x5b for the command key, but "0xe05b 56" doesn't work as input to keyfuzz (EVIOCGKEYCODE: Invalid argument).  And how do I disable num lock?
    Last edited by tavianator (2012-02-24 19:54:39)

    Hello, sorry to necropost but I came across this thread in my search for the same issue, and I've got a semi-solution that isn't mentioned here yet:
    It only works in X, but is a slightly cleaner solution than numlockx. The xkb option numpad:mac changes the keymap so that the numlock state has no effect, and the numpad keys only send numbers.
    You can either set it via "setxkbmap -option numpad:mac", or permanently through an X config file like this one:
    10-keyboard.conf
    Section "InputClass"
    Identifier "evdev keyboard catchall"
    MatchIsKeyboard "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    Option "XkbOptions" "numpad:mac"
    EndSection
    You can throw as many comma-separated xkb options as you like into that one, I've got a few more to remap some keys. A full list of options can be found @ /usr/share/X11/xkb/rules/base.lst
    Last edited by tammer (2013-01-25 21:52:44)

  • Accents with french keyboard azerty

    I would like to know how to use the accents with a french azerty Keyboard. Has somebody found the solution?

    I see that many of the common uses are upfront on the keyboard.
    To use the circumflex (to the right of P) and grave (to the right of ù), press the accent key, then the letter that goes under it.
    For tilde, press ⌥ (alt or opt) +n simultaneously, release and type the letter to go under it.

  • Special symbols and letters with accents on English keyboard?

    Hi All,
    Anyone know how I can type letters with accents etc in other languages using an english keyboard?
    Thanks,

    Anyone know how I can type letters with accents etc in other languages using an english keyboard?
    You use Option/alt key shortcuts like Option/alt + e, then e to get é. Here is list:
    http://homepage.mac.com/thgewecke/diacritics.html
    Also use Keyboard Viewer to see which key does what.

  • [SOLVED] Can't change keyboard Layout on Xorg 1.8

    Hi all
    I'm trying to configure the Input Hot-plugging on Xorg 1.8 but the keyboard layout is still on US keyboard and I need to change it.
    I use some of the configurations of some people of the forum but it still on US, now my 10-evdev-conf file is like this:
    Section "InputClass"
    Identifier "Keyboards Defaults"
    Driver "evdev"
    Option "XkbLayout" "latam"
    Option "XkbModel" "microsoft"
    MatchIsKeyboard "on"
    EndSection
    If there are a similar topic, Can you put the link?
    Thanks
    Last edited by MiloCB04 (2010-06-25 04:22:30)

    Sorry, but i found the problem, I saved 10-evdev.conf as 10-evdev-conf, and here is my code
    Section "InputClass"
    Identifier "evdev keyboard catchall"
    MatchIsKeyboard "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    Option "XkbLayout" "be"
    EndSection
    Section "InputClass"
    Identifier "mouse-all" ## to use a PS/2 mouse :P
    MatchIsPointer "on"
    Driver "evdev"
    EndSection
    so I hope that someone can use this solve

Maybe you are looking for