From: Yury Aliaev <mutab0r@rambler.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Два мыша, два курсора ;-)
Date: Thu, 03 Mar 2005 16:43:13 +0300
Message-ID: <42271471.5030809@rambler.ru> (raw)
In-Reply-To: <20050303124400.GA10926@altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 913 bytes --]
Alexander Bokovoy пишет:
>>
>>>Боюсь, что это из разряда мечтов %-) Потому что режим focus follows
>>>mouse тогда отдыхает. С выделением ещё как-то справиться можно, но иметь
>>>два равнозначных выделения на экране - это очень чревато. А что
>>>прикажете делать, когда один перетаскиваемый объект сбрасывают на другой
>>>перетаскиваемый объект? Не думаю, что многие приложения на такое
>>>закладываются %-)
>>>Ну и с точки зрения юзабилити - локус внимания у человека только один,
>>>поэтому одновременно управлять двумя курсорами - голова быстро заболит :)
>>
>>Да знаю я всё это... Просто попала мне вожжа под мантию, вот и хочется
>>чего-то этакого ;-) Ну нельзя, так нельзя, и ладно!
>
> Не ставить SendCoreEvents в описании мышей. Два курсора будет, выделение и
> фокус -- один. Но играть в игрушки будет можно. :-)
>
Может подскажите на примере моего /etc/X11/XF86Config-4 что там нужно
править?
[-- Attachment #2: XF86Config-4 --]
[-- Type: text/plain, Size: 5815 bytes --]
# File generated by XFdrake.
# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
# **********************************************************************
# Server flags section.
# **********************************************************************
Section "ServerFlags"
# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging
#NoTrapSignals
# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.
#DontZap
# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.
#DontZoom
# This allows the server to start up even if the
# mouse device can't be opened/initialised.
AllowMouseOpenFail
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Keyboard section
# **********************************************************************
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "250 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru"
Option "XkbVariant" ",winkeys"
Option "XkbOptions" "grp:caps_toggle"
# Option "XkbOptions" "grp:rctrl_toggle,grp:switch,grp_led:scroll"
EndSection
# **********************************************************************
# Pointer section
# **********************************************************************
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS0"
# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
# ChordMiddle is an option for some 3-button Logitech mice
# Option "ChordMiddle"
EndSection
Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
# ChordMiddle is an option for some 3-button Logitech mice
# Option "ChordMiddle"
EndSection
Section "Module"
# This loads the DBE extension module.
Load "dbe"
Load "extmod"
Load "glx"
Load "xie"
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
#Option "omit xfree86-dga"
EndSubSection
# This loads the Type1 and FreeType font modules
Load "type1"
Load "freetype"
EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
Section "Monitor"
Identifier "Generic|640x480 @ 60 Hz"
VendorName "Generic"
ModelName "Unknown"
# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
HorizSync 31.5
# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
VertRefresh 50-61
# This is a set of extended mode timings typically used for laptop,
# TV fullscreen mode or DVD fullscreen output.
# These are available along with standard mode timings.
ModeLine "640x480" 25.20 640 664 760 800 480 490 492 525 -hsync -vsync
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
Section "Device"
Identifier "Generic VGA"
Driver "vga"
EndSection
Section "Device"
Identifier "ATI Mach64 3D RAGE II"
VendorName "Unknown"
BoardName "Unknown"
Driver "ati_gatos"
# VideoRam 2048
# Clock lines
# Uncomment following option if you see a big white block
# instead of the cursor!
# Option "sw_cursor"
Option "DPMS" "on"
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
Section "Screen"
Identifier "screen1"
Device "ATI Mach64 3D RAGE II"
Monitor "Generic|640x480 @ 60 Hz"
DefaultColorDepth 16
Subsection "Display"
Depth 16
Modes "640x480"
ViewPort 0 0
Virtual 800 600
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
Screen "screen1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "AlwaysCore"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
next prev parent reply other threads:[~2005-03-03 13:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-03 10:27 Yury Aliaev
2005-03-03 11:08 ` Alexey Rusakov
2005-03-03 11:35 ` Yury Aliaev
2005-03-03 12:44 ` Alexander Bokovoy
2005-03-03 13:43 ` Yury Aliaev [this message]
2005-03-03 12:46 ` Maxim Tyurin
2005-03-03 13:44 ` Yury Aliaev
2005-03-03 13:37 ` Вячеслав Диконов
2005-03-03 12:15 ` [Comm] [JT] " Michael Shigorin
2005-03-03 13:46 ` Yury Aliaev
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=42271471.5030809@rambler.ru \
--to=mutab0r@rambler.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