Alt-right key not enabled after login
Hello
I am using Ubuntu 14.04 on a HP EliteBook 8530 notebook with a Swiss German keyboard and I experience a problem with all desktops I use.
After I log in to a desktop, the right alt key does not work. E.g. alt right key + 2 should provide the "@" sign, but a "2" appears. There is a workaround to the problem (which I found browsing the internet), which consists in running the following command which provides the following console output:
sudo dpkg-reconfigure keyboard-
[sudo] password for malemar:
Your console font configuration will be updated the next time your system
boots. If you want to update it now, run 'setupcon' from a virtual console.
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.
When asked to answer various questions, I just confirm the existing settings by pressing Enter. These settings are as follows:
Keyboard model:
"Hewlett-Packard Pavilion ZT11xx"
Country of origin for the keyboard:
"Switzerland"
Keyboard layout:
"Switzerland - German (Switzerland, legacy)"
Key to function as AltGr:
"Right Alt (AltGr)"
Compose key:
"Right Control"
Use Control+
"Yes"
Once the command completes, the alt right key works. I would however be happy to get rid of the necessity to run dpkg-reconfigure every time I log in.
This problem does not appear when I log in to a console (which I reach pressing Ctrl Alt F4). It does appear on all desktops that I have installed, which are the following:
Ubuntu
Gnome Flashback (Compiz)
Gnome Flashback (Metacity)
Gnome Classic
Gnome
thank you for any help and hints
kind regards
Martin
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Martin Maletinsky for more information if necessary.