ps
.
It may be that quotes are necessary for the statements.
Here's mine:
Code:# $Id: 15x11-synaptics $ # This file is sourced by Xsession(5), not executed. # Disable built-in Touchpad. # synclient "TouchpadOff=1" #
g'day, Peter.
You probably know this, but:
Just to make sure, 15x11-snaptics properties may need to be root:root.
Mine are.
ps
.
It may be that quotes are necessary for the statements.
Here's mine:
Code:# $Id: 15x11-synaptics $ # This file is sourced by Xsession(5), not executed. # Disable built-in Touchpad. # synclient "TouchpadOff=1" #
Another approach might be to take your script and add it to /etc/rc.local.
This file should also be root:root AND executable. We really should see your script
before you do this.
But I am surprised the Xsession.d approach doesn't work for you.
Let us know how it goes in any event.
Can't really put that in /etc/rc.local because the program synclient need to contact the X server.
OK there is some further details need to take note about the script synclient, there must be no spaces between the equal sign, the quotes are optional however :-
synclient TouchpadOff=1 - works
synclient TouchpadOff =1 - does not work
synclient TouchpadOff = 1 - does not work
synclient "TouchpadOff=1" - works
Because when you open an xterminal, there is an environment variable called DISPLAY.
$ echo $DISPLAY
:0
$ set | grep DISPLAY
DISPLAY=:0
However, when you run it in rc, the DISPLAY is not set, so synclient does not know which Xserver DISPLAY you are talking about.
$ unset DISPLAY
$ synclient -l
Failed to connect to X server
Hey fellas, this is the script I wrote, saved as the executable file called touchpad on my system at /home/knoppixsorry, the formatting is scrambling the message, hence at carriage return Also the reference to root:root - is that sudo su? thanks, Peter PerrosCode:#!/bin/bash synclient TapButton1=1 synclient TapButton2=2 synclient TapButton3=3 synclient HorizEdgeScroll=1 synclient VertEdgeScroll=1
--------------
I formatted it for you; please use the "Go Advanced" button and then the icon to insert code. Greetings Werner
Last edited by Werner P. Schulz; 03-13-2012 at 08:51 AM. Reason: formatted by moderator
Hey guys,
I think life would be a lot easier if Knoppix could emulate the touchpad support of Linux Mint 12 LXDE.
I really can't spend more time on this. I really want something that is easy to use. Love the eye candy though...
Thanks guys.
Peter Perros.
Genuine 45W Power Adapter Charger for Dell DA45NM140 0KXTTW 4.5*3.0mm OEM
$16.99
NEW OEM Dell Inspiron 14 5406 P126G Laptop Battery 11.25V 40Wh JK6Y6 CF5RH
$39.00
OEM Dell Latitude 7420 14 Genuine Laptop Battery 11.4V 42Wh 3500 GH5Y5 9JM71
$33.20
M1MYR Dell OEM 130W AC Adapter 4.5mm Small Tip 4 Precision 5520 5530 M20 4MFJT
$18.04
OEM Dell Inspiron 11 13 14 15 17 3000 5000 7000 AC Adapter Charger 65W 4.5mm Tip
$10.99
OEM 130W USB-C Type-C Charger for Dell XPS 15 9500 9570 9575 17 9700 DA130PM170
$35.88
Genuine OEM 65W Dell PA-12 AC Adapter Charger 928G4 06TM1C LA65NS2-01 7.4*5.0mm
$14.99
Dell Original OEM 45W 19.5V AC Adapter Charger 070VTC 0KXTTW 00285K 0YTFJC 4.5mm
$10.94
OEM 130W Power Adapter Charger For Dell XPS 15 9530 9550 9560 9570 7590 06TTY6
$33.22
New OEM 90W AC Adapter Charger For Dell RT74M 0RT74M 0VRJN1 VRJN1 LA90PM111
$20.55