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.
Dell 9020 Optiplex Micro-Intel Core i5 - 1TB SSD 8GB RAM Window 11
$119.49
Dell OptiPlex 7050 SFF Core i7-7700 CPU 8GB DDR4 Ram 256GB M.2 SSD Win 11 Pro
$150.00
Dell OptiPlex 3060 MT Core i5 8th Gen 16GB Ram 480 GB SSD Windows 11 Computer
$239.00
Windows 11 Home Mini PC Intel N4100 Quad Core 2.7GHz 8GB RAM DDR4 256GB SSD
$89.59
NEW OEM Tray AMD Ryzen 7 5700X 8-Core 16-Thread 3.4GHz Socket AM4 CPU Processor
$149.00
Intel Xeon E5-2667 v2 SR19W 3.30GHz 25M 8GT/s 8-Core LGA2011 CPU Processor
$24.99
Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...
$536.99
Intel Core i7-13700KF - 13th Gen Raptor Lake 16-Core (8P+8E) Desktop CPU
$295.99
Intel NUC Core i7 8th Gen - Mini PC Kit BOXNUC8I7BEH1
$300.00
Intel NUC NUC8i3BEK NUC8BEK Mini PC i3-8109U 3.00GHz 128GB M.2 8GB RAM W10 Pro
$84.99