Fórum Ubuntu CZ/SK

Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: Hrabosh 03 Září 2008, 16:40:44

Název: česká klávesnice ď ň ť
Přispěvatel: Hrabosh 03 Září 2008, 16:40:44
mám ubuntu Hardy Heron 8.04 před měsícem jsem se začal vrtat v xorg.conf kvůli nastavení monitoru. V tu dobu mi přestala fungovat podpora českých znaků, které nejsou na klávesnici a píší se shift+/háček, čárka, kroužek/+ písmeno. A nejsem schopen přijít na to kde může být chyba (utfg a hodně dlouho).
úryvek z xorg.conf:
Kód: [Vybrat]
Section "InputDevice"
   Identifier  "Generic Keyboard"
   Driver      "kbd"
   Option      "XkbRules"  "xorg"
   Option      "XkbModel"  "pc105"
   Option      "XkbLayout" "cz,us"
   Option      "XkbOptions"    "grp:alt_shift_toggle,grp_led:scroll"
EndSection
poradí mi někdo co s tím?
Název: Re: česká klávesnice ď ň ť
Přispěvatel: Hrabosh 03 Září 2008, 17:21:10
Layout muzete mit jen jeden,bud cz a nebo us,takze jeden z toho smazte.Prepinani klavesnice se dela jinak  ;)

Dva layouty jsem odkudsi zkopíroval. Nicméně to nic nemění na skutečnosti, že tato změna ničemu nepomohla.

Kód: [Vybrat]
Section "InputDevice"
   Identifier  "Generic Keyboard"
   Driver      "kbd"
   Option      "XkbRules"  "xorg"
   Option      "XkbModel"  "pc105"
   Option      "XkbLayout" "cz"
   Option      "XkbOptions"    "grp:alt_shift_toggle,grp_led:scroll"
EndSection
Název: Re: česká klávesnice ď ň ť
Přispěvatel: Evžen Šubrt 03 Září 2008, 17:27:29
Měl jsem onehdá na 7.04 podobný problém - pomohlo v gnome odebrat klávesnice a přidat je v pořadí česká, anglická. Jinak zkuste české varianty jako qwerty a podobně.
Název: Re: česká klávesnice ď ň ť
Přispěvatel: Hrabosh 03 Září 2008, 17:43:05
Měl jsem onehdá na 7.04 podobný problém - pomohlo v gnome odebrat klávesnice a přidat je v pořadí česká, anglická. Jinak zkuste české varianty jako qwerty a podobně.
Děkuji za radu. Tento do značné míry alchymistický postup jsem již zkoušel, ale nepomohlo to. Proto se obracím právě sem. Poměrně často potřebuji psát delší české texty i s diakritikou.
Název: Re: česká klávesnice ď ň ť
Přispěvatel: Hrabosh 03 Září 2008, 19:21:49
No nepomohlo nyni,ale odstranilo mozny zdroj budoucich problemu  ;)

Jinak jestli muzete,tak sem nakopirujete cely xorg.conf a taky Xorg.log z /var/log

mám pouze Xorg.0.log, který je příliš dlouhý a nedaří se mi ho sem vlepit. Můžu ho někam poslat, můj e-mail je veřejný.

a xorg.conf:
Kód: [Vybrat]
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
   Identifier  "Generic Keyboard"
   Driver      "kbd"
   Option      "XkbRules"  "xorg"
   Option      "XkbModel"  "pc105"
   Option      "XkbLayout" "cz"
   Option      "XkbOptions"    "grp:alt_shift_toggle,grp_led:scroll"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
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 "Synaptics Touchpad"
EndSection
Název: Re: česká klávesnice ď ň ť
Přispěvatel: Hrabosh 03 Září 2008, 19:34:42
a xorg.conf:
Kód: [Vybrat]
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
   Identifier  "Generic Keyboard"
   Driver      "kbd"
   Option      "XkbRules"  "xorg"
   Option      "XkbModel"  "pc105"
   Option      "XkbLayout" "cz"
   Option      "XkbOptions"    "grp:alt_shift_toggle,grp_led:scroll"
EndSection

zkusil jsem ten příkaz a xorg.conf se změnil na
Kód: [Vybrat]
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "m104"
Option "XkbLayout" "cs"
Option "XkbVariant" "cs"
Option "XkbOptions" "cS"
EndSection

a česká klávesnice začala psát srbsky. Po odebrání/ přidání klávesnice v gnome jsem psal opět česky. Ovšem stále bez těch vypečených písmenek.