Results 1 to 3 of 3
i'm trying to automate terminal commands to execute at startup (rc5)
one is a background process:
Code:
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Two-Finger Scrolling" 8 1
the other is a ...
- 07-09-2010 #1Just Joined!
- Join Date
- Jun 2010
- Location
- CA
- Posts
- 20
execute terminal command at startup
i'm trying to automate terminal commands to execute at startup (rc5)
one is a background process:
the other is a gui application:Code:xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Two-Finger Scrolling" 8 1
i placed these commands in /etc/rc.local but does nothing.Code:/home/labr/apps/gmail-notify/notifier.py
**running fedora 13 Gnome
- 07-10-2010 #2Just Joined!
- Join Date
- Mar 2008
- Posts
- 2
Why don't you try to simply add your applications to System->Preferences->Startup Applications
- 07-08-2011 #3Just Joined!
- Join Date
- Jun 2010
- Location
- CA
- Posts
- 20
to answer my own question,
i was looking for 'chkconfig --add /home/labr/apps/gmail-notify/notifier.py'
and i should have created a bash script:
Code:touch xinput.sh
Code:#!/bin/bash #xinput.sh xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Two-Finger Scrolling" 8 1 fi
thenCode:chmod +x touch.sh
Code:chkconfig --add /path/to/xinput.sh


