ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Maxim Tyurin <mrkooll@tdr.pibhe.com>
To: community@altlinux.ru
Subject: Re: [Comm] Logitech MX500
Date: Wed, 21 Apr 2004 15:29:14 +0300
Message-ID: <m38ygpikf9.fsf@mrkooll.tdr.pibhe.com> (raw)
In-Reply-To: <40865C4C.3050001@interwave.ru> (Evi S.'s message of "Wed, 21 Apr 2004 15:34:36 +0400")

"Evi S." <evi@interwave.ru> writes:

> Приветствую!
>
> Есть ли шанс найти утилитку, чтобы навесить на дополнительные кнопки
> функций? А то обидно.

Есть такая утилитка - XFree называется :)

Сразу огорчу - одна кнопка не запустится (верхняя на которой замок
нарисован).

У меня стоит Logitech Cordless TrackMan Optical но сути это не
меняет. 

У меня сделано так:
1) Воткнуть через переходник в PS/2 порт.
2) В /etc/X11/XF86Config-4 секция мыши должна выглядеть так:

# **********************************************************************
# Pointer section
# **********************************************************************

Section "InputDevice"

    Identifier  "TrackMan"
    Driver      "mouse"
    Option "Protocol"    "ExplorerPS/2"
### USB
#    Option "Device"      "/dev/input/mice"
### PS/2
    Option "Device"      "/dev/mouse"
    Option "Buttons" "7"    
    Option "ZAxisMapping" "6 7"

EndSection

3) перезапустить иксы - теперь они будут видеть 7 кнопок
4) последний штрих (необязательный)
Мне не удобно нажимать колесо (как третью кнопку его приходится
нажимать часто) поэтому переопределяем кнопки
xmodmap -e "pointer = 1 6 3 2 7 4 5"

Чтоб не запускать xmodmap ручками постоянно делаем так
echo "#!/bin/bash" > ~/.xsession.d/mouse
echo "xmodmap -e \"pointer = 1 6 3 2 7 4 5\"" >> ~/.xsession.d/mouse
chmod +x ~/.xsession.d/mouse


После всех этих трудов привязываем к кнопкам нужные действия
средствами своего Window Manager.

P.S. Может кто-то это куда-то в район atmsk.ru закинет?

-- 

With Best Regards, Maxim Tyurin
JID:	MrKooll@jabber.pibhe.com
			



  reply	other threads:[~2004-04-21 12:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-21 11:34 Evi S.
2004-04-21 12:29 ` Maxim Tyurin [this message]
2004-04-21 13:35   ` Evi S.
2004-04-21 13:56     ` Maxim Tyurin
2004-04-21 14:44       ` Evi S.
2004-04-22  6:23     ` [Comm] " Anton V. Boyarshinov
2004-04-22 11:30       ` Alexey Novikov
2004-04-22 16:52         ` Sergey Kuznetsov
2004-04-22 21:36           ` Evi S.
2004-04-23  6:50             ` Maxim Tyurin
2004-04-23 10:56               ` Evi S.
2004-04-23 16:58             ` Sergey Kuznetsov
2004-04-21 14:21   ` [Comm] " Andrey Rahmatullin

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=m38ygpikf9.fsf@mrkooll.tdr.pibhe.com \
    --to=mrkooll@tdr.pibhe.com \
    --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