Fedora 16: Trying to execute an xinput command at boot up before login. Cmd works in terminal as su
I ran redhat about 7 years ago and have just about forgot everything.
I am trying to execute a command at boot up that works fine when I am in a terminal and su.
The command turns off the touchpad completely in my Prresario cq56.
The command I run in the terminal is:
xinput --set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 0
I have placed this in the /etc/rc.local file with execute permission enabled (755).
It is not working at boot up.
The entire contents of the /etc/rc.local file are:
#! /bin/sh
#! turn off touchpad
#!
xinput --set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 0
This is fedora 16 downloaded and clean installed about a month ago.
Thanks very much for any help.
Ron
Last edited by Ron Pierce; 04-23-2012 at 08:02 PM.
Reason: tired and misspelled part of subject
|