LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-22-2009, 10:49 PM   #1
fullmetalgerbil
Member
 
Registered: Jan 2008
Location: Northeast part of an Eastern state
Distribution: AntiX 8.2!
Posts: 38
Blog Entries: 1

Rep: Reputation: 15
Mouse scroll wheel not working, just installed Slackware


I just installed Slackware for the first time and the scroll wheel on my mousen (I tried a USB and a PS/2) does not work. Actually, because I'm a little thick I reinstalled it a few times trying out different options for mouse configuration.
I just don't know what to do. I have a feeling the solution lies somewhere in editing xorg.config but I really don't know where to start. I looked at the Slackbook, but I didn't see anything addressing this problem.
Any help would be much appreciated.
 
Old 03-22-2009, 11:11 PM   #2
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Rep: Reputation: 55
Make sure you have the line:
Code:
Option  "ZAxisMapping"          "4 5"
in the "InputDevice" section of
your /etc/X11/xorg.conf

I would recommend you to use "xorgsetup" to configure your X.
 
Old 03-22-2009, 11:32 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Perhaps the following will help:

Configuring xorg.conf for Mice with Scroll Wheels
 
Old 03-23-2009, 12:17 AM   #4
fullmetalgerbil
Member
 
Registered: Jan 2008
Location: Northeast part of an Eastern state
Distribution: AntiX 8.2!
Posts: 38

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Nothing. I tried to use xorgsetup and got a fatal error when it went to create a new configuration file.
The mousewheel tutorial didn't really do much good because my xorg.config file is completely different than the example given.
 
Old 03-23-2009, 12:32 AM   #5
fullmetalgerbil
Member
 
Registered: Jan 2008
Location: Northeast part of an Eastern state
Distribution: AntiX 8.2!
Posts: 38

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Now I just went back and tried to pull up /etc./X11/xorg.conf. with nano again and it would not show the file, nor did any of the commands work.
So, in short, my Slackware experiment is over. Thanks for trying to help, but I'm going to try something else that isn't as user friendly as a rabid weasel on amphetamines.
 
Old 03-23-2009, 05:40 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Did you run all those commands: xorgsetup, editing xorg.conf, whatever else, as root? Doesn't sound like it if none of them worked.
 
Old 03-23-2009, 06:22 AM   #7
nerix
LQ Newbie
 
Registered: Mar 2009
Location: Girne, TRNC
Distribution: Slackware-current
Posts: 10

Rep: Reputation: 1
Hi;
First backup your "xorg.conf" file then exit from "X window" and perform below steps as root.
Code:
Xorg -configure
Code:
mv /root/xorg.conf.new /root/xorg.conf
Code:
cp /root/xorg.conf /etc/X11/
Now start "X window".
 
Old 03-23-2009, 06:30 AM   #8
jrecortel
Member
 
Registered: Sep 2008
Location: Philippines
Distribution: slackware, FreeBSD
Posts: 123

Rep: Reputation: 19
just uncommenting the
Code:
Option     "Protocol"     "Auto"
in the InputDevice section works for my mouse scroll wheel
 
Old 03-23-2009, 06:47 AM   #9
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Please calm down...I also had issues with it-it's really simple-but you must either edit the xorg.config before startx or restart the X window after editing the file.
Code:
Section "InputDevice"

# Identifier and driver

    Identifier	"Mouse1"
    Driver	"mouse"

# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using a newer PnP mouse:

#    Option     "Protocol"      "Auto"

# The available mouse protocols types that you can set below are:
#    Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
#    Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
#    MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
#    ThinkingMouse ThinkingMousePS/2 Xqueue
    Option "Protocol"    "IMPS/2"

# The mouse device.  The device is normally set to /dev/mouse,
# which is usually a symbolic link to the real device.

    Option "Device"      "/dev/mouse"
#   Option "Device"      "/dev/psaux"
#   Option "Device"      "/dev/ttyS0"
#   Option "Device"      "/dev/ttyS1"
    Option "ZAxisMapping" "4 5"
That's my xorg.config-all I added was changing "Protocol" "PS/2" to "Protocol" "IMPS/2" and then added the following line- Option "ZAxisMapping" "4 5". Then logout and restart X-"startx".
Remember you don't have to use nano-just open the home folder on your KDE desktop, goto the folder-"etc"-then to the folder "X11", click on the "xorg.config" file and "Kwrite" or Kedit will open it, edit it as above according to what your mouse is-PS/2, IMPS/2, etc.
Hit save, logout, then enter "startx".
Does that work??
 
Old 03-24-2009, 12:21 PM   #10
fullmetalgerbil
Member
 
Registered: Jan 2008
Location: Northeast part of an Eastern state
Distribution: AntiX 8.2!
Posts: 38

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Yeah, I finally calmed down and got it. Scroll wheel is working, but there's a host of other things I still need to address to get this installation dialed in just so (like an issue with screen resolution for example, and using the Slackware package management tools as well as just finding the right places to install programs compiled from source-Debian kind of spoilt me with apt and being able to find every program I needed packaged as a .deb...and there's a minor keyboard glitch I have to iron out...and so on).
But if I really wanted a distro that just worked "out of the box" I'd be using Ubuntu or PCBSD or something and not really learning much about how Linux works compared to using Slackware.
Thanks for the help everybody.
 
Old 03-24-2009, 02:52 PM   #11
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
For packages, check out these sites:

http://slackbuilds.org/
Read the Howto.
This, sbopkg, can help with SlackBuilds from there:
http://www.sbopkg.org/

Packages created by Eric ("Alien Bob"):
http://www.slackware.com/~alien/slackbuilds/

And src2pkg, to help if you have to build something from source:
http://distro.ibiblio.org/pub/linux/...nload/src2pkg/
 
Old 03-24-2009, 05:18 PM   #12
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by fullmetalgerbil View Post
Yeah, I finally calmed down and got it. Scroll wheel is working, but there's a host of other things I still need to address to get this installation dialed in just so (like an issue with screen resolution for example...
If you are still having problems with xorg.conf:
First backup your current xorg.conf.
If you have a working Debian install on the same computer you could just copy the xorg.conf from Debian right over to Slackware and it will likely work. The first time I tried Slackware I copied the xorg.conf from Ubuntu over to Slackware to get a working xorg.conf.
Or boot up a live CD like Knoppix and simply copy that xorg.conf to your Slackware system. I got this idea from Woodsman's site:

http://humanreadable.nfshost.com/sde...ideo_sizes.htm
 
Old 03-24-2009, 05:58 PM   #13
fullmetalgerbil
Member
 
Registered: Jan 2008
Location: Northeast part of an Eastern state
Distribution: AntiX 8.2!
Posts: 38

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Thanks for the package info.
Naw, I don't have a Debian installation on the same computer.
I knew this whole Slackware thing was going to be a challenge but more and more I'm finding out its more of a challenge than I ever expected. I don't want to get all off track with the latest problems it's giving me, but it just seems like its one thing after another.
I'm determined to give this thing a fair amount of usability on my box before I go apecrap and downgrade to some training wheels distro that does everything for me. It's just a bit frustrating finding out that I only knew a twentieth about Linux than I should have known. Things would have been so much better if I just started out with Slackware in the first place.
 
Old 03-24-2009, 06:15 PM   #14
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Give us some details about what problems you're having, and we'll see if we can help.
 
Old 03-24-2009, 06:58 PM   #15
fullmetalgerbil
Member
 
Registered: Jan 2008
Location: Northeast part of an Eastern state
Distribution: AntiX 8.2!
Posts: 38

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Well, the latest big problem is the login manager. I was using KDE and KDM at first, but then had to reinstall and chose Xfce just because I like it better anyways. Thing is, I couldn't get GDM working with it and when I tried XDM it worked, only once I logged in Firefox wouldn't launch (it said there was an I/O error). So I wound up reinstalling-since in my brilliance I had deleted all the lines pertaining to GDM and KDM in the /etc./rc.d/rc.4 file so as to have it pick XDM by default.
So now I'm having no login manager, and I don't know how to get GDM or KDM working with Xfce and I'm scared of borking firefox by using XDM again.
Not that a login manager is the most crucial thing in the world, I just would rather have it for when the wife and kids use the computer so they don't have to remember to start x manually after logging in.
 
  


Reply



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
Slackware - how to get mouse scroll wheel working xanas3712 Slackware 17 10-21-2007 04:04 PM
Mouse scroll wheel not working duki Linux - Hardware 3 02-27-2007 10:40 AM
PS/2 mouse scroll wheel not working mathio Linux - Laptop and Netbook 6 10-16-2006 05:09 AM
Working Scroll Wheel on my Mouse cfaust Linux - Hardware 7 11-27-2005 08:04 AM
Scroll Wheel on Mouse is NOT working adamb10 SUSE / openSUSE 1 10-16-2005 12:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:07 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration