Jump to content

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

From KDE UserBase Wiki
Abella (talk | contribs)
Created page with "Quan es pressiona una tecla, aquesta envia una senyal electrònica a través d'USB o el port PS/2 cap a l'ordinador. Allà és rebut pel nucli Linux i s'envia cap al sistema X Wi..."
 
(No difference)

Latest revision as of 19:32, 2 June 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.

Quan es pressiona una tecla, aquesta envia una senyal electrònica a través d'USB o el port PS/2 cap a l'ordinador. Allà és rebut pel nucli Linux i s'envia cap al sistema X Window. Aquest últim rep els codis scancodes de les tecles que es premen i les assigna als esdeveniments de tecla, per exemple XF86audiomute. Per canviar aquesta assignació disposeu de l'ordre xmodmap. Per veure els «scancodes» en prémer una tecla useu l'ordre «xev». En resum, quan premeu el botó «Silencia l'àudio» en el teclat, el nucli rep el senyal del teclat i envia un codi de tecla, per exemple, 121, cap al sistema X Window. Emprant el seu «xmodmap», el sistema X Window emet el senyal XF86AudioMute el qual pot rebre i manipular, per exemple, el KDE.