SlackwareThis Forum is for the discussion of Slackware 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.
Hi! So after several hours I've finally gotten slackware running! But the only thing I don't understand is how to configure the touchpad. In Ubuntu you can do it in the GUI, but I have no idea how to do it via Slackware.
I mostly want it to disable tap to click when I type, and enable horizontal and vertical scrolling. I've tried using synclient but that doesn't seem to work, and in any case I think that is only supposed to be a temporary fix anyway.
Oh, I guess this is not really on topic, but can someone teach me how to update packages I've installed? I installed wicd to use wireless for my laptop, but according to their website, it's best that I update it to the newest version because of some bug.
Configuring the synaptics driver for your touchpad will depend on the version of Slackware that you have installed.
For the stable 13.1 release:
From CHANGES_AND_HINTS.TXT
Quote:
If you are using input hotplugging via HAL and a synaptics touchpad, then you
might need to copy /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi
to /etc/hal/fdi/policy/ and edit it to suit your needs. You can also use
synclient(1) to make changes "on the fly."
Also note that any touchpads that include actual buttons as part of the
touchpad hardware will not have tap-to-click enabled by default.
For the development 13.1-current release:
From CHANGES_AND_HINTS.TXT
Quote:
The version of Xorg in Slackware -current will not (in most cases) require
an /etc/X11/xorg.conf file at all. Input hotplugging is no longer done
using hal; instead, it now uses udev for input device detection and for
keyboard mapping.
/usr/share/X11/xorg.conf.d/ is the "packaged" configuration directory; all
files ending with ".conf" in this directory are used by the X server
unless there is an identically-named file in the local sysadmin directory.
The local sysadmin config directory is /etc/X11/xorg.conf.d/ - all files
ending with ".conf" in this directory are parsed.
There are several default config files in /usr/share/X11/xorg.conf.d/:
* 10-evdev.conf
a "catchall" rule for input devices using the evdev driver; this
should work for most hardware in the absence of a better driver
* 50-synaptics.conf
overrides the earlier 10-evdev.conf file and uses the synaptics
driver for all touchpads
* 50-wacom.conf
overrides the earlier 10-evdev.conf file and uses the wacom driver
for Wacom tablets
* 90-keyboard-layout.conf
this sample ("normal" en layout) keeps the "old" default of
allowing Zap'ing the Xserver.
If you need to modify any of these defaults, then copy the relevant file
from /usr/share/X11/xorg.conf.d/ to /etc/X11/xorg.conf.d/ and edit the
copy.
I do not know how to safely re-initialise HAL (it might upset X) so rebooted to effect the above changes.
If that works, here's a more ambitious sample with comments:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.touchpad">
<merge key="input.x11_driver" type="string">synaptics</merge>
<!-- Disable tap click -->
<merge key="input.x11_options.TapButton1" type="string">0</merge>
<!-- Switch on shared memory, enables the driver to be configured at runtime -->
<merge key="input.x11_options.SHMConfig" type="string">true</merge>
<!-- Disable vertical scrolling when dragging along the right edge -->
<merge key="input.x11_options.VertEdgeScroll" type="string">false</merge>
<!-- Enable vertical scrolling when dragging with two fingers anywhere on the touchpad -->
<merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
<!-- Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad -->
<merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>
</match>
</device>
</deviceinfo>
With SHMConfig set to true you can use shmclient's -m option to experiment more directly. For example, shmclient -m showed that the above model did not detect two-finger scrolling.
EDIT: using the above methods, no X configuration changes were necessary.
Last edited by catkin; 12-19-2010 at 03:10 AM.
Reason: clarity
Oh, I guess this is not really on topic, but can someone teach me how to update packages I've installed? I installed wicd to use wireless for my laptop, but according to their website, it's best that I update it to the newest version because of some bug.
Having multiple questions per thread can be confusing so is better avoided.
If you have just started with Slackware you may like to browse a collection of Slackware links for information on upgrading and many other questions that will come. A good starting place is LQ's collection of Slackware links.
Further helpful links (maybe all listed in LQ's collection of links):
With SHMConfig set to true you can use shmclient's -m option to experiment more directly. For example, shmclient -m showed that the above model did not detect two-finger scrolling.
I think that should be synclient rather than shmclient.
For package updates look at:
upgradepkg - The official Slackware script by Patrick Volkerding for upgrading a package.
pkgtool - The official Slackware script by Patrick Volkerding for configuring Slackware, that incorporates upgradepkg.
slackpkg - The official Slackware application by PiterPunk for syncing your Slackware installation with an official tree.
There are also third party tools (e.g. slaptget, swaret) for doing this that I personally do not use or recommend.
Configuring the synaptics driver for your touchpad will depend on the version of Slackware that you have installed.
For the stable 13.1 release:
From CHANGES_AND_HINTS.TXT
For the development 13.1-current release:
From CHANGES_AND_HINTS.TXT
Umm.. the strange thing is, I don't even have that directory for /usr/share/X11. I also don't have a folder for xorg.conf.d/ but I do have a file for xorg.conf
I'm going to try the other method with HAL though and see how that goes
Wow that completely worked! How do you make it so that I don't have to enter the commands everytime I turn on the computer though? Should I have X11 make an xorg.conf file or am I supposed to do it from HAL?
I'm pretty new so all this stuff is confusing me =[
How do you make it so that I don't have to enter the commands everytime I turn on the computer though?
Do as catkin suggested in post#4, adding the parameters that you tested with synclient. i.e. Add these lines to /etc/hal/fdi/policy/11-x11-synaptics.fdi
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.