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.
NETAPP HCI NAF-1701 SuperMicro Server 4X H410C 8X GOLD 6138 7X 240G NVMe 4X S25G
$999.97
HP ProLiant BL460c Gen 8 (2x) Xeon E5-2665@2.40GHz 128GB RAM (2x) 300GB HDD
$125.00
Proliant m710p Server Blade w/ 120GB M2 32GB RAM
$48.99
SuperMicro X11DPT-B -NA011 Dual LGA-3647 DDR4 Blade Server, DUAL XEON GOLD 6138
$179.97
Dell PowerEdge FX2 FX2s Server 10GbE CMC Blade Enclosure Chassis
$299.99
Dell XJ6VP PowerEdge FX2S 4 Slot Blade Chassis PEFX2S 2x Power Supply *No blades
$309.12
Dell PowerEdge FX2s Barebone Blade Chassis
$299.99
Dell PowerEdge VRTX with 4x M630 Blade 8x E5-2620 V4 PERC8
$799.99
DELL PowerEdge C6320 82F9M blade server MODULE
$116.40
HP ProLiant BL460c Gen9 Blade 2x E5-2698v4 2.2GHz =40 Cores 256GB P244BR 650FLB
$576.00