Jump to content

Translations:Tutorials/Keyboard/3/uk: Difference between revisions

From KDE UserBase Wiki
Yurchor (talk | contribs)
Created page with "Натискання клавіші призводить до надсилання електронного сигналу через порт USB або PS/2 до комп’ю..."
 
(No difference)

Latest revision as of 11:32, 20 April 2011

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Tutorials/Keyboard)
When a key is pressed, this is sent as an electronic signal over the USB or PS/2 port to the computer. There it is received by the Linux kernel and forwarded to the X Windowing system. The X Windowing system receives the ''scancodes'' of the keys being pressed and maps them to key events, for example XF86audiomute. To change this mapping you have the xmodmap command. To see the scancodes that a keypress causes, you have the xev command. In short, when you press the "Audio Mute" button on your keyboard, the kernel receives the signal from the keyboard and sends a keycode, e.g. 121, to the X Windowing System. Using its xmodmap, the Windowing System emit the signal XF86AudioMute that can be received and handled e.g. by KDE.

Натискання клавіші призводить до надсилання електронного сигналу через порт USB або PS/2 до комп’ютера. Там сигнал отримує ядро операційної системи і переспрямовує його до графічного сервера (X Window). Підсистема графічного сервера отримує «коди сканування» клавіш, які було натиснуто, і встановлює їхню відповідність подіями, наприклад, XF86audiomute. Щоб змінити прив’язку клавіш до подій слід скористатися програмою xmodmap. Переглянути сканкоди, які є наслідком натискання клавіш можна за допомогою програми xev. Якщо коротко, коли ви натискаєте клавішу «Вимкнути звук» на клавіатурі, ядро системи отримує сигнал з клавіатури і надсилає код клавіші, наприклад, 121, підсистемі графічного сервера. За допомогою xmodmap графічний сервер надсилає сигнал XF86AudioMute, який може бути отримано та оброблено, наприклад, KDE.