LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices

Reply
 
Search this Thread
Old 06-10-2014, 10:08 AM   #1
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,188

Rep: Reputation: 47
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?
 
Old 06-10-2014, 10:43 AM   #2
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: infinity; (randomly born:) Milwaukee, WI, US, Earth
Distribution: any UNIXish that works well on my cheapest with mostly KDE, Xfce, JWM or CLI but open ;-)
Posts: 1,354
Blog Entries: 2

Rep: Reputation: 358Reputation: 358Reputation: 358Reputation: 358
Does the mouse work at first (without scroll,) all you should really need to add in there is the
Code:
Option "ZAxisMapping" "4 5"
part
http://unix.stackexchange.com/questi...n-ubuntu-13-10
https://wiki.archlinux.org/index.php...uttons_Working
http://ftp.x.org/pub/X11R7.0/doc/html/mouse.4.html
or GUI? Sorry I don't know an easy way like with my touch pad
Code:
synclient VertEdgeScroll=1
 
Old 06-10-2014, 10:49 AM   #3
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,188

Original Poster
Rep: Reputation: 47
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.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to disassemble (and repair) my Marble Mouse? jonaskoelker Linux - Hardware 7 07-16-2011 07:29 PM
Marble Mouse Functions in Ubuntu 6.10 powdercarrot Linux - Hardware 0 03-17-2007 06:50 AM
Marble Mouse in Gentoo Erratic Movement illiadum Linux - Hardware 3 05-22-2006 06:54 AM
Logitech Marble Mouse and X dictatorofgoats Linux - General 1 05-20-2006 06:05 PM
logitech marble mouse. please help....tried and tried byen Linux - Hardware 4 09-21-2005 05:40 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration