<br><br><div class="gmail_quote">On 9 February 2011 20:52, Alex Layfield <span dir="ltr"><<a href="mailto:alex@alexlayfield.force9.co.uk">alex@alexlayfield.force9.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Tried .xinitrc & .xsessionrc...<br>
<br>
I think correctly...<br>
<br>
Do I have to run any upd8ing script after fiddling around?<br>
<br>
Am leaving her house now, to recuperate...<br>
<br>
Still in need of help...<br>
<br>
Does this have anything to do with udev?<br>
<font color="#888888"><br>
<br>
/A<br>
</font><div class="im"><br>
-----Original Message-----<br>
From: James Morris <<a href="http://jwm.art.net" target="_blank">jwm.art.net</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>><br>
Sender: <a href="mailto:kent-bounces@mailman.lug.org.uk">kent-bounces@mailman.lug.org.uk</a><br>
Date: Wed, 9 Feb 2011 20:22:36<br>
To: Kent Linux User Group - General Topics<<a href="mailto:kent@mailman.lug.org.uk">kent@mailman.lug.org.uk</a>><br>
</div><div><div></div><div class="h5">Reply-To: Kent Linux User Group - General Topics <<a href="mailto:kent@mailman.lug.org.uk">kent@mailman.lug.org.uk</a>><br>
Subject: Re: [Klug-general] Running a script @ StartUp (Ubuntu10.04)<br>
I'm not sure, but try executing the script in ~/.xinitrc or more<br>
likely, ~/.xsession<br>
<br>
(you might need to use 'exec TouchOff' (without quotes))<br>
<br>
I don't have Ubuntu nor Gnome/KDE!<br>
<br>
<br>
On 9 February 2011 20:18, Alex Layfield <<a href="mailto:alex@alexlayfield.force9.co.uk">alex@alexlayfield.force9.co.uk</a>> wrote:<br>
> OMG!<br>
><br>
> I'm going NUTS!<br>
><br>
> Have made a simple script that I'd like to run as X starts to turn off the ALPS touchpad on a Dell Vostro 1700...<br>
><br>
> BTW, there's no BIOS option...<br>
><br>
> It works in the terminal...<br>
><br>
> I have even made a file called "TouchOff", put it in the /etc/lib/bin so it registers as a script...<br>
><br>
> (I have added executable status)<br>
><br>
> All I have to do now is type "TouchOff" in the terminal & 'hey presto'...<br>
><br>
> But... Going to System-Preferences-StartUp Applications-Add<br>
><br>
> TouchOff<br>
><br>
> -or-<br>
><br>
> xinput set-prop "AlpsPS/2 ALPS GlidePoint" 154 0<br>
><br>
> (The Xid of the ALPS seems to change @ each boot)<br>
><br>
> Doesn't work...<br>
><br>
> I've added to /etc/rc.local<br>
><br>
> Do I have to run an upd8 script after adding to rc.local?<br>
><br>
> Is there anything missing?<br>
><br></div></div></blockquote><div><br></div><div>That will not work. That is because xinput is a X command, and needs X to be running before it will work, which its not if your using rc.local.</div><div> </div><div><br>
</div><div>There are several ways to solve this issue.</div><div><br></div><div>1. You may be able to adjust the config of X so it does not talk to the touch pad.</div><div><br></div><div>2. There are a number of startup scripts in /etc/X11/Xsession.d that run when an X session starts you should be able to put your script in here. Actially look at /etc/X11/Xsession which runs when you login.</div>
<div><br></div><div><br></div><div>Hope that helps</div><div><br></div><div>Peter</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5">
> OMG... Help me...<br>
><br>
> All because a little old lady can't type on her lappy keyboard without drooping her wrists!<br>
><br>
><br>
> /A<br>
><br>
> _______________________________________________<br>
> Kent mailing list<br>
> <a href="mailto:Kent@mailman.lug.org.uk">Kent@mailman.lug.org.uk</a><br>
> <a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br>
><br>
<br>
<br>
<br>
--<br>
_<br>
: <a href="http://jwm-art.net/" target="_blank">http://jwm-art.net/</a><br>
-audio/image/text/code/<br>
<br>
_______________________________________________<br>
Kent mailing list<br>
<a href="mailto:Kent@mailman.lug.org.uk">Kent@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br>
_______________________________________________<br>
Kent mailing list<br>
<a href="mailto:Kent@mailman.lug.org.uk">Kent@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br>
</div></div></blockquote></div><br>