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

From KDE UserBase Wiki
(Importing a new version from external source)
 
(No difference)

Latest revision as of 09:44, 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.

Når en tast trykkes ned, så sendes der et signal via USB- eller PS/2-porten til computeren. Der modtages den af Linux-kernen og videresendes til X Windows-systemet. X Windows-systemet modtager scankoder for de taster, som trykkes ned og oversætter dem til tastebegivenheder, for eksempel XF86audiomute. For at ændre denne oversættelse skal du bruge kommandoen xmodmap. For at se hvilke scankoder, der dannes for en given tast, skal du bruge kommandoen xev. Kort fortalt, når du trykker tasten "Audio Mute" på dit tastatur ned, så modtager kernen signalet fra tastaturet og sender en tastkode, fx 121, videre til X Windows-systemet. Ved hjælp af sin xmodmap udsender Winduessystemet signalet XF86AudioMute, som kan modtages og håndteres af fx KDE.