PuppyThis forum is for the discussion of Puppy Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207
Rep:
Marble Mouse Scrolling in Puppy
I did a full install of Puppy Precise 5.7.1 to my hard drive. I also have a Logitech Marble Mouse that I've been using for years in Ubuntu by adding this /etc/X11/xorg.conf file:
****************************************************
# - - - 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 (=Cool. 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
When I try adding this file to the existing xorg.conf in Puppy (no * marks) and reboot it won't start and another OS needs to edit the xorg.conf file to make Puppy boot again.
So, how can I properly add this to Puppy's xorg.conf to make the marble mouse scroll or is there another way to get the mouse scrolling?
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207
Original Poster
Rep:
It does work as a regular mouse with no scroll. Since it doesn´t have a wheel, it simulates scrolling by pressing the smaller left button and moving the marble up/down. In addition to the zaxis mapping I probably also need to define the buttons as there are 4 and not just 2.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.