Running script after X starts

Timothy Murphy gayleard at eircom.net
Sun Aug 16 10:23:44 UTC 2009


Mikkel L. Ellertson wrote:

>> I disable the touchpad on my Thinkpad T43 by giving the command
>> sudo synclient TouchpadOff=1
>> I've tried putting
>> /usr/bin/synclient TouchpadOff=1
>> in /etc/rc.d/rc.local but this doesn't seem to work,
>> I assume because it is run before X starts.
...
>> How can one add a script to be run after X starts?
>> Or is there some other way of turning off my touchpad,
>> and using the pointer instead?

> You can try adding a script in /etc/X11/xinit/xinitrc.d.

Thanks, Mikkel, that seems to work.


-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland





More information about the users mailing list