Logitech Marble mouse working in other distro, not Mint

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read this

Logitech Marble mouse working in other distro, not Mint

Postby mgh on Tue Nov 29, 2011 12:55 pm

Hello All,

I found info on how to make my Logitech Mouse buttons configured differently than the default, I want a scroll feature. With Mint, by default, the 2 "extra" buttons are a back and a forward function. I found that in BodhiLinux I could go to
/usr/share/X11/xorg.conf.d/vmmouse.conf

And edit it with this:
Section "InputClass"
Identifier "vmmouse"
MatchIsPointer "on"
MatchTag "vmmouse"
Driver "vmmouse"
EndSection

# - - - Logitech Marble Mouse Settings - - -
#
# For the sake of comments below, a Logitech Marble Mouse has buttons
# labeled from left to right: A (large), B, C, D (large).

# Preferred options for right-handed usage are:
# Left to right: A=1,normal click B=2,middle-click C=2,middle-click D=3,right-click
# Press button B (hold button while rolling trackball) to emulate wheel-scrolling.

# Preferred options for left-handed usage (saying 'alternate-click' instead of 'right click'):
# Left to right: A=3,alternate-click B=2,middle-click C=2,middle-click D=1,normal click
# Press button C (hold button while rolling trackball) to emulate wheel-scrolling.

# The trackball can scroll in two-axes, unlike a typical wheel mouse. Adjust the
# settings to constrain the scroll action to vertical-axis-only if you prefer.

# Pressing both large buttons simultaneously (b) produces a "back" action (=. Finally,
# pressing and holding button B while rolling the trackball emulates wheel-rolling action.

Section "InputClass"
Identifier "Marble Mouse"
MatchProduct "Logitech USB Trackball"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
# Physical button #s: A b D - - - - B C b = A & D simultaneously; - = no button
Option "ButtonMapping" "1 8 3 4 5 6 7 2 2"
# Option "ButtonMapping" "1 8 3 4 5 6 7 2 2" # For right-hand placement
# Option "ButtonMapping" "3 8 1 4 5 6 7 2 2" # For left-hand placement
#
# EmulateWheel refers to emulating a mouse wheel using Marble Mouse trackball.
Option "EmulateWheel" "true"
# Option "EmulateWheelButton" "8" # Factory default; use "9" for left-side placement.
Option "EmulateWheelButton" "8"
# Option "ZAxisMapping" "4 5"
Option "ZAxisMapping" "4 5"
Option "XAxisMapping" "6 7" # Disable this for vertical-only scrolling.
# Option "XAxisMapping" "6 7"
# Emulate3Buttons refers to the act of pressing buttons A and D
# simultaneously to emulate a middle-click or wheel click.
Option "Emulate3Buttons" "true"
# Option "Emulate3Buttons" "true" # Factory default.
EndSection

I am good to go, can scroll with left small button and wheel.

I am running Mint gnome, though I can't find the version number. It has no 50-vmmouse.conf file.
My question is, what file in Mint do I need to edit in order to make the mouse work using the above code?

Thanks for any help. I know this can be done, as it is working in Bohdi, just don't know how to accomplish it in Mint.
mgh
Level 2
Level 2
 
Posts: 70
Joined: Sun Jun 17, 2007 9:51 pm

Linux Mint is funded by ads and donations.
 

Re: Logitech Marble mouse working in other distro, not Mint

Postby Kilz on Tue Nov 29, 2011 1:23 pm

Its possible in Mint is at
/usr/share/X11/xorg.conf.d/50-vmmouse.conf

if not Id make sure the xserver-xorg-input-vmmouse package is installed. Open a terminal and type

Code: Select all
sudo apt-get install xserver-xorg-input-vmmouse


By the way, thanks for that code, I use a marble mose also and in the past couldnt get it to scroll. Its working fine now.
I trust Microsoft about as far as I could comfortably spit a dead rat
Ubuntu is my past, it is no longer the place it once was, on its forums you are no longer free to voice your opinion.
64bit Linux Powered
User avatar
Kilz
Level 3
Level 3
 
Posts: 173
Joined: Mon Apr 04, 2011 8:00 pm

Re: Logitech Marble mouse working in other distro, not Mint

Postby mgh on Tue Nov 29, 2011 7:07 pm

I do not have the vmmouse.conf file.

I tried to install as you suggested, and got this in terminal:

mike@desktop_build ~ $ sudo apt-get install xserver-xorg-input-vmmouse
[sudo] password for mike:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
xserver-xorg-input-vmmouse : Depends: xorg-input-abi-13
Depends: xserver-xorg-core (>= 2:1.10.99.901) but it is not going to be installed
Depends: xserver-xorg-input-mouse but it is not going to be installed
E: Broken packages
mike@desktop_build ~ $

So I can see it is telling me I am missing things, but not sure what and how to resolve the issue.
It needs xorg-input-abi-13?

Thanks for the help.
mgh
Level 2
Level 2
 
Posts: 70
Joined: Sun Jun 17, 2007 9:51 pm

Re: Logitech Marble mouse working in other distro, not Mint

Postby Kilz on Wed Nov 30, 2011 12:49 pm

The Broken Packages is a big issue open a terminal and type


Code: Select all
sudo apt-get install -f
sudo apt-get update


Agree to the fixes it suggests.
Then try installing the package I recommended.

Code: Select all
sudo apt-get install xserver-xorg-input-vmmouse
I trust Microsoft about as far as I could comfortably spit a dead rat
Ubuntu is my past, it is no longer the place it once was, on its forums you are no longer free to voice your opinion.
64bit Linux Powered
User avatar
Kilz
Level 3
Level 3
 
Posts: 173
Joined: Mon Apr 04, 2011 8:00 pm

Re: Logitech Marble mouse working in other distro, not Mint

Postby mgh on Wed Nov 30, 2011 10:02 pm

None of that worked, but I now have a new pretty Debian desktop replacing my Mint desktop.

Anyway, what I finally did was open gedit in a terminal, and created a vmmouse.conf file in the xorg.conf.d folder. I then rebooted, and I have the scroll feature I wanted. Very nice.

Thanks for the help.
mgh
Level 2
Level 2
 
Posts: 70
Joined: Sun Jun 17, 2007 9:51 pm

Re: Logitech Marble mouse working in other distro, not Mint

Postby Kilz on Thu Dec 01, 2011 8:23 am

Glad you found a distro that works for you. But for others that may find this thread in the future, Mint is based on Ubuntu, Ubuntu is based on Debian. So if the issue comes up, creating the file in a text editor should work on Mint as well.
I trust Microsoft about as far as I could comfortably spit a dead rat
Ubuntu is my past, it is no longer the place it once was, on its forums you are no longer free to voice your opinion.
64bit Linux Powered
User avatar
Kilz
Level 3
Level 3
 
Posts: 173
Joined: Mon Apr 04, 2011 8:00 pm

Re: Logitech Marble mouse working in other distro, not Mint

Postby mgh on Thu Dec 01, 2011 9:53 am

Sorry, I did not write that last post very well, I am still using Mint Debian edition, but when installing xorg-core, or one of those, it changed the desktop and splash screen. The little help box that pops up with Mint is still displaying, no programs changed etc.

At any rate, it looks like creating the file with root privileges did the trick.
mgh
Level 2
Level 2
 
Posts: 70
Joined: Sun Jun 17, 2007 9:51 pm

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 13 guests