Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 30th June 2009, 07:10 PM
bike_head Offline
Registered User
 
Join Date: Oct 2004
Posts: 40
New way to map mouse buttons?

I've upgraded to FC11 and I've noticed that the extra buttons on my Logitech mx1000 mouse are now detected. However most of them aren't mapped to anything.

In the past one would start changing the /etc/X11/xorg.conf file. Lately, there seems to be movement away from changing this file and I notice that the default xorg.conf has no entry in it for the mouse. Is there a new preferred way to map mouse buttons? I'd like to make buttons 6 and 7 scroll horizontally and button 10 instruct compiz to show all windows.

Thanks for any help
__________________
--
. __o Brian "la lumaca"
_`\<,_
(*)/ (*)
Reply With Quote
  #2  
Old 19th August 2009, 08:42 PM
tpharris Offline
Registered User
 
Join Date: Mar 2008
Location: Chicago, Illinois
Posts: 9
linuxfedorafirefox
I'm curious of this same thing. Anyone know of a way? I just started using mumble on linux and my push-to-talk button (in windows) is mapped to the side mouse button. In Fedora it's not mapped to anything.
Reply With Quote
  #3  
Old 19th August 2009, 09:17 PM
zackf Offline
Registered User
 
Join Date: Nov 2006
Location: South Carolina
Posts: 798
linuxfirefox
http://forums.fedoraforum.org/showthread.php?t=82361
Reply With Quote
  #4  
Old 19th August 2009, 10:31 PM
tpharris Offline
Registered User
 
Join Date: Mar 2008
Location: Chicago, Illinois
Posts: 9
linuxfedorafirefox
I ran into that thread already and what confuses me is I do not have an /etc/X11/xorg.conf file or any 'xorg.conf'. So am I supposed to create one from scratch included with the lines from the link? It appears that X doesn't uses xorg.conf anymore.
Reply With Quote
  #5  
Old 20th August 2009, 01:54 AM
rexbinary's Avatar
rexbinary Offline
Registered User
 
Join Date: Jun 2006
Location: Plano, TX USA
Posts: 105
linuxfedorafirefox
Quote:
Originally Posted by tpharris View Post
I ran into that thread already and what confuses me is I do not have an /etc/X11/xorg.conf file or any 'xorg.conf'. So am I supposed to create one from scratch included with the lines from the link? It appears that X doesn't uses xorg.conf anymore.
You won't have a xorg.conf with modern versions of Xorg as they are not normally needed anymore. If you create xorg.conf, Xorg will use it. So yes, you would need to create one from scratch to configure your mouse buttons differently then as deteched by Xorg by default.
__________________
EDIT: I seldom post without an edit.
Reply With Quote
  #6  
Old 20th August 2009, 04:57 PM
zackf Offline
Registered User
 
Join Date: Nov 2006
Location: South Carolina
Posts: 798
windows_vistafirefox
You're absolutely right, I'm still on F10, but you can manually generate it.

See this post by sideways from when F11 was in Rawhide:
http://forums.fedoraforum.org/showpo...06&postcount=2
Reply With Quote
  #7  
Old 20th August 2009, 05:27 PM
bbfuller Offline
Registered User
 
Join Date: Jun 2005
Location: UK
Posts: 4,345
linuxopera
Hello everyone,

There is a new way of controlling touchpads and configuring them in F11.

See text below.

Quote:
Copy this file:

/usr/share/hal/fdi/policy/20thirdparty/10-synaptics.fdi

into:

"/etc/hal/fdi/policy/10-synaptics.fdi"

This may well restore full functionality for a Synaptics touchpad but does not enable double tap to drag for my Alps touchpad.

To achieve that I have merged an extra line in the "10-synaptics.fdi" specified that reads:

Code:
<merge key="input.x11_options.MaxTapTime" type="string">350</merge>
The full contents of the file "/etc/hal/fdi/policy/10-synaptics.fdi" now looks like this:

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>

<!-- DO NOT EDIT THIS FILE IN PLACE.
     This file will be overwritten with the next update. If you need to add
     custom options, copy the file into /etc/hal/fdi/policy/ first. 
     
     See https://fedoraproject.org/wiki/Input_device_configuration -->

<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.touchpad">
        <!-- To add custom options for the touchpad, modify the examples below
             to suit your needs. The available options are listed in the
             "synaptics" man page. After modifyfing this file, you must
             restart HAL. Check the output of lshal whether your modifications
             have been merged successfully.

             Note: Options must always be type "string".
             The following examples enable left, right, middle clicks on
             single, double, triple finger tapping, respectively.

             <merge key="input.x11_options.TapButton1" type="string">1</merge>
             <merge key="input.x11_options.TapButton2" type="string">2</merge>
             <merge key="input.x11_options.TapButton3" type="string">3</merge>
        -->
	<merge key="input.x11_driver" type="string">synaptics</merge>
	<merge key="input.x11_options.TapButton1" type="string">1</merge>
        <merge key="input.x11_options.TapButton2" type="string">2</merge>
        <merge key="input.x11_options.TapButton3" type="string">3</merge>
	<merge key="input.x11_options.MaxTapTime" type="string">350</merge>
    </match>
  </device>
</deviceinfo>
You'll see that I have added a particular section which I have highlighted red that is necessary to get an Alps touchpad to double click. You probably won't need to use that. But if you run:

Code:
man synaptics
you will see all the other options you can add in its place.
Reply With Quote
Reply

Tags
buttons, map, mouse

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse buttons! V.8mr Hardware & Laptops 3 19th January 2008 07:35 PM
Need to map mouse buttons, but no xorg mouse entry? (FC7) Zef_ Hardware & Laptops 1 23rd September 2007 07:33 PM
Configure mouse buttons? shadowwyvern Using Fedora 9 23rd September 2006 09:01 PM
Mouse Buttons tnelms Fedora Core 5 - Dev 9 24th March 2006 05:50 PM
mouse buttons Gallan Hardware & Laptops 0 21st January 2005 10:33 AM


Current GMT-time: 15:48 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat