Logitech Marble mouse working in other distro, not Mint

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mgh
Level 2
Level 2
Posts: 68
Joined: Sun Jun 17, 2007 9:51 pm

Logitech Marble mouse working in other distro, not Mint

Post by mgh »

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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Kilz

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

Post by Kilz »

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.
mgh
Level 2
Level 2
Posts: 68
Joined: Sun Jun 17, 2007 9:51 pm

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

Post by mgh »

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.
Kilz

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

Post by Kilz »

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
mgh
Level 2
Level 2
Posts: 68
Joined: Sun Jun 17, 2007 9:51 pm

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

Post by mgh »

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.
Kilz

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

Post by Kilz »

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.
mgh
Level 2
Level 2
Posts: 68
Joined: Sun Jun 17, 2007 9:51 pm

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

Post by mgh »

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.
nwfenton

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

Post by nwfenton »

Well, this works just perfect on MINT16 KDE even 3 years later. Went straight to 50-vmmouse.conf and dumped it in and it worked as soon as I rebooted. Thanks for writing this up!
Locked

Return to “Hardware Support”