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.
AMD EPYC 7282 CPU Processor 16 Cores 32 Threads 2.8GHZ up to 3.2GHZ 120W no lock
$75.00
Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...
$419.99
Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1
$39.99
Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...
$619.99
Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62
$46.03
AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor
$79.00
Intel Core i9-13900KF Unlocked Desktop Processor - 24 Cores (8P+16E) & 32 Thread
$539.99
Intel Core i7-3770 3.40GHz Quad-Core CPU Processor QC1W LGA1155 Socket
$33.49
AMD Ryzen 7 7700 Processor (5.3 GHz, 8 Cores, Socket AM5) Boxed -...
$259.99
Intel Core i7-3770 3.40GHz 8MB Quad Core Socket LGA1155 CPU Processor SR0PK
$35.00