LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-23-2005, 05:36 PM   #1
nicedreams
Member
 
Registered: Jun 2003
Location: Phoenix, AZ
Posts: 112

Rep: Reputation: 17
Use 2 Mice with xorg?


I'm using Ubuntu which uses xorg.

I have a PS/2 mouse and a Serial mouse that is attached to my wireless keyboard.

I want to be able to use both my PS/2 mouse and my Serial mouse at the same time.

I really want it to detect if the PS/2 is pluged in or the Serial is pluged in so I can use either or, or both together.

I configure this machine in my room and then put it in my living room to use as a media center and want the wireless serial mouse attached to the wireless keyboard to work when I'm in the living room and I want the PS/2 mouse to work when I am in my room with a wired mouse and keyboard.
 
Old 10-23-2005, 06:00 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
It should work. On a laptop, there are two mice. The regular mouse and the touch pad.

You need separate "InputDevice" sections for each mouse -- with unique idenifiers. The "Screen" section will need to refer to both identifiers.

Here is the "Screen" section from my laptop's xorg.conf file:
Code:
Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  InputDevice  "Mouse[3]" "SendCoreEvents"
  Screen       "Screen[0]"
EndSection
I don't know however if the "Mouse[3]" entry says "SendCoreEvents" because it is the second mouse, or if it is because it is a touchpad.

Last edited by jschiwal; 10-23-2005 at 06:09 PM.
 
Old 10-23-2005, 07:56 PM   #3
nicedreams
Member
 
Registered: Jun 2003
Location: Phoenix, AZ
Posts: 112

Original Poster
Rep: Reputation: 17
Any way you can just post your mouse config part of your xorg.conf so I can follow that? What you have in confusing me.
 
Old 10-23-2005, 11:26 PM   #4
nicedreams
Member
 
Registered: Jun 2003
Location: Phoenix, AZ
Posts: 112

Original Poster
Rep: Reputation: 17
I figured it out. Thx for the help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
replace 'xfree86' by 'xorg' in your xorg config file dindoung Linux - Newbie 2 02-26-2005 04:43 AM
Altering xorg.conf to change mice doesn't work or disables display alex_denner Linux - Laptop and Netbook 3 02-06-2005 07:10 PM
xmodmap for multiple mice? external and laptop mice scrolling back/forward, etc. bleargh Linux - Software 3 12-31-2004 08:48 AM
Xorg Hard Crashes and corrupts xorg.conf Advocator Linux - General 0 07-15-2004 01:41 PM
Considering Xorg, Slack favors Xorg over Xfree Nichole_knc Slackware 7 06-13-2004 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration