ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Владимир Гусев" <vova1971@narod.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Скорость перемешения курсора мышью
Date: Thu, 4 Sep 2008 21:29:13 +0400
Message-ID: <20080904212913.090b4839@book.gusev.ru> (raw)
In-Reply-To: <200809041952.21980.boiko@tis-dialog.ru>

> Мне надо уменьшить скорость курсора, в ручную я это делаю так:
> xset m 1/2 1
> Теперь хочу что бы это работало автоматом при загрузке Х-ов.
> Попробовал поместить скрипт с этой командой в ~/.xsession.d
> На стадии загрузки Х-ов чувствую что мышь замедлилась, но по 
> окончанию загрузки графической оболочки она опять стала бегать 
> быстро!
> Куда бы эту команду поместить что бы это заработало?
> Сиситема ALTLinux desktop 4.0  

Я сделал это глобально в /etc/X11/Xsession в разделе 	

# ALTdefault background and cursor.

дописав строчку xset m 1 0 (уж очень бегала новая на тот момент
usb-мышь)

Выглядит это так (фрагмент):

if [ $# -ge 1 ]; then
	# Clean up after xbanner.
	RunIfExecutable freetemp
else
	# ALT default background and cursor.
	xsetroot -solid "#666699"
	xsetroot -cursor_name left_ptr
	xset m 1 0
fi

P.S. У меня не КДЕ (и вообще не DE) - icewm. Испольую собственную
вариацию настройки xdm. Можно конечно и в ~/.icewm/startup.d/ завести
файлик, но я решил не привязывать скорость мыши к какому-либо
конкретному оконному менеджеру.

Понимаю, что ГЛОБАЛЬНО - это некрасиво, но владелец компа один - я,
поэтому сам с собой я как-нибудь договорюсь...

-- 
С уважением,
Владимир Гусев


  parent reply	other threads:[~2008-09-04 17:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-04 16:52 Бойко Владимир
2008-09-04 16:55 ` Andrey Rahmatullin
2008-09-04 17:47   ` Бойко Владимир
2008-09-04 17:51     ` Andrey Rahmatullin
2008-09-04 18:43       ` Бойко Владимир
2008-09-04 17:29 ` Владимир Гусев [this message]
2008-09-08 16:42   ` Michael Shigorin

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=20080904212913.090b4839@book.gusev.ru \
    --to=vova1971@narod.ru \
    --cc=community@lists.altlinux.org \
    /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