From: "Mike <Geser>" <geser@ngs.ru> To: community@altlinux.ru Subject: Re: [Comm] Setup additional multimedia keys Date: Wed, 5 Nov 2003 02:00:27 +0600 Message-ID: <200311050200.27300.geser@ngs.ru> (raw) In-Reply-To: <20031104185812.GA2555@pasha.alkorn.net> On Wednesday 05 November 2003 00:58, Pavel Tsybulin написал: >On Tue, Nov 04, 2003 at 02:31:40PM +0200, Maxim Tyurin wrote: >> On Tue, Nov 04, 2003 at 05:57:31PM +0600, Mike <Geser> wrote: >> > Подскажите программку для использования дополнительных мультимедийных >> > клавиш в KDE. Клавиатура - Genius Komfy 21-e, если это важно. Acme >> > попробовал использовать, но "не то". Умеет очень немного и >> > настраиваются отнюдь не все клавиши. >> >> Не знаю как "в KDE" но нормально это сделать двумя путями: >> 1) Поставить, настроить и запустить lineakd >> 2) Дать корректные имена дополнительным кнопкам и настроить горячие >> клавиши на них. >> -- > >Господа, > а можно по пункту 2) подробнее ? >К примеру, я при помощи xev отловил, что моя клавиша имеет скан-код 223 >и я хочу повесить на нее запуск mozilla > >каковы мои действия ? > >а если эта клавиша "Sleep" на клавиатуре, и я хочу усыпить > комп по этой клавише? > >Спасибо, > Паша В файле /etc/lineakkb.def прописываете все наличиствующие клавиши с произвольными именами. Например, для Genius-21e [GEN21] brandname = "other" modelname = "Genius MM Keyboard Komfy KB-21e (21 keys)" [KEYS] Excel = 148 Word = 147 Wheel = 163 VolumeDown = 174 Mute = 160 VolumeUp = 176 Media = 237 PrevTrack = 144 NextTrack = 153 Play = 162 StopMusic = 164 Email = 236 Stop = 232 Refresh = 231 Back = 234 www = 178 Forward = 233 Search = 229 Favorites = 230 Sleep = 223 Calculator = 161 MyComputer = 235 [END KEYS] [END GEN21] Потом делаете lineakd -c GEN21 и в ~/.lineak/lineakd.conf появляются записи для этих клавиш, которым уже можно назначать какие-либо действия. Либо исполнение команд shell (Excel = "/usr/local/OpenOffice.org1.1.0/program/ scalc"), либо одно из следующих действий: EAK_EJECT EAK_VOLUP EAK_VOLDOWN EAK_MUTE EAK_SLEEP
next prev parent reply other threads:[~2003-11-04 20:00 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-11-04 11:57 Mike <Geser> 2003-11-04 11:59 ` Leonid B. Sysoletin 2003-11-04 14:20 ` Mike <Geser> 2003-11-04 12:31 ` Maxim Tyurin 2003-11-04 18:58 ` Pavel Tsybulin 2003-11-04 20:00 ` Mike <Geser> [this message] 2003-11-04 20:27 ` Shrek 2003-11-04 23:05 ` Pavel Tsybulin 2003-11-05 7:20 ` mrkooll
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200311050200.27300.geser@ngs.ru \ --to=geser@ngs.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git