<div>Charles -</div><div><br class="webkit-block-placeholder"></div>This sounds like a chunk of code that would fit nicely in the forthcoming Sugar Control Panel, which Simon (erikos) has recently started work on. I don't know the details, but I assume the control panel will be able to transparently assume root privileges in order to make such adjustments. Perhaps you can work with him to integrate your work with that effort.<div>
<br class="webkit-block-placeholder"></div><div>Simon, what do you think? If we add a "Trackpad" settings module, we could also offer a slider there for adjusting the speed of the cursor movement. There is a ticket in trac which details the xset parameters required for this, down to the precise range I'd like the slider to span, and its default value: <a href="https://dev.laptop.org/ticket/470#comment:6">https://dev.laptop.org/ticket/470#comment:6</a><br>
<div><br class="webkit-block-placeholder"></div><div>- Eben<br><div><br><br><div class="gmail_quote">2008/3/8 Charles Shapiro <<a href="mailto:hooterpincher@gmail.com">hooterpincher@gmail.com</a>>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
The first thing I had to do with my G1G1 laptop was swap the buttons on the trackpad so that I could use it left-handed. I figure that someone not Steeped in the Way of X Windows might have troubles with this, so I've been writing an Activity to handle it from the Sugar GUI. So far I have some working Sugar UI code and a back-end that will edit the ${HOME}/.xsession file to make the changes permanent. The UI works on my XO, and the back-end unit tests fine on sample files. All together it is about 8 files: about 250 lines of python code, a glade xml file, and a couple of rather ugly .png files. I haven't connected the back-end to the UI code just yet. I don't know how or if I can circumvent the security on the box to actually write to ${HOME}/.xsession from a Sugar activity. <br>
<br>I'm a little at sea about how to 'announce' this project or post the source I have. The wiki has a list of projects ( <a href="http://wiki.laptop.org/go/Software_projects" target="_blank">http://wiki.laptop.org/go/Software_projects</a> ) but I can't quite see how to add a new one there. Looks like I need to say something to this list in order to get access to a git repository, which I'd like to have at this point. I'll also need some help with glade and the .png files, which look truly hideous and ugly. I haven't started to think about I18N yet, although fortunately I think I'm looking at only a few words for translation.<br>
<br>-- CHS <br><font color="#888888">(Charles Shapiro, Atlanta, GA)<br>
</font><br>_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
<br></blockquote></div><br></div></div></div>