|
Multimedianäppäimet toimimaan Linuxissa |
|
28.01.2006 |
|
Multimedianäppäimistön saa toimimaan Linux käyttöjärjestelmässä hotkeys nimisen ohjelman avulla. Ohjelmalla saa määritettyä näppäimille haluamansa toiminnot muokkaamalla /etc/hotkeys.conf tiedostoa. Hotkeys ohjelman asennus Gentoo linuxiin suoraan portagesta emergen avulla, muihin jakeluversioihin saatavista paketeista löytyy tietoa linkistä http://freshmeat.net/projects/hotkeys/ .
Hotkeys tukee ainakin seuraavia multimedia näppäimistöjä: Supported keyboards: (with corresponding options to --kbd-list or -l) mx2500 - Memorex MX2500 Keyboard kbp8993 - Chicony KBP-8993 keyboard sk2500 - Fujitsu/Logitech/Trust SK2500 Keyboard / Liteon-ak2500 sk2505 - SK-2505 Keyboard sk2800c - SK-2800C ibook - iBook Internal Keyboard mx1998 - Memorex MX1998 Keyboard sk2501a - Silitek SK5210A Keyboard msnatpro - Microsoft Natural Keyboard Pro msnet - Microsoft Internet Keyboard logitech-cfo - Logitech Cordless Freedom Optical Keyboard polypix - Polypix Keyboard sk7100 - Silitek SK7100 Keyboard itouch - Logitech Cordless iTouch/Internet/Cordless Desktop hp5181 - HP 5181 Internet Keyboard msnetpro - Microsoft Internet Pro Keyboard acerwl - Acer Wireless Keyboard btc9000 - BTC 9000 orktekusb - ORKTEK USB Hub/keyboard kb9930 - IBM Rapid Access II Keyboard mck800 - Process MCK-800 kb9963 - Compaq KB-9963 keyboard pb5140w - Packerd Bell Model 5140W mx3000 - Memorex MX3000 Keyboard sk9925 - Silitek SK-9925 USB Keyboard
Ohjelman komentorivioptiot ovat seuraavanlaiset:(hotkeys -h)
Usage: hotkeys [options...] Legal options: -t, --type=TYPE Specify the keyboard type (refer to -l) -l, --kbd-list Show all supported keyboards -d, --cdrom-dev=DEVICE Specify the CDROM/DVDROM device, or 'none' -L, --loglevel=LEVEL Set the log level in syslog [0-7] -b, --no-background Do not run in the background -F, --fix-vmware=TIME Use this if you use vmware at the same time -Z, --no-splash No splash screen -h, --help Print this message
Hotkeys ohjelman näppäinten toiminnat määritellään Gentoossa /etc/hotkeys.conf tiedostossa, joka näyttää seuraavanlaiselta:
############################################################ # Global configuration for hotkeys # ############################################################
# These are the default values. # A line starting with # is a comment.
### Specify the default keyboard (without the .def extension) so you ### don't need to specify -t every time Kbd=itouch # Näppäimistön malli jonka voi komentoriviltä määrittää hotkeys -t # CDROM=/dev/cdrom
# PrevTrack=xmms --rew # Play=xmms --play-pause # Stop=xmms --stop # Pause=xmms --pause # NextTrack=xmms --fwd # Rewind=
WebBrowser=firefox Email=evolution # Calculator=xcalc # FileManager=gmc # MyComputer=gmc # MyDocuments=gmc # Favorites=gnome-moz-remote --remote=openBookmarks # Transfer=gtp # Record=grecord # Shell=xterm -rv # ScreenSaver=xscreensaver-command -activate # NewsReader=mozilla -news # Communities=mozilla -remote 'openURL(http://slashdot.org)' Search=zinf # Idea=mozilla -remote 'openURL(http://sourceforge.net)' # Shopping=mozilla -remote 'openURL(http://thinkgeek.com)' # Go=mozilla -remote 'openURL(http://linux.com)' # Print=lpr # Rotate=
# osd_font=-arphic-ar pl kaitim big5-bold-i-normal--0-250-0-0-c-0- ### For the color, you can either use the strings in /etc/X11/rgb.txt, ### or use the RGB syntax #RRGGBB, e.g. ##A086FF # osd_color=LawnGreen # osd_timeout=3 ### osd_position is either 'top' or 'bottom' # osd_position=bottom # osd_offset=25
Hotkeys ei automaattisesti tee /etc/init.d hakemistoon käynnistys scriptiä jolla se olisi mukavaa ottaa automaattisesti käynnistyksen yhteydessä käyttöön, joten scripti on luotava itse tai käytettävä jotain muuta keinoa hotkeys ohjelman käynnistämiseksi.
|
|
Viimeksi päivitetty ( 18.08.2006 )
|