Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: Touchpad Control

  1. #11
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    g'day, Peter.
    You probably know this, but:
    Just to make sure, 15x11-snaptics properties may need to be root:root.
    Mine are.

  2. #12
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    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"
    #

  3. #13
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631

    As an alternative...

    Quote Originally Posted by wspc View Post
    I have written a script that contains the required synclient options. At the moment I click it after booting and it enables the touchpad.
    This is a clumsy solution. So how, keep it simple guys, can I make the script boot automatically, like the batch files of old.
    Another approach would be to take your script and add it to /etc/rc.local.
    This file should also be root:root AND executable.

    But I am surprised the Xsession.d approach doesn't work for you.

    Let us know how it goes in any event.

  4. #14
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631

    As an alternative...

    Quote Originally Posted by wspc View Post
    I have written a script that contains the required synclient options. At the moment I click it after booting and it enables the touchpad.
    This is a clumsy solution. So how, keep it simple guys, can I make the script boot automatically, like the batch files of old.
    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.

  5. #15
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by utu View Post
    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

  6. #16
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631

    Zeroing in on the problem...

    Quote Originally Posted by kl522 View Post
    synclient "TouchpadOff=1" - works
    Then, I think what wspc wants is
    synclient "TouchpadOff=0" , with or w/o the quotes,
    with properties root:root, not executable.
    He wants to ENABLE the touchpad.
    Last edited by utu; 03-10-2012 at 06:03 AM.

  7. #17
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Quote Originally Posted by kl522 View Post
    Can't really put that in /etc/rc.local because the program synclient need to contact the X server.
    I was really surprised rc.local was NOT an alternative, since the same material entered into an xterminal works just fine.

    I'd still like to see what 'script' does the job.

  8. #18
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by utu View Post
    I was really surprised rc.local was NOT an alternative, since the same material entered into an xterminal works just fine.

    I'd still like to see what 'script' does the job.
    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

  9. #19
    Junior Member
    Join Date
    Mar 2012
    Location
    Brisbane, Australia
    Posts
    16

    Touchpad

    Hey fellas, this is the script I wrote, saved as the executable file called touchpad on my system at /home/knoppix
    Code:
    #!/bin/bash
    synclient TapButton1=1
    synclient TapButton2=2
    synclient TapButton3=3
    synclient HorizEdgeScroll=1
    synclient VertEdgeScroll=1
    sorry, the formatting is scrambling the message, hence at carriage return Also the reference to root:root - is that sudo su? thanks, Peter Perros

    --------------
    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

  10. #20
    Junior Member
    Join Date
    Mar 2012
    Location
    Brisbane, Australia
    Posts
    16
    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.

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



CRUCIAL DDR3L 8GB 16GB 32GB 1600 MHz PC3-12800 Laptop Memory RAM SODIMM 204-Pin picture

CRUCIAL DDR3L 8GB 16GB 32GB 1600 MHz PC3-12800 Laptop Memory RAM SODIMM 204-Pin

$14.35



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel

$35.99



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



HMT84GL7AMR4C-RD 32GB DDR3 Server Memory RAM 14900L ECC REG 4Rx4 SK Hynix Cisco picture

HMT84GL7AMR4C-RD 32GB DDR3 Server Memory RAM 14900L ECC REG 4Rx4 SK Hynix Cisco

$13.99



A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G picture

A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G

$27.98



Hynix 64GB 4Rx4 PC4-2133P-L LRDIMM DDR4-17000 ECC Load Reduced Server Memory RAM picture

Hynix 64GB 4Rx4 PC4-2133P-L LRDIMM DDR4-17000 ECC Load Reduced Server Memory RAM

$64.99



A-Tech 32GB 2x 16GB PC4-25600 Laptop SODIMM DDR4 3200 MHz Non-ECC Memory RAM 32G picture

A-Tech 32GB 2x 16GB PC4-25600 Laptop SODIMM DDR4 3200 MHz Non-ECC Memory RAM 32G

$59.99