<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
        <id>urn:www-linuxmint-com:feeds:atom</id>
	<title>The Linux Mint Planet &#187; Alberto Milone</title>
	<subtitle>The Linux Mint Planet &#187; Alberto Milone</subtitle>      
        <link rel="alternate" type="text/html" href="http://www.linuxmint.com/planet/" />
        <link rel="self" type="text/xml" href="http://www.linuxmint.com/planet/?media=atom"/>
        <updated>2009-11-21T08:05:59+01:00</updated>
	<entry>
		<id>http://albertomilone.com/wordpress/?p=466</id>
		<author><name>Alberto Milone</name></author>
		<title>Alberto Milone: How to enable/disable Ctrl+Alt+Backspace in (K)Ubuntu Karmic 9.10</title>
                <link rel="alternate" type="text/html" href="http://albertomilone.com/wordpress/?p=466"/>		
		<updated>2009-09-02T15:05:43+02:00</updated>
		<published>2009-09-02T15:05:43+02:00</published>
		<content type="html"><![CDATA[	<p>As you might have noticed already if you use Ubuntu Karmic, Ctrl+Alt+Backspace (i.e. the shortcut which was used to restart the X server) has to be enabled in a different way with respect to previous releases of Ubuntu.</p>
<p>This is due to the fact that &#8220;DontZap&#8221; is no longer an option in the X server and has become an option in XKB instead.</p>
<p>As a result, now it&#8217;s very easy to use your Desktop environment of choice (e.g. GNOME, KDE) to enable or to disable the Ctrl+Alt+Backspace shortcut. It is also possible to do it without KDE or GNOME.</p>
<p>I recommend that you do it from your desktop environment of choice (as you may find it easier):<br />
<a href="https://wiki.ubuntu.com/X/Config/DontZap">Instructions here</a></p>
<p>P.S. Instructions for XFCE are more than welcome.</p> ]]></content>
</entry>
<entry>
		<id>http://albertomilone.com/wordpress/?p=362</id>
		<author><name>albertomilone</name></author>
		<title>Alberto Milone: X-Bus – a daemon for input devices</title>
                <link rel="alternate" type="text/html" href="http://albertomilone.com/wordpress/?p=362"/>		
		<updated>2009-07-02T16:00:11+02:00</updated>
		<published>2009-07-02T16:00:11+02:00</published>
		<content type="html"><![CDATA[	<p>What is X-Bus?</p>
<p>It&#8217;s a personal project I&#8217;ve been working on (among other things) since I joined Canonical. It&#8217;s a daemon which handles input devices through the XInput protocol. In the future I hope to add support for outputs too.</p>
<p>What&#8217;s the purpose of X-Bus?</p>
<p>Its main purpose is to provide developers with a common (and simplified) way to access XInput from languages which have DBus bindings (Python, Ruby, C, C++, Java, Perl, etc.). It is not specific to any desktop environment, even though it uses C++ and QT4 (see below).</p>
<p>Wouldn&#8217;t it be nice if we could have KDE, Gnome, Xfce, etc. applications which make use of the same backend with different frontends (as opposed to having different backends and frontends)?</p>
<p>Current features:</p>
<ul>
<li>Exposes XInput (listing/setting properties, catching signals, etc.) through Dbus with a simplified API.</li>
<li>Stores the (per-user) current inputs configuration in an XML file and applies it at startup or when requested.</li>
<li>Emits signals (through Dbus) when new devices are plugged in or unplugged (so that, for example your client application can refresh its UI to reflect the new situation).</li>
<li>Tracks keyboard activity so as to disable your touchpad when you&#8217;re typing.</li>
</ul>
<p>It&#8217;s an attempt to combine the features in syndaemon and xinput (the command line tool), from both of which X-Bus borrows code.</p>
<p>3 examples of what X-Bus can be used for:</p>
<ul>
<li>User interfaces to configure touchpads (which is the 1st thing I would like to work on).</li>
<li>User interfaces to configure touchscreens whose drivers support XInput (I still need to expose the calibration functions provided by XInput though).</li>
<li>Automatic rotation of your touchpad (figuratively speaking) when your screen is rotated (after <a href="http://bugs.freedesktop.org/show_bug.cgi?id=21129">this</a> is implemented).</li>
</ul>
<p>Why QT?</p>
<p>Because of its DBus and XML modules and because it&#8217;s a pleasure to work with QT in general.</p>
<p>Example: if you add the Q_SCRIPTABLE macro to the function in the header file, this function will be made available in your DBus interface. This applies to signals too. This makes maintenance a lot easier.</p>
<p>In my opinion it would be overkill to use the DBus low-level API and I don&#8217;t think the glib (DBus) bindings can offer what I described in the example (feel free to prove me wrong on this). Furthermore I would have to use an external xml module to perform validation and the things that I currently do with the xml file.</p>
<p>Doesn&#8217;t it duplicate efforts? Why don&#8217;t you work on $INSERT_DAEMON_HERE instead?</p>
<p>Yes, <a href="http://git.gnome.org/cgit/gnome-settings-daemon/commit/?id=4eb9bd09219afbb56f114a2d10bc585e24db803e">it does</a> (partially) but my point is: can we use $INSERT_DAEMON_HERE on KDE, Gnome, Xfce, etc. ?</p>
<p>Furthermore, if you have a look at X-Bus&#8217; API you&#8217;ll see that (currently) there&#8217;s very little duplication.</p>
<p>Where&#8217;s the code?</p>
<p><a href="https://code.launchpad.net/~albertomilone/x-bus/trunk">Source code</a> (have a look at the examples which are written in Python)<br />
<a href="https://launchpad.net/~albertomilone/+archive/x-bus-ppa">Packages</a></p>
<p>NOTE: this is just a first release and users won&#8217;t benefit from it without a user interface (unless they want to edit the xml file manually).</p> ]]></content>
</entry>
<entry>
		<id>http://albertomilone.com/wordpress/?p=340</id>
		<author><name>albertomilone</name></author>
		<title>Alberto Milone: On my New Job</title>
                <link rel="alternate" type="text/html" href="http://albertomilone.com/wordpress/?p=340"/>		
		<updated>2009-03-29T16:35:22+02:00</updated>
		<published>2009-03-29T16:35:22+02:00</published>
		<content type="html"><![CDATA[	<p>It&#8217;s been almost a month now since I started working for <a href="http://en.wikipedia.org/wiki/Canonical_Ltd.">Canonical</a>. I was hired as a “Sustaining Engineer (System)” in the Foundations team which, in turn, is part of the OEM Services team, whose offices are located in Lexington, Massachussets, USA (I work from home though).</p>
<p>I mainly do work on X.org related stuff (e.g. touchpads, graphics drivers, etc.) in order to solve problems such as the ones that Canonical&#8217;s customers report and to develop new things (I hope to be able to blog about my new projects).</p>
<p>I really like this job as it allows me to work on the things I&#8217;m passionate about in a very friendly and relaxed work environment. It means a lot to me.</p>
<p>I would like to thank all the people who made this possible, the ones who kept providing me with new challenges in Ubuntu which made me acquire experience that is proving extremely valuable in my job. I would also like to thank all the people who supported me and encouraged me to apply for this job at Canonical, my team mates and team manager(s) who helped me move my first steps at work and to feel at ease and deeply involved in the OEM team, and the impressive amount of people who congratulated me on IRC on my first day of work. It was a warm welcome that I&#8217;ll never forget.</p>
<p>It&#8217;s an honour to work with you and I hope we can all work together to fix <a href="https://launchpad.net/ubuntu/+bug/1">bug #1</a>.</p>
<p>I hope to see you at the next UDS in Barcelona in May.</p> ]]></content>
</entry>
<entry>
		<id>http://albertomilone.com/wordpress/?p=335</id>
		<author><name>albertomilone</name></author>
		<title>Alberto Milone: How to enable/disable Ctrl+Alt+Backspace from the command line</title>
                <link rel="alternate" type="text/html" href="http://albertomilone.com/wordpress/?p=335"/>		
		<updated>2009-01-22T18:37:25+01:00</updated>
		<published>2009-01-22T18:37:25+01:00</published>
		<content type="html"><![CDATA[	<p>If you don&#8217;t want to use a <a href="http://albertomilone.com/wordpress/?p=312">user interface</a> to change the effect of Ctrl+Alt+Backspace in any flavour of Ubuntu you can follow these steps:</p>
<p>1) Install the “dontzap” package<br />
<code>sudo apt-get install dontzap</code></p>
<p>2) Open Terminal or Konsole and type:<br />
<code>sudo dontzap --enable</code><br />
or<br />
<code>sudo dontzap --disable</code></p>
<p>Where &#8220;disable&#8221; means that Ctrl+Alt+Backspace restarts the xserver while &#8220;enable&#8221; means that it won&#8217;t.</p>
<p>I&#8217;ll post something on the GTK UI when it&#8217;s ready.</p> ]]></content>
</entry>
<entry>
		<id>http://albertomilone.com/wordpress/?p=312</id>
		<author><name>albertomilone</name></author>
		<title>Alberto Milone: How to enable/disable Ctrl+Alt+Backspace in Kubuntu Jaunty</title>
                <link rel="alternate" type="text/html" href="http://albertomilone.com/wordpress/?p=312"/>		
		<updated>2009-01-22T17:39:07+01:00</updated>
		<published>2009-01-22T17:39:07+01:00</published>
		<content type="html"><![CDATA[	<p>As you might have noticed already, X.org no longer ships with the DontZap option set to False by default i.e. pressing Ctrl+Alt+Backspace won&#8217;t restart the xserver any longer. At the UDS we discussed on how to deal with this change and we came to <a href="https://blueprints.launchpad.net/ubuntu/+spec/xorg-ctrl-alt-backspace">the conclusion</a> that Ubuntu and Kubuntu would deal with this change in different ways. I worked on both the implementations.</p>
<p>This blog post is about the Kubuntu implementation. Click on the thumbnails to see the screenshots in their full size.</p>
<p>1) Install the &#8220;dontzap&#8221; package (hopefully this step can be skipped in the future):<br />
<code>sudo apt-get install dontzap</code></p>
<p>2) Launch &#8220;systemsettings&#8221;<br />
<a href="http://albertomilone.com/wordpress/wp-content/uploads/2009/01/menu1.png"><img src="http://albertomilone.com/wordpress/wp-content/uploads/2009/01/menu1-221x300.png" alt="Kde&#39;s menu" /></a></p>
<p>3) select the &#8220;Display&#8221; module<br />
<a href="http://albertomilone.com/wordpress/wp-content/uploads/2009/01/dontzap6.png"><img src="http://albertomilone.com/wordpress/wp-content/uploads/2009/01/dontzap6-300x200.png" alt="Settings panel" /></a></p>
<p>4) click on the checkbox which says &#8220;Ctrl+Alt+Backspace restarts the xserver&#8221; and press the apply button:<br />
<a href="http://albertomilone.com/wordpress/wp-content/uploads/2009/01/dontzap4.png"><img src="http://albertomilone.com/wordpress/wp-content/uploads/2009/01/dontzap4-300x200.png" alt="Display Module" /></a></p>
<p>5) insert your password<br />
<a href="http://albertomilone.com/wordpress/wp-content/uploads/2009/01/dontzap5.png"><img src="http://albertomilone.com/wordpress/wp-content/uploads/2009/01/dontzap5-300x200.png" alt="Password dialog" /></a></p>
<p>And that&#8217;s it.</p>
<p>I&#8217;ll blog more about the way you can do it in Ubuntu and from the command line.</p> ]]></content>
</entry>
<entry>
		<id>http://albertomilone.com/wordpress/?p=302</id>
		<author><name>albertomilone</name></author>
		<title>Alberto Milone: Back from the UDS</title>
                <link rel="alternate" type="text/html" href="http://albertomilone.com/wordpress/?p=302"/>		
		<updated>2008-12-15T19:51:45+01:00</updated>
		<published>2008-12-15T19:51:45+01:00</published>
		<content type="html"><![CDATA[	<p>After spending a week in Sunnyvale I&#8217;m back from the UDS. It was a long trip and I can definitely say out loud that it was a fantastic experience, very hard to put into words, part of which you&#8217;ll be able to see in the video-recorded sessions (available soon?).</p>
<p>I gave speeches on 3 projects of mine: Xorg Options Editor, Tablet configuration tool (the project doesn&#8217;t have a name yet), Display configuration tool (no name yet). I&#8217;ll blog about these projects as soon as I clean up the relevant specs and the wiki pages. It&#8217;s been an extremely productive UDS and (in addition to these 3 projects) I think I have already work for Jaunty+1 (and maybe Jaunty+2 too). The feedback I received was really great.</p>
<p>The Silicon Valley is exactly as I expected (if you played GTA San Andreas you know what I mean) and I really liked the place, which is very different from the European towns I visited.</p>
<p>The UDS is all about people (apart from serious development) and I met a lot Ubuntu enthusiasts.  I met some old friends and made a lot of new acquaintances. Actually the term “acquaintances” doesn&#8217;t do justice to these extremely nice people which therefore I&#8217;ll promote to “friends”:</p>
<p><code>mv acquaintances friends <img src='http://albertomilone.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' /> </code></p>
<p>Having studied Spanish (together with English) at the university, I had a great chance to practice my Spanish with Ara, María and Luis and I also bugged them with some notions of Spanish Linguistics that I learnt. Do you see the irony? An Italian guy who talks to native Spanish speakers about some peculiarities of their own language <img src='http://albertomilone.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' /> </p>
<p>I also received a lot of hugs and ended up in the <a href="http://hall-of-fame.ubuntu.com/">Ubuntu Hall of Fame</a>. I really didn&#8217;t expect to see myself on that page, therefore I was very surprised when Bryce showed my picture and the article on his laptop. A lot of people congratulated me on this achievement but all I have to say is simply that it&#8217;s the Ubuntu Community that really rocks. I have yet to find another community which makes you feel not only at ease but perfectly integrated, as in a very big family. It&#8217;s definitely something you have to experience (at least) once in your life.</p>
<p>I won&#8217;t list the names of all the people I met since I really wouldn&#8217;t like to flood Ubuntu planet but I would really like to thank them all for being so nice to me and for making this UDS even better than the one in Prague (which I deemed impossible).</p>
<p>A special thanks to Google for hosting the event at the Googleplex (Mountain View). It&#8217;s a really cool place and I met Guido Van Rossum (yes, the creator of Python) there. I told him that I started learning programming thanks to Python and he joked about it by replying that he was sorry that his language made me enter the programming world. A very cool guy.</p>
<p>A big thanks to Canonical for sponsoring my travel and to all the people who made this possible.</p> ]]></content>
</entry>
<entry>
		<id>http://albertomilone.com/wordpress/?p=294</id>
		<author><name>albertomilone</name></author>
		<title>Alberto Milone: Call for testing: NVIDIA drivers and nvidia-settings in Intrepid</title>
                <link rel="alternate" type="text/html" href="http://albertomilone.com/wordpress/?p=294"/>		
		<updated>2008-11-03T12:11:25+01:00</updated>
		<published>2008-11-03T12:11:25+01:00</published>
		<content type="html"><![CDATA[	<p>As promised, NVIDIA drivers 71.86.07 and 96.43.09 are now available for testing in Intrepid&#8217;s proposed repositories. If you don&#8217;t know how to use these repositories you can read <a href="https://wiki.ubuntu.com/Testing/EnableProposed">the instructions</a>.</p>
<p>Please give feedback <a href="https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-96/+bug/251107">here</a> (say something like &#8220;driver 96 works for me&#8221;, etc.).</p>
<p>There is also a small fix which will solve a problem with diversions for drivers 177 and 173.<br />
Please give feedback <a href="https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/287470">here</a></p>
<p>I have also fixed a bug in nvidia-settings (i.e. NVIDIA&#8217;s control panel) which made it segfault when no ServerLayout section is available in the xorg.conf.</p>
<p>Please test the package and give feedback <a href="https://bugs.launchpad.net/ubuntu/+source/nvidia-settings/+bug/286424">here</a>.</p>
<p>The sooner you test these packages, the sooner they will enter Intrepid&#8217;s stable repositories.</p> ]]></content>
</entry>
<entry>
		<id>http://albertomilone.com/wordpress/?p=292</id>
		<author><name>albertomilone</name></author>
		<title>Alberto Milone: Some updates on the NVIDIA driver in Intrepid and Hardy…</title>
                <link rel="alternate" type="text/html" href="http://albertomilone.com/wordpress/?p=292"/>		
		<updated>2008-10-30T18:34:12+01:00</updated>
		<published>2008-10-30T18:34:12+01:00</published>
		<content type="html"><![CDATA[	<p>First of all, happy release to you all.</p>
<p>I have noticed that NVIDIA released two beta drivers which work with Intrepid&#8217;s X.org and I will make new packages available in the -proposed archives ASAP. In the meantime you might want to see <a href="https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-96/+bug/251107/comments/40">why I recommend you to wait for these packages</a>. Keep an eye <a href="https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-96/+bug/251107">this bug report</a> so as to know when these packages are available for testing.</p>
<p>As regards Hardy, I need a plan to backport driver 177 from Intrepid without breaking dist-upgrades and/or the available drivers. I should also update the fglrx driver in my lrm-envy.</p>
<p>Stay tuned.</p> ]]></content>
</entry>
<entry>
		<id>http://albertomilone.com/wordpress/?p=288</id>
		<author><name>albertomilone</name></author>
		<title>Alberto Milone: A few updates on EnvyNG, NVIDIA and URandR</title>
                <link rel="alternate" type="text/html" href="http://albertomilone.com/wordpress/?p=288"/>		
		<updated>2008-08-28T15:16:18+02:00</updated>
		<published>2008-08-28T15:16:18+02:00</published>
		<content type="html"><![CDATA[	<p>EnvyNG:<br />
I have updated envyng-core (2.0) and envyng-qt (2.0) in Intrepid. The GTK interface doesn&#8217;t work and even if I managed to solve the problems with GTK and threading I couldn&#8217;t upload it since we&#8217;re in feature freeze.</p>
<p>The new textual interface and the QT4 interface now rely on python-apt and python-xkit. Thanks to the work I did on the drivers I won&#8217;t have to keep the compatibility list updated since it will rely on the same system which we are using for Jockey.</p>
<p>By testing EnvyNG you will (indirectly) help Jockey too since you will test X-Kit and some other features I have worked on for Jockey.</p>
<p>NOTE: if you have <a href="https://bugs.launchpad.net/bugs/227717">this problem</a> please have a look at the suggested solution in the same bug report.</p>
<p>NVIDIA and kernel 2.6.27:<br />
<del>Currently only driver 177.68 seems to work with 2.6.27. I have written a patch for driver 173 too, however I&#8217;m experiencing a rather <a href="http://www.nvnews.net/vbulletin/showthread.php?t=118595">nasty problem</a>.</del><br />
EDIT: the driver works well with a new patch now</p>
<p>URandR:<br />
as you can see on <a href="http://bryceharrington.org/drupal/node/61">Bryce&#8217;s blog</a> I am now contributing to GNOME&#8217;s Monitor Resolution Settings panel. There is still some work to do (in C) and I&#8217;m having a lot of fun with it. I find it a great program and I&#8217;m focusing on it instead of completing the rewrite of URandR. I&#8217;m not saying that URandR is dead but it&#8217;s development has stalled.</p>
<p>Stay tuned</p> ]]></content>
</entry>
<entry>
		<id>http://albertomilone.com/wordpress/?p=285</id>
		<author><name>albertomilone</name></author>
		<title>Alberto Milone: NVIDIA driver 177.67 in Intrepid</title>
                <link rel="alternate" type="text/html" href="http://albertomilone.com/wordpress/?p=285"/>		
		<updated>2008-08-20T16:27:56+02:00</updated>
		<published>2008-08-20T16:27:56+02:00</published>
		<content type="html"><![CDATA[	<p>I have updated the NVIDIA driver 177.67 (still a beta) in Intrepid (a special thanks to Timo Aaltonen who sponsored the upload).</p>
<p>If you still have 2D performance issues, you can have a look at <a href="http://www.nvnews.net/vbulletin/showthread.php?t=118088">this post</a> (a special thanks to nullack for suggesting this link).</p>
<p>NOTE: this driver won&#8217;t be available on Hardy until a final release of the driver is available.</p> ]]></content>
</entry>
</feed>
