特殊:Badtitle/NS100:Logitech MX610:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/Logitech_MX610}} | {{From|https://help.ubuntu.com/community/Logitech_MX610}} | ||
{{Languages|UbuntuHelp:Logitech_MX610}} | {{Languages|UbuntuHelp:Logitech_MX610}} | ||
{|border="1" cellspacing="0" | |||
| '''This content is quite old and may not be applicable to current versions of Ubuntu.''' (please remove this note if the page is updated) | |||
|} | |||
== Introduction == | == Introduction == | ||
This guide describes how to obtain full functionality of the [http://www.logitech.com/index.cfm/428/170 Logitech MX 610]. | This guide describes how to obtain full functionality of the [[http://www.logitech.com/index.cfm/428/170|Logitech MX 610]]. | ||
Here, all commands are in fixed-font, <code><nowiki>like this</nowiki></code>. | Here, all commands are in fixed-font, <code><nowiki>like this</nowiki></code>. | ||
== General Mouse == | == General Mouse == | ||
Don't even touch the "ConfiguredMouse" default in <code><nowiki>/etc/X11/xorg.conf</nowiki></code> - just add a new input device: | Don't even touch the "ConfiguredMouse" default in <code><nowiki>/etc/X11/xorg.conf</nowiki></code> - just add a new input device: | ||
<pre><nowiki>Section "InputDevice" | <pre><nowiki> | ||
Section "InputDevice" | |||
Identifier "MX610" | Identifier "MX610" | ||
Driver "evdev" | Driver "evdev" | ||
第15行: | 第19行: | ||
EndSection</nowiki></pre> | EndSection</nowiki></pre> | ||
Then add it to the devices list: | Then add it to the devices list: | ||
<pre><nowiki>Section "ServerLayout" | <pre><nowiki> | ||
Section "ServerLayout" | |||
[...] | [...] | ||
Inputdevice "MX610" "SendCoreEvents" | Inputdevice "MX610" "SendCoreEvents" | ||
第21行: | 第26行: | ||
== Side buttons == | == Side buttons == | ||
Install <code><nowiki>xbindkeys</nowiki></code> and <code><nowiki>xautomation</nowiki></code> from <code><nowiki>universe</nowiki></code>. Then create <code><nowiki>~/.xbindkeysrc</nowiki></code> with | Install <code><nowiki>xbindkeys</nowiki></code> and <code><nowiki>xautomation</nowiki></code> from <code><nowiki>universe</nowiki></code>. Then create <code><nowiki>~/.xbindkeysrc</nowiki></code> with | ||
<pre><nowiki>"xte 'keydown Alt_L' 'key Left' 'keyup Alt_L' &" | <pre><nowiki> | ||
"xte 'keydown Alt_L' 'key Left' 'keyup Alt_L' &" | |||
b:8 | b:8 | ||
第35行: | 第41行: | ||
To get the lights to work for a user, the device must be writable to him/her. To do so, you will need to modify permissions. To do this: | To get the lights to work for a user, the device must be writable to him/her. To do so, you will need to modify permissions. To do this: | ||
Create the file <code><nowiki>/etc/udev/rules.d/40-permissions.rules</nowiki></code> and add | Create the file <code><nowiki>/etc/udev/rules.d/40-permissions.rules</nowiki></code> and add | ||
<pre><nowiki># This file establishes permissions and ownership of devices according | <pre><nowiki> | ||
# This file establishes permissions and ownership of devices according | |||
# to Ubuntu policy. See udev(7) for syntax. | # to Ubuntu policy. See udev(7) for syntax. | ||
# | # | ||
第49行: | 第56行: | ||
=== E-Mail === | === E-Mail === | ||
Bill Hard, a KDE developer, has been working on the notification LEDs since 3/7/2006. We will use his work. | Bill Hard, a KDE developer, has been working on the notification LEDs since 3/7/2006. We will use his work. | ||
<ol><li>To start, download mx610hack-0.3.tar.gz [http://www.kdedevelopers.org/node/2029 here]. | <ol><li>To start, download mx610hack-0.3.tar.gz [[http://www.kdedevelopers.org/node/2029|here]]. | ||
</li><li>Extract the archive. | </li><li>Extract the archive. | ||
</li><li>Replace the <code><nowiki>depcomp</nowiki></code> link with the file from [http://www.fastcgi.com/devkit/depcomp here]. | </li><li>Replace the <code><nowiki>depcomp</nowiki></code> link with the file from [[http://www.fastcgi.com/devkit/depcomp|here]]. | ||
</li><li>Open a console and change the working directory to where you extracted the archive using the <code><nowiki>cd</nowiki></code> command. | </li><li>Open a console and change the working directory to where you extracted the archive using the <code><nowiki>cd</nowiki></code> command. | ||
</li><li>Compile using the usual <code><nowiki>./configure</nowiki></code>, <code><nowiki>make</nowiki></code>, <code><nowiki>sudo checkinstall</nowiki></code> procedure - dont forget to specify the version or it will fail.</li></ol> | </li><li>Compile using the usual <code><nowiki>./configure</nowiki></code>, <code><nowiki>make</nowiki></code>, <code><nowiki>sudo checkinstall</nowiki></code> procedure - dont forget to specify the version or it will fail.</li></ol> | ||
第61行: | 第68行: | ||
=== IM (for Pidgin users) === | === IM (for Pidgin users) === | ||
It is possible to get Pigin to cooperate with this mouse: | It is possible to get Pigin to cooperate with this mouse: | ||
<ol><li>Download the plugin source [http://koti.mbnet.fi/simom/pidgin/mx610-notification/ here]. | <ol><li>Download the plugin source [[http://koti.mbnet.fi/simom/pidgin/mx610-notification/|here]]. | ||
</li><li>Extract the package. | </li><li>Extract the package. | ||
</li><li>Open a console and change the working directory to where you extracted the archive. | </li><li>Open a console and change the working directory to where you extracted the archive. | ||
第72行: | 第79行: | ||
Now not only a new message makes the LED glow, but the button opens the latest message until all are read - then it toggles the buddy list... neat, isn't it? | Now not only a new message makes the LED glow, but the button opens the latest message until all are read - then it toggles the buddy list... neat, isn't it? | ||
== Acknowledgments == | == Acknowledgments == | ||
* [http://www.kdedevelopers.org/blog/102 Bill Hard] | * [[http://www.kdedevelopers.org/blog/102|Bill Hard]] | ||
* [http://koti.mbnet.fi/simom/pidgin/mx610-notification/ Gaim MX-610 Notification Plugin] | * [[http://koti.mbnet.fi/simom/pidgin/mx610-notification/|Gaim MX-610 Notification Plugin]] | ||
* [http://ubuntuforums.org/showthread.php?t=332256 Ubuntu Forums thread about the MX-610 mouse] | * [[http://ubuntuforums.org/showthread.php?t=332256|Ubuntu Forums thread about the MX-610 mouse]] | ||
---- | ---- | ||
[[category:CategoryDocumentation]] | [[category:CategoryDocumentation]] | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2008年10月19日 (日) 12:43的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Logitech_MX610 }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/af | • {{#if: UbuntuHelp:Logitech_MX610|Afrikaans| [[::Logitech MX610/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/ar | • {{#if: UbuntuHelp:Logitech_MX610|العربية| [[::Logitech MX610/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/az | • {{#if: UbuntuHelp:Logitech_MX610|azərbaycanca| [[::Logitech MX610/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/bcc | • {{#if: UbuntuHelp:Logitech_MX610|جهلسری بلوچی| [[::Logitech MX610/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/bg | • {{#if: UbuntuHelp:Logitech_MX610|български| [[::Logitech MX610/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/br | • {{#if: UbuntuHelp:Logitech_MX610|brezhoneg| [[::Logitech MX610/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/ca | • {{#if: UbuntuHelp:Logitech_MX610|català| [[::Logitech MX610/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/cs | • {{#if: UbuntuHelp:Logitech_MX610|čeština| [[::Logitech MX610/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/de | • {{#if: UbuntuHelp:Logitech_MX610|Deutsch| [[::Logitech MX610/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/el | • {{#if: UbuntuHelp:Logitech_MX610|Ελληνικά| [[::Logitech MX610/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/es | • {{#if: UbuntuHelp:Logitech_MX610|español| [[::Logitech MX610/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/fa | • {{#if: UbuntuHelp:Logitech_MX610|فارسی| [[::Logitech MX610/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/fi | • {{#if: UbuntuHelp:Logitech_MX610|suomi| [[::Logitech MX610/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/fr | • {{#if: UbuntuHelp:Logitech_MX610|français| [[::Logitech MX610/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/gu | • {{#if: UbuntuHelp:Logitech_MX610|ગુજરાતી| [[::Logitech MX610/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/he | • {{#if: UbuntuHelp:Logitech_MX610|עברית| [[::Logitech MX610/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/hu | • {{#if: UbuntuHelp:Logitech_MX610|magyar| [[::Logitech MX610/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/id | • {{#if: UbuntuHelp:Logitech_MX610|Bahasa Indonesia| [[::Logitech MX610/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/it | • {{#if: UbuntuHelp:Logitech_MX610|italiano| [[::Logitech MX610/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/ja | • {{#if: UbuntuHelp:Logitech_MX610|日本語| [[::Logitech MX610/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/ko | • {{#if: UbuntuHelp:Logitech_MX610|한국어| [[::Logitech MX610/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/ksh | • {{#if: UbuntuHelp:Logitech_MX610|Ripoarisch| [[::Logitech MX610/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/mr | • {{#if: UbuntuHelp:Logitech_MX610|मराठी| [[::Logitech MX610/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/ms | • {{#if: UbuntuHelp:Logitech_MX610|Bahasa Melayu| [[::Logitech MX610/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/nl | • {{#if: UbuntuHelp:Logitech_MX610|Nederlands| [[::Logitech MX610/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/no | • {{#if: UbuntuHelp:Logitech_MX610|norsk| [[::Logitech MX610/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/oc | • {{#if: UbuntuHelp:Logitech_MX610|occitan| [[::Logitech MX610/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/pl | • {{#if: UbuntuHelp:Logitech_MX610|polski| [[::Logitech MX610/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/pt | • {{#if: UbuntuHelp:Logitech_MX610|português| [[::Logitech MX610/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/ro | • {{#if: UbuntuHelp:Logitech_MX610|română| [[::Logitech MX610/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/ru | • {{#if: UbuntuHelp:Logitech_MX610|русский| [[::Logitech MX610/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/si | • {{#if: UbuntuHelp:Logitech_MX610|සිංහල| [[::Logitech MX610/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/sq | • {{#if: UbuntuHelp:Logitech_MX610|shqip| [[::Logitech MX610/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/sr | • {{#if: UbuntuHelp:Logitech_MX610|српски / srpski| [[::Logitech MX610/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/sv | • {{#if: UbuntuHelp:Logitech_MX610|svenska| [[::Logitech MX610/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/th | • {{#if: UbuntuHelp:Logitech_MX610|ไทย| [[::Logitech MX610/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/tr | • {{#if: UbuntuHelp:Logitech_MX610|Türkçe| [[::Logitech MX610/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/vi | • {{#if: UbuntuHelp:Logitech_MX610|Tiếng Việt| [[::Logitech MX610/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/yue | • {{#if: UbuntuHelp:Logitech_MX610|粵語| [[::Logitech MX610/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/zh | • {{#if: UbuntuHelp:Logitech_MX610|中文| [[::Logitech MX610/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/zh-hans | • {{#if: UbuntuHelp:Logitech_MX610|中文(简体)| [[::Logitech MX610/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_MX610 | UbuntuHelp:Logitech_MX610 | {{#if: | :}}Logitech MX610}}/zh-hant | • {{#if: UbuntuHelp:Logitech_MX610|中文(繁體)| [[::Logitech MX610/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Logitech_MX610|:Logitech MX610|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Logitech MX610/zh | | {{#ifexist: Logitech MX610/zh | | {{#ifeq: {{#titleparts:Logitech MX610|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Logitech MX610|1|-1|}} | zh | | }}
This content is quite old and may not be applicable to current versions of Ubuntu. (please remove this note if the page is updated) |
Introduction
This guide describes how to obtain full functionality of the [MX 610].
Here, all commands are in fixed-font, like this
.
General Mouse
Don't even touch the "ConfiguredMouse" default in /etc/X11/xorg.conf
- just add a new input device:
Section "InputDevice" Identifier "MX610" Driver "evdev" Option "Name" "Logitech USB Receiver" # see 'cat /proc/bus/input/devices' Option "Phys" "*/input0" # this is the mouse part Option "WHEELRelativeAxisButtons" "4 5" # vertical wheel Option "HWHEELRelativeAxisButtons" "7 6" # horizontal wheel EndSection
Then add it to the devices list:
Section "ServerLayout" [...] Inputdevice "MX610" "SendCoreEvents" EndSection
Side buttons
Install xbindkeys
and xautomation
from universe
. Then create ~/.xbindkeysrc
with
"xte 'keydown Alt_L' 'key Left' 'keyup Alt_L' &" b:8 "xte 'keydown Alt_L' 'key Right' 'keyup Alt_L' &" b:9
After starting xbindkeys
you can go back and forth with the side-buttons.
Then add xbindkeys
to ~/.profile
.
Volume Keys
No additional software is required to use the volume keys. All you need to do is use "Keyboard Shortcuts." The same can be said for the E-Mail button. By default, they just work in Ubuntu. Getting the IM button to function is a little bit more interesting...
Notification LEDs and their respective buttons
To get the lights to work for a user, the device must be writable to him/her. To do so, you will need to modify permissions. To do this:
Create the file /etc/udev/rules.d/40-permissions.rules
and add
# This file establishes permissions and ownership of devices according # to Ubuntu policy. See udev(7) for syntax. # # The names of the devices must not be set here, but in 20-names.rules; # user-friendly symlinks (which need no permissions or ownership) should # be set in 60-symlinks.rules. # LED devices KERNEL=="hiddev*", MODE="0666"
You will need to restart udev: /etc/init.d/udev restart
. This could cause things to go quirky, so you may want to consider restarting the whole computer altogether.
And since there will be some compiling, make sure the packages autoconf automake build-essential checkinstall
are installed.
If they aren't, just sudo apt-get install autoconf automake build-essential checkinstall
.
Bill Hard, a KDE developer, has been working on the notification LEDs since 3/7/2006. We will use his work.
- To start, download mx610hack-0.3.tar.gz [[1]].
- Extract the archive.
- Replace the
depcomp
link with the file from [[2]]. - Open a console and change the working directory to where you extracted the archive using the
cd
command. - Compile using the usual
./configure
,make
,sudo checkinstall
procedure - dont forget to specify the version or it will fail.
To gain an understanding of how to issue commands, issue the command mx610hack --help
.
To make use of the light, you can either write a script to execute once you have new mail or install the "mail-notification" package by issuing the command sudo apt-get install mail-notification
.
Then configure "mail-notification" to your liking and enable the LED on incoming mail with the command mx610hack -p /dev/usb/hiddev0
and disable it when all mail is read with mx610hack -o /dev/usb/hiddev0
.
Perhaps someone will write a plugins for Evolution so it just opens the unread mails successively and then toggles it instead of opening Evolution over and over.
IM (for Pidgin users)
It is possible to get Pigin to cooperate with this mouse:
- Download the plugin source [[3]].
- Extract the package.
- Open a console and change the working directory to where you extracted the archive.
- Install the pidgin-dev package:
sudo apt-get install pidgin-dev
. - Make sure the directory
~/.purple/plugins
exists - that's where the plugin is installed. - Compile and install:
make
thenmake install
. - Restart Pidgin (if running) and enable the plugin via Tools -> Plugins
- Change
/dev/hiddev0
to/dev/usb/hiddev0
Now not only a new message makes the LED glow, but the button opens the latest message until all are read - then it toggles the buddy list... neat, isn't it?