Автор Тема: Розкладки клавіатури  (Прочитано 9106 раз)

Offline MFX

  • Full Member
  • ***
  • Повідомлень: 175
  • Karma: 4
Розкладки клавіатури
« : 2009-05-23, 14:14:51 »
При перемиканні розкладок в 9.04 змінилась їх черговість. Раніше було - "us, ru, ua", а зараз при перемиканні сполученням клавіш діє такий порядок: "us, ua, ru". Проблема в тому, що змінити його не вдається. Якщо проводити зміни через "Індикатор клавіатури" то в самому ньому черговість змінюється(тобто в пункті меню "групи" і якщо перемикати розкладки мишкою). Спробував редагувати xorg то ті налаштування система не бере до уваги(хоча раніше підхоплювались як треба).
p.s.: також стало цікаво чому англійська розкладка називається "США", а в списку країн нема Великобританії.

Offline swift

  • Administrator
  • Hero Member
  • *****
  • Повідомлень: 549
  • Karma: 7
Re: Розкладки клавіатури
« Reply #1 : 2009-05-23, 14:22:52 »
Наскільки я пам'ятаю то на зміну xorg прийшов hal, тепер всі налаштування потрібно робити через hal
Щоб вимкнути hal добав в xorg.conf
Section "ServerFlags"
 Option "AutoAddDevices" "False"
EndSection
« Останнє редагування: 2009-05-23, 14:24:34 від swift »
/dev/null > /dev/snd

Offline MFX

  • Full Member
  • ***
  • Повідомлень: 175
  • Karma: 4
Re: Розкладки клавіатури
« Reply #2 : 2009-05-23, 14:39:22 »
Щоб вимкнути hal добав в xorg.conf
А які наслідки цього можуть бути?
UPD:
Код: [Select]
Section "Device"
Identifier "Configured Video Device"
EndSection

Section "ServerFlags"
 Option "AutoAddDevices" "False"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

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

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru,ua"
Option "XkbVariant" ",winkeys,winkeys"
Option "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"
EndSection
Не допомогло.
« Останнє редагування: 2009-05-23, 14:49:07 від mfx »

Offline swift

  • Administrator
  • Hero Member
  • *****
  • Повідомлень: 549
  • Karma: 7
Re: Розкладки клавіатури
« Reply #3 : 2009-05-23, 14:52:59 »
А які наслідки цього можуть бути?
Те що дані будуть братися з xorg, а не з hal )

Схоже ти прислав не весь конфіг.


/dev/null > /dev/snd

Offline MFX

  • Full Member
  • ***
  • Повідомлень: 175
  • Karma: 4
Re: Розкладки клавіатури
« Reply #4 : 2009-05-23, 15:09:18 »
Ось весь. Те ж саме фактично.
Код: [Select]
# 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.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# 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 "Device"
Identifier "Configured Video Device"
EndSection

Section "ServerFlags"
 Option "AutoAddDevices" "False"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

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

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru,ua"
Option "XkbVariant" ",winkeys,winkeys"
Option "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"
EndSection

AZCat

  • Гість
Re: Розкладки клавіатури
« Reply #5 : 2009-05-23, 22:59:40 »
Наскільки я пам'ятаю то на зміну xorg прийшов hal, тепер всі налаштування потрібно робити через hal
Щоб вимкнути hal добав в xorg.conf
Section "ServerFlags"
 Option "AutoAddDevices" "False"
EndSection
а зачем вылючать? Оо
Код: [Select]
cp /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi /etc/hal/fdi/policy
sudo nano /etc/hal/fdi/policy/10-keymap.fdi

там находим
Код: [Select]
     <merge key="input.xkb.layout" type="string">us,ru,ua</merge>
      <merge key="input.xkb.variant" type="string">,winkeys</merge>
      <merge key="input.xkb.options" type="string">grp:caps_toggle</merge>
и настраиваем все как в xorg.conf
PS кто таким в убунту занимался -- поправьте пути, если что.
« Останнє редагування: 2009-05-23, 23:03:03 від Kotyara »

Offline swift

  • Administrator
  • Hero Member
  • *****
  • Повідомлень: 549
  • Karma: 7
Re: Розкладки клавіатури
« Reply #6 : 2009-05-24, 20:13:17 »
В мене чомусь не спрацювало редагування keymap.fdi, тому просто вимкнув hal в xorg.conf і не заморочувався.
мій xorg.conf

Код: [Select]
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/share/fonts/truetype/msttcorefonts"
FontPath "/usr/share/fonts/truetype/freefont"
FontPath "/usr/share/fonts/truetype/ttf-dejavu"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
# path to defoma fonts
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 32-62
VertRefresh 40-70
Modeline "1280x800_70.00"  83.46  1280 1344 1480 1680  800 801 804 828  -HSync +Vsync
DisplaySize   338.6 211.6 #1280x800
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation Mobile Integrated Graphics Controller"
Monitor "Generic Monitor"
DefaultDepth 16
SubSection "Display"
Depth 8
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
# Load "type1"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option  "XkbLayout" "us,ru(winkeys),ua(winkeys)"
Option   "XkbOptions" "grp:ctrl_shift_toggle,grp_led:caps"
EndSection
Section "InputDevice"
Identifier    "Synaptics Touchpad"
Driver        "synaptics"
Option        "SendCoreEvents"    "true"
Option        "Device"        "/dev/psaux"
Option        "Protocol"        "auto-dev"
Option    "SHMConfig"  "true"
Option "HorizEdgeScroll" "1"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "false"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
Option "AutoAddDevices" "False"
EndSection
Section "Device"
Identifier "Intel Corporation Mobile Integrated Graphics Controller"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
Section "ServerFlags"
Option "DontZap" "False"
EndSection

/dev/null > /dev/snd

AZCat

  • Гість
Re: Розкладки клавіатури
« Reply #7 : 2009-05-24, 20:59:11 »
а у меня теперь нет xorg.conf :D

Offline max5555

  • Full Member
  • ***
  • Повідомлень: 226
  • Karma: 3
    • Ubuntu-forward, Украина
Re: Розкладки клавіатури
« Reply #8 : 2009-05-25, 23:34:25 »
В Ubuntu есть такая замечательная раскладка Ukraine Unicode, которая содержит все русские и украинские буквы - поставьте и можно будет держать две раскладки вместо трех. Основной язык в "Ukraine Unicode", понятно, украинский, так что получить доступ к русским Ы и т.д. чуть сложнее, чем к украинским ї...,но на основании этой раскладки можно сделать свою, чтобы легче было набирать в первую очередь Ы, Ъ... а заодно навешать и еще много полезных символов см. здесь