Sida 1 av 1

setxkbmap

Postat: 01 jun 2009, 14:36
av legolas
För att få specialtecken att fungera i min 9.04 distro så måste jag skriva:

Kod: Markera allt

setxkbmap
när jag öppnar ett terminalfönster.
Man kan väl lägga in detta kommando i .bashrc, men hur ser en mer korrekt lösning ut?

Re: setxkbmap

Postat: 01 jun 2009, 18:00
av webaake
.bashrc aktiveras väl bara om man startar en terminal eller en tty? Jag kan tänka mig att lägga in det i rc.local istället.

Men varför måste du köra detta kommando? Hu ser din xorg.conf ut?

Re: setxkbmap

Postat: 04 jun 2009, 11:44
av legolas
Behövde inte använda setxkbmap innan uppgradering från 8.04 till 9.04
xorg.conf:

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "se"
EndSection

# commented out by update-manager, HAL is now used
Section "InputDevice"
Identifier "Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

# commented out by update-manager, HAL is now used
Section "InputDevice"
Identifier "Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
Option "SHMconfig" "true"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Touchpad"
EndSection