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 |
Your problem is that the rc.local is executed before X11 is
up & running. You'll need to find out how Fedora brings X up, and integrate your xinput-bit with THAT script instead. Cheers, Tink |
All times are GMT -5. The time now is 10:10 PM. |