Hi
A 2010.jun.20.-ai frissites utan megvaltozott az xorg, ha jol olvastam.
A problema az lenne, hogy azota X alatt angol a billentyuzetem, konsolon nem. Tehat az rc.conf-val nincs gond. a policykitet sem irta felul. Ott is magyar.
Azt irja a dokumentacio, hogy az xorg-ban kene valamit matatni.
Ide kellene nekem egy kis segitseg.
Mellekelem az xorg, rc.conf, policy-met
xorg:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerFlags"
Option "AutoAddDevices" "true"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "record"
Load "glx"
Load "dbe"
Load "dri2"
Load "extmod"
Load "dri"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Option "CoreKeyboard"
Option "XkbLayout" "hu"
Option "XkbVariant" "qwertz"
Option "XkbOptions" "grp:menu_toggle,grp_led:caps"
Option "XkbRules" "xorg"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
# DisplaySize 0.28
HorizSync 30-60
EndSection
Section "Device"
Identifier "Card0"
Driver "sis"
VendorName "Silicon Integrated Systems [SiS]"
BoardName "315PRO PCI/AGP VGA Display Adapter"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600"
EndSubSection
EndSection
rc.conf:
LOCALE="en_US.UTF-8"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Budapest"
KEYMAP="hu"
CONSOLEFONT="lat2-16"
CONSOLEMAP=
USECOLOR="yes"
policy:
<?xml version="1.0" encoding="ISO-8859-1"?>
<?deviceinfo version="0.2">
<?device>
<?match key="info.capabilities" contains="input.keymap">
<?append key="info.callouts.add" type="strlist">hal-setup-keymap
<?/match>
<?match key="info.capabilities" contains="input.keys">
<?merge key="input.xkb.rules" type="string">base
<?!-- If we're using Linux, we use evdev by default (falling back to
keyboard otherwise). -->
<?merge key="input.xkb.model" type="string">keyboard
<?match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
string="Linux">
<?merge key="input.xkb.model" type="string">evdev
<?/match>
<?merge key="input.xkb.layout" type="string">hu
<?merge key="input.xkb.variant" type="string" />
<?/match>
<?/device>
<?/deviceinfo>
A ?-eket azert irtam be mert enelkul nem jeleniti meg a sorokat.
--barang--
Hát én a dátumban nem vagyok olyan biztos, mivel tavaly óta ezt használja (udev, hal) a xorg (szerintem).
Én ezt használom
http://wiki.archlinux.org/index.php/Xorg_input_hotplugging#Modifying_hal...
egyszerűen átmásolom és az us-t kicserélem hu-ra.
soma-sk8
permalink
Szia!
Ha esetleg nem működne soma-sk8 által javasolt megoldás, én (bár favágó megoldás) egyszerűen bemásoltam az /etc/X11/xorg.conf-ba a következő sorokat:
"Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbLayout" "hu"
EndSection"
Bár nekem így néz ki a fájl:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "glx"
Load "dri"
Load "dri2"
Load "dbe"
Load "extmod"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbLayout" "hu"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # []
#Option "SWcursor" # []
#Option "ColorKey" #
#Option "CacheLines" #
#Option "Dac6Bit" # []
#Option "DRI" # []
#Option "NoDDC" # []
#Option "ShowCache" # []
#Option "XvMCSurfaces" #
#Option "PageFlip" # []
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile 4 Series Chipset Integrated Graphics Controller"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
permalink
http://www.archlinux.org/news/502/
Eszerint azt irja a doksi, hogy mar nem a hal-ban levo *.fdi hanem az xorg kezeli ezeket a dolgokat. A halban enis atirtam, mint fentebb lathato. Az xorg lehet a hiba. Azzal futok meg par kort. Esetleg valakinek felmerult ez a hiba? Nekem mindharom gepemen frissites utan elb....dott a billentyuzet. Lxde, fluxbox, openbox alatt.
Addig is koszonom az infokat.
--barang--
permalink
Az xorg átszerkesztésével megoldódott a problema.
Ezer köszönet.
megoldás:
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbLayout" "hu"
EndSection
--barang--
permalink
én azért nem írtam a xorg.conf-ot mivel a 2009.02-óta nincsen ilyenem, bár a link után majd jobban figyelek.
Egyelőre még a hal uralkodik.
Bár személyes megjegyzésként igencsak furcsállom, hogy kiveszik az automatikus felismerést a rendszerből.
soma-sk8
permalink
Na közben nálam is befrissült a kérdéses xorg és a jelenség ugyan az lett (sz@arik az fdi-re).
Viszont egy roppant egyszerű megoldása van:
http://wiki.archlinux.org/index.php/Beginners%27_Guide#B:_Input_hotplugging
/etc/X11/xorg.conf.d/10-evdev.conf -ban a keyboard szekcióba beszúrni a varázssort
Option "XkbLayout" "hu"
majd egy komplett X restart segíthet (nálam slim miatt egyszerűbb volt egy komplett restart)
soma-sk8
permalink
Ez nekem is nagyon jól jött!
Köszi!!!
permalink
Nekem visszaállította magát angolra,ezért már régebb elővettem az " Option "XkbLayout" "hu"" -t
Most nálam is frissült a xorg és maradt a billentyűzet "hu" nem kellet állítgatni semmit.
permalink