<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3001964375550900476</id><updated>2012-01-23T17:12:06.906+02:00</updated><category term='FAQ'/><category term='icons'/><category term='codeblocks'/><category term='swing'/><category term='gentoo'/><category term='fonts'/><category term='Windows'/><category term='icewm'/><category term='openoffice'/><category term='gnome'/><category term='firefox'/><category term='other operating systems'/><category term='Mozilla'/><category term='desktop environment'/><category term='bits and pieces'/><category term='debian'/><category term='automounting'/><category term='email'/><category term='background'/><category term='nitrogen'/><category term='IceCat'/><category term='thunderbird'/><category term='Squeeze'/><category term='SkinnyDebbie'/><category term='libcairo2'/><category term='rox'/><category term='Lenny'/><category term='libtrash'/><category term='wallpaper'/><category term='rolling release'/><category term='gtk'/><category term='ssh'/><category term='geek'/><category term='how-to'/><category term='openbox'/><category term='What you need to know'/><category term='Java'/><category term='X'/><category term='Iceweasel'/><category term='kde'/><category term='Swiftfox'/><category term='misc.'/><category term='sabayon'/><category term='xdg'/><category term='samba'/><category term='MPD'/><category term='wheezy'/><category term='Ubuntu'/><category term='qt'/><category term='fail'/><category term='window manager'/><category term='touchpad'/><category term='gnubiff'/><category term='karmic'/><category term='WiFi'/><category term='avr'/><category term='Xfce'/><title type='text'>Loving the Penguin</title><subtitle type='html'>Adventures in (light and lean) Linux</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/14854561125278529493</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>97</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-1296143043860595179</id><published>2012-01-16T22:57:00.001+02:00</published><updated>2012-01-16T23:53:51.650+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='avr'/><category scheme='http://www.blogger.com/atom/ns#' term='wheezy'/><category scheme='http://www.blogger.com/atom/ns#' term='codeblocks'/><title type='text'>Fixing CodeBlocks AVR build problems on Debian Wheezy</title><content type='html'>This might be a bit off-topic, but I didn't know where else to put this.&lt;br /&gt;&lt;br /&gt;I spent a good part of this evening trying to figure out why I could build AVR projects in &lt;a href="http://wiki.codeblocks.org/"&gt;CodeBlocks&lt;/a&gt; using an old profile (i.e., &lt;a href="http://wiki.codeblocks.org/index.php?title=Personalities"&gt;personality&lt;/a&gt;) but not a new one. When I tried to compile with a new one (even on a different machine), the compile would generate a &lt;br /&gt;&lt;br /&gt;&lt;code&gt;/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;error.&lt;br /&gt;&lt;br /&gt;By comparing the old and newly created profiles, I was able to figure out that new profiles were setting default include directories for building indiscriminately versus not at all for the old profile. The following seems to fix things, but to be honest I have not tested a wide variety of AVR builds nor have I tested any other kinds of projects. But I can't see why it should mess anything else up.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Open S&lt;i&gt;ettings &amp;gt; Compiler and debugger... &amp;gt; Global compiler settings&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Under &lt;i&gt;Selected compiler&lt;/i&gt;, select "GNU AVR GCC Compiler"&lt;/li&gt;&lt;li&gt;Select the "Search directories" tab&lt;/li&gt;&lt;li&gt;Select the "Compiler" tab&lt;/li&gt;&lt;li&gt;Select the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/usr/include&lt;/span&gt; entry and click the "Delete" button&lt;/li&gt;&lt;li&gt;Right next to the "Compiler" tab, select the "Linker" tab&lt;/li&gt;&lt;li&gt;Select the&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt; /usr/lib&lt;/span&gt; entry and click the "Delete" button&lt;/li&gt;&lt;/ol&gt;AVR builds should now succeed. This fix should work with additional profiles you add as well as to the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;default.conf&lt;/span&gt; profile.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-1296143043860595179?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/1296143043860595179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=1296143043860595179' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1296143043860595179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1296143043860595179'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2012/01/fixing-codeblocks-avr-build-problems-on.html' title='Fixing CodeBlocks AVR build problems on Debian Wheezy'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-1476539073650237885</id><published>2011-12-08T22:33:00.004+02:00</published><updated>2012-01-11T13:29:54.870+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='window manager'/><category scheme='http://www.blogger.com/atom/ns#' term='desktop environment'/><category scheme='http://www.blogger.com/atom/ns#' term='qt'/><category scheme='http://www.blogger.com/atom/ns#' term='kde'/><title type='text'>Lightweight Qt-based DE?</title><content type='html'>The last couple days, I've been wondering if it might be possible/worthwhile/stupid to build a Qt-centric lightweight desktopish environment. In other words, something to be to KDE what Xfce/Fluxbox/Openbox are to GNOME.&lt;br /&gt;&lt;br /&gt;Today, I decided to do a bit of Googling and discovered &lt;a href="http://qt-apps.org/content/show.php?content=136862"&gt;Egg Window Manager&lt;/a&gt;, &lt;a href="https://gitorious.org/qt-window-manager#more"&gt;Qt Window Manager&lt;/a&gt;, and &lt;a href="https://sites.google.com/site/rwmwindowmanager/screenshots"&gt;R Window Manager&lt;/a&gt;. I've yet to try any, but it's nice to know that there are people working on this.&lt;br /&gt;&lt;br /&gt;Update [2012-01-12]: Reader CTown points out &lt;a href="http://razor-qt.org/"&gt;Razor-qt&lt;/a&gt;--a Qt-based desktop environment--is available as well. It's apparently a member of the &lt;a href="http://www.qtdesktop.org/"&gt;QtDesktop&lt;/a&gt; project. It's worth pointing out that Razor-qt uses &lt;a href="http://openbox.org/"&gt;Openbox&lt;/a&gt; by default, and Openbox, while being a really nice WM, uses &lt;a href="http://www.gtk.org/tutorial1.2/gtk_tut-20.html"&gt;GLib&lt;/a&gt;--a GTK+ dependence. But maybe in combination with&amp;nbsp; one of the WMs above ...&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-1476539073650237885?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/1476539073650237885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=1476539073650237885' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1476539073650237885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1476539073650237885'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2011/12/lightweight-qt-based-de.html' title='Lightweight Qt-based DE?'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-5586754054244283590</id><published>2011-11-23T21:45:00.019+02:00</published><updated>2011-11-27T02:24:35.958+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><title type='text'>Installing Oracle Java in Wheezy</title><content type='html'>This is going to be something of a living document. &lt;a href="http://lovingthepenguin.blogspot.com/2011/11/debian-drops-oracle-java.html"&gt;Earlier today&lt;/a&gt; I moaned about how Oracle's Java has been removed from Debian and how OpenJDK just isn't really working for me (&lt;i&gt;yet&lt;/i&gt;, I hope). Herein I will document progress I am making toward making the non-free Java binaries downloaded directly from Oracle work. I will update this post as I make progress.&lt;br /&gt;&lt;br /&gt;The following applies to Java 6. I don't know what needs to change for Java 7. Is this the best way to do this? Probably not. If you know of something better, please let me know.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Get and deflate the JRE binaries&lt;/b&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Go to the &lt;a href="https://www.java.com/en/download/help/linux_install.xml"&gt;Oracle Java for Linux&lt;/a&gt; page and follow the directions to download the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;*.bin&lt;/span&gt; (i.e., Linux self-extracting) file. (I opted not to use the RPM version even though Alien is available in Debian to install RPMs. The Java RPM is so full of stuff and Alien is so less than 100% reliable that I didn't want to risk messing up my system.)&lt;/li&gt;&lt;li&gt;As root, make a directory &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt/java&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Copy the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;*.bin&lt;/span&gt; you downloaded above into&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt; /opt/java&lt;/span&gt; and issue the following commands in a terminal (as root):&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;# chown root:root &lt;i&gt;{name-of-the-file-you-downloaded}&lt;/i&gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;# chmod a+x &lt;i&gt;{name-of-the-file-you-downloaded}&lt;/i&gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;# ./&lt;i&gt;{name-of-the-file-you-downloaded}&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;The first one makes sure the file is owned by root, the second one makes the file executable, and the third one executes the file -- which deflates all the Oracle Java goodness into a directory called something like &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;jre1.6.0_xx&lt;/span&gt;.&lt;/li&gt;&lt;li&gt;Create a link called &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;jre&lt;/span&gt; to the directory &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;jre1.6.0_xx&lt;/span&gt; (or whatever) created above. This link will make updating the binaries much easier in the future. Use this link from now on to reference files in the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;jre1.6.0_xx&lt;/span&gt; (or whatever) directory.&lt;/li&gt;&lt;/ol&gt;&lt;b&gt;Point the system to the new &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;java&lt;/span&gt; executable&lt;/b&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt; Use your favorite method to install the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;galternatives&lt;/span&gt;  package from the repositories. Galternatives gives you a nice GUI  interface to the "Debian alternatives" system. We will need this to  override the default system alternative you may already have for  the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;java&lt;/span&gt; command.&lt;/li&gt;&lt;li&gt;Open Galternatives and look for an entry in the "Alternatives" column on the left called "java". If you don't have a "java" entry, skip the next step.&lt;/li&gt;&lt;li&gt;When you click on the "java" entry in Galternatives, the right pane should show you a list of available alternatives that you can set your system to use as the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;java&lt;/span&gt; command. Click the "Add" button on the bottom of the window and navigate to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt/java/jre/bin/java&lt;/span&gt; . After you close the file browser dialog and return to the main window, click the radio button next to the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt/java/jre/bin/java&lt;/span&gt; choice to tell the system that you want to use that &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;java&lt;/span&gt; to handle &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;java&lt;/span&gt; commands. Skip the next step and go directly to &lt;b&gt;Testing&lt;/b&gt;.&lt;/li&gt;&lt;li&gt;&lt;i&gt;Do this step only if you did NOT have a "java" entry in Galternatives&lt;/i&gt;. Create a soft link from &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/usr/bin/java&lt;/span&gt; to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt/java/jre/bin/java&lt;/span&gt; . (Changing the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/usr/bin/java&lt;/span&gt; link when it has been set by the Debian alternatives system may give you a whole lot of future pain, so mind the caution!)&lt;/li&gt;&lt;/ol&gt;&lt;b&gt;Testing&lt;/b&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Open a terminal and enter the command&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;$ java -version&lt;/span&gt;&lt;br /&gt;The resulting output should give you a version number that matches what you downloaded above. If it doesn't, something went wrong.&lt;/li&gt;&lt;/ol&gt;You should now have a system that will run Java apps using the Oracle JDK you downloaded. Applets will not yet be working. We'll tackle that next.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Configure browser plugin&lt;/b&gt;&lt;br /&gt;The directions for installing the browser plugin given by Oracle may leave some browsers out in the cold. I put together a script that creates a link to the plugin in all the locations that the last debian sun-java1.6 plugin package did.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Download the script from &lt;a href="http://pastebin.com/TtHKmrcX"&gt;here&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Look it over to make sure it's configured correctly for your system.&lt;/li&gt;&lt;li&gt;In a terminal (as root):&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;# chmod a+x &lt;i&gt;{name-of-the-file-you-downloaded}&lt;/i&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;# ./&lt;i&gt;{name-of-the-file-you-downloaded} &lt;/i&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Restart your browser and test that applets are working by going to the Oracle Java &lt;a href="https://www.java.com/en/download/installed.jsp"&gt;test page&lt;/a&gt;.&lt;/li&gt;&lt;/ol&gt;I tested the above with Iceweasel, Chrome, and Opera and they all worked as expected. On one of my machines, I had to re-enable the plugin in Chrome. To do that, enter &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;chrome://plugins&lt;/span&gt; in the URL bar and the rest should be obvious.&lt;br /&gt;&lt;br /&gt;If you study the script carefully, you will see that there are commented-out bits that you can use to remove the links it created. Lemme know if you need to do this but can't figure out what to do.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Configure Webstart&lt;/b&gt;&lt;br /&gt;In Iceweasel and Opera, configuring &lt;a href="https://www.java.com/en/download/faq/java_webstart.xml"&gt;Java Web Start&lt;/a&gt; for me was as simple as going to a page that had a Java Web Start app in it (e.g., &lt;a href="http://docs.oracle.com/javase/tutorial/deployment/webstart/deploying.html"&gt;this one&lt;/a&gt;), clicking on it, and then directing the browser to use &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt/java/jre/bin/javaws&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;I was able to get Chrome to work in a roundabout way by first downloading a &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;*.jnlp&lt;/span&gt; file and then using my file manager (Thunar in Xfce) to tell it to open &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;*.jnlp&lt;/span&gt; files with &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;javaws&lt;/span&gt; by default. After that, in Chrome I downloaded a &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;*.jnlp&lt;/span&gt; file again and then (still in in Chrome) I clicked the arrow next to the file name and selected "Always open files of this type." There may be a better way to do this.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Put the Java binaries on the PATH &lt;/b&gt;&lt;br /&gt;There's a bunch of execuatables in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt/java/jre/bin&lt;/span&gt; that will make life a lot easier if they are on the PATH. To that end,&lt;br /&gt;&lt;ol&gt;&lt;li&gt;As root, copy the file found &lt;a href="http://pastebin.com/3KeGbK6E"&gt;here&lt;/a&gt; to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/profile.d/oracle_java_mfk.sh&lt;/span&gt;&amp;nbsp; (the actual name isn't really that important as long as it ends with &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;.sh&lt;/span&gt;). &lt;/li&gt;&lt;li&gt;Reboot.&lt;/li&gt;&lt;/ol&gt;On reboot, the executables in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt/java/jre/bin&lt;/span&gt; will be available on the command line, which is as God, er, Oracle, intended. Feel free to test by opening a terminal and entering&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;$ which keytool&lt;/span&gt;&lt;br /&gt;The result should point to the executable in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt/java/jre/bin&lt;/span&gt;. If doing this spooks you (it is, after all, a system file), you can still get by without. But you will have to launch things like the Java Control Panel and other goodies from the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt/java/jre/bin &lt;/span&gt;directory rather than as a command or by using one of the convenient GUI desktop entries (discussed below).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Install desktop files&lt;/b&gt;&lt;br /&gt;There are a bunch of files in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt/java/jre/lib/desktop&lt;/span&gt; that help to integrate the JRE into you system. These aren't critical, but they're probably nice to have. At the very least, they add a menu entry to start the Control Panel. I have written a script to install these files &lt;a href="http://pastebin.com/CCDUYgTB"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Note that this script &lt;i&gt;copies&lt;/i&gt; stuff into your system, which means 1. it will clobber resources you might already have (which you shouldn't if you completely removed the Wheezy sun-java6 packages) and 2. it makes uninstalling a tedious process of manually deleting the files that were copied over. &lt;i&gt;Don't delete the directories mentioned in the scripts!&lt;/i&gt; There is probably stuff in those directories that your system needs. Instead, look at the files in the directories and subdirectories in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt/java/jre/lib/desktop&lt;/span&gt; and delete each of those manually. (For more info on MIME stuff see &lt;a href="http://developer.gnome.org/integration-guide/stable/mime.html.en"&gt;http://developer.gnome.org/integration-guide/stable/mime.html.en&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Install Java fonts&lt;/b&gt; &lt;br /&gt;Oracle Java includes a group of fonts from the &lt;a href="https://en.wikipedia.org/wiki/Lucida"&gt;Lucida&lt;/a&gt; family of typefaces. Yup, I've got another script for installing those, and you'll find it &lt;a href="http://pastebin.com/pFtm05tD"&gt;here&lt;/a&gt;. More than you ever wanted to know about fonts in Debian is &lt;a href="http://wiki.debian.org/Fonts"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Updating the system&lt;/b&gt;&lt;br /&gt;When a new version of the JRE is released, updating should really be just a matter of deleting everything in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt/java&lt;/span&gt; and repeating the steps in the &lt;b&gt;Get and deflate the JRE binaries&lt;/b&gt; section. If you want to be really thorough though, you'll also want to repeat &lt;b&gt;Install desktop files&lt;/b&gt; and &lt;b&gt;Install Java fonts&lt;/b&gt; sections.&lt;br /&gt;&lt;br /&gt;The somewhat massive gorilla in the room now is, "How do you know if an update is available." Sadly, for this I have no brilliant solution. That means you should probably check the &lt;a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html"&gt;Java SE Downloads&lt;/a&gt; page occasionally to see if one has been released. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;&lt;b&gt;Update 2011-11-26&lt;/b&gt;: Added &lt;b&gt;Install desktop files&lt;/b&gt; section. Added the &lt;b&gt;Install Java fonts&lt;/b&gt; section.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;&lt;b&gt;Update 2011-11-27&lt;/b&gt;: Changed path to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;javaws&lt;/span&gt; executable and updates info on getting Webstart to work with Chrome. Added comments about (not) getting notified of updates in &lt;b&gt;Updating the system&lt;/b&gt;. Added how to configure plugins in Chrome to &lt;b&gt;Configure browser plugin&lt;/b&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-5586754054244283590?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/5586754054244283590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=5586754054244283590' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/5586754054244283590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/5586754054244283590'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2011/11/installing-oracle-java-in-wheezy.html' title='Installing Oracle Java in Wheezy'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-1288993437179146684</id><published>2011-11-23T17:22:00.003+02:00</published><updated>2011-11-24T11:11:45.342+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><title type='text'>Debian drops Oracle Java</title><content type='html'>I am sorta bummed that the Debian devs have decided to &lt;a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646524"&gt;ditch Oracle Java&lt;/a&gt;. At the present time, there are no sun-java6 packages in Wheezy, and sid has old builds (for some reason). It is unclear to me whether Oracle Java was dropped because of licensing issues or because it has unresolvable security issues. I assume the former even though the bug report gives the impression of the latter.&lt;br /&gt;&lt;br /&gt;In theory, the free &lt;a href="http://openjdk.java.net/"&gt;OpenJDK&lt;/a&gt; packages provide a sufficiently stable and functional alternative to Oracle Java. But if you read up enough on this, you'll find that people are still having issues with OpenJDK. I am among them. In particular, I am finding OpenJDK provides noticeably slower performance than Oracle Java. With things like &lt;a href="http://processing.org/"&gt;Processing&lt;/a&gt; and &lt;a href="http://www.freerouting.net/"&gt;FreeRouting&lt;/a&gt;, the difference is quite noticable.&lt;br /&gt;&lt;br /&gt;Of course I would prefer to use the free OpenJDK over the proprietary Oracle Java -- but OpenJDK just doesn't seem up to the job yet, at least not for the kinds of things I need Java for. There is a bit of a vicious cycle here -- OpenJDK is unlikely to get the kinds of optimizations it needs unless people are actually using it and bump into its limitations. To this end, I will happily take a bit of a performance hit or other inconvenience, but not as much as I am seeing.&lt;br /&gt;&lt;br /&gt;I am now trying to rip out all the sun-java6 and OpenJDK stuff on one of my computers and install the full-fledged Oracle Java experience (JRE, browser plugin, Webstart, and JDK) from the &lt;a href="https://www.java.com/en/download/help/linux_install.xml"&gt;Oracle site&lt;/a&gt;. I'm working with the JRE only at the moment, and it's proving to be a pretty painful process. More later if I succeed.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-1288993437179146684?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/1288993437179146684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=1288993437179146684' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1288993437179146684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1288993437179146684'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2011/11/debian-drops-oracle-java.html' title='Debian drops Oracle Java'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-3592235161320965646</id><published>2011-09-25T23:56:00.001+03:00</published><updated>2011-09-25T23:57:43.645+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='SkinnyDebbie'/><category scheme='http://www.blogger.com/atom/ns#' term='Xfce'/><title type='text'>Selecting sudo/su authentication mode (without gconf-editor)</title><content type='html'>This may be Debian-specific.&lt;br /&gt;&lt;br /&gt;Apps like 'Synaptic' and 'Root Terminal' when launched from a desktop menu (e.g., your panel's applications menu) will ask for authentication. By default, Debian uses &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;gksu&lt;/span&gt; for these tasks. However, it's possible and quite easy to configure things so &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;gksudo&lt;/span&gt; is used instead. The following assumes you have already configured your system and user to use &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;sudo&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;I first learned how to do change the setting by using &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;gconf-editor&lt;/span&gt;. If you have &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;gconf-editor&lt;/span&gt; installed, go to the entry for &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/apps/gksu&lt;/span&gt; and click the checkbox next to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;sudo-mode&lt;/span&gt;. But that's the fiddly way to do it. I just discovered by accident a much easier way -- one that doesn't require &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;gconf-editor&lt;/span&gt;. Simply launch:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$ gksu-properties&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;as user (not root) and set &lt;b&gt;Authentication mode&lt;/b&gt; to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;su&lt;/span&gt; (to use &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;gksu&lt;/span&gt;) or &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;sudo&lt;/span&gt; (for &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;gksudo&lt;/span&gt;). While you're there, you can also disable screen grabbing, though why you'd want to I'm not really sure. &lt;br /&gt;&lt;br /&gt;Note that this is a &lt;i&gt;per user&lt;/i&gt; setting. There's probably a system-wide config for this, but I'm feeling too lazy to find it.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-3592235161320965646?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/3592235161320965646/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=3592235161320965646' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/3592235161320965646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/3592235161320965646'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2011/09/selecting-sudosu-authentication-mode.html' title='Selecting sudo/su authentication mode (without gconf-editor)'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-5745104271378805491</id><published>2011-07-18T17:32:00.004+03:00</published><updated>2011-07-22T09:25:01.684+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='qt'/><category scheme='http://www.blogger.com/atom/ns#' term='openoffice'/><category scheme='http://www.blogger.com/atom/ns#' term='Squeeze'/><title type='text'>Fixing ugly Qt fonts in Openbox, Fluxbox, etc.</title><content type='html'>On Debian Squeeze at least, unless you are using GNOME or Xfce (or ostensibly KDE) or are running the configuration daemons that come with these, fonts rendered by Qt apps look like utter crap.&lt;br /&gt;&lt;br /&gt;It seems that Qt honors neither &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/.fonts.conf&lt;/span&gt;, nor what's in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/.fonts.conf.d&lt;/span&gt;, nor what's in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/fonts/conf.d&lt;/span&gt;. This is a problem if you want to run light-and-lean and not use the GNOME or Xfce daemons in Openbox, Fluxbox, and likely many other window managers.&lt;br /&gt;&lt;br /&gt;After much hair pulling, I finally managed to work around the problem by using Xresources. Adding the code below to either &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/.Xresources&lt;/span&gt; (for user-only changes) or to a new file &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/X11/Xresources/fonts-default&lt;/span&gt; (for system-wide changes) fixed the issue for me. It also fixes problems with ugly font rendering in &lt;a href="http://lovingthepenguin.blogspot.com/2010/07/fixing-openofficeorg-font-rendering-in.html"&gt;OpenOffice.org&lt;/a&gt; and LibreOffice.&lt;br /&gt;&lt;br /&gt;What I added is:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;Xft.dpi: 96&lt;br /&gt;Xft.antialias: true&lt;br /&gt;Xft.hinting: true&lt;br /&gt;Xft.rgba: rgb&lt;br /&gt;Xft.autohint: false&lt;br /&gt;Xft.hintstyle: hintslight&lt;br /&gt;Xft.lcdfilter: lcddefault&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;The dpi entry is there just for good measure. Change settings as needed according to taste.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-5745104271378805491?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/5745104271378805491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=5745104271378805491' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/5745104271378805491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/5745104271378805491'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2011/07/fixing-ugly-qt-fonts-in-openbox-fluxbox.html' title='Fixing ugly Qt fonts in Openbox, Fluxbox, etc.'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-481121013436010536</id><published>2011-06-25T18:17:00.003+03:00</published><updated>2011-06-27T11:57:13.867+03:00</updated><title type='text'>Fixing ugly LibreOffice UI in Squeeze</title><content type='html'>I removed OpenOffice.org from my recently Lenny-to-Squeeze updated machine and installed LibreOffice from &lt;a href="http://backports-master.debian.org/"&gt;backports&lt;/a&gt; instead. A succinct how-to for doing that is available &lt;a href="http://techie-buzz.com/foss/libreoffice-debian-squeeze-backports.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The installation went without a hitch, and LibreOffice started just fine. But the UI was ghastly, horribly, I would-rather-look-at-and-smell-a-garbage-bin ugly.&lt;br /&gt;&lt;br /&gt;Easy fix:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;# apt-get -t squeeze-backports install libreoffice-gtk&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Aaah.&lt;br /&gt;&lt;br /&gt;There is a &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;libreoffice-gnome&lt;/span&gt; package as well. I don't know what the difference is yet, but I suspect it would be a good idea to go through all the &lt;a href="http://packages.debian.org/search?suite=squeeze-backports&amp;amp;keywords=libreoffice"&gt;libreoffice backports for Squeeze&lt;/a&gt; to see if there's anything else I missed.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-481121013436010536?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/481121013436010536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=481121013436010536' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/481121013436010536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/481121013436010536'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2011/06/fixing-ugly-libreoffice-in-squeeze.html' title='Fixing ugly LibreOffice UI in Squeeze'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-6622564963651891044</id><published>2011-06-25T17:57:00.007+03:00</published><updated>2011-07-20T02:33:41.689+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='fonts'/><category scheme='http://www.blogger.com/atom/ns#' term='Iceweasel'/><category scheme='http://www.blogger.com/atom/ns#' term='Squeeze'/><title type='text'>Squeeze, Fonts, Firefox update</title><content type='html'>This is good.&lt;br /&gt;&lt;br /&gt;This morning I finished upgrading a Lenny installation to Squeeze. (For those of you who might know what's coming next, this installation had the plain old standard libcairo2 -- no patches of any sort.) So far things seem to be just fine. But it's Debian and so this is no big surprise. This is not why I'm writing this post.&lt;br /&gt;&lt;br /&gt;The reason for writing this post is to let you know that indeed the rumors are true. Installing Iceweasel 5 from &lt;a href="http://mozilla.debian.net/"&gt;http://mozilla.debian.net/&lt;/a&gt; solves &lt;i&gt;three&lt;/i&gt; problems that have plagued lots of Linux users:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Obsolete Iceweasel/Firefox.&lt;/li&gt;&lt;li&gt;Ugly font rendering with official Firefox binaries.&lt;/li&gt;&lt;li&gt;&lt;i&gt;Ugly font rendering everywhere on the system.&lt;/i&gt;&lt;/li&gt;&lt;/ol&gt;You heard it right, folks. Installing Iceweasel 5 in Squeeze brings in a version of libcairo2 with all the yummy Ubuntu font rendering goodness. Like I said, this is good.&lt;br /&gt;&lt;br /&gt;But there are a couple small gotchas:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Confusing instructions&lt;/b&gt;&lt;br /&gt;The directions given at &lt;a href="http://mozilla.debian.net/"&gt;http://mozilla.debian.net/&lt;/a&gt; are complete, but the order in which the info is given is confusing. So here is what you need to do, in the order in which you need to do it.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Add the following entry to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/apt/sources.list&lt;/span&gt; or a new file in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/apt/sources.list.d/&lt;/span&gt;:&lt;br /&gt;&lt;b&gt;&lt;code&gt;deb http://mozilla.debian.net/ squeeze-backports iceweasel-release&lt;/code&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;Add the archive key to your apt keyring:&lt;code&gt;&lt;br /&gt;&lt;b&gt;# wget -O- -q http://mozilla.debian.net/archive.asc | gpg --import&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Import it into the APT keyring:&lt;code&gt;&lt;br /&gt;&lt;b&gt;# gpg --export -a 06C4AE2A | sudo apt-key add -&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Update the repository database:&lt;code&gt;&lt;br /&gt;&lt;b&gt;# apt-get update&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Install Iceweasel 5 with the following command:&lt;code&gt;&lt;br /&gt;&lt;b&gt;# apt-get install -t squeeze-backports iceweasel&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;b&gt;Configuring fonts&lt;/b&gt;&lt;br /&gt;After I did the above, fonts were still not quite right. So I added the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/.fonts.conf&amp;nbsp;&lt;/span&gt; file posted &lt;strike&gt;&lt;a href="http://pastebin.com/WbcUq4y9"&gt;here&lt;/a&gt;&lt;/strike&gt; &lt;a href="http://pastebin.com/yeqkrLxX"&gt;here&lt;/a&gt;*. (Blogger, &lt;i&gt;please&lt;/i&gt; make it possible to post code with angled brackets!!) &lt;br /&gt;&lt;br /&gt;I don't know which is the magic setting responsible for letting the fonts come out all pretty (I suspect lcdfilter), but I'm happy enough with the results now that I'll just be using the setup for a while. It's only a process of elimination to figure out which setting is the key, and once it's found it should be an easy matter to make these the system default so you don't need the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/.fonts.conf&lt;/span&gt; file.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;[update 2011-07-11: Changed sources.list addition to reflect changes at http://mozilla.debian.net/.]&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;*[update 2011-07-01: I added rgba settings for completeness.]&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-6622564963651891044?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/6622564963651891044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=6622564963651891044' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/6622564963651891044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/6622564963651891044'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2011/06/squeeze-fonts-firefox-update.html' title='Squeeze, Fonts, Firefox update'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-2863350211547693547</id><published>2011-06-11T17:44:00.027+03:00</published><updated>2011-06-11T18:32:21.421+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='icons'/><category scheme='http://www.blogger.com/atom/ns#' term='gtk'/><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Colorful GNOME-colors</title><content type='html'>One of my favorite icon sets is the &lt;a href="http://gnome-look.org/content/show.php/GNOME-colors?content=82562"&gt;GNOME-colors&lt;/a&gt; series. The shapes, contrast, perspectives, and luster (not too shiny) are all just right. One thing that wish it had a bit more of though was color diversity. When you use gnome-brave, for example, things become just a bit too blue for my taste. And I don't mean from just an aesthetic perspective--it impacts usability for me as well.&lt;br /&gt;&lt;br /&gt;So, I wrote a little (translation: longish) script that will make a new hybrid icon set from all the icon sets in the whole GNOME-colors pantheon. The script was written for Ubuntu/Debian and is I hope self explanatory. The basic idea is that it makes a copy of one of the sets (I chose gnome-brave because it's closest to what I want) and then selectively copies over the bits from the other sets. Hacking the script for other distributions and/or local installations should be pretty straight forward. The script includes a full list of the icons that are part of the Ubuntu package; ones that do not deviate from the default are commented out.&lt;br /&gt;&lt;br /&gt;After running the script, you will have to move the directory it generates to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/.icons&lt;/span&gt; or to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/usr/local/share/icons&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Odd and pesky details:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Requires at least bash 4.&amp;nbsp;&amp;nbsp;&lt;/li&gt;&lt;li&gt;Assumes you have the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;gnome-colors&lt;/span&gt; package installed.&lt;/li&gt;&lt;li&gt;Don't try running this from within Geany. For some reason, Geany chokes on &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;declare -A&lt;/span&gt; statements. It works just fine if you run it inside a terminal.&lt;/li&gt;&lt;/ul&gt;You can download the script from &lt;a href="http://download.tuxfamily.org/skinny/misc/make-gnome-colors-hybrid.sh"&gt;http://download.tuxfamily.org/skinny/misc/make-gnome-colors-hybrid.sh&lt;/a&gt;. I would show it here except that I'm tired of fighting Blogger's inability to properly implement &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;pre&lt;/span&gt; and &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;code&lt;/span&gt; tags or provide some other means of sharing code without messing it up.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-2863350211547693547?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/2863350211547693547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=2863350211547693547' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/2863350211547693547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/2863350211547693547'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2011/06/colorful-gnome-colors.html' title='Colorful GNOME-colors'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-462877817891898871</id><published>2011-04-02T11:50:00.010+03:00</published><updated>2011-05-09T12:32:06.578+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='qt'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='Squeeze'/><title type='text'>Installing the Qt SDK</title><content type='html'>&lt;i&gt;&lt;b&gt;Update&lt;/b&gt;: Bits of this have been obsoleted with the 4.7.3 release. I'll try to post an update soon. [09 May 2011]&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Because I live fast and loose and on the bleeding edge, I decided to install the &lt;a href="http://qt.nokia.com/"&gt;Qt&lt;/a&gt; SDK using the &lt;a href="http://qt.nokia.com/downloads/"&gt;Nokia download&lt;/a&gt; rather than from my distros' package manager. Actually, the real reason is that I was seeing a weird message in the debugger in Qt Creator on Ubuntu 10.10 and hoped the a newer SDK would fix that. But alas it did not--on neither my Ubuntu nor my Debian Squeeze development system. But I will continue to use the downloaded SDK because it will let me update to the latest versions.*&lt;br /&gt;&lt;br /&gt;What follows is a brief guide to help you integrate the downloaded SDK into your system should you opt to do so.&lt;br /&gt;&lt;br /&gt;The most important difference between installing the downloaded SDK versus installing from the repositories is that the downloaded install will only install for a single user.** The installation itself is pretty straightforward:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Download the installer.&lt;/li&gt;&lt;li&gt;Make the installer executable: In a term open to the directory where you downloaded the installer, enter the command&lt;br /&gt;&lt;code&gt;$ chmod u+x {the-name-of-the-installer}&lt;/code&gt;&lt;br /&gt;In my case {the-name-of-the-installer} was &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;qt-sdk-linux-x86-opensource-2010.05.1.bin&lt;/span&gt;&lt;/li&gt;&lt;li&gt;In the same term, issue&lt;br /&gt;&lt;code&gt;$ ./{the-name-of-the-installer}&lt;/code&gt;&lt;br /&gt;and follow the resulting directions. The installer will let you pick the directory where the SDK will go. Don't feel obliged to use the default. Because I didn't want another visible directory in my home directory, I installed into &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/.opt/qtsdk&lt;/span&gt;.&lt;/li&gt;&lt;/ol&gt;The above will install all the SDK bits in the specified directory and create two *.desktop entries for the Qt Creator IDE: one on your desktop (drag it to the trash) and the other in your &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/.local/share/applications&lt;/span&gt; directory--so that you get a menu entry for it.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Adding some missing bits&lt;/b&gt;&lt;br /&gt;The above process gives you a working SDK that's well suited to using the Qt Creator IDE. However, for more general work there are a few things missing:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;qmake&lt;/span&gt; and other executables will not be available as system commands&lt;/li&gt;&lt;li&gt;There is no menu entry for the Qt Designer GUI layout tool.&lt;/li&gt;&lt;/ol&gt;The first is required if you plan to do Qt development with another IDE (Netbeans, Eclipse, Monkey Studio, etc.). The second is nice to have in any case. Both are fairly easy to fix.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Making the SDK commands available&lt;/i&gt;&lt;br /&gt;To do this we are going to edit your &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;.profile&lt;/span&gt; file. Before making changes to your &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;.profile&lt;/span&gt;, make a backup of it so you can get back to it easily if you break something! If you have also installed the SDK from the repositories, what follows will cause the repository commands to be overridden by the commands in the local SDK. If you don't want this, then don't do  this.&lt;br /&gt;&lt;br /&gt;Open &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/.profile&lt;/span&gt; in a text editor. Toward the bottom, add the following:&lt;br /&gt;&lt;pre&gt;# set PATH so it includes local Qt SDK tools&lt;br /&gt;QTSDK_LOCATION=$HOME/.opt/qtsdk&lt;br /&gt;if [ -d "$QTSDK_LOCATION/qt/bin" ] ; then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PATH="$QTSDK_LOCATION/qt/bin:$PATH"&lt;br /&gt;fi&lt;br /&gt;if [ -d "$QTSDK_LOCATION/bin" ] ; then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PATH="$QTSDK_LOCATION/bin:$PATH"&lt;br /&gt;fi&lt;br /&gt;&lt;/pre&gt;&lt;b&gt;making sure to change &lt;/b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;QTSDK_LOCATION&lt;/span&gt;&lt;b&gt; as needed for your installation&lt;/b&gt;. When you logout and log back in, the executables in the two &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;bin&lt;/span&gt; directories should be available as commands. Test this by issuing&lt;br /&gt;&lt;code&gt;$ qmake -v&lt;/code&gt;&lt;br /&gt;in a term. The output should make sense. &lt;br /&gt;&lt;br /&gt;&lt;i&gt;Adding an entry for Qt Designer to the menu&lt;/i&gt;&lt;br /&gt;Assuming you have done the stuff in &lt;i&gt;Making the SDK commands available&lt;/i&gt;, you can just add the following file as &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Nokia-QtDesigner.desktop&lt;/span&gt; to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/.local/share/applications&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;[Desktop Entry]&lt;br /&gt;Value=1.0&lt;br /&gt;Type=Application&lt;br /&gt;Encoding=UTF-8&lt;br /&gt;Exec=designer %F&lt;br /&gt;Name=Qt Designer&lt;br /&gt;GenericName=GUI designer for Qt applications&lt;br /&gt;X-KDE-StartupNotify=true&lt;br /&gt;StartupNotify=true&lt;br /&gt;Icon=Nokia-QtCreator&lt;br /&gt;Terminal=false&lt;br /&gt;Type=Application&lt;br /&gt;Categories=Development&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;If you have &lt;i&gt;not&lt;/i&gt; done the &lt;i&gt;Making the SDK commands available &lt;/i&gt;stuff, then change the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Exec=&lt;/span&gt; line to point directly at the designer executable (which should be in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;{qtsdk}/qt/bin&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;Now I'm going to move on to testing alternatives to Qt Creator. Qt Creator has a very nice feature set, but the UI is a bit quirky. I'll let you know if I find anything I like better.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;* A possible consequence of this is that installing extra bits and baubles will no longer be easy. For example, it seems the Qt4 Designer plugin for QScintilla 2 (libqscintilla2-designer in Debian-land) doesn't ship with Nokia's SDK, and I don't know if Qt Designer will pick up libs installed in standard system library locations.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;** I'm quite certain that you can install the downloaded SDK for all users, for example by installing as root into &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt&lt;/span&gt;. However, doing so may generate *.desktop files on root's desktop and in root's &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;.local/share/applications&lt;/span&gt; dir, and I am not sure if that will mess anything up. If you try this, please let me know how it worked for you. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-462877817891898871?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/462877817891898871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=462877817891898871' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/462877817891898871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/462877817891898871'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2011/04/installing-qt-sdk.html' title='Installing the Qt SDK'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-150201852953428950</id><published>2011-03-23T22:48:00.008+02:00</published><updated>2011-06-25T18:06:42.209+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='fonts'/><category scheme='http://www.blogger.com/atom/ns#' term='fail'/><category scheme='http://www.blogger.com/atom/ns#' term='wheezy'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='Squeeze'/><title type='text'>Debian Firefox 4 Font Failure</title><content type='html'>&lt;span style="font-size: x-small;"&gt;[&lt;b&gt;Update 2011-06-25&lt;/b&gt;: You should consider this post obsolete. See &lt;a href="http://lovingthepenguin.blogspot.com/2011/06/squeeze-fonts-firefox-update.html"&gt;this post&lt;/a&gt; for more info. Iceweasel 5 installs most beautifully on Wheezy.]&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&lt;/span&gt; &lt;br /&gt;I just tried building Firefox 4 on Debian Wheezy. I &lt;a href="http://lovingthepenguin.blogspot.com/2010/07/firefox-36-with-pretty-fonts-in-debian_15.html"&gt;build Firefox&lt;/a&gt; for my machines because (1) I want the latest FF and  (2) I want subpixel rendering--which tends to get turned off  sometimes|always in Debian and Ubuntu builds of Firefox and Iceweasel.&lt;br /&gt;&lt;br /&gt;My first attempt failed. Why? Because if you &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;enable-system-cairo&lt;/span&gt; in the build, FF4 insists that you  have at least version 1.10 of &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;libcairo2&lt;/span&gt;--and Wheezy and Squeeze are both at  1.8.10. One upshot of this is that there will be no way for Squeeze users to get  subpixel rendering in FF4 using the default &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;libcairo2&lt;/span&gt; packages. Wheezy users will have to wait until the  current Sid packages trickle down. Once that happens, it theoretically will be possible to backport the Wheezy &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;libcairo2&lt;/span&gt; to Squeeze (with &lt;a href="http://lovingthepenguin.blogspot.com/2010/09/scrpit-for-building-debian-squeeze.html"&gt;patches&lt;/a&gt; even) , but I am frankly getting a little tired of this.&lt;br /&gt;&lt;br /&gt;I am now making a second attempt to build FF4 wherein I did not &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;enable-system-cairo&lt;/span&gt;, and it seems to building just fine. That should be ready for testing in another hour or so. But of course I expect font rendering to be just tragically bad. (Update: it built and runs fine and renders fonts every bit as badly as I expected.) &lt;br /&gt;&lt;br /&gt;Tomorrow I will probably try building FF4 on Ubuntu 10.10, whose &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;libcairo2&lt;/span&gt; is at 1.10. I tried running the Linux prebuilt binaries from Mozilla on my Ubuntu machine, but as I have come to expect from Mozilla's FF builds, cairo did not seem to be enabled. (Update: Building on Ubuntu also failed. Apparently FF4 with&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt; enable-system-cairo&lt;/span&gt; also needs &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;cairo-tee&lt;/span&gt; greater than 1.10, but Ubuntu's &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;libcairo2&lt;/span&gt; doesn't seem to be built with &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;--enable-tee=yes&lt;/span&gt;.)&lt;br /&gt;&lt;br /&gt;It seems every other post of mine in the last couple years has dealt with the agonies I've had  in getting consistently good font rendering in Linux. It really shouldn't be this difficult.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-150201852953428950?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/150201852953428950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=150201852953428950' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/150201852953428950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/150201852953428950'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2011/03/debian-firefox-4-font-failure.html' title='Debian Firefox 4 Font Failure'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-2349901806727507527</id><published>2011-02-02T19:57:00.000+02:00</published><updated>2011-02-02T19:57:35.592+02:00</updated><title type='text'>OpenOffice.org + dark theme + Openbox</title><content type='html'>I've been noodling with the very, very dark aud-Default GTK+ theme--which also happens to play very well with the Onyx Openbox theme. However, as nicely as it plays with Onyx, it plays very, very badly with OpenOffice.org. If you get your Google on, you'll find a number of workarounds for OO.org and dark themes. What I wanted is an easy to implement and (more importantly de-implement) solution. A solution in the &lt;a href="http://crunchbanglinux.org/forums/post/55327/#p55327"&gt;Crunchbang Linux forums&lt;/a&gt; spells out just the ticket. In your &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/.config/openbox/autostart.sh&lt;/span&gt; file, add the line:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;export SAL_USE_VCLPLUGIN=gen&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;This will make OO.org fallback to its native theme ... ugly as sin, but usable.&lt;br /&gt;&lt;br /&gt;Note that if you are having the opposite problem--that you can't get OO.org to render with your GTK theme--then try adding:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;export OOO_FORCE_DESKTOP=gnome&lt;br /&gt;export SAL_USE_VCLPLUGIN=gtk&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;instead. This suggestion is from the &lt;a href="http://crunchbang.org/archives/2007/12/23/openbox-openoffice-dot-org-and-gtk/"&gt;#! forums&lt;/a&gt; and &lt;a href="http://urukrama.wordpress.com/openbox-guide/#OpenOffice"&gt;Urukrama's blog&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;There are a few other usability issues I'm having with aud-Default , but I'm willing to work at it some more given the sweet way it renders entries in fbpanel's taskbar.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-2349901806727507527?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/2349901806727507527/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=2349901806727507527' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/2349901806727507527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/2349901806727507527'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2011/02/openofficeorg-dark-theme-openbox.html' title='OpenOffice.org + dark theme + Openbox'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-4140826177876617277</id><published>2011-01-02T12:55:00.008+02:00</published><updated>2011-01-02T21:21:56.549+02:00</updated><title type='text'>Fixing overzealous hard drive head parking</title><content type='html'>Debian Squeeze on my &lt;a href="http://lovingthepenguin.blogspot.com/2010/10/fixing-brightnes-control-etc-on-samsung.html"&gt;Samsung R510&lt;/a&gt; has been working very well, with one exception: &lt;i&gt;pause... pause... click... pause... pause... pause... click...&lt;/i&gt; The hard drive seems to be overzealous about parking its heads. There are some (strawman alert?) who feel that heavy head parking actually reduces the life of a drive. Whether or not that's the case, I find the frequent clicking to be downright annoying on this otherwise intensely quiet computer.&lt;br /&gt;&lt;br /&gt;As is the case with many things in Linux, a fix is at hand. Many thanks to &lt;a href="http://www.sammynetbook.com/forum/threads/9067-%28Sounds-like%29-excessive-head-parking-on-Fedora-10"&gt;SammyNetbook&lt;/a&gt; for pointing the way. The frequency of head parking can be changed by lowering the aggressiveness of APM power saving through the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;hdparm&lt;/span&gt; command. In the case of my lappy, running&lt;br /&gt;&lt;br /&gt;&lt;code&gt;# hdparm -B 254 /dev/sda&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;(as root) solved the headparking issue. (There maybe lower levels that work as well, but I'm happy enough with the result now that I haven't experimented.)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Running the command at startup&lt;/b&gt;&lt;br /&gt;The effect of the above command ends at restart. To automatically run it when my lappy starts up, I used &lt;a href="http://www.debian-administration.org/articles/28"&gt;init.d&lt;/a&gt;. I first created a file &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;mfk-hdsilence.sh&lt;/span&gt; in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/init.d&lt;/span&gt;:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;#! /bin/sh&lt;br /&gt;# /etc/init.d/mfk-hdsilence.sh&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;# Some things that run always&lt;br /&gt;hdparm -B 254 /dev/sda&lt;br /&gt;&lt;br /&gt;exit 0&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Then to activate this: &lt;br /&gt;&lt;code&gt;# update-rc.d mfk-hdsilence.sh defaults&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;I got a warning when I did this, but it seemed safe to ignore. Result? A non-clicky, super silent lappy. Life is good.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update:&lt;/b&gt; it seems suspending the lappy resets the drive's APM, so I'll need to figure out a way to rerun hdparm when waking up. I am currently experimenting with placing a file &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;30_mfk-hdsilence.sh&lt;/span&gt; in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/pm/sleep.d&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;#! /bin/sh&lt;br /&gt;# 30_mfk-hdsilence.sh&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;# silence aggressive head parking&lt;br /&gt;case ${1} in&lt;br /&gt; resume|thaw)&lt;br /&gt;  hdparm -B 254 /dev/sda&lt;br /&gt;  ;;&lt;br /&gt;esac&lt;br /&gt;&lt;br /&gt;exit 0&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;It seems to be working, but I'll need to live with it for a while to make sure. Suspending under Linux is always stressful for me.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-4140826177876617277?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/4140826177876617277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=4140826177876617277' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4140826177876617277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4140826177876617277'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2011/01/fixing-overzealous-hard-drive-head.html' title='Fixing overzealous hard drive head parking'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-1764663638724709742</id><published>2010-12-20T22:34:00.001+02:00</published><updated>2010-12-21T00:44:55.788+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='openbox'/><category scheme='http://www.blogger.com/atom/ns#' term='Xfce'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='Squeeze'/><category scheme='http://www.blogger.com/atom/ns#' term='gnome'/><category scheme='http://www.blogger.com/atom/ns#' term='xdg'/><title type='text'>XDG menus in Openbox</title><content type='html'>Now I feel stupid. For year(s) I've been sorta griping about how the Openbox menu doesn't give you a program listing that coincides with what you get in GNOME, Xfce, and even fbpanel. I've hunted for solutions to this before but came up short. Turns out the solution is insanely simple.&lt;br /&gt;&lt;br /&gt;The following is a direct quote from from the excellent &lt;a href="https://wiki.archlinux.org/index.php/Openbox#Obm-xdg"&gt;ArchWiki&lt;/a&gt;. I tried it in Ubuntu Maverick and it works.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;b&gt;Obm-xdg&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;obm-xdg&lt;/span&gt; is a command-line tool that comes with Obmenu. It can generate a categorized sub-menu of installed GTK/GNOME applications.&lt;br /&gt;&lt;br /&gt;To use &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;obm-xdg&lt;/span&gt;, add the following line to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/.config/openbox/menu.xml&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;{menu execute="obm-xdg" id="xdg-menu" label="xdg"/}&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;span style="font-size: x-small;"&gt;(note: the curly brackets above should actually be angled brackets, but this crazy Blogger interface makes it close to impossible to write the above with angled brackets.) &lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Then run &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;openbox --reconfigure&lt;/span&gt; to refresh the Openbox menu. You should now see a sub-menu labeled xdg in your menu.&lt;br /&gt;&lt;br /&gt;Note: If you do not have GNOME installed, then you need to install &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;gnome-menus&lt;/span&gt; package for &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;obm-xdg&lt;/span&gt; to work.&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Update&lt;/b&gt;: This is having issues on Squeeze. More later as I (if I) figure it out.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-1764663638724709742?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/1764663638724709742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=1764663638724709742' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1764663638724709742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1764663638724709742'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/12/xdg-menus-in-openbox.html' title='XDG menus in Openbox'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-4730188517455200099</id><published>2010-12-18T18:51:00.004+02:00</published><updated>2011-04-03T02:47:35.750+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='swing'/><title type='text'>Java Swing anti-aliased font rendering</title><content type='html'>&lt;span style="font-size: x-small;"&gt;[&lt;b&gt;Update 2011-04-03&lt;/b&gt;:&amp;nbsp; The &lt;a href="https://wiki.archlinux.org/index.php/Java_Fonts_-_Sun_JRE"&gt;Arch Wiki&lt;/a&gt; describes lots of options for the export below. I've been having good results with &lt;code&gt;export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=setting']&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Today I noticed fonts in my &lt;a href="https://secure.wikimedia.org/wikipedia/en/wiki/Swing_%28Java%29"&gt;Swing&lt;/a&gt;-based Java apps were utterly hideous. They were no longer being rendered with anti-aliasing. I don't know if this is because today I logged into a minimal Openbox+fbpabel setup and GNOME was handling this automatically or if it's caused by some other subtle thingy.&lt;br /&gt;&lt;br /&gt;No matter, it's pretty easy to fix. Add&lt;br /&gt;&lt;br /&gt;&lt;code&gt;export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on"&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;to your &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/.profile&lt;/span&gt; file. You'll probably then have to logout and back in. After this anti-alised rendering will be the default.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.linuxquestions.org/questions/linux-software-2/java-swing-anti-aliasing-610175/"&gt;Supposedly&lt;/a&gt;, you can do this system-wide by adding&lt;br /&gt;&lt;br /&gt;&lt;code&gt;_JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on"&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;to your &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/environment&lt;/span&gt; file, but I have not tried this.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update&lt;/b&gt; There is one downside to this: the JVM will write &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on&lt;/span&gt; to the console. It's not a deal-breaker, but it is a little annoying.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-4730188517455200099?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/4730188517455200099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=4730188517455200099' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4730188517455200099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4730188517455200099'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/12/java-swing-anti-aliased-font-rendering.html' title='Java Swing anti-aliased font rendering'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-7587726751265506242</id><published>2010-10-21T17:53:00.000+03:00</published><updated>2010-10-21T17:53:19.897+03:00</updated><title type='text'>No Gnome in Maverick Meerkat</title><content type='html'>I am a little surprised that no one has yet commented on how there is no longer a Gnome entry in the Ubuntu Maverick Meerkat login screen. Instead, you have various options for "Ubuntu Desktop Edition." When you select "Ubuntu Desktop Edition" you get something that looks, acts, smells, and sounds almost exactly like Gnome. For now.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-7587726751265506242?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/7587726751265506242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=7587726751265506242' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/7587726751265506242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/7587726751265506242'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/10/no-gnome-in-maverick-meerkat.html' title='No Gnome in Maverick Meerkat'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-8222335650147680046</id><published>2010-10-19T21:09:00.000+03:00</published><updated>2010-10-19T21:09:53.122+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='touchpad'/><category scheme='http://www.blogger.com/atom/ns#' term='Xfce'/><category scheme='http://www.blogger.com/atom/ns#' term='Squeeze'/><category scheme='http://www.blogger.com/atom/ns#' term='gnome'/><title type='text'>Enabling touchpad clicking and edge scrolling in Squeeze</title><content type='html'>Gnome has a mouse configuration interface that lets you enable touchpad clicking and scrolling. But if you are a Debian Squeeze user and prefer Xfce, LXDE, or some handmade alternative, you will find that your touchpad's clicking and edge scrolling won't work [1]. You'll also find that those functions don't work in the GDM login screen even if you do use Gnome. No probs. The fix is easy.&lt;br /&gt;&lt;br /&gt;To fix:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Open&amp;nbsp; &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/usr/share/X11/xorg.conf.d/50-synaptics.conf&lt;/span&gt; (as root) in an editor.&lt;/li&gt;&lt;li&gt;Add the text&lt;code&gt;&lt;br /&gt;Option "TapButton1" "1"&lt;br /&gt;Option "VertEdgeScroll" "1"&lt;/code&gt;&lt;br /&gt;between &lt;code&gt;Section "InputClass"&lt;/code&gt; and &lt;code&gt;EndSection&lt;/code&gt;.&lt;/li&gt;&lt;li&gt;Save, reboot and enjoy.&lt;/li&gt;&lt;/ol&gt;Note that if you use Gnome, you might find that your old mouse settings are messed up after the above. Set them again and all should be fine.&lt;br /&gt;&lt;br /&gt;If you don't like the idea of changing system config files, you can use &lt;a href="http://linux.die.net/man/1/synclient"&gt;synclient&lt;/a&gt; in a startup script to enable things as well. &lt;br /&gt;&lt;br /&gt;Useful links:&lt;br /&gt;&lt;ul&gt;&lt;li&gt; &lt;a href="http://fedoraforum.org/forum/showthread.php?t=244594"&gt;http://fedoraforum.org/forum/showthread.php?t=244594&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.linuxquestions.org/questions/slackware-14/touchpad-doesnt-click-anymore-after-updating-to-current-732251/#post3572230"&gt;http://www.linuxquestions.org/questions/slackware-14/touchpad-doesnt-click-anymore-after-updating-to-current-732251/#post3572230&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;[1] At least at the time of this writing. When Squeeze is eventually released, this may change.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-8222335650147680046?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/8222335650147680046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=8222335650147680046' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/8222335650147680046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/8222335650147680046'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/10/enabling-touchpad-clicking-and-edge.html' title='Enabling touchpad clicking and edge scrolling in Squeeze'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-229095014784742057</id><published>2010-10-14T21:41:00.004+03:00</published><updated>2010-11-19T08:04:44.791+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='Squeeze'/><title type='text'>Fixing brightnes control, etc. on a Samsung R510 with Debian Squeeze</title><content type='html'>I finally got around to installing Linux on my Samsung R510 laptop. One of the problems with Samsung laptops is that they don't play well with some Linux standards. One example is the brightness control--it just doesn't work. There are some other issues that are less irritating, but this one is the worst for me.&lt;br /&gt;&lt;br /&gt;There is a &lt;a href="http://www.voria.org/forum"&gt;fix&lt;/a&gt; for these ails that was developed for Ubuntu (some of which is also at &lt;a href="http://code.google.com/p/easy-slow-down-manager/"&gt;Google code&lt;/a&gt;.). The problem is that my current distribution of choice is Debian Testing (Squeeze). The good news is that these bits developed for Ubuntu can be used in Squeeze as well.&lt;br /&gt;&lt;br /&gt;We need to install three different packages: &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;easy-slow-down-manager&lt;/span&gt;, &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;samsung-backlight&lt;/span&gt;, and &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;samsung-tools&lt;/span&gt;. Here's what I did after &lt;a href="http://lovingthepenguin.blogspot.com/2010/10/workaround-for-installing-dektops-in.html"&gt;installing Squeeze with Gnome&lt;/a&gt; on the R510:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;easy-slow-down-manager&lt;/b&gt;&lt;br /&gt;Download the Maverick *.deb for &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;easy-slow-down-manager&lt;/span&gt; from from &lt;a href="https://launchpad.net/%7Evoria/+archive/ppa"&gt;https://launchpad.net/~voria/+archive/ppa&lt;/a&gt; and install it directly with gdebi or your favorite package installer. It's all DKMS source code, so installing the package in Squeeze should be ok.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;samsung-backlight&lt;/b&gt;&lt;br /&gt;Downloaded the Maverick *.deb for &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;samsung-backlight&lt;/span&gt; from from &lt;a href="https://launchpad.net/%7Evoria/+archive/ppa"&gt;https://launchpad.net/~voria/+archive/ppa&lt;/a&gt; and install it directly with gdebi or your favorite package installer. Like &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;easy-slow-down-manager&lt;/span&gt;, it's all DKMS source, so installing the package in Squeeze should be ok.&lt;br /&gt;&lt;br /&gt;With a lot of Samsung laptops, we'd be done with these two packages. Sadly, the R510 needs some extra love. The following is taken almost verbatim from &lt;a href="http://www.voria.org/forum/viewtopic.php?f=3&amp;amp;t=516&amp;amp;start=0&amp;amp;hilit=r510"&gt;http://www.voria.org/forum/viewtopic.php?f=3&amp;amp;t=516&amp;amp;start=0&amp;amp;hilit=r510&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;First (as root):&lt;br /&gt;&lt;code&gt;# gedit /lib/udev/rules.d/95-keyboard-force-release.rules&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;In the Samsung section you will see a line with &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;*N130*|*N140*&lt;/span&gt; etc. Add &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;|*R510*&lt;/span&gt; there&lt;br /&gt;&lt;br /&gt;Do the same for:&lt;br /&gt;&lt;code&gt;# gedit /lib/udev/rules.d/95-keymap.rules&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Next, add "acpi_backlight=vendor" to grub:&lt;br /&gt;&lt;code&gt;# gedit /etc/default/grub&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;and add &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;"acpi_backlight=vendor"&lt;/span&gt; to the line &lt;code&gt;GRUB_CMDLINE_LINUX_DEFAULT&lt;/code&gt; so it looks like&lt;br /&gt;&lt;code&gt;GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi_backlight=vendor"&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Save the file and then update grub:&lt;br /&gt;&lt;code&gt;# update-grub&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;samsung-tools&lt;/b&gt;&lt;br /&gt;It may or may not be ok to install the Ubuntu package for &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;samsung-tools&lt;/span&gt; on Squeeze, but since it's got binaries in it, this is risky. I decided to download the sources and build a package on the Squeeze-equipped R510 instead. Start by getting some build tools:&lt;br /&gt;&lt;code&gt;# apt-get install build-essential devscripts fakeroot&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Then from &lt;a href="https://launchpad.net/%7Evoria/+archive/ppa"&gt;https://launchpad.net/~voria/+archive/ppa&lt;/a&gt; get the Maverick &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;*.tar.gz&lt;/span&gt; sources for &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;samsung-tools&lt;/span&gt;. Expand the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;*.tar.gz&lt;/span&gt; and inside the directory that has the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;debian&lt;/span&gt; directory (i.e., &lt;i&gt;not&lt;/i&gt; in the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;debian&lt;/span&gt; directory, but in the directory immediately above), open a term and:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;dch -l {your initials}&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;and add comment like "Compiled for Debian." Close the editor and in the term build the package with:&lt;br /&gt;&lt;code&gt;dpkg-buildpackage -rfakeroot -us -uc&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;You may need to add additional dependencies if it fails. Pay attention to the error messages. Assuming it completes, this will generate a &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;*.deb&lt;/span&gt; package file. Install it using gdebi or whatever.&lt;br /&gt;&lt;br /&gt;After rebooting, you should now have working brightness buttons and a host of other working {Fn}-{&lt;i&gt;Fsomething&lt;/i&gt;} keys. You will also have a new app under &lt;i&gt;System-&amp;gt;Preferences-&amp;gt;Samsung Tools Preferences&lt;/i&gt; that you can use to change keybindings, etc and/or run as a Gnome panel app.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;If it doesn't work&lt;/b&gt;&lt;br /&gt;If the above doesn't work, you may be interested in playing with &lt;a href="http://www.pietrobattiston.it/brightung/"&gt;brightung&lt;/a&gt;. I haven't played with it except to confirm that (as root)&lt;br /&gt;&lt;br /&gt;&lt;code&gt;# setpci -s 00:02.0 F4.B={some-hex-number}&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;changes the brightness on my R510.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-229095014784742057?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/229095014784742057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=229095014784742057' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/229095014784742057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/229095014784742057'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/10/fixing-brightnes-control-etc-on-samsung.html' title='Fixing brightnes control, etc. on a Samsung R510 with Debian Squeeze'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-115310393414707201</id><published>2010-10-14T20:54:00.002+03:00</published><updated>2011-12-03T10:21:51.221+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='Squeeze'/><title type='text'>Workaround for installing desktops in Squeeze</title><content type='html'>I've done a couple new &lt;a href="http://www.debian.org/devel/debian-installer/"&gt;Debian Testing installations&lt;/a&gt; in the last couple days and have noticed something strange in the installer. At a point in the installation process, you will be offered a menu of choices for major package bundles to be installed. If you want a desktop environment, you're supposed to select "Desktop environment." In the past when I did this, the following screen would offer you a choice of DTEs including Gnome, KDE, Xfce, and LXDE. However, the last few installs I tried did not. And exactly what it installs I'm not sure because I wasn't willing to wait 3 hours (at my connection speeds) for the download and install process to complete. So here's the workaround:&lt;br /&gt;&lt;br /&gt;First, using the installer, install the system you want but &lt;i&gt;do not install a desktop environment.&amp;nbsp;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;When the installation completes, login using the command line. Then become root&lt;br /&gt;&lt;code&gt;su&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Next, make sure you have &lt;a href="http://wiki.debian.org/tasksel"&gt;tasksel&lt;/a&gt; installed:&lt;br /&gt;&lt;code&gt;# apt-get install aptitude tasksel&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Finally, use tasksel to install your desktop. To &lt;a href="http://wiki.debian.org/Gnome#task"&gt;install Gnome&lt;/a&gt;:&lt;br /&gt;&lt;code&gt;# tasksel install gnome-desktop --new-install&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Reboot:&lt;br /&gt;&lt;code&gt;# reboot&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;and when your computer restarts, you should be good to go.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-115310393414707201?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/115310393414707201/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=115310393414707201' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/115310393414707201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/115310393414707201'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/10/workaround-for-installing-dektops-in.html' title='Workaround for installing desktops in Squeeze'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-2884426840587313964</id><published>2010-09-29T18:03:00.013+03:00</published><updated>2011-06-25T18:06:02.046+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fonts'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='Squeeze'/><category scheme='http://www.blogger.com/atom/ns#' term='libcairo2'/><title type='text'>Scrpit for building Debian Squeeze libcairo2 with Ubuntu patches</title><content type='html'>&lt;span style="font-size: x-small;"&gt;[&lt;b&gt;Update 2011-06-25&lt;/b&gt;: Indeed, you should consider this post obsolete. See &lt;a href="http://lovingthepenguin.blogspot.com/2011/06/squeeze-fonts-firefox-update.html"&gt;this post&lt;/a&gt; for more info.]&amp;nbsp;&lt;/span&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;[&lt;b&gt;Update 2011-06-24&lt;/b&gt;: This whole business may be unnecessary as it appears installing a recent version of Iceweasel from &lt;a href="http://mozilla.debian.net/"&gt;http://mozilla.debian.net/&lt;/a&gt;  also installs new libcairo2 with decent font rendering. I've yet to do  careful comparisons, but it's possible that this solves both "ugly  rendering in general" as well as "ugly rendering in Firefox" issues.]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;[&lt;b&gt;Update 2011-03-06&lt;/b&gt; Reader datSilencer &lt;a href="http://lovingthepenguin.blogspot.com/2010/09/scrpit-for-building-debian-squeeze.html?showComment=1298998995055#c696264995550936585"&gt;points out&lt;/a&gt; that the location of the Arch patch has changed. I have updated the script to reflect the change.]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Based on &lt;a href="http://lovingthepenguin.blogspot.com/2010/07/ubuntu-font-rendering-in-debian-squeeze.html"&gt;the post I wrote earlier&lt;/a&gt;, which is itself based on work published in a &lt;a href="http://crunchbanglinux.org/forums/topic/7415/howto-font-rendering-like-ubuntu/"&gt;CrunchBang Linux Forum thread&lt;/a&gt; and by &lt;a href="http://sites.google.com/site/quanli/davidturner%27slcdcleartype-likepatchesandpackagesfordebiansid"&gt;quanliking&lt;/a&gt;, I put together a script for quasi-automatically building &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;libcario2&lt;/span&gt; for Squeeze using the Ubuntu and Arch patches.&lt;br /&gt;&lt;br /&gt;You can get the script at &lt;a href="http://download.tuxfamily.org/skinny/libcairo2-patched/build-libcairo2.sh"&gt;http://download.tuxfamily.org/skinny/libcairo2-patched/build-libcairo2.sh&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Prerequisites&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Enable sources in your &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/apt/sources.list&lt;/span&gt; (i.e.,&amp;nbsp; make sure &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;sources.list&lt;/span&gt; has something similar to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;deb-src http://ftp.us.debian.org/debian/ squeeze main non-free contrib&lt;/span&gt; in it). If you make any changes, be sure to &lt;code&gt;# apt-get update&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;# apt-get install build-essential devscripts fakeroot&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;# apt-get build-dep cairo&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;To use&lt;/b&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Download &lt;a href="http://download.tuxfamily.org/skinny/libcairo2-patched/build-libcairo2.sh"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;build-libcairo2.sh&lt;/span&gt;&lt;/a&gt; into the directory where you plan to build the packages. I recommend you start with a dedicated and empty directory.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Open the script in a text editor and change the constants at the top as documented.&lt;/b&gt; &lt;/li&gt;&lt;li&gt;Make the script executable and execute it:&lt;br /&gt;&lt;code&gt;$ chmod +x build-libcairo2.sh&lt;/code&gt;&lt;br /&gt;&lt;code&gt;$ ./build-libcairo2.sh&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Part of the way through, it will prompt you to fill in a line that opens in your default CLI editor. Do what it asks.&lt;/li&gt;&lt;li&gt;When it's finished, open a term and follow the directions to install.&lt;/li&gt;&lt;/ol&gt;&lt;b&gt;Rebuilding&lt;/b&gt;&lt;br /&gt;When it comes time to rebuild (i.e., after a new Debian release) you must start over with an empty directory. Or at the very least, you must rename the top-level folder named &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;libcairo2&lt;/span&gt; that your previous build generated. This is to make sure that you get the most recent everything and that there are no goofy problems that might lead to a build that melts Arctic ice or increases the mercury content of fish.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Todo&lt;/b&gt;&lt;br /&gt;An obvious bit of low-hanging fruit is to make entering of version info interactive, but it's arguable that that would be easier and less error prone that editing the script.&lt;br /&gt;&lt;br /&gt;To round this out, we also need an additional script or package that adds the needed files from Ubuntu's &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;fontconfig-config&lt;/span&gt; package to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/fonts/conf.avail&lt;/span&gt; and &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/fonts/conf.d&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Notes&lt;/b&gt;&lt;br /&gt;I uploaded the i386 packages that I built for my own use to &lt;a href="http://download.tuxfamily.org/skinny/libcairo2-patched"&gt;http://download.tuxfamily.org/skinny/libcairo2-patched&lt;/a&gt;. Feel free to try these if you don't feel like building them yourself. However, I'm not making any promises that I'll keep these up-to-date.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Legal disclaimer&lt;/b&gt;&lt;br /&gt;I have tested the code and packages mentioned here to make sure they don't bruise kittens or eat children. However, I wrote and built this stuff for my own use and have made it available here with no warranty of any kind whatsoever in the hopes it might be useful to others. Use at your own risk.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-2884426840587313964?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/2884426840587313964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=2884426840587313964' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/2884426840587313964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/2884426840587313964'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/09/scrpit-for-building-debian-squeeze.html' title='Scrpit for building Debian Squeeze libcairo2 with Ubuntu patches'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-7162909110516849718</id><published>2010-07-15T18:20:00.007+03:00</published><updated>2011-06-25T18:05:33.646+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='Squeeze'/><title type='text'>Firefox 3.6 with pretty fonts in Debian Squeeze (easier version)</title><content type='html'>&lt;span style="font-size: x-small;"&gt;[&lt;b&gt;Update 2011-06-25&lt;/b&gt;: You should consider this post obsolete. See &lt;a href="http://lovingthepenguin.blogspot.com/2011/06/squeeze-fonts-firefox-update.html"&gt;this post&lt;/a&gt; for more info.]&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&lt;/span&gt; &lt;br /&gt;If all the Mercurial and Namoroka in my previous posts about &lt;a href="http://lovingthepenguin.blogspot.com/2010/07/firefox-36-with-pretty-fonts-in-debian.html"&gt;building&lt;/a&gt; and &lt;a href="http://lovingthepenguin.blogspot.com/2010/07/installing-handmade-firefox-36-in.html"&gt;installing&lt;/a&gt; Firefox 3.6 in Squeeze has your head spinning a bit, here's a simplified version that gets the sources via FTP. As was the case in the previous build, this version enables &lt;a href="http://en.wikipedia.org/wiki/Cairo_%28graphics%29"&gt;cairo&lt;/a&gt; so  you get nicer font rendering. This version also configures the build to use official Mozilla Firefox branding so you don't get Deer Park icons and such. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Preproduction&lt;/b&gt;&lt;br /&gt;1) &lt;i&gt;Create a working directory.&lt;/i&gt; Use a file manger or whatever you are comfortable with to do this. I called mine &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/firefox-release&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;2) &lt;i&gt;Get all the tools and things you need to build Firefox.&lt;/i&gt; In a terminal as root (using su):&lt;br /&gt;&lt;br /&gt;&lt;code&gt;# apt-get build-dep iceweasel&lt;br /&gt;# apt-get install libasound2-dev libcurl4-openssl-dev libnotify-dev libxt-dev libiw-dev mesa-common-dev autoconf2.13 yasm&lt;br /&gt;# apt-get install libidl-dev&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Get and build&lt;/b&gt;&lt;br /&gt;1) &lt;i&gt;Get the source code.&lt;/i&gt; Open a web browser or ftp client and go to &lt;a href="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/3.6.6/source/"&gt;ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/3.6.6/source/&lt;/a&gt;. Download &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;firefox-3.6.6.source.tar.bz2&lt;/span&gt; into &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/firefox-release&lt;/span&gt;. (If &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;3.6.6&lt;/span&gt; is no longer the most recent version, then replace &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;3.6.6&lt;/span&gt; above with whatever the most recent 3.6 happens to be.)&lt;br /&gt;&lt;br /&gt;2) &lt;i&gt;Extract the archive you downloaded&lt;/i&gt;. Use &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;tar -jxvf *.tar.bz2&lt;/span&gt; on the command line or whatever GUI tool you are comfortable with. This will give you a &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;mozilla-1.9.2&lt;/span&gt; directory inside &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/firefox-release&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;3) &lt;i&gt;Make a configuration file.&lt;/i&gt; Create a new file inside &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/firefox-release/mozilla-1.9.2&lt;/span&gt; called &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;mozconfig&lt;/span&gt;. Open &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;mozconfig&lt;/span&gt; inside a text editor and paste in the following text:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;. $topsrcdir/browser/config/mozconfig&lt;br /&gt;mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-release&lt;br /&gt;#mk_add_options MOZ_MAKE_FLAGS="-j4"&lt;br /&gt;ac_add_options --disable-debug&lt;br /&gt;ac_add_options --disable-tests&lt;br /&gt;ac_add_options --enable-optimize&lt;br /&gt;ac_add_options --enable-official-branding&lt;br /&gt;ac_add_options --enable-system-cairo&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Save the file and exit the editor. &lt;br /&gt;&lt;br /&gt;3) &lt;i&gt;Build the beast&lt;/i&gt; by opening a terminal in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/firefox-release/mozilla-1.9.2&lt;/span&gt; and entering the following command:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;make -f client.mk&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Once the compile is done, the binaries will be in&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/firefox-release/mozilla-1.9.2/ff-release/dist/bin/&lt;/span&gt;.&lt;br /&gt;As a test, execute the file &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;firefox&lt;/span&gt; to make it go.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;"Install"&lt;/b&gt;&lt;br /&gt;1) &lt;i&gt;Copy the contents of the bin directory to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt&lt;/span&gt;, converting links to actual files.&lt;/i&gt; Do not try to copy the files with a file manager because it probably won't  convert the links to files--which will render your "install" nonfunctional. Instead, open a terminal and go to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/firefox-release/mozilla-1.9.2/ff-release/dist/&lt;/span&gt;. Then become root (using su) and do:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;# cp -R -L bin /opt/firefox-release&lt;br /&gt;# chown root:root -R /opt/firefox-release&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;You should now have a new directory in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt&lt;/span&gt; called &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;firefox-release&lt;/span&gt;. Inside it will be an executable file called &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;firefox&lt;/span&gt;. If all went well, executing this file (NOT as root) will launch the browser.&lt;br /&gt;&lt;br /&gt;2) &lt;i&gt;Create a command that lets you launch the browser.&lt;/i&gt; As root, make a softlink from &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/usr/local/bin/firefox&lt;/span&gt; to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt/firefox-release/firefox&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;# ln -s /opt/firefox-release/firefox /usr/local/bin/firefox&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;3) &lt;i&gt;Create a desktop file to introduce the new stuff to the menu.&lt;/i&gt; As root, create a file called &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;firefox-release.desktop&lt;/span&gt; in&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt; /usr/local/share/applications&lt;/span&gt; (adding any directories that aren't already present.) Paste the following into &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;firefox-release.desktop&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;[Desktop Entry]&lt;br /&gt;Encoding=UTF-8&lt;br /&gt;Name=Firefox Release&lt;br /&gt;Comment=Browse the World Wide Web&lt;br /&gt;GenericName=Web Browser&lt;br /&gt;X-GNOME-FullName=Firefox Web Browser&lt;br /&gt;Exec=firefox %u&lt;br /&gt;Terminal=false&lt;br /&gt;X-MultipleArgs=false&lt;br /&gt;Type=Application&lt;br /&gt;Icon=/opt/firefox-release/icons/mozicon128.png&lt;br /&gt;Categories=Network;WebBrowser;&lt;br /&gt;MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;&lt;br /&gt;StartupWMClass=Firefox-bin&lt;br /&gt;StartupNotify=true&lt;br /&gt;Name[en_US]=Firefox Release&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Save the file and exit the editor.&lt;br /&gt;&lt;br /&gt;You're done.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-7162909110516849718?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/7162909110516849718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=7162909110516849718' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/7162909110516849718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/7162909110516849718'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/07/firefox-36-with-pretty-fonts-in-debian_15.html' title='Firefox 3.6 with pretty fonts in Debian Squeeze (easier version)'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-546039323767202786</id><published>2010-07-15T00:36:00.001+03:00</published><updated>2010-07-15T02:14:25.684+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sabayon'/><category scheme='http://www.blogger.com/atom/ns#' term='openoffice'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='Squeeze'/><title type='text'>Fixing OpenOffice.org font rendering in Debian Squeeze</title><content type='html'>I guess I'm on a roll with font rendering improvements...&lt;br /&gt;&lt;br /&gt;After &lt;a href="http://lovingthepenguin.blogspot.com/2010/07/ubuntu-font-rendering-in-debian-squeeze.html"&gt;patching libcario2 in Squeeze&lt;/a&gt;, I noticed font rendering in OpenOffice.org was really awful. It may have been equally awful before and I never noticed. In any case, it's now something that needs attention.&lt;br /&gt;&lt;br /&gt;Ugly fonts in OO.org have been reported under Ubuntu and other distributions as well. A good explanation of the problem (in Ubuntu, at least) and a workable solution is offered by Mike Kasic about halfway down the bug report at &lt;a href="https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/271283"&gt;https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/271283&lt;/a&gt;. I tried his suggestions on my Squeeze installation, and it worked. If you don't want to be bothered filtering through the bug report, here's the executive summary.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Fixing just the session&lt;/b&gt;&lt;br /&gt;Open a terminal and do:&lt;br /&gt;&lt;code&gt;echo "Xft.lcdfilter:  lcddefault" | xrdb -merge&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Making the fix persist across sessions &lt;/b&gt;&lt;br /&gt;&lt;code&gt;echo "Xft.lcdfilter:  lcddefault" &amp;gt;&amp;gt; ~/.Xresources&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Apply the fix for all users all the time&lt;/b&gt;&lt;br /&gt;As root: &lt;br /&gt;&lt;code&gt;# sudo sh -c 'echo "Xft.lcdfilter:  lcddefault" &amp;gt; /etc/X11/Xresources/&lt;wbr&gt;&lt;/wbr&gt;lcd-filter-&lt;wbr&gt;&lt;/wbr&gt;lcddefault'&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Note: I have only tried the first two above. I have not tested applying the change to all users. &lt;br /&gt;&lt;br /&gt;The fix also works on my &lt;a href="http://www.sabayon.org/"&gt;Sabayon Linux 5&lt;/a&gt; install that uses the lcdpatch in cairo.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-546039323767202786?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/546039323767202786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=546039323767202786' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/546039323767202786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/546039323767202786'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/07/fixing-openofficeorg-font-rendering-in.html' title='Fixing OpenOffice.org font rendering in Debian Squeeze'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-4215335971387706788</id><published>2010-07-14T19:53:00.006+03:00</published><updated>2011-06-25T18:05:17.273+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='Swiftfox'/><category scheme='http://www.blogger.com/atom/ns#' term='Squeeze'/><title type='text'>"Installing" handmade Firefox 3.6 in Debian Squeeze</title><content type='html'>&lt;span style="font-size: x-small;"&gt;[&lt;b&gt;Update 2011-06-25&lt;/b&gt;: You should consider this post obsolete. See &lt;a href="http://lovingthepenguin.blogspot.com/2011/06/squeeze-fonts-firefox-update.html"&gt;this post&lt;/a&gt; for more info.]&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;Yesterday we saw how to &lt;a href="http://lovingthepenguin.blogspot.com/2010/07/firefox-36-with-pretty-fonts-in-debian.html"&gt;build Firefox 3.6 from sources&lt;/a&gt;. This post shows you how to "install" it.&lt;br /&gt;&lt;br /&gt;The reason I put "install" in quotes is because it's arguable that what we're going to do is a real installation. In a real Linux installation, you splay the various bits and pieces of your app into&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt; /usr/local/bin&lt;/span&gt;, &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/usr/local/share&lt;/span&gt;, &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/usr/local/lib&lt;/span&gt;, and various other places (or &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/usr/bin&lt;/span&gt;, &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/usr/share&lt;/span&gt;, &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/usr/lib&lt;/span&gt; if it's an official distribution package). What we are going to do here is take the easy way out--but a way that lots of "packages" take. We're going to dump stuff into &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;If you open up &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;{whatever}/firefox-mercurial/192src/objdir-ff-release/dist/bin/&lt;/span&gt; (or wherever you built your sources), you'll see that quite a few of the items in the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;bin&lt;/span&gt; directory are relative links to resources outside &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;bin&lt;/span&gt;. If we try a conventional copy of the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;bin&lt;/span&gt; directory to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt&lt;/span&gt;, what we get won't work because the targets of those links won't be copied. You could copy the whole &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;objdir-ff-release&lt;/span&gt; to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt&lt;/span&gt;, which will copy the needed link targets, but this will produce something many MB more than we need. The solution is to convert the links into targets themselves when you copy the file. This is actually pretty easy to do using the command line.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Copy the bin&lt;/b&gt;&lt;br /&gt;Open a terminal in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;{whatever}/firefox-mercurial/192src/objdir-ff-release/dist&lt;/span&gt;. From there, become root (using su) and then:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;# cp -R -L bin /opt/ff-from-src&lt;br /&gt;# chown root:root -R /opt/ff-from-src&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;You should now have a new directory in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt&lt;/span&gt; called &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;ff-from-src&lt;/span&gt;. Inside it will be an executable file called &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;firefox&lt;/span&gt;, and what used to be links will now be actual files. If all went well, executing this file (NOT as root) will launch the browser.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Making commands&lt;/b&gt;&lt;br /&gt;We will next do a couple things to let you launch your new Firefox as a command and add an item to your menu.&lt;br /&gt;&lt;br /&gt;1. Using whatever mechanism you are most comfortable with, make a softlink called &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;firefox&lt;/span&gt; in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/usr/local/bin&lt;/span&gt; to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt/ff-from-src/firefox&lt;/span&gt;. You'll need to do this as root.&lt;br /&gt;&lt;br /&gt;2. Add a png icon called &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;firefox-namoroka.png&lt;/span&gt; to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/usr/local/share/pixmaps/mozilla&lt;/span&gt;. You'll probably need to add the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;pixmaps&lt;/span&gt; and &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;mozilla&lt;/span&gt; directories. Again you'll have to be root to do this. The icon can be whatever you want the icon to be in your menu. I used &lt;a href="http://iconpacks.mozdev.org/packs/firefox2005.html"&gt;this one&lt;/a&gt;, even though it's the same one that &lt;a href="http://getswiftfox.com/"&gt;Swiftfox&lt;/a&gt; uses. I wanted an icon that said "Firefox" but that differentiated itself from the stock FF icon. I scaled the icon to 128x128. Another nice icon is &lt;a href="http://commons.wikimedia.org/wiki/File:Firefox_LiNsta.png"&gt;this one&lt;/a&gt;, but in spite of the attribution given on the page, I'm not sure it's actually GPL or where it originally came from.&lt;br /&gt;&lt;br /&gt;3. Create a file called &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;firefox-namoroka.desktop&lt;/span&gt; in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/usr/local/share/applications&lt;/span&gt; again adding any directories you need and again as root. Copy/paste the following into &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;firefox-namoroka.desktop&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;[Desktop Entry]&lt;br /&gt;Encoding=UTF-8&lt;br /&gt;Name=Firefox Namoroka&lt;br /&gt;Comment=Browse the World Wide Web&lt;br /&gt;GenericName=Web Browser&lt;br /&gt;X-GNOME-FullName=Firefox Web Browser&lt;br /&gt;Exec=firefox %u&lt;br /&gt;Terminal=false&lt;br /&gt;X-MultipleArgs=false&lt;br /&gt;Type=Application&lt;br /&gt;Icon=/usr/local/share/pixmaps/mozilla/firefox-namoroka.png&lt;br /&gt;Categories=Network;WebBrowser;&lt;br /&gt;MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;&lt;br /&gt;StartupWMClass=Firefox-bin&lt;br /&gt;StartupNotify=true&lt;br /&gt;Name[en_US]=Firefox Namoroka&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;You should now have an entry in your desktop menu and other desktop integration niceness.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-4215335971387706788?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/4215335971387706788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=4215335971387706788' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4215335971387706788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4215335971387706788'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/07/installing-handmade-firefox-36-in.html' title='&quot;Installing&quot; handmade Firefox 3.6 in Debian Squeeze'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-7724391160112304793</id><published>2010-07-13T20:18:00.011+03:00</published><updated>2011-06-25T18:05:01.627+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='Iceweasel'/><category scheme='http://www.blogger.com/atom/ns#' term='IceCat'/><category scheme='http://www.blogger.com/atom/ns#' term='Swiftfox'/><category scheme='http://www.blogger.com/atom/ns#' term='Squeeze'/><title type='text'>Firefox 3.6 with pretty fonts in Debian Squeeze</title><content type='html'>&lt;span style="font-size: x-small;"&gt;[&lt;b&gt;Update 2011-06-25&lt;/b&gt;: You should consider this post obsolete. See &lt;a href="http://lovingthepenguin.blogspot.com/2011/06/squeeze-fonts-firefox-update.html"&gt;this post&lt;/a&gt; for more info.]&amp;nbsp;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;Iceweasel 3.6 has yet to trickle down to Debian Testing and very well may not make it before the freeze. However, some of us would like to have some 3.6iness in spite of this. If you've tried downloading SwiftFox, IceCat or the Firefox 3.6 binaries, you know that you get a 3.6, but the font rendering looks poopy.&lt;br /&gt;&lt;br /&gt;Here's what I did to compile FF 3.6 from sources and get the same smooth font rendering that you get with Iceweasel 3.5 from the Squeeze repo. I'm not an expert, but this seems to have worked.&lt;br /&gt;&lt;br /&gt;The following is based mostly on Mozilla's documentation on a &lt;a href="https://developer.mozilla.org/En/Simple_Firefox_build"&gt;Simple Firefox Build&lt;/a&gt; and &lt;a href="https://developer.mozilla.org/En/Developer_Guide/Build_Instructions/Linux_Prerequisites"&gt;Linux Prerequisites&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Preproduction&lt;/b&gt;&lt;br /&gt;First, create a working directory. I called mine &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;firefox-mercurial&lt;/span&gt;. The reason for the name will become obvious shortly.&lt;br /&gt;&lt;br /&gt;Next, get the tools you need to build stuff. Since there's no &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;firefox&lt;/span&gt; package in the Debian repos, I used (as root):&lt;br /&gt;&lt;br /&gt;&lt;code&gt;# apt-get build-dep iceweasel&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Then install a bunch of other stuff that is supposedly needed:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;# apt-get install mercurial libasound2-dev libcurl4-openssl-dev libnotify-dev libxt-dev libiw-dev mesa-common-dev autoconf2.13 yasm&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;You will also have to add:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;# apt-get install libidl-dev&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This isn't documented anywhere that I know of. I found this out the hard way after my first attempts to compile failed.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Get sources &lt;/b&gt;&lt;br /&gt;With a regular user terminal open in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;firefox-mercurial&lt;/span&gt;, use mercurial to get the sources:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;hg clone http://hg.mozilla.org/releases/mozilla-1.9.2/ 192src&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This will get you the latest, most update, bleeding edge version of 3.6--which may or may not be the same as the release version. For example, at the time of this writing, the latest version is 3.6.8pre and the latest release is 3.6.6. To specify the exact version you want, use &lt;i&gt;#{tag}&lt;/i&gt;, where &lt;i&gt;{tag}&lt;/i&gt; is&amp;nbsp; one of tags listed at &lt;a href="http://hg.mozilla.org/releases/mozilla-1.9.2/"&gt;http://hg.mozilla.org/releases/mozilla-1.9.2/&lt;/a&gt;. For example, to get and build FF 3.6.6:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;hg clone http://hg.mozilla.org/releases/mozilla-1.9.2/#FIREFOX_3_6_6_RELEASE 192src&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Getting the sources will take a long time, but not nearly as long as compiling will later on.&lt;br /&gt;&lt;br /&gt;Next we need to move into the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;192src&lt;/span&gt; directory and set up the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;mozconfig&lt;/span&gt; file that tells the system how to build firefox:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;cd 192src&lt;br /&gt;echo '. $topsrcdir/browser/config/mozconfig' &amp;gt; mozconfig&lt;br /&gt;echo 'mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-ff-release' &amp;gt;&amp;gt; mozconfig&lt;br /&gt;echo 'mk_add_options MOZ_MAKE_FLAGS="-j4"' &amp;gt;&amp;gt; mozconfig&lt;br /&gt;echo 'ac_add_options --disable-debug' &amp;gt;&amp;gt; mozconfig&lt;br /&gt;echo 'ac_add_options --disable-tests' &amp;gt;&amp;gt; mozconfig&lt;br /&gt;echo 'ac_add_options --enable-optimize' &amp;gt;&amp;gt; mozconfig&lt;br /&gt;echo 'ac_add_options --enable-system-cairo' &amp;gt;&amp;gt; mozconfig&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;objdir-ff-release&lt;/span&gt; is the name of the directory that built stuff will end up in. You can change this name if you want. The line with &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;--enable-optimize&lt;/span&gt; is optional. The last option above, &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;--enable-system-cairo&lt;/span&gt;, I found looking through the list of &lt;a href="https://developer.mozilla.org/en/Configuring_Build_Options"&gt;available options&lt;/a&gt;, and I'm pretty sure it's what gives you nice font rendering in GTK+ environments.&lt;br /&gt;&lt;br /&gt;Build the beast with&lt;br /&gt;&lt;br /&gt;&lt;code&gt;make -f client.mk&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The build will take forever. Once the compile is done, the binaries will be in&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;{whatever}/firefox-mercurial/192src/objdir-ff-release/dist/bin/&lt;/span&gt;.&lt;br /&gt;Execute the file &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;firefox&lt;/span&gt; to make it go.&lt;br /&gt;&lt;br /&gt;When you make it go, you'll notice that the app is identified by its code name, Namoroka. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Updating&lt;/b&gt;&lt;br /&gt;I have not yet tried this, but according to Mozilla's documentation, to build a new version you'll need to update the sources with&lt;br /&gt;&lt;br /&gt;&lt;code&gt;hg pull -r default&lt;br /&gt;hg update&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;I suspect you do this in the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;192src&lt;/span&gt; directory and I suspect you'll need to rebuild as above afterward. Also, I suspect that in place of &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;default&lt;/span&gt; above you'll want to use a valid tag (as when you first cloned the sources), but until I actually update I won't be able to say for sure.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Extra credit&lt;/b&gt;&lt;br /&gt;Once I've done some more testing, I will be move the built files to /opt/firefox and add a *.desktop entry for it. The big question is whether I should call it 'Firefox' or 'Namoroka'.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-7724391160112304793?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/7724391160112304793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=7724391160112304793' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/7724391160112304793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/7724391160112304793'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/07/firefox-36-with-pretty-fonts-in-debian.html' title='Firefox 3.6 with pretty fonts in Debian Squeeze'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-965851960824836696</id><published>2010-07-10T01:22:00.012+03:00</published><updated>2011-06-25T18:03:26.845+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fonts'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='Squeeze'/><category scheme='http://www.blogger.com/atom/ns#' term='libcairo2'/><title type='text'>Ubuntu font rendering in Debian Squeeze</title><content type='html'>&lt;span style="font-size: x-small;"&gt;[&lt;b&gt;Update 2011-06-25&lt;/b&gt;: &lt;/span&gt;&lt;span style="font-size: x-small;"&gt;Confirmed. Updating Iceweasel from &lt;/span&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://mozilla.debian.net/"&gt;http://mozilla.debian.net/&lt;/a&gt; fixes fonts. See &lt;a href="http://lovingthepenguin.blogspot.com/2011/06/squeeze-fonts-firefox-update.html"&gt;this post&lt;/a&gt; for more info. So there's no longer any real need to do what's below.]  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;[&lt;b&gt;Update 2011-06-24&lt;/b&gt;: This whole business may be unnecessary as it appears installing a recent version of Iceweasel from &lt;a href="http://mozilla.debian.net/"&gt;http://mozilla.debian.net/&lt;/a&gt;  also installs new libcairo2 with decent font rendering. I've yet to do  careful comparisons, but it's possible that this solves both "ugly  rendering in general" as well as "ugly rendering in Firefox" issues.]&lt;/span&gt; &lt;br /&gt;&lt;span style="font-size: x-small;"&gt;[&lt;b&gt;Update 2011-03-08&lt;/b&gt;:]&amp;nbsp; Reader datSilencer &lt;a href="http://lovingthepenguin.blogspot.com/2010/09/scrpit-for-building-debian-squeeze.html?showComment=1298998995055#c696264995550936585"&gt;points out&lt;/a&gt; that the location of the Arch patch has moved. Therefore, the process for extracting and applying the Arch patch won't work. I am updating the &lt;a href="http://lovingthepenguin.blogspot.com/2010/09/scrpit-for-building-debian-squeeze.html"&gt;script&lt;/a&gt; but I won't be updating this post. If you want to do things manually, please consult the script for the needed changes.]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;[&lt;b&gt;Update 2010-09-23&lt;/b&gt;: I &lt;a href="http://lovingthepenguin.blogspot.com/2010/09/scrpit-for-building-debian-squeeze.html"&gt;made a script&lt;/a&gt; to semi-automate a lot of the following.]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I love Debian. I really do. But one thing I don't love about Debian is the way it renders fonts in GTK. Or rather, the way Ubuntu renders fonts has spoiled me. After reading about how some people have successfully patched their libraries to use the same changes used by Ubuntu, I've finally succeeded myself. It's been so gratifying and such a good learning experience that I wanted to share.&lt;br /&gt;&lt;br /&gt;The process below is based on information from the &lt;a href="http://crunchbanglinux.org/forums/topic/7415/howto-font-rendering-like-ubuntu/"&gt;CrunchBang Linux Forums&lt;/a&gt; and from one &lt;a href="http://sites.google.com/site/quanli/davidturner%27slcdcleartype-likepatchesandpackagesfordebiansid"&gt;quanliking&lt;/a&gt;. Huge, huge thanks to those people.&lt;br /&gt;&lt;br /&gt;To get Ubuntu font rendering in Debian Squeeze,&amp;nbsp;we need to download, patch, rebuild, and reinstall the libcairo2 package.&amp;nbsp;&lt;i&gt;If this breaks your system don't sue me&lt;/i&gt;. I am not an expert nor do I play one on TV.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Pre-production&lt;/b&gt;&lt;br /&gt;Begin by making sure downloading of package sources is enabled for apt. The line below should be in &lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;/etc/apt/sources.list&lt;/span&gt; and not commented out:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;deb-src http://ftp.us.debian.org/debian/ squeeze main non-free contrib&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The actual address will differ depending on which mirror you set up your system to use, but there should be a line that begins "deb-src", has a mirror's address in the middle, and ends with "squeeze main non-free contrib" or "testing main non-free contrib".&lt;br /&gt;&lt;br /&gt;Install the needed build tools (as root):&lt;br /&gt;&lt;br /&gt;&lt;code&gt;# apt-get install build-essential devscripts fakeroot&lt;br /&gt;# apt-get build-dep cairo&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;As a regular user, create a new directory called &lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;patched-packages&lt;/span&gt; in your home directory. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Get the patches&lt;/b&gt;&lt;br /&gt;Open the &lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;patched-packages&lt;/span&gt; directory you created above in a terminal (i.e., the prompt should read something like &lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;username@computername:~/patched-packages$&lt;/span&gt;).&lt;br /&gt;&lt;br /&gt;At the command prompt:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;mkdir libcairo2&lt;br /&gt;cd libcairo2&lt;br /&gt;mkdir downloaded-patches&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;We now need to get two sets of patches, one from Ubuntu and the other from Arch Linux. To get the Ubuntu patches, go to &lt;a href="http://packages.ubuntu.com/lucid/libcairo2"&gt;http://packages.ubuntu.com/lucid/libcairo2&lt;/a&gt; and look at the list of links on the right. We want the file &lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;cairo_1.8.10-{#}ubuntu1.debian.tar.gz&lt;/span&gt;. Download it into &lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;~/patched-packages/downloaded-patches&lt;/span&gt; and expand it. This should produce a new directory inside &lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;~/patched-packages/downloaded-patches&lt;/span&gt; called &lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;debian&lt;/span&gt; (i.e., you should now have a &lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;~/patched-packages/downloaded-patches/debian&lt;/span&gt;).&lt;br /&gt;&lt;br /&gt;I'm not yet sure what the original source of the Arch Linux patch is, but apparently we need it. So go to &lt;a href="http://aur.archlinux.org/packages.php?ID=17327"&gt;http://aur.archlinux.org/packages.php?ID=17327&lt;/a&gt; and download the file &lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;cairo-respect-fontconfig.patch&lt;/span&gt; into &lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;~/patched-packages/downloaded-patches&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You're done getting patches.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Get the sources&lt;/b&gt;&lt;br /&gt;We now need to get the Debian source package for libcairo2. In a terminal inside &lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;~/patched-packages/libcario2&lt;/span&gt;,&lt;br /&gt;&lt;br /&gt;&lt;code&gt;mkdir deb-sources&lt;br /&gt;cd deb-sources&lt;br /&gt;apt-get source cairo&lt;br /&gt;cd ./cairo-*&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Then copy the patches we downloaded earlier to the Debian package's patches directory:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;cp ../../downloaded-patches/cairo-respect-fontconfig.patch ./debian/patches/&lt;br /&gt;cp ../../downloaded-patches/debian/patches/04_lcd_filter.patch ./debian/patches/&lt;br /&gt;cp ../../downloaded-patches/debian/patches/06_Xlib-Xcb-Hand-off-EXTEND_PAD-to-XRender.patch ./debian/patches/&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Next, apply the patches to the sources:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;patch -p1 -i ./debian/patches/cairo-respect-fontconfig.patch&lt;br /&gt;patch -p1 -i ./debian/patches/04_lcd_filter.patch&lt;br /&gt;patch -p1 -i ./debian/patches/06_Xlib-Xcb-Hand-off-EXTEND_PAD-to-XRender.patch&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;We now need to modify the changelog to indicate that we've diddled with the package and set a version increment:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;dch -i&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This will open a text editor. Once there, add&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;David Turner's ClearType-like LCD filtering patch and fix.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;after the asterisk at the top and then save and exit.&lt;br /&gt;&lt;br /&gt;(Note: Instead of dch -i above you can also use dch -l {your initials}.)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Build and install&lt;/b&gt;&lt;br /&gt;Time to build it. Continuing from where we were in the terminal above (i.e., inside something like &lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;~/patched-packages/libcairo2/deb-sources/cairo-1.8.10&lt;/span&gt;) do&lt;br /&gt;&lt;br /&gt;&lt;code&gt;dpkg-buildpackage -rfakeroot -us -uc&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The result should be a bunch of new packages inside&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;~/patched-packages/libcairo2/deb-sources/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Look if you don't believe me. All that's left is to install. Open a root terminal and go to the &lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;~/patched-packages/libcairo2/deb-sources/&lt;/span&gt; directory. Then do:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;# dpkg -i *.deb&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This will install all the debs that were made, of which you may actually only need a subset. Apart from taking up some disk space the extra packages won't hurt anything, and if you install a package in the future that needs one of these, you'l be glad you installed them now.&lt;br /&gt;&lt;br /&gt;Congrats. You should now have (IMHO) much improved font rendering. This should hold you until Debian releases a new libcairo2. If the new libcairo2 release doesn't have the "Ubuntu patches" already built in, you'll have to repeat the above process, making sure you get patches that are appropriate for the new version and that there are no additional patch files. (If there are, you will need to copy/add them before rebuilding.)&lt;br /&gt;&lt;br /&gt;Rolling back your system to the original Debian packages should be as easy as using Synaptic to "Package -&amp;gt; Force Version..." to the original libcairo2 packages.&lt;br /&gt;&lt;br /&gt;Happy building.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-965851960824836696?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/965851960824836696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=965851960824836696' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/965851960824836696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/965851960824836696'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/07/ubuntu-font-rendering-in-debian-squeeze.html' title='Ubuntu font rendering in Debian Squeeze'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-560140507631098951</id><published>2010-07-05T00:37:00.005+03:00</published><updated>2010-07-05T00:42:21.941+03:00</updated><title type='text'>Debranding Firefox in PCLinuxOS</title><content type='html'>I'm not a huge fan of third-party branding. One of my (minor, when put into perspective) gripes about &lt;a href="http://pclinuxos.com/"&gt;PCLinuxOS&lt;/a&gt; is that they sorta go nuts with it. One of the apps that's the target of their branding is Firefox. If you are equally bugged by this, debranding the default profile used as the template for new profiles isn't that hard.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Download the official &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;firefox-3.{whatever}.tar.bz2&lt;/span&gt; archive from &lt;a href="http://www.mozilla.com/"&gt;Mozilla&lt;/a&gt;'s servers. Be sure to download the version that's the same as the one that is already installed on your machine.&lt;/li&gt;&lt;li&gt;As root, deflate the archive. I am pretending we're in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt&lt;/span&gt; and got a &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt/firefox&lt;/span&gt; directory:&lt;br /&gt;&lt;code&gt;# tar -jxvf firefox-3.{whatever}.tar.bz2&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Again as root, replace &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/usr/lib/firefox-3.{whatever}/defaults/profile&lt;/span&gt; with &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/opt/firefox/defaults/profile&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;Now you can delete the profiles in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/.mozilla/firefox&lt;/span&gt;. (This will of course wipe out all your old bookmarks, etc. Jump through the needed hoops now if you want to save anything.) When you restart Firefox you'll now get the profile defaults, links, etc. that the Mozilla upstream devs thought you would want. The same will be true for any new users or profiles you create from now on.&lt;br /&gt;&lt;br /&gt;The downside to this is that to keep the PCLinuxOS branding at bay you'll need to repeat steps 1-3 every time a new FF update is installed.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-560140507631098951?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/560140507631098951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=560140507631098951' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/560140507631098951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/560140507631098951'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/07/debranding-firefox-in-pclinuxos.html' title='Debranding Firefox in PCLinuxOS'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-710438889370402795</id><published>2010-07-04T02:18:00.005+03:00</published><updated>2010-08-30T08:53:56.841+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gentoo'/><category scheme='http://www.blogger.com/atom/ns#' term='sabayon'/><category scheme='http://www.blogger.com/atom/ns#' term='rolling release'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Fixing ugly fonts in Sabayon Firefox</title><content type='html'>I've been taking the &lt;a href="http://www.gentoo.org/"&gt;Gentoo&lt;/a&gt;-based &lt;a href="http://sabayonlinux.org/"&gt;Sabayon&lt;/a&gt; rolling release distribution for a spin. One of the things that you'll notice is that some fonts in Firefox look ghastly horrible. Luckily, there's an easy fix. The problem involves the rendering of Helvetica, Lucida, and Times fonts and is discussed (and solved) on the &lt;a href="http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg83300.html"&gt;Gentoo mailing list&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;div style="font-family: inherit;"&gt;Instead of editing &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/fonts/local.conf&lt;/span&gt;, I changed my &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;~/.fonts.conf&lt;/span&gt; file. I got better results using "Sans" than "DejaVu Sans" and in a similar spirit I used "Serif" instead of "DejaVu Serif". My entire .fonts.config looks like:&lt;/div&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;br /&gt;&amp;lt;!DOCTYPE fontconfig SYSTEM "fonts.dtd"&amp;gt;&lt;br /&gt;&amp;lt;fontconfig&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;!-- see http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg83300.html --&amp;gt;&lt;br /&gt;&amp;lt;!-- Replace Helvetica with DejaVu Sans --&amp;gt;&lt;br /&gt;&amp;lt;match target="pattern" name="family"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;test name="family" qual="any"&amp;gt;&amp;lt;string&amp;gt;Helvetica&amp;lt;/string&amp;gt;&amp;lt;/test&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;edit name="family" mode="assign"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;string&amp;gt;Sans&amp;lt;/string&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/edit&amp;gt;&lt;br /&gt;&amp;lt;/match&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;!-- Replace Lucida with DejaVu Sans --&amp;gt;&lt;br /&gt;&amp;lt;match target="pattern" name="family"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;test name="family" qual="any"&amp;gt;&amp;lt;string&amp;gt;Lucida&amp;lt;/string&amp;gt;&amp;lt;/test&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;edit name="family" mode="assign"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;string&amp;gt;Sans&amp;lt;/string&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/edit&amp;gt;&lt;br /&gt;&amp;lt;/match&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;!-- Replace Times with DejaVu Serif --&amp;gt;&lt;br /&gt;&amp;lt;match target="pattern" name="family"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;test name="family" qual="any"&amp;gt;&amp;lt;string&amp;gt;Times&amp;lt;/string&amp;gt;&amp;lt;/test&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;edit name="family" mode="assign"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;string&amp;gt;Serif&amp;lt;/string&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/edit&amp;gt;&lt;br /&gt;&amp;lt;/match&amp;gt;&lt;br /&gt;&amp;lt;!-- --&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;match target="font" &amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;edit mode="assign" name="hinting" &amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;bool&amp;gt;true&amp;lt;/bool&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/edit&amp;gt;&lt;br /&gt;&amp;lt;/match&amp;gt;&lt;br /&gt;&amp;lt;match target="font" &amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;edit mode="assign" name="hintstyle" &amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;const&amp;gt;hintmedium&amp;lt;/const&amp;gt;&lt;br /&gt;--&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;const&amp;gt;hintslight&amp;lt;/const&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/edit&amp;gt;&lt;br /&gt;&amp;lt;/match&amp;gt;&lt;br /&gt;&amp;lt;match target="font" &amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;edit mode="assign" name="rgba" &amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;const&amp;gt;rgb&amp;lt;/const&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/edit&amp;gt;&lt;br /&gt;&amp;lt;/match&amp;gt;&lt;br /&gt;&amp;lt;match target="font" &amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;edit mode="assign" name="antialias" &amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;bool&amp;gt;true&amp;lt;/bool&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/edit&amp;gt;&lt;br /&gt;&amp;lt;/match&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/fontconfig&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Speaking of font rendering, Sabayon has default font rendering that's almost as nice as Ubuntu's. IMHO the only thing that gives Ubuntu the edge is a bit more contrast. If I find a fix for this, I will post this as well.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-710438889370402795?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/710438889370402795/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=710438889370402795' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/710438889370402795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/710438889370402795'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/07/fixing-ugly-fonts-in-sabayon-firefox.html' title='Fixing ugly fonts in Sabayon Firefox'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-8348081754684620133</id><published>2010-06-27T23:16:00.005+03:00</published><updated>2010-06-27T23:33:45.123+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='thunderbird'/><title type='text'>Thunderbird 3 new account config workaround</title><content type='html'>&lt;a href="http://www.mozillamessaging.com/en-US/thunderbird/"&gt;Thunderbird&lt;/a&gt; versions 3.0 and 3.1 have a feature that's meant to make configuring new accounts easier but in fact may just make life more complicated for some users. When you set up a new account, the new Tbird account wizard asks you for your name, email address, and password. It then automatically tries to configure the account for you by probing various "best options" using common conventions for port numbers, server names, etc. ... then &lt;i&gt;Voila!&lt;/i&gt; you have a fully functioning account configured with SSL and the like if it's available, all without the hassle of dealing with entering server name and port numbers and "Use TLS/Use SSL" options.&lt;br /&gt;&lt;br /&gt;The problem is that there's no way to override this. The new account wizard doesn't ask if you want to try an autoconfig or do a manual config--it just starts the autoconfig automatically. There &lt;i&gt;is&lt;/i&gt; a "Manual Setup" button on the autoconfig dialog, but there's no way to press it before the autoconfig starts.&lt;br /&gt;&lt;br /&gt;"No big deal," you say. "Just wait for the autoconfig to run its course and then go back and manually set the parameters you don't like." Well, that only works for some options. In particular, the "Account Settings" dialog doesn't let you change from IMAP to POP--so if the autoconfig decided that IMAP was your "best option", then that's what you're stuck with. And I've found no way to hit the "Manual Setup" button on the autoconfig dialog before the IMAP/POP selection has been made.&lt;br /&gt;&lt;br /&gt;The problem has been reported in bug reports, and the developers' response seems to be, "We will address this in a future release."&lt;br /&gt;&lt;br /&gt;"Ah," you say. "It's best to stick with Thunderbird 2 then." However, that's not such an attractive option. Quoting from the &lt;a href="http://www.mozillamessaging.com/en-US/thunderbird/all-older-2.0.html"&gt;Mozilla website&lt;/a&gt;: "Please note that Thunderbird 2.0.0.24 is the last planned security and stability release of Thunderbird 2.0. We encourage you to update to Thunderbird 3.1."&lt;br /&gt;&lt;br /&gt;So here's a workaround for dealing with v3's new account issues.&lt;br /&gt;&lt;br /&gt;In the new account wizard dialog, enter a &lt;b&gt;short bogus email address&lt;/b&gt;:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_aDShd01p9S0/TCevSF5M0UI/AAAAAAAABDQ/YRdrrPteTFY/s1600/tbird3_mailsetup1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_aDShd01p9S0/TCevSF5M0UI/AAAAAAAABDQ/YRdrrPteTFY/s320/tbird3_mailsetup1.png" /&gt;&lt;/a&gt;&lt;/div&gt;Then click "Continue".&lt;br /&gt;&lt;br /&gt;The wizard will vainly try to find the bogus address and eventually give up.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_aDShd01p9S0/TCevZ_dGhiI/AAAAAAAABDY/LlvYkTYwK84/s1600/tbird3_mailsetup2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_aDShd01p9S0/TCevZ_dGhiI/AAAAAAAABDY/LlvYkTYwK84/s320/tbird3_mailsetup2.png" /&gt;&lt;/a&gt;&lt;/div&gt;Now is the time to select whether you want POP or IMAP. &lt;i&gt;You will not get a second chance to do this.&lt;/i&gt; After you have made the appropriate selection, click "Manual Setup..." and then enter the real account details.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_aDShd01p9S0/TCez2qeZ0oI/AAAAAAAABDo/B9ev-fmyrPY/s1600/tbird3_mailsetup3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_aDShd01p9S0/TCez2qeZ0oI/AAAAAAAABDo/B9ev-fmyrPY/s320/tbird3_mailsetup3.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;It may not be a pretty, but it seems to work.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-8348081754684620133?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/8348081754684620133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=8348081754684620133' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/8348081754684620133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/8348081754684620133'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/06/thunderbird-3-new-account-config_27.html' title='Thunderbird 3 new account config workaround'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_aDShd01p9S0/TCevSF5M0UI/AAAAAAAABDQ/YRdrrPteTFY/s72-c/tbird3_mailsetup1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-5623868832038010418</id><published>2010-06-18T04:01:00.003+03:00</published><updated>2010-06-18T04:04:50.232+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='icons'/><category scheme='http://www.blogger.com/atom/ns#' term='gtk'/><category scheme='http://www.blogger.com/atom/ns#' term='karmic'/><category scheme='http://www.blogger.com/atom/ns#' term='gnome'/><title type='text'>(No) icons in GTK buttons</title><content type='html'>I don't know if this has anything to do with the &lt;a href="http://lovingthepenguin.blogspot.com/2010/05/getting-your-menu-icons-back-in-gnome.html"&gt;no icons in menus&lt;/a&gt; issue, but the solution is darned near the same. I noticed that my Ubuntu Karmic doesn't serve up icons in its buttons with GTK apps in GNOME. The fix comes from &lt;a href="http://www.manast.com/2009/04/25/remove-icons-on-buttons-gnome/"&gt;someone&lt;/a&gt; trying &lt;i&gt;remove&lt;/i&gt; his icons:&lt;br /&gt;&lt;blockquote&gt;There is now a new key in GNOME Configurator Editor. Below are the steps to disable buttons on icons in GNOME 2.26 and above.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Press Alt + F2&lt;/li&gt;&lt;li&gt;Type gconf-editor and hit Enter.&lt;/li&gt;&lt;li&gt;Go to Desktop –&amp;gt; GNOME –&amp;gt; Interface&lt;/li&gt;&lt;li&gt;Uncheck the key buttons_have_icons&lt;/li&gt;&lt;/ol&gt;&lt;/blockquote&gt;&lt;br /&gt;Just check the box to get your icons back.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-size: x-small;"&gt;via &lt;a href="http://www.manast.com/2009/04/25/remove-icons-on-buttons-gnome/"&gt;Manas T&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-5623868832038010418?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/5623868832038010418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=5623868832038010418' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/5623868832038010418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/5623868832038010418'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/06/i-dont-know-if-this-has-anything-to-do.html' title='(No) icons in GTK buttons'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-8697977366269374694</id><published>2010-05-12T23:59:00.001+03:00</published><updated>2010-06-15T17:13:37.872+03:00</updated><title type='text'>startupmanager is your friend</title><content type='html'>After a recent update to my Karmic system, I noticed my boot screen icon's colors went all hallucinogenic. I later noticed that doing a Ctl-Alt-F1 resulted in a console that was nearly impossible to read: the text was a veeery dark grey. I figured the problems were related and I was right.&lt;br /&gt;&lt;br /&gt;Using &lt;a href="https://help.ubuntu.com/community/StartUpManager"&gt;startupmanager&lt;/a&gt; (in the repositories), I was able to fix both problems by setting the boot screen bit depth from 8 bits to 16 bits. Dunno exactly what happened, but it's fixed now.&lt;br /&gt;&lt;br /&gt;Configuring grub2/boot stuff is definitely easier with the startupmanager around. Recommended.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-8697977366269374694?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/8697977366269374694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=8697977366269374694' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/8697977366269374694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/8697977366269374694'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/05/startupmanager-is-your-friend.html' title='startupmanager is your friend'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-4376148999104595611</id><published>2010-05-11T21:30:00.002+03:00</published><updated>2010-08-30T08:56:35.282+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Squeeze'/><title type='text'>Getting your menu icons back in GNOME 2.30</title><content type='html'>According to &lt;a href="http://ubuntuforums.org/showthread.php?t=1444293"&gt;this post&lt;/a&gt;, the Interface tab in GNOME's Appearance&amp;nbsp;Preferences has been removed in GNOME 2.30. I can confirm that&amp;nbsp;as of this writing&amp;nbsp;the tab isn't available under Debian Squeeze.&lt;br /&gt;&lt;br /&gt;Thia means if you want to have icons in menus enabled (who doesn't?) you need to resort to&amp;nbsp;gconf-editor (i.e., &lt;i&gt;Applications -&amp;gt; System Tools -&amp;gt; Configuration Editor&lt;/i&gt;) and set the key:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;/desktop/gnome/interface/menus_have_icons&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;I mean really. Who doesn't want icons in their menus?&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-4376148999104595611?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/4376148999104595611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=4376148999104595611' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4376148999104595611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4376148999104595611'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/05/getting-your-menu-icons-back-in-gnome.html' title='Getting your menu icons back in GNOME 2.30'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-2701280200295480362</id><published>2010-03-30T23:59:00.001+03:00</published><updated>2010-03-31T00:33:13.783+03:00</updated><title type='text'>sox and mp3</title><content type='html'>This is just an info nugget that I hope will save someone else the half-hour it just cost me. In Debian, sox won't play mp3 files by default--even with the baddest, ugliest gstreamer bits installed. The magic bit of fufu dust you need to make sox play mp3 is the&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"&gt;libsox-fmt-mp3&lt;/span&gt; package. But as long as you're at it, you may as well just install all the libsox formats with:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# aptitude install&amp;nbsp;libsox-fmt-all&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-2701280200295480362?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/2701280200295480362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=2701280200295480362' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/2701280200295480362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/2701280200295480362'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/03/sox-and-mp3.html' title='sox and mp3'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-2824858782871980008</id><published>2010-03-28T22:49:00.001+03:00</published><updated>2010-03-29T23:51:41.892+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='Mozilla'/><category scheme='http://www.blogger.com/atom/ns#' term='Iceweasel'/><category scheme='http://www.blogger.com/atom/ns#' term='IceCat'/><category scheme='http://www.blogger.com/atom/ns#' term='Swiftfox'/><title type='text'>GNU IceCat and file managers</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.gnu.org/software/gnuzilla/icecat-128.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://www.gnu.org/software/gnuzilla/icecat-128.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;There's no shortage of essentially identical Mozilla-derived browsers in Linuxspace now. &lt;a href="http://www.mozilla.com/en-US/firefox/personal.html"&gt;Firefox&lt;/a&gt; is the official Mozilla product. Two better known variations are &lt;a href="http://wiki.debian.org/Iceweasel"&gt;Iceweasel&lt;/a&gt;--a Debian project that replaces the not-really-covered-by-a-free-license Mozilla branding stuff in Firefox with really-covered-by-a-free-license branding, and &lt;a href="http://getswiftfox.com/"&gt;Swiftfox&lt;/a&gt;--which offers processor-specific optimized compiles of the Mozilla code.&lt;br /&gt;&lt;br /&gt;Perhaps a lesser-known variant (as of this writing) is &lt;a href="http://www.gnu.org/software/gnuzilla/"&gt;GNU IceCat&lt;/a&gt;. IceCat is very similar to Iceweasel in that its main purpose for being is to remove the &lt;i&gt;non-libre&lt;/i&gt; Mozilla bits from Firefox. It goes one step further than Iceweasel in its pursuit of &lt;i&gt;libre&lt;/i&gt;ness in that it redirects its add-ons explorer to a GNU-maintained list of add-ons that are fully-libre. Don't worry--you can still install any add-on that you can in normal Firefox by visiting &lt;a href="https://addons.mozilla.org/en-US/firefox/"&gt;Mozilla's add-on site&lt;/a&gt;. Seems like a winner: promoting &lt;i&gt;libre&lt;/i&gt; software without limiting the use of proprietary software.&lt;br /&gt;&lt;br /&gt;However, more interesting than the above for me is something I've found to be case with the latest version of IceCat that is not the case with the other three. In any of the other three (or four if you count hand-installing the official Mozilla binaries rather than the Ubuntu and Debian packages), no matter what I've tried, I have not been able to tell the browser in the downloads dialog to "open containing folder" using the file manager of my choice. Whatever I've tried, they all insist on opening folders in Nautilus. However, IceCat has a &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;file:&lt;/span&gt; application type with which you can set the desired file manager just as you might with any other type. And there was much rejoicing.&lt;br /&gt;&lt;br /&gt;The weird thing is that I seem to recall that the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;file:&lt;/span&gt; application type was present in older versions of Firefox--e.g. as included in Jaunty. So I don't know if the current lack of the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;file:&lt;/span&gt; type is a temporary abnormality or the sign of things to come on all fronts. Whatever the case, IceCat is my default browser on my Debian machines because I tend to use a custom Openbox/Thunar environment most of the time. It not my default on Ubuntu because it--along with Swiftfox and the binaries directly download-able from Mozilla--does not respect your system font rendering settings. (It's always something, isn't it?)&lt;br /&gt;&lt;br /&gt;There's a PPA for Ubuntu users and deb packages for 32-bit Debian users if you wanna give it a go.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-2824858782871980008?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/2824858782871980008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=2824858782871980008' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/2824858782871980008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/2824858782871980008'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/03/gnu-icecat-and-file-managers.html' title='GNU IceCat and file managers'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-9173531525803408597</id><published>2010-03-24T00:20:00.005+02:00</published><updated>2010-03-28T12:21:41.692+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Ubuntu as not Linux</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Ubuntu_logo.svg/200px-Ubuntu_logo.svg.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Ubuntu_logo.svg/200px-Ubuntu_logo.svg.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: x-large;"&gt;!=&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Tux.svg/200px-Tux.svg.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Tux.svg/200px-Tux.svg.png" width="170" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: x-large;"&gt;&lt;i&gt;?&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://lovingthepenguin.blogspot.com/2010/03/gamesters-of-triskelion.html"&gt;Yesterday&lt;/a&gt;, I commented on how there seems to be a concerted effort by Canonical to brand Ubuntu as an independent OS and conceal the Linux that it is. I based this view mostly on UI and software developments I've seen in the last few Ubuntu releases. Today, I got a bit more curious about the PR side of things and had a look at the &lt;a href="http://www.ubuntu.com/"&gt;Ubuntu website&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;As a start, I wanted to see how prominently the site featured the term "Linux". And after visiting a whole bunch of pages a typical user would, &lt;i&gt;I couldn't find a single use of the term&lt;/i&gt;. Compare this to the respective sites for &lt;a href="http://www.debian.org/"&gt;Debian&lt;/a&gt;, &lt;a href="http://fedoraproject.org/"&gt;Fedora&lt;/a&gt;, &lt;a href="http://www.mandriva.com/"&gt;Mandriva&lt;/a&gt;, and even &lt;a href="http://www.opensuse.org/"&gt;openSuSE&lt;/a&gt;, all of which state very plainly on their home pages that they are Linux-based distributions.&lt;br /&gt;&lt;br /&gt;So, I fired up Google and searched for &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;"linux"&amp;nbsp;site:www.ubuntu.com&lt;/span&gt; to see if I missed something. Excluding mentions in security reports (which a typical user will almost certainly never access), the term "linux" popped up in Google's results in three places:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;The &lt;a href="http://www.ubuntu.com/products/whatIsubuntu/serveredition"&gt;Ubuntu Server Edition&lt;/a&gt; page--which a regular (i.e., desktop) user will likely never visit. &lt;/li&gt;&lt;li&gt;The &lt;a href="http://www.ubuntu.com/products/mobile"&gt;Ubuntu MID Edition&lt;/a&gt; page--which is intended for use by industry folk building MIDs, not by end users.&lt;/li&gt;&lt;li&gt;In passing in the list of &lt;a href="http://www.ubuntu.com/getubuntu/downloadmirrors"&gt;download options&lt;/a&gt;. (Look for it ... can you find it?)&lt;/li&gt;&lt;/ol&gt;This is making me sad.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-9173531525803408597?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/9173531525803408597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=9173531525803408597' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/9173531525803408597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/9173531525803408597'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/03/ubuntu-as-not-linux.html' title='Ubuntu as not Linux'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-5341498026662249211</id><published>2010-03-22T12:18:00.005+02:00</published><updated>2010-04-02T16:53:39.544+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Gamesters of Triskelion</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Ubuntu_logo.svg/800px-Ubuntu_logo.svg.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="81" src="http://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Ubuntu_logo.svg/800px-Ubuntu_logo.svg.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: x-large;"&gt; == &lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Three_Legs_of_Man_-_Triskelion.jpg/651px-Three_Legs_of_Man_-_Triskelion.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="183" src="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Three_Legs_of_Man_-_Triskelion.jpg/651px-Three_Legs_of_Man_-_Triskelion.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: x-large;"&gt;&lt;i&gt;?&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;Like a few others, I am becoming increasingly concerned about the direction that Ubuntu seems to be headed. In essence, it seems that there is a concerted effort 1) to brand Ubuntu in such a way that it conceals the Linux that it is and 2) to do this in a way, along with some other stuff, to lock users into the OS. In other words, the motivation behind Ubuntu may not be to create a better Linux through which the parent Canonical will make money by providing support to Enterprise and other commercial users; rather the whole &lt;i&gt;raison d'etre&lt;/i&gt; may be to develop a platform to market and sell to regular desktop users proprietary services that will increasingly come glued to the platform. And it just so happens that a Linux base provides most of the functionality for the required platform--as well as a core of well-meaning developers who are willing to work for free and who will have done all the heavy lifting for you &lt;br /&gt;&lt;br /&gt;In other other words, I am concerned that the monetization of Ubuntu via content services is the gold standard and that the love-for-all goals stated in Canonical's publicity is just propaganda meant to get people on all sides on board. I &lt;i&gt;really, really, really&lt;/i&gt; hope I am wrong and that I am being &lt;i&gt;far, far, far&lt;/i&gt; too cynical because I've been well conditioned with the nutty stuff that Microsoft is known for doing, Apple has started doing, and &lt;a href="http://linux.slashdot.org/article.pl?sid=06/11/02/1957252&amp;amp;tid=109"&gt;Novell is doing with openSuSE&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;In any case, based on my growing concern I did a tiny bit of &lt;a href="http://en.wikipedia.org/wiki/Canonical_Ltd"&gt;research&lt;/a&gt; into &lt;a href="http://www.canonical.com/"&gt;Canonical Ltd&lt;/a&gt;. Just about everyone knows that it was founded by &lt;a href="http://www.markshuttleworth.com/"&gt;Mark Shuttleworth&lt;/a&gt;, who is (according to &lt;a href="http://en.wikipedia.org/wiki/Mark_Shuttleworth"&gt;Wikipedia&lt;/a&gt;) South African by birth, a SA and UK citizen, and a space tourist. But not everyone may know that the company he founded to develop Ubuntu is registered in the &lt;a href="http://en.wikipedia.org/wiki/Isle_of_Mann"&gt;Isle of Mann&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;It's worth noting that the Isle of Mann is not part of the UK--it is a British Crown dependency. However, it is a great place to setup a business &lt;a href="http://en.wikipedia.org/wiki/Economy_of_the_Isle_of_Man"&gt;bec&lt;/a&gt;&lt;a href="http://en.wikipedia.org/wiki/Economy_of_the_Isle_of_Man"&gt;ause&lt;/a&gt;, "The Isle of Man is a low tax economy with no capital gains tax, wealth tax, stamp duty, death duty or inheritance tax and income tax rates of 10% and 18%; corporation tax is at 0%." In fact it is quite well known as a center for &lt;a href="http://www.shelteroffshore.com/index.php/offshore/more/offshore_banking_isle_of_man/"&gt;offshore banking&lt;/a&gt;, and, "banking and other services now contribute the great bulk of GDP."&lt;br /&gt;&lt;br /&gt;I now place the tinfoil hat firmly upon my head.&lt;br /&gt;&lt;br /&gt;The national symbol of the Isle of Mann is the triskelion:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Three_Legs_of_Man_-_Triskelion.jpg/651px-Three_Legs_of_Man_-_Triskelion.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="183" src="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Three_Legs_of_Man_-_Triskelion.jpg/651px-Three_Legs_of_Man_-_Triskelion.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Compare this with:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Ubuntu_logo.svg/800px-Ubuntu_logo.svg.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="83" src="http://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Ubuntu_logo.svg/800px-Ubuntu_logo.svg.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;and&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://upload.wikimedia.org/wikipedia/en/thumb/1/15/Canonical_logo.svg/687px-Canonical_logo.svg.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="46" src="http://upload.wikimedia.org/wikipedia/en/thumb/1/15/Canonical_logo.svg/687px-Canonical_logo.svg.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Just a coincidence or a weird joke?&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-5341498026662249211?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/5341498026662249211/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=5341498026662249211' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/5341498026662249211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/5341498026662249211'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/03/gamesters-of-triskelion.html' title='Gamesters of Triskelion'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-7546692346361442835</id><published>2010-03-06T12:32:00.005+02:00</published><updated>2010-03-12T19:16:55.349+02:00</updated><title type='text'>Karmic and Pulseaudio (not SOLVED)</title><content type='html'>I have been bitten by the bug reported at &lt;a href="https://bugs.launchpad.net/pulseaudio/+bug/352732" title=""&gt;https://bugs.launchpad.net/pulseaudio/+bug/352732&lt;/a&gt; . In fact, I was bitten by this back in Jaunty. There the problem was isolated to logging out of a non-Gnome session (and into Gnome? I forget exactly). In Jaunty I solved the problem by killing pulseaudio before terminating non-Gnome sessions. Now in Karmic this solution doesn’t seem to work in all situations, so I am trying the suggestion in post #77. Namely, in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/pulse/default.pa&lt;/span&gt;, comment out the line &lt;code&gt;load-module module-device-restore&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Here is the snippet from my &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/pulse/default.pa&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;### mfk addition: comment out "load-module module-device-restore"&lt;br /&gt;### see https://bugs.launchpad.net/pulseaudio/+bug/352732 #77&lt;br /&gt;#load-module module-device-restore&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;We’ll see how it goes.&lt;br /&gt;&lt;br /&gt;&lt;div style="font-family: inherit;"&gt;&lt;b&gt;Update (2010-03-10)&lt;/b&gt;&lt;/div&gt;I just noticed that my soundcard input selection is being disrespected. There are two inputs on my lappy, and the system always defaults to input 1 no matter what. I don't know if this is related to the above or not.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update (2010-03-12)&lt;/b&gt;&lt;br /&gt;I re-enabled&lt;code&gt; load-module module-device-restore&lt;/code&gt; , and my input settings began to be respected. However, the trashing of output settings returned. So ... pick your poison. I guess I am coming down on the side of those who complain that Pulseaudio is (still) not ready for prime time. Or is this a problem with the way it's implemented in Ubuntu?&amp;nbsp;&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-7546692346361442835?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/7546692346361442835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=7546692346361442835' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/7546692346361442835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/7546692346361442835'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/03/karmic-and-pulseaudio-solved.html' title='Karmic and Pulseaudio (not SOLVED)'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-4374569237163349129</id><published>2010-02-15T11:55:00.006+02:00</published><updated>2010-08-30T08:59:12.642+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='openbox'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Karmic, openbox, and messed up desktop numbers (SOLVED)</title><content type='html'>I think it started after I upgraded to Karmic. When logging into an openbox session, the number of desktops I was getting was equal to one ... no matter what I set the number to during the previous session. Herein I describe a fix.&lt;br /&gt;&lt;br /&gt;The script that gets called when GDM starts up an openbox session is &lt;b&gt;/usr/bin/openbox-session&lt;/b&gt;. It just so happens that before I upgraded to Karmic, I had created a new script in &lt;b&gt;/usr/local/bin/skinnydebbie-session&lt;/b&gt; that was a copy of the Jaunty version of  &lt;b&gt;/usr/bin/openbox-session&lt;/b&gt; with a few changes in the config files called. The interesting thing was that after the Karmic upgrade I did not have the wrong-number-of-desktops problem when starting from &lt;b&gt;/usr/local/bin/skinnydebbie-session&lt;/b&gt;.; it only manifested itself when starting from &lt;b&gt;/usr/bin/openbox-session&lt;/b&gt;. A quick comparison of the two files revealed a fix. At the top of my &lt;b&gt;/usr/local/bin/skinnydebbie-session&lt;/b&gt; is the following snippet of code which I am sure was inherited from the Jaunty version of &lt;b&gt;/usr/bin/openbox-session&lt;/b&gt; and was probably left off the Karmic version:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;# Clean up after GDM&lt;br /&gt;xprop -root -remove _NET_NUMBER_OF_DESKTOPS \&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -remove _NET_DESKTOP_NAMES \&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -remove _NET_CURRENT_DESKTOP 2&amp;gt; /dev/null&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;I added this snippet to my &lt;b&gt;~/.config/openbox/autostart.sh&lt;/b&gt; and voila! I get the right number of desktops. I am pretty sure it would work if I added it to &lt;b&gt;/usr/bin/openbox-session&lt;/b&gt; instead.&lt;br /&gt;&lt;br /&gt;This should probably be a bug report, but I'm feeling a bit too lazy now to do it.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-4374569237163349129?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/4374569237163349129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=4374569237163349129' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4374569237163349129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4374569237163349129'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/02/karmic-openbox-and-messed-up-desktop.html' title='Karmic, openbox, and messed up desktop numbers (SOLVED)'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-6455610102928846482</id><published>2010-01-23T19:40:00.008+02:00</published><updated>2010-08-30T09:00:48.506+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Squeeze'/><title type='text'>Squeeze and the Java plugin (SOLVED)</title><content type='html'>Another Squeeze issue popped up: the Sun Java plugin (i.e., sun-java6-plugin) doesn't work. It took a bit of poking around to find a &lt;a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560044"&gt;fix&lt;/a&gt;, but here it is. As root in a terminal:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;# nano /etc/sysctl.d/bindv6only.conf&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Then change&lt;br /&gt;&lt;pre&gt;&lt;code&gt;net.ipv6.bindv6only = 1&lt;/code&gt;&lt;/pre&gt;to &lt;br /&gt;&lt;pre&gt;&lt;code&gt;net.ipv6.bindv6only = 0&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Finally,&lt;br /&gt;&lt;pre&gt;&lt;code&gt;# invoke-rc.d procps restart&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;I have no idea what other positive or negative ramifications this will have to your system, so proceed with caution. I'm pretty sure you can undo any damage by setting the 0 back to 1 and doing the invoke-rc.d call over.&lt;br /&gt;&lt;br /&gt;FWIW, the icedtea6-plugin doesn't work either, but I haven't been able to figure out that one.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-6455610102928846482?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/6455610102928846482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=6455610102928846482' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/6455610102928846482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/6455610102928846482'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/01/squeeze-and-java-plugin-solved.html' title='Squeeze and the Java plugin (SOLVED)'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-1927634908354770844</id><published>2010-01-16T22:12:00.003+02:00</published><updated>2010-08-30T09:01:23.652+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Squeeze'/><title type='text'>Squeeze and GRUB dual boot problems (SOLVED)</title><content type='html'>Earlier this evening, I installed a command-line version of Debian Squeeze (i.e., still "testing" as of this writing)  from the netinstall CD alongside a regular Ubuntu Karmic installation and had an issue with &lt;a href="http://www.gnu.org/software/grub/"&gt;GRUB&lt;/a&gt; that nearly had me cleaning my underwear.&lt;br /&gt;&lt;br /&gt;Toward the end of the installation, the Debian installer told me that it saw I had Ubuntu installed and so would I want to install GRUB? It also assured me that it recognized that I had Ubuntu installed and that everything would be ok.&lt;br /&gt;&lt;br /&gt;I've been through similar prompts with dual-boot installations before, and indeed everything has always gone just swimmingly. So, I said, "Sure." What I didn't know was that Squeeze is using the new and possibly-not-entirely-ready-for-prime-time GRUB 2. (I guess Karmic is as well.)&lt;br /&gt;&lt;br /&gt;When I rebooted, GRUB gave me options for the new Squeeze install, but any trace of the Ubuntu install was gone. Hunting for /boot/grub/menu.lst gave me nothing. That's when I discovered that Squeeze installed GRUB 2 and most of the GRUB repair stuff on the Internet was obsolete. I was about the resort to drastic measures when &lt;a href="http://www.linuxquestions.org/questions/linux-newbie-8/dual-boot-grub-doesnt-show-vista-no-menu.lst-770432/"&gt;this post&lt;/a&gt; inspired me to try&lt;br /&gt;&lt;br /&gt;&lt;code&gt;# update-grub&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;and it worked.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-1927634908354770844?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/1927634908354770844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=1927634908354770844' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1927634908354770844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1927634908354770844'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/01/squeeze-and-grub-dual-boot-problems.html' title='Squeeze and GRUB dual boot problems (SOLVED)'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-2154960301848785765</id><published>2010-01-02T13:17:00.000+02:00</published><updated>2010-01-02T13:17:20.721+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='X'/><category scheme='http://www.blogger.com/atom/ns#' term='how-to'/><category scheme='http://www.blogger.com/atom/ns#' term='bits and pieces'/><title type='text'>Changing keyboard layouts</title><content type='html'>Just a quick post to mention an easy way to change keyboard layouts. From the command line:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;setxkbmap [layout]&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;For example, I sometimes need to switch to Turkish Q:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;setxkbmap tr&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;And then back to US:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;setxkbmap us&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Cheers.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-2154960301848785765?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/2154960301848785765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=2154960301848785765' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/2154960301848785765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/2154960301848785765'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2010/01/changing-keyboard-layouts.html' title='Changing keyboard layouts'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-7170983730194071166</id><published>2009-12-18T00:08:00.004+02:00</published><updated>2010-08-30T09:02:00.541+03:00</updated><title type='text'>JWM and GDM in Ubuntu</title><content type='html'>&lt;a href="http://joewing.net/programs/jwm/"&gt;JWM&lt;/a&gt; is a lean yet featureful window manager. It's the default WM in &lt;a href="http://puppylinux.org/"&gt;Puppy Linux&lt;/a&gt; and &lt;a href="http://www.damnsmalllinux.org/"&gt;Damn Small Linux&lt;/a&gt;. I wanted to do some work with JWM on my Ubuntu Jaunty machine, but I noticed after installing it I didn't get an entry in the GDM login screen giving me the option of using it. Fortunately, this is easy to fix.&lt;br /&gt;&lt;br /&gt;As root, create a file called &lt;span style="font-family:courier new;"&gt;jwm.desktop&lt;/span&gt; in &lt;span style="font-family:courier new;"&gt;/usr/share/xsessions&lt;/span&gt; containing the text  below:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;[Desktop Entry]&lt;br /&gt;Encoding=UTF-8&lt;br /&gt;Name=JWM session&lt;br /&gt;Comment=Use this session to run JWM as your desktop environment&lt;br /&gt;Exec=jwm&lt;br /&gt;Icon=&lt;br /&gt;Type=Application&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;(Note that the file has to be in &lt;span style="font-family:courier new;"&gt;/usr/share/xsessions&lt;/span&gt; -- it won't work if you put it in &lt;span style="font-family:courier new;"&gt;/usr/local/share/xsessions&lt;/span&gt; even though you'd think it should.)&lt;br /&gt;&lt;br /&gt;Logout, and you should now have an entry that reads "JWM session" in GDM's session selector that starts JWM.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-7170983730194071166?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/7170983730194071166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=7170983730194071166' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/7170983730194071166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/7170983730194071166'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2009/12/jwm-and-gdm-in-ubuntu.html' title='JWM and GDM in Ubuntu'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-4757603573010122909</id><published>2009-11-24T16:25:00.005+02:00</published><updated>2009-12-01T13:52:14.102+02:00</updated><title type='text'>Anti-aliased fonts in Wine</title><content type='html'>Anti-aliased fonts in &lt;a href="http://www.winehq.org/"&gt;Wine&lt;/a&gt; seem to be disabled by default. This leads to some pretty ugly font rendering. (No flames, please. If you don't like anti-aliased fonts, then please move along.)&lt;br /&gt;&lt;br /&gt;An almost-in-passing comment on &lt;a href="http://ubuntuforums.org/showthread.php?t=859789"&gt;this post&lt;/a&gt; tells you an easy way to turn on anti-aliasing. I tried it on my Ubuntu Jaunty installation, and it seems to work fine. To spare you the need to reference and hunt and peck the original post, here's what I did:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Open the file &lt;span style="font-family:courier new;"&gt;~/.wine/user.reg&lt;/span&gt; in a text editor.&lt;/li&gt;&lt;li&gt;Change the entry &lt;code&gt;"FontSmoothing"="0"&lt;/code&gt; to &lt;code&gt;"FontSmoothing"="1"&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Close your text editor&lt;/li&gt;&lt;li&gt;There is no fourth step.&lt;/li&gt;&lt;/ol&gt;Enjoy.&lt;br /&gt;&lt;br /&gt;Later addition: There is a more comprehensive discussion of enabling anti-aliasing (including ClearType) &lt;a href="http://www.wine-reviews.net/wine-reviews/tips-n-tricks/how-to-enable-font-anti-aliasing-in-wine.html"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-4757603573010122909?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/4757603573010122909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=4757603573010122909' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4757603573010122909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4757603573010122909'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2009/11/anti-aliased-fonts-in-wine.html' title='Anti-aliased fonts in Wine'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-3564076858256616272</id><published>2009-11-22T15:52:00.016+02:00</published><updated>2009-11-22T20:48:16.522+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='icewm'/><category scheme='http://www.blogger.com/atom/ns#' term='gtk'/><category scheme='http://www.blogger.com/atom/ns#' term='how-to'/><category scheme='http://www.blogger.com/atom/ns#' term='bits and pieces'/><category scheme='http://www.blogger.com/atom/ns#' term='geek'/><title type='text'>Different GTK settings for different sessions</title><content type='html'>Here's the situation:&lt;br /&gt;&lt;br /&gt;You like using different window managers for different things. For example, sometimes you want to use &lt;a href="http://www.icewm.org/"&gt;IceWM&lt;/a&gt;, other times &lt;a href="http://icculus.org/openbox"&gt;Openbox&lt;/a&gt;, etc. This is easy enough to do if you are using &lt;a href="http://en.wikipedia.org/wiki/GNOME_Display_Manager"&gt;GDM&lt;/a&gt;, but there's a small thing that bothers you. All the above WMs will use the same configuration files for GTK settings, but you want to use &lt;span style="font-style: italic;"&gt;different&lt;/span&gt; settings for each. For example, in Openbox you may want to use &lt;a href="http://tango.freedesktop.org/"&gt;Tango&lt;/a&gt; icons but you like the default Gnome icons better in IceWM.&lt;br /&gt;&lt;br /&gt;I describe below a way you can make this happen. It's a tiny bit hackish, but it seems to work just fine. It assumes you are not using gnome-settings-daemon.&lt;br /&gt;&lt;h2&gt;GTK settings--the easy way&lt;/h2&gt;First of all, make life easy for yourself and install &lt;a href="http://wiki.lxde.org/en/LXAppearance"&gt;LXAppearance&lt;/a&gt;. It is part of the &lt;a href="http://www.lxde.org/"&gt;LXDE&lt;/a&gt; desktop environment, but many distributions let you install it as a standalone package. It is the best tool I know of to adjust GTK  appearance settings. You do not need LXAppearance to do what I describe below, but you will love life a little more if you have it.&lt;br /&gt;&lt;h2&gt;Different settings per Window Manager&lt;br /&gt;&lt;/h2&gt;Here's where the fun begins. This should work with any WM that has a startup script (required) and a shutdown script (strongly recommended but not strictly necessary). I used IceWM to test the idea.&lt;br /&gt;&lt;br /&gt;GTK settings are stored in the &lt;span style="font-family:courier new;"&gt;.gtkrc-2.0&lt;/span&gt; file in your home directory. What we are going to do at startup is redirect this by doing the following:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;create a file &lt;span style="font-family:courier new;"&gt;.gtkrc-icewm-2.0&lt;/span&gt; to store the GTK settings for icewm&lt;/li&gt;&lt;li&gt;copy the original &lt;span style="font-family:courier new;"&gt;.gtkrc-2.0&lt;/span&gt; file to a backup location.&lt;/li&gt;&lt;li&gt;delete the original &lt;span style="font-family:courier new;"&gt;.gtkrc-2.0&lt;/span&gt; file&lt;/li&gt;&lt;li&gt;then create a link from &lt;span style="font-family:courier new;"&gt;.gtkrc-2.0&lt;/span&gt; to &lt;span style="font-family:courier new;"&gt;.gtkrc-icewm-2.0&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;And at session end, we will:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;remove the link, and&lt;/li&gt;&lt;li&gt;restore the backed up &lt;span style="font-family:courier new;"&gt;.gtkrc-2.0&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;There are a few test we should do in the process to make sure we don't mess anything up. Below are experts from my &lt;span style="font-family:courier new;"&gt;~/.icewm/startup&lt;/span&gt; and &lt;span style="font-family:courier new;"&gt;~/.icewm/shutdown&lt;/span&gt; files that outline the needed tests.&lt;br /&gt;&lt;br /&gt;Excerpt from &lt;span style="font-family:courier new;"&gt;~/.icewm/startup&lt;/span&gt;:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;### This section lets icewm use its own gtk settings ###&lt;br /&gt;# it uses the following files&lt;br /&gt;# .gtkrc-2.0             original gtk settings file&lt;br /&gt;# .gtkrc-icewm-2.0       file where gtk settings for icewm session are stored&lt;br /&gt;# .gtkrc-2.0-orig.BAK    file where original .gtkrc-2.0 is stored&lt;br /&gt;#&lt;br /&gt;# if .gtkrc-icewm-2.0 doesn't exist, make it&lt;br /&gt;if [ ! -f ~/.gtkrc-icewm-2.0 ] ; then&lt;br /&gt;   if [ -f ~/.gtkrc-2.0 ] ; then&lt;br /&gt;       cp ~/.gtkrc-2.0 ~/.gtkrc-icewm-2.0&lt;br /&gt;   else&lt;br /&gt;       touch ~/.gtkrc-icewm-2.0&lt;br /&gt;   fi&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;# if .gtkrc-2.0 is a regular file, move .gtkrc-2.0 to a backup file,&lt;br /&gt;# then link to .gtkrc-icewm-2.0. (This should be undone in shutdown.)&lt;br /&gt;if [ -f ~/.gtkrc-2.0 ] ; then&lt;br /&gt;   cp ~/.gtkrc-2.0 ~/.gtkrc-2.0-orig.BAK&lt;br /&gt;   ln -sf ~/.gtkrc-icewm-2.0 ~/.gtkrc-2.0&lt;br /&gt;fi&lt;br /&gt;#&lt;br /&gt;### end gtk settings stuff&lt;/code&gt;&lt;/pre&gt;Excerpt from &lt;span style="font-family:courier new;"&gt;~/.icewm/shutdown&lt;/span&gt;:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;# if .gtkrc-2.0 is a link then remove link and restore backed up .gtkrc-2.0&lt;br /&gt;if [ -h ~/.gtkrc-2.0 ] ; then&lt;br /&gt;   rm ~/.gtkrc-2.0&lt;br /&gt;   cp ~/.gtkrc-2.0-orig.BAK ~/.gtkrc-2.0&lt;br /&gt;fi&lt;/code&gt;&lt;/pre&gt;If you don't do the shutdown bits, then the link to the &lt;span style="font-family:courier new;"&gt;.gtkrc-icewm-2.0 &lt;/span&gt;file will remain in place when you start a session in a different WM. This means that every WM you use that doesn't use gnome-settings-daemon (and maybe xfce-mcs-manager) &lt;span style="font-style: italic;"&gt;must&lt;/span&gt; do a restore on startup if things are not to get really wonky.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-3564076858256616272?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/3564076858256616272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=3564076858256616272' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/3564076858256616272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/3564076858256616272'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2009/11/different-gtk-settings-for-different.html' title='Different GTK settings for different sessions'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-7665185345076996395</id><published>2009-10-26T08:40:00.006+02:00</published><updated>2009-11-22T20:44:12.630+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rox'/><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='libtrash'/><title type='text'>issues with libtrash and ROX or Firefox</title><content type='html'>&lt;a href="http://pages.stern.nyu.edu/%7Emarriaga/software/libtrash/"&gt;libtrash&lt;/a&gt; is a shared library by &lt;a href="http://pages.stern.nyu.edu/%7Emarriaga/index.html"&gt;Manuel Arriaga&lt;/a&gt; that gives Linux delete operations a trashcan behavior. When I tried it under Debian Etch with ROX, I don't remember having any problems. This weekend I gave it a go with Ubuntu Januty, and, sadly, it is having issues. (I haven't tried it on Debian Lenny yet.)&lt;br /&gt;&lt;br /&gt;With both Openbox or IceWM, ROX started behaving a bit strange. In particular, any attempts to move into parent directories took a very, very long time.&lt;br /&gt;&lt;br /&gt;There are also issues with Firefox. libtrash's website points out a problem with segfaults when starting up on some systems. I didn't see segfaults on my system; instead Firefox just didn't want to start. Even from the command line, all I got was a stuck process (no debug/warning/etc. messages).&lt;br /&gt;&lt;br /&gt;I really hope these issues get ironed out because when it works, libtrash is pretty cool.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-7665185345076996395?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/7665185345076996395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=7665185345076996395' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/7665185345076996395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/7665185345076996395'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2009/10/issues-with-libtrash-and-rox-or-firefox.html' title='issues with libtrash and ROX or Firefox'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-1927329342046671565</id><published>2009-10-06T14:16:00.003+03:00</published><updated>2009-10-06T14:29:24.180+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><title type='text'>ssh via Cygwin</title><content type='html'>Argh. I am trying to set up &lt;a href="http://www.cis.upenn.edu/%7Ebcpierce/unison/"&gt;Unison&lt;/a&gt; on my Windows XP box at work. Unison needs an ssh connection, and the ssh server I had been using, &lt;a href="http://www.kpym.com/2/kpym/index.htm"&gt;KpyM Telnet/SSH Server&lt;/a&gt;, just doesn't seem to get along with Unison. This has led me try try the ssh server in &lt;a href="http://www.cygwin.com/"&gt;Cygwin&lt;/a&gt;, and all I can say is "Ouch."&lt;br /&gt;&lt;br /&gt;While Cygwin is truly a blessing, it is not exactly easy to set up. If you are trying to set up a ssh server with it, I found the directions &lt;a href="http://chinese-watercolor.com/LRP/printsrv/cygwin-sshd.html"&gt;here&lt;/a&gt; to be a godsend. Be sure to read it carefully as there are lots of little bits and pieces that can be messed up in the default install. In particular, I ran into a roadblock with group IDs right, and &lt;a href="http://chinese-watercolor.com/LRP/printsrv/passwd-group.html"&gt;this&lt;/a&gt; solved it.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-1927329342046671565?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/1927329342046671565/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=1927329342046671565' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1927329342046671565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1927329342046671565'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2009/10/ssh-via-cygwin.html' title='ssh via Cygwin'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-1967366148479044467</id><published>2009-09-29T22:42:00.009+03:00</published><updated>2010-08-30T09:09:28.302+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gnubiff'/><category scheme='http://www.blogger.com/atom/ns#' term='email'/><category scheme='http://www.blogger.com/atom/ns#' term='geek'/><title type='text'>Starting up gnubiff</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_aDShd01p9S0/SsJkC4cYdGI/AAAAAAAAA14/BhycDVu-_0E/s1600-h/tux-big.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5386978104962479202" src="http://4.bp.blogspot.com/_aDShd01p9S0/SsJkC4cYdGI/AAAAAAAAA14/BhycDVu-_0E/s320/tux-big.png" style="cursor: pointer; height: 80px; width: 81px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I am using &lt;a href="http://gnubiff.sourceforge.net/"&gt;gnubiff&lt;/a&gt; as my email notifier because it's cuter and more flexible than the defacto standard &lt;a href="http://www.nongnu.org/mailnotify/"&gt;Mail Notification&lt;/a&gt;. In fact, I use two different instances of gnubiff to provide notification for two different groups of email accounts. (Yeah ... I have too many email accounts.)&lt;br /&gt;&lt;br /&gt;However, one of gnubiff's issues is that once it encounters an error (such as if the Internet connection isn't up) it tends to get stuck even when whatever caused the error is fixed. To help with this problem, I wrote a script that I call when my session starts up. The script waits until the Internet connection is up before starting my biffs. You'll need to modify the specific biff/gnubiff/whatever calls for your needs.&lt;br /&gt;&lt;pre&gt;&lt;code&gt;#!/bin/bash&lt;br /&gt;&lt;br /&gt;# Copyright (c) 2009, Mithat Konar&lt;br /&gt;# All rights reserved.&lt;br /&gt;#&lt;br /&gt;# Redistribution and use in source and binary forms, with or without &lt;br /&gt;# modification, are permitted provided that the following conditions are&lt;br /&gt;# met:&lt;br /&gt;# &lt;br /&gt;#     * Redistributions of source code must retain the above copyright &lt;br /&gt;#       notice, this list of conditions and the following disclaimer.&lt;br /&gt;#     * Redistributions in binary form must reproduce the above copyright&lt;br /&gt;#       notice, this list of conditions and the following disclaimer in the&lt;br /&gt;#       documentation and/or other materials provided with the&lt;br /&gt;#       distribution.&lt;br /&gt;#     * Neither the name of the &lt;organization&gt; nor the names of its&lt;br /&gt;#       contributors may be used to endorse or promote products derived&lt;br /&gt;#       from this software without specific prior written permission.&lt;br /&gt;# &lt;br /&gt;# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS&lt;br /&gt;# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,&lt;br /&gt;# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR &lt;br /&gt;# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR &lt;br /&gt;# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, &lt;br /&gt;# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, &lt;br /&gt;# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR &lt;br /&gt;# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF &lt;br /&gt;# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING &lt;br /&gt;# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS &lt;br /&gt;# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.&lt;br /&gt;#&lt;br /&gt;# Delays the launching of biffs so the network can get setup.&lt;br /&gt;# Requires wget, zenity.&lt;br /&gt;&lt;br /&gt;MAX_TRIES=4   # max number of attempts to verify connection&lt;br /&gt;DELAY=15   # time between attmepts to verify connection&lt;br /&gt;TEST_URL=http://www.google.com # the URL used to verify connection&lt;br /&gt;TMP_FILE=/tmp/start-biffs-mfk # a needed temp file; must be user r-w&lt;br /&gt;&lt;br /&gt;###########################################################################&lt;br /&gt;&lt;br /&gt;rm -f $TMP_FILE&lt;br /&gt;numTries=0&lt;br /&gt;while [ "a" == "a" ]&lt;br /&gt;do&lt;br /&gt;if [ $numTries -ge $MAX_TRIES ] ; then&lt;br /&gt;zenity --question --title "biff startup issues" --text "I haven't been able to detect an Internet connection.\n\nShould I continue trying?"&lt;br /&gt;if [ "$?" == "0" ] ; then&lt;br /&gt;numTries=0&lt;br /&gt;else&lt;br /&gt;exit 1&lt;br /&gt;fi&lt;br /&gt;fi&lt;br /&gt;wget $TEST_URL -O $TMP_FILE&lt;br /&gt;if [ -s $TMP_FILE ] ; then&lt;br /&gt;break &lt;br /&gt;fi&lt;br /&gt;sleep $DELAY&lt;br /&gt;let numTries=numTries+1&lt;br /&gt;done&lt;br /&gt;rm -f $TMP_FILE&lt;br /&gt;&lt;br /&gt;###########################################################################&lt;br /&gt;sleep 5&lt;br /&gt;gnubiff -n --systemtray -c ~/.gnubiffrc-gmail&amp;amp;&lt;br /&gt;sleep 10&lt;br /&gt;gnubiff -n --systemtray -c ~/.gnubiffrc-misc&amp;amp;&lt;br /&gt;# the following isn't really a biff, but it's close enough to count as one&lt;br /&gt;sleep 10&lt;br /&gt;~/Apps/scripts/email-notify-mfk&amp;amp;&lt;br /&gt;&lt;/organization&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-1967366148479044467?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/1967366148479044467/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=1967366148479044467' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1967366148479044467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1967366148479044467'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2009/09/starting-up-gnubiff.html' title='Starting up gnubiff'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_aDShd01p9S0/SsJkC4cYdGI/AAAAAAAAA14/BhycDVu-_0E/s72-c/tux-big.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-1912435684777717541</id><published>2009-09-25T20:02:00.005+03:00</published><updated>2010-08-30T09:10:03.698+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gnome'/><category scheme='http://www.blogger.com/atom/ns#' term='geek'/><title type='text'>Running commands on GNOME logout</title><content type='html'>This post deals with &lt;a href="http://www.gnome.org/"&gt;GNOME&lt;/a&gt;, which disqualifies it from any reasonable "light-and-lean" discussion, but I don't exactly know where else to make a note of this.&lt;br /&gt;&lt;br /&gt;One of the bigger omissions from GNOME is that there is no built-in mechanism for executing commands at logout. I discovered this the hard way when trying to set up &lt;a href="http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki"&gt;MPD&lt;/a&gt; to run completely in userspace (to be documented in an upcoming post). However, it is possible to make &lt;a href="http://projects.gnome.org/gdm/"&gt;GDM&lt;/a&gt; run arbitrary stuff at the end of the session, and that can be used to good effect as described &lt;a href="http://www.linuxquestions.org/questions/linux-desktop-74/gnome-run-script-on-logout-724453/"&gt;here&lt;/a&gt;. In the event that that link goes bad, in summary what you do is edit&lt;span style="font-family:courier new;"&gt; /etc/gdm/PostSession/Default&lt;/span&gt;&lt;br /&gt;and add&lt;br /&gt;&lt;pre&gt;&lt;code&gt;logoutscript="$HOME/.gdmlogout";&lt;br /&gt;if [ -x "$logoutscript" ] ; then&lt;br /&gt;su $USER -c "$logoutscript"&lt;br /&gt;fi&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;to the file. Then create a file &lt;span style="font-family: courier new;"&gt;.gdmlogout&lt;/span&gt; in your home directory and make it executable.&lt;br /&gt;&lt;br /&gt;You need to note that this will only work if you are using GDM and the &lt;span style="font-family: courier new;"&gt;.gdmlogout&lt;/span&gt; file will execute no matter what desktop environment you log into. &lt;code&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-1912435684777717541?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/1912435684777717541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=1912435684777717541' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1912435684777717541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1912435684777717541'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2009/09/running-commands-on-gnome-logout.html' title='Running commands on GNOME logout'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-4709109504466816864</id><published>2009-09-14T14:10:00.004+03:00</published><updated>2010-08-30T09:11:04.887+03:00</updated><title type='text'>Use ROX-Filer to open containing folders in Firefox/Iceweasel (Part 2)</title><content type='html'>About a year ago, I &lt;a href="http://lovingthepenguin.blogspot.com/2008/08/use-rox-filer-to-open-containing.html"&gt;wrote up a method&lt;/a&gt; for getting Firefox/Iceweasel to open files in ROX-filer in Debian Etch. Recently, &lt;a href="http://www.void.gr/kargig/blog"&gt;Into.The.Void&lt;/a&gt; wrote up a &lt;a href="http://www.void.gr/kargig/blog/2009/05/31/lifesaving-rox-tip-open-file-urls/"&gt;much more sane way&lt;/a&gt; to accomplish the same thing in Gentoo that works with more recent versions of ROX.&lt;br /&gt;&lt;br /&gt;ROX's &lt;span style="font-family:courier new;"&gt;-U&lt;/span&gt; option that Into.The.Void uses is not available in the version of ROX that's in Etch, but it &lt;span style="font-style: italic;"&gt;is&lt;/span&gt; available in Lenny. (You have updated to Lenny, haven't you?) The bad news is that, the file used in Into.The.Void's script,&lt;span style="font-family:courier new;"&gt; /usr/lib/rox/ROX-Filer/AppRun&lt;/span&gt;, is not part of the ROX package in Lenny. But the good news is that it is trivially simple to change the script so that it does work in Lenny.&lt;br /&gt;&lt;br /&gt;So, here is Into.The.Void's method adapted to Lenny:&lt;br /&gt;&lt;br /&gt;As root, make a new file &lt;span style="font-family:courier new;"&gt;/usr/local/bin/roxuri&lt;/span&gt; and copy the following into it:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;#!/bin/sh&lt;br /&gt;exec rox -U "$@"&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Make the new file executable for all by using ROX or by issuing the command:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;chmod a+x /usr/local/bin/roxuri&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Open Firefox/Iceweaswel and set it to use the script to open files with &lt;span style="font-style: italic;"&gt;Edit -&gt; Preferences -&gt; Applications: file&lt;/span&gt; and selecting &lt;span style="font-family:courier new;"&gt;/usr/local/bin/roxuri&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Enjoy.&lt;br /&gt;&lt;br /&gt;I don't know if this will work with Ubuntu because for some strange reason Ubuntu's version of ROX in 9.04  is quite a bit older than what ships in Lenny.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-4709109504466816864?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/4709109504466816864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=4709109504466816864' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4709109504466816864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4709109504466816864'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2009/09/use-rox-filer-to-open-containing.html' title='Use ROX-Filer to open containing folders in Firefox/Iceweasel (Part 2)'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-5635172648405333486</id><published>2009-08-14T00:00:00.004+03:00</published><updated>2009-08-14T00:18:28.150+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SkinnyDebbie'/><title type='text'>SkinnyDebbie for Lenny</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_aDShd01p9S0/SoSBffvlJrI/AAAAAAAAA1Y/f-aKa-jP4sA/s1600-h/skinny-for-lenny-small.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_aDShd01p9S0/SoSBffvlJrI/AAAAAAAAA1Y/f-aKa-jP4sA/s320/skinny-for-lenny-small.jpg" alt="" id="BLOGGER_PHOTO_ID_5369559033829467826" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I just released an advanced beta (i.e., good enough for daily use) of the &lt;a href="http://www.skinnydebbie.org/"&gt;SkinnyDebbie&lt;/a&gt; light-and-lean flavorizer for Debian Lenny.&lt;br /&gt;&lt;br /&gt;Please, do go forth and enjoy.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-5635172648405333486?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/5635172648405333486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=5635172648405333486' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/5635172648405333486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/5635172648405333486'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2009/08/skinnydebbie-for-lenny.html' title='SkinnyDebbie for Lenny'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_aDShd01p9S0/SoSBffvlJrI/AAAAAAAAA1Y/f-aKa-jP4sA/s72-c/skinny-for-lenny-small.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-568454846321917729</id><published>2009-06-10T00:59:00.003+03:00</published><updated>2009-06-10T01:15:24.600+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wallpaper'/><title type='text'>Xstarfish</title><content type='html'>Xstarfish is another tool you can use to set your screen's background image. However, unlike other wallpaper tools that simply paste pictures into the background, Xstarfish creates a new random image everytime it is invoked; you can also set it to periodically generate a images. I won't go into how to use it here; the &lt;a href="http://www.penguin-soft.com/penguin/man/1/xstarfish.html"&gt;man page&lt;/a&gt; is clear enough.&lt;br /&gt;&lt;br /&gt;Urukrama's Weblog has a couple &lt;a href="http://urukrama.files.wordpress.com/2007/12/xstarfish_fluxbox7.jpg"&gt;nice&lt;/a&gt; &lt;a href="http://urukrama.files.wordpress.com/2007/12/xstarfish_fluxbox9.jpg"&gt;screenshots&lt;/a&gt; to give you an idea what it does.&lt;br /&gt;&lt;br /&gt;A word of warning: if you go for the '-s full' option, it will eat a &lt;span style="font-style: italic;"&gt;lot &lt;/span&gt;of cycles before it shows anything.&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;via &lt;a href="http://urukrama.wordpress.com/2007/12/05/desktop-backgrounds-in-window-managers/"&gt;Urukrama's Weblog&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-568454846321917729?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/568454846321917729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=568454846321917729' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/568454846321917729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/568454846321917729'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2009/06/xstarfish.html' title='Xstarfish'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-5656159653721356136</id><published>2009-06-07T13:44:00.007+03:00</published><updated>2010-08-30T09:12:15.435+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nitrogen'/><category scheme='http://www.blogger.com/atom/ns#' term='wallpaper'/><category scheme='http://www.blogger.com/atom/ns#' term='bits and pieces'/><title type='text'>Nitrogen</title><content type='html'>&lt;a href="http://projects.l3ib.org/nitrogen/"&gt;Nitrogen&lt;/a&gt; is a friendly tool you can use to set your screen's background image (i.e., &lt;a href="http://en.wikipedia.org/wiki/Computer_wallpaper"&gt;wallpaper&lt;/a&gt;). To select a new background image, launch nitrogen from the command line, passing it the directory in which you store your background images:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;nitrogen /path/to/background/images&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This brings up a GUI from which you can select, stretch, etc. your desired image.&lt;br /&gt;&lt;br /&gt;You can restore the most recently set background image with the command:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;nitrogen --restore&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;If you place this command in your session startup scripts, every time you login to your session nitrogen will restore your background image.&lt;br /&gt;&lt;br /&gt;The only problem with nitrogen is that its image browser expects to be &lt;span&gt;told&lt;/span&gt; the directory to search for images. In other words, it does not have a built-in directory browser. To that end, I wrote the following little script to wraps nitrogen inside a directory selection GUI. Enjoy.&lt;br /&gt;&lt;pre&gt;&lt;code&gt;#! /bin/bash&lt;br /&gt;&lt;br /&gt;# Mithat Konar 2009-06-07&lt;br /&gt;# Wraps nitrogen inside a directory selection GUI.&lt;br /&gt;# Requires: nitrogen, zenity&lt;br /&gt;&lt;br /&gt;ui_browseTitle="Select a directory (Cancel to quit)"&lt;br /&gt;&lt;br /&gt;theDirectory=~&lt;br /&gt;&lt;br /&gt;while [ "$theDirectory" != "" ]; do&lt;br /&gt;theDirectory=$(zenity --file-selection --title "$ui_browseTitle"  --directory --filename="${theDirectory}/");&lt;br /&gt;&lt;br /&gt;if [ "$theDirectory" != "" ]; then&lt;br /&gt;nitrogen --no-recurse "$theDirectory"&lt;br /&gt;fi&lt;br /&gt;done&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-5656159653721356136?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/5656159653721356136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=5656159653721356136' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/5656159653721356136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/5656159653721356136'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2009/06/nitrogen.html' title='Nitrogen'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-5604805099667016046</id><published>2009-05-12T23:53:00.008+03:00</published><updated>2010-08-30T09:14:02.901+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='X'/><category scheme='http://www.blogger.com/atom/ns#' term='SkinnyDebbie'/><category scheme='http://www.blogger.com/atom/ns#' term='Lenny'/><title type='text'>Thanks, Yellow Dog! :-)</title><content type='html'>Executive summary:&lt;br /&gt;If you are having trouble getting &lt;a href="http://www.debian.org/"&gt;Debian Lenny&lt;/a&gt; to give you anything other than 800x600 resolution on a Macintosh Cube, try the xorg.conf file below.&lt;br /&gt;&lt;br /&gt;The long version:&lt;br /&gt;In a &lt;a href="http://lovingthepenguin.blogspot.com/2008/09/skinnydebbie-and-powerpc-macintosh.html"&gt;previous post&lt;/a&gt;, I mentioned how easy it was to tweak the Etch-based version of &lt;a href="http://skinny.tuxfamily.org/"&gt;SkinnyDebbie&lt;/a&gt; so it worked on a Macintosh Cube. More recently, I've directed some energy into getting Lenny up and running on the Cube as a precursor to making the upcoming Lennified version of Skinny work on it as well.&lt;br /&gt;&lt;br /&gt;My adventure started by installing the Xfce version of Lenny on the Cube, and it worked ... sort of. As long as I was happy with 800x600 resolution, it worked fine. As far as other resolutions go, there were none. 800x600 was the only thing available. Much Googling and dinking around with /etc/X11/xorg.conf changed nothing or made the situation worse.&lt;br /&gt;&lt;br /&gt;So, I tried a full Gnome install. Same thing. I tried building a system from the ground up, adding all the bits and pieces incrementally. I got no further than installing xserver-xorg. Groan. More Googling and I learned that the r128 driver used by the ATI Rage 128 Pro card has been relegated to legacy status. Despondency ensues.&lt;br /&gt;&lt;br /&gt;I then turned my attention to other distributions in the hope that whatever goofy thing was responsible for this was resolved there. &lt;a href="http://www.ubuntu.com/"&gt;Ubuntu&lt;/a&gt;? Nope. PPC no longer officially supported, and a recent install disk wouldn't even pass Go. &lt;a href="http://fedoraproject.org/"&gt;Fedora&lt;/a&gt;? Worth a shot ... I downloaded the Xfce spin and ... exact same behavior. More despondency.&lt;br /&gt;&lt;br /&gt;Then I remembered &lt;a href="http://us.fixstars.com/products/ydl/"&gt;Yellow Dog Linux&lt;/a&gt;. YDL is a distribution specifically targeting PPC machines, including the Sony Playstation and older Macs. The number of packages supported by YDL is fairly limited, but, hey, a 1280x1024 Cube beats a 800x600 Cube even if it means having to compile everything yourself. So I gave it a shot ... and it worked! Oh, what glory. Gnome and Enlightment only, but it worked.&lt;br /&gt;&lt;br /&gt;Then I had an idea. What if I take the display-related stuff in YDL's xorg.conf and use it  in Lenny? I was fully expecting a catastrophic video fail with this, but maybe I would learn something in the process. And, much to my surprise, it worked!&lt;br /&gt;&lt;br /&gt;Gasp.&lt;br /&gt;&lt;br /&gt;Hoo-ray! Full resolution Macintosh Cube Lenny at last!&lt;br /&gt;&lt;br /&gt;Now, I know I'm not the only one with this problem. I suspect there are at least ten of us that are in this boat. So for the benefit of the remaining nine, I present below the xorg.conf file that finally did the trick. I haven't spent any time trying to figure out what the magic change is, I'm just so jazzed that it works that I wanted to share.&lt;br /&gt;&lt;pre&gt;&lt;code&gt;# xorg.conf (X.Org X Window System server configuration file)&lt;br /&gt;#&lt;br /&gt;# This file was generated by dexconf, the Debian X Configuration tool, using&lt;br /&gt;# values from the debconf database.&lt;br /&gt;#&lt;br /&gt;# Edit this file with caution, and see the xorg.conf manual page.&lt;br /&gt;# (Type "man xorg.conf" at the shell prompt.)&lt;br /&gt;#&lt;br /&gt;# This file is automatically updated on xserver-xorg package upgrades *only*&lt;br /&gt;# if it has not been modified since the last upgrade of the xserver-xorg&lt;br /&gt;# package.&lt;br /&gt;#&lt;br /&gt;# If you have edited this file but would like it to be automatically updated&lt;br /&gt;# again, run the following command:&lt;br /&gt;#   sudo dpkg-reconfigure -phigh xserver-xorg&lt;br /&gt;&lt;br /&gt;Section "InputDevice"&lt;br /&gt;Identifier    "Generic Keyboard"&lt;br /&gt;Driver        "kbd"&lt;br /&gt;Option        "XkbRules"    "xorg"&lt;br /&gt;Option        "XkbModel"    "pc104"&lt;br /&gt;Option        "XkbLayout"    "us"&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "InputDevice"&lt;br /&gt;Identifier    "Configured Mouse"&lt;br /&gt;Driver        "mouse"&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "Device"&lt;br /&gt;&lt;br /&gt;#Option    "ShadowFB"    "true"&lt;br /&gt;#Option    "fbdev"    "/dev/fb0"&lt;br /&gt;#BusID    "0:0:0"&lt;br /&gt;Identifier  "Card0"&lt;br /&gt;Driver      "fbdev"&lt;br /&gt;Option        "UseFBDev" "true"&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Section "Monitor"&lt;br /&gt;### Comment all HorizSync and VertSync values to use DDC:&lt;br /&gt;Identifier   "Monitor0"&lt;br /&gt;ModelName    "Monitor Model"&lt;br /&gt;### Comment all HorizSync and VertSync values to use DDC:&lt;br /&gt;HorizSync    30.0 - 81.0&lt;br /&gt;VertRefresh  56.0 - 60.0&lt;br /&gt;Option        "DPMS"&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "Screen"&lt;br /&gt;Identifier "Screen0"&lt;br /&gt;Device     "Card0"&lt;br /&gt;Monitor    "Monitor0"&lt;br /&gt;DefaultDepth     24&lt;br /&gt;SubSection "Display"&lt;br /&gt;Depth     8&lt;br /&gt;Modes    "1024x768"&lt;br /&gt;EndSubSection&lt;br /&gt;SubSection "Display"&lt;br /&gt;Depth     16&lt;br /&gt;Modes    "1024x768"&lt;br /&gt;EndSubSection&lt;br /&gt;SubSection "Display"&lt;br /&gt;Depth     24&lt;br /&gt;Modes    "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"&lt;br /&gt;EndSubSection&lt;br /&gt;SubSection "Display"&lt;br /&gt;Depth     15&lt;br /&gt;Modes    "1024x768"&lt;br /&gt;EndSubSection&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;#Section "DRI"&lt;br /&gt;#    Group        0&lt;br /&gt;#    Mode         0666&lt;br /&gt;#EndSection&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-5604805099667016046?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/5604805099667016046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=5604805099667016046' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/5604805099667016046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/5604805099667016046'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2009/05/thanks-yellow-dog.html' title='Thanks, Yellow Dog! :-)'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-1518653671357003814</id><published>2009-05-05T02:26:00.004+03:00</published><updated>2009-05-05T02:40:49.164+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lenny'/><category scheme='http://www.blogger.com/atom/ns#' term='misc.'/><title type='text'>Not all Xfce's are equal</title><content type='html'>I happened by chance onto a &lt;a href="http://crunchbanglinux.org/forums/post/20693/#p20693"&gt;post&lt;/a&gt; in the &lt;a href="http://crunchbanglinux.org/"&gt;CrunchBang Linux&lt;/a&gt; forum that led to an &lt;a href="http://distrowatch.com/weekly.php?issue=20090504#feature"&gt;interesting article&lt;/a&gt; comparing Debian's and Ubuntu's Xfce-based desktop installs. And now that &lt;a href="http://wicd.sourceforge.net/"&gt;Wicd&lt;/a&gt; is available in Ubuntu 9.04 as well as in Debian testing and lenny-backports, I am starting to get unreasonably excited.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-1518653671357003814?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/1518653671357003814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=1518653671357003814' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1518653671357003814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1518653671357003814'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2009/05/not-all-xfces-are-equal.html' title='Not all Xfce&apos;s are equal'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-645123713570486074</id><published>2009-05-04T23:47:00.005+03:00</published><updated>2010-08-30T09:14:57.099+03:00</updated><title type='text'>A .fonts.config file</title><content type='html'>For whatever it's worth, I've been having pretty good luck with the following .fonts.conf file after installing &lt;span style="font-family:courier new;"&gt;msttcorefonts&lt;/span&gt; in both Debian Lenny and in Ubunty 8.10 (Intrepid). I haven't really tried it in Ubuntu 9.04 (Jaunty), but it's worth noting that &lt;span style="font-family:courier new;"&gt;msttcorefonts&lt;/span&gt; is called &lt;span style="font-family:courier new;"&gt;ttf-mscorefonts-installer&lt;/span&gt; in 9.10.&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;br /&gt;&amp;lt;!DOCTYPE fontconfig SYSTEM "fonts.dtd"&amp;gt;&lt;br /&gt;&amp;lt;fontconfig&amp;gt;&lt;br /&gt;&amp;lt;match target="font"&amp;gt;&lt;br /&gt;&amp;lt;edit mode="assign" name="autohint"&amp;gt;&lt;br /&gt;&amp;lt;bool&amp;gt;false&amp;lt;/bool&amp;gt;&lt;br /&gt;&amp;lt;/edit&amp;gt;&lt;br /&gt;&amp;lt;/match&amp;gt;&lt;br /&gt;&amp;lt;match target="font"&amp;gt;&lt;br /&gt;&amp;lt;edit mode="assign" name="rgba"&amp;gt;&lt;br /&gt;&amp;lt;const&amp;gt;rgb&amp;lt;/const&amp;gt;&lt;br /&gt;&amp;lt;/edit&amp;gt;&lt;br /&gt;&amp;lt;/match&amp;gt;&lt;br /&gt;&amp;lt;match target="font"&amp;gt;&lt;br /&gt;&amp;lt;edit mode="assign" name="hinting"&amp;gt;&lt;br /&gt;&amp;lt;bool&amp;gt;true&amp;lt;/bool&amp;gt;&lt;br /&gt;&amp;lt;/edit&amp;gt;&lt;br /&gt;&amp;lt;/match&amp;gt;&lt;br /&gt;&amp;lt;match target="font"&amp;gt;&lt;br /&gt;&amp;lt;edit mode="assign" name="hintstyle"&amp;gt;&lt;br /&gt;&amp;lt;const&amp;gt;hintfull&amp;lt;/const&amp;gt;&lt;br /&gt;&amp;lt;/edit&amp;gt;&lt;br /&gt;&amp;lt;/match&amp;gt;&lt;br /&gt;&amp;lt;match target="font"&amp;gt;&lt;br /&gt;&amp;lt;edit mode="assign" name="antialias"&amp;gt;&lt;br /&gt;&amp;lt;bool&amp;gt;true&amp;lt;/bool&amp;gt;&lt;br /&gt;&amp;lt;/edit&amp;gt;&lt;br /&gt;&amp;lt;/match&amp;gt;&lt;br /&gt;&amp;lt;/fontconfig&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-645123713570486074?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/645123713570486074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=645123713570486074' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/645123713570486074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/645123713570486074'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2009/05/fontsconfig-file.html' title='A .fonts.config file'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-5719438615735344770</id><published>2009-04-04T15:52:00.003+03:00</published><updated>2009-04-04T16:13:01.983+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SkinnyDebbie'/><title type='text'>CrunchBang Linux</title><content type='html'>The people over at &lt;a href="http://crunchbanglinux.org/"&gt;CrunchBang Linux&lt;/a&gt; have put together what they promise is a lightweight Ubuntu-based distribution. It comes in Standard, Lite and Eee versions. I have yet to try it, but I absolutely love the minimalist default desktop and am very impressed by what I've read.&lt;br /&gt;&lt;br /&gt;CrunchBang's approach to implementation and design differs a bit from what I'm trying to do (ever so slowly lately) with &lt;a href="http://skinny.tuxfamily.org/"&gt;SkinnyDebbie&lt;/a&gt;. Implementation-wise, CrunchBang is a &lt;span style="font-style: italic;"&gt;full distribution&lt;/span&gt; that is based on a standard distribution (Ubuntu); SkinnyDebbie is a &lt;span style="font-style: italic;"&gt;configuration &lt;/span&gt;that sits on top of a standard (currently Debian) distribution. In terms of design, without actually trying it I can't say for sure, but it looks as though CrunchBang is aimed at users that have at least a bit of Linux familiarity and a tiny bit of hardware headroom.; the design philosophy behind SkinnyDebbie is to make it as useful and inviting as possible to computer newbies while using the lightest-weight core options that still get the job done.&lt;br /&gt;&lt;br /&gt;Of course neither approach is better than the other; CrunchBang and Skinny are intended for slightly different audiences/flavors of users. If you are looking for a lightweight Linux distribution, please give CrunchBank a spin and let me know what you think. If CrunchBang had been around when I started Skinny, I might never have started it. :-)&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-5719438615735344770?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/5719438615735344770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=5719438615735344770' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/5719438615735344770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/5719438615735344770'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2009/04/crunchbang-linux.html' title='CrunchBang Linux'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-8362155717782064291</id><published>2009-03-12T12:25:00.003+02:00</published><updated>2009-03-12T12:29:22.879+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SkinnyDebbie'/><title type='text'>SkinnyDebbie has moved</title><content type='html'>I've moved SkinnyDebbie to a new home. Skinny's new home will be able to give the project more of the services it wants and needs. From now on, the best place to get the Skinny is&lt;a href="http://skinny.tuxfamily.org/"&gt; http://skinny.tuxfamily.org/&lt;/a&gt; .&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-8362155717782064291?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/8362155717782064291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=8362155717782064291' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/8362155717782064291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/8362155717782064291'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2009/03/skinnydebbie-has-moved.html' title='SkinnyDebbie has moved'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-2496289675057727552</id><published>2009-02-15T19:44:00.004+02:00</published><updated>2009-02-15T20:04:32.664+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lenny'/><title type='text'>Lenny is out!</title><content type='html'>Debian gives us a Valentines Day gift by &lt;a href="http://www.debian.org/News/2009/20090214"&gt;releasing Lenny&lt;/a&gt;. :-)&lt;br /&gt;&lt;span style="font-size:78%;"&gt;via &lt;a href="http://linux.slashdot.org/article.pl?sid=09/02/14/1952222&amp;amp;from=rss"&gt;Slashdot&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-2496289675057727552?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/2496289675057727552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=2496289675057727552' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/2496289675057727552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/2496289675057727552'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2009/02/lenny-is-out.html' title='Lenny is out!'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-1223982257780762029</id><published>2009-01-29T23:39:00.013+02:00</published><updated>2009-03-12T12:37:19.090+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='X'/><category scheme='http://www.blogger.com/atom/ns#' term='Lenny'/><title type='text'>The Joy of X</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_aDShd01p9S0/SYIsEq6DU3I/AAAAAAAAAtM/-VO2fz4vzlw/s1600-h/X11.png"&gt;&lt;img style="cursor: pointer; width: 150px; height: 150px;" src="http://2.bp.blogspot.com/_aDShd01p9S0/SYIsEq6DU3I/AAAAAAAAAtM/-VO2fz4vzlw/s320/X11.png" alt="" id="BLOGGER_PHOTO_ID_5296844570490000242" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I've been doing some work with &lt;a href="http://wiki.debian.org/DebianLenny"&gt;Lenny&lt;/a&gt; in its current pre-released state. It's actually pretty stable and usable, with one 1000-pound gorilla exception: X.&lt;br /&gt;&lt;br /&gt;In case you are as new to Linux as I was last year, the &lt;a href="http://en.wikipedia.org/wiki/X11"&gt;X Window System&lt;/a&gt; (or simply &lt;span style="font-style: italic;"&gt;X&lt;/span&gt;) is the name of the service that provides graphics in Linux. There used to be competing flavors of X, but now the world has pretty much settled on the version offered by the &lt;a href="http://www.x.org/"&gt;X.Org project&lt;/a&gt;. In contrast with the myriad choices for file managers, text editors, window managers, etc. that characterizes the rest of Linux, if you want graphics (i.e., GUI), you need to deal with X, and you will almost certainly be dealing with X.Org's implementation.&lt;br /&gt;&lt;br /&gt;Right now I kinda wish you didn't.&lt;br /&gt;&lt;br /&gt;The 1000-pound issue with the latest (i.e., found in Lenny) version of X involves automatic modes detection. In Etch, when you installed X the installer ran a script that made a reasonable guess concerning what your video system was capable of and then asked you if it got it right. Then it would write the data to &lt;code&gt;/etc/X11/xorg.conf&lt;/code&gt; and use that data when delivering services. If you changed/added monitors or video cards you had to rerun the config routine with&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# dpkg-reconfigure -phigh xserver-xorg&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;(as root) and that would generate a new &lt;code&gt;xorg.conf&lt;/code&gt; file. The syntax of the &lt;code&gt;xorg.conf&lt;/code&gt; file is really painful, especially for your grandmother, but if for some reason you needed to optimize some settings manually, you could. This hasn't been needed on any of the four SkinnyDebbie systems I use. Overall, the arrangement was not ideal, but it was workable.&lt;br /&gt;&lt;br /&gt;Then the X people decided to make it ideal. The idea(l) is that the video system should tell the X server what the video system is capable of when the X-session starts up, and X should then use &lt;span style="font-style: italic;"&gt;that &lt;/span&gt;data. If you change/add hardware, all you need to do is restart your X session. Beautiful.&lt;br /&gt;&lt;br /&gt;Except in my Lenny experience a &lt;span style="font-style: italic;"&gt;lot&lt;/span&gt; of video cards and monitors (especially slightly older ones) do not (correctly) tell the system what they are able to do. And while you can still hand-edit the &lt;code&gt;xorg.conf&lt;/code&gt; file to force it to tell X what the video system can do, there is no way to get the data into the &lt;code&gt;xorg.conf&lt;/code&gt; file without teaching your grandmother the painful &lt;code&gt;xorg.conf&lt;/code&gt; syntax. In other words as near as I can tell, &lt;code&gt;dpkg-reconfigure -phigh xserver-xorg&lt;/code&gt; doesn't have a "manual override" mode. Ugh.&lt;br /&gt;&lt;br /&gt;Just as bad:&lt;br /&gt;The standard Linux program for resizing/rotating your display is called &lt;code&gt;xrandr&lt;/code&gt;. Among its jobs are reporting back to you what the X system says you can set for resolution and refresh rate and allowing you to select the mode you want to use. Except it hasn't worked with &lt;span style="font-style: italic;"&gt;any &lt;/span&gt;setup I've used using totally autoconfigured X.&lt;br /&gt;&lt;br /&gt;I really, really hope this one gets worked out.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-1223982257780762029?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/1223982257780762029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=1223982257780762029' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1223982257780762029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1223982257780762029'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2009/01/joys-of-x.html' title='The Joy of X'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_aDShd01p9S0/SYIsEq6DU3I/AAAAAAAAAtM/-VO2fz4vzlw/s72-c/X11.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-8389355751093022770</id><published>2008-12-28T15:33:00.005+02:00</published><updated>2009-01-30T00:41:07.993+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SkinnyDebbie'/><category scheme='http://www.blogger.com/atom/ns#' term='Lenny'/><title type='text'>Where is Lenny?</title><content type='html'>Additional development of &lt;a href="http://birotechnology.com/skinny/"&gt;SkinnyDebbie&lt;/a&gt; has been held up by two things. The first is an unbelievable workload this term. I am teaching almost double the standard load. And on top of that (not because I am an idiot, but because I had no choice) I am taking two classes for my PhD program--two classes that are turning out to be much more time demanding that I had anticipated. I am hoping next term won't be as insane as this one.&lt;br /&gt;&lt;br /&gt;The second reason is the delay in &lt;a href="http://wiki.debian.org/DebianLenny"&gt;Lenny&lt;/a&gt;'s release.  It was originally on track for a September/October 2008 release, but due to some release-critical bugs, the final release is now not expected until &lt;a href="http://www.linuxpromagazine.com/online/news/debian_5_0_lenny_in_june_2009"&gt;June of 2009&lt;/a&gt;. (See also &lt;a href="http://blogs.koolwal.net/2008/12/12/debian-lenny-50-release-date/"&gt;this&lt;/a&gt; and &lt;a href="http://www.tuxmachines.org/node/32909"&gt;this&lt;/a&gt;.)&lt;br /&gt;&lt;br /&gt;I don't really want to develop/fix/improve anything with SkinnyDebbie until Lenny's final form sees daylight. Given that there are release-critical (i.e., significant) bugs and the projected timeline for resolution is so long, there is a good chance that important bits of anything I develop now may break by the time the release is finalized, possibly is subtle, hard to find ways. I'd rather have a go at it once the infrastructure is finalized.&lt;br /&gt;&lt;br /&gt;In the meantime, what is a light-and-lean Linuxer to do? The big concern I have with Etch is that support for Firefox 2 will soon go away. I'm pretty sure that means no more security updates from Mozilla. Does that mean that Etch will upgrade Iceweasel to v3 in Etch? Will Iceweasel developers backport security updates to v2? I haven't heard anything about this yet.&lt;br /&gt;&lt;br /&gt;Given the delay with Lenny and issues with Etch's age, I am considering converting the SkinnyDebbie project to an Ubuntu-based deal. But I need to let this term play out before I can make a good decision. In the meantime, if you are brave you can use SkinnyDebbie as-is with Lenny. Some things won't work--the widgets for setting display resolution for example--but in my testing the overall scheme holds up pretty well.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-8389355751093022770?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/8389355751093022770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=8389355751093022770' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/8389355751093022770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/8389355751093022770'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/12/where-is-lenny.html' title='Where is Lenny?'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-7227479362579791377</id><published>2008-09-22T18:04:00.006+03:00</published><updated>2008-09-22T18:23:50.391+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='samba'/><category scheme='http://www.blogger.com/atom/ns#' term='how-to'/><title type='text'>Samba: passwords</title><content type='html'>&lt;a href="http://samba.org/"&gt;Samba&lt;/a&gt; drove me nuts until I figured out that it keeps its &lt;a href="http://www.samba.netfirms.com/addusers.htm#adduser"&gt;own database of passwords&lt;/a&gt;. In other words, for each user that you intend to permit access for in Samba, you must also create a password. It's easy enough to do:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;sudo smbpasswd -a &amp;lt;username&amp;gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;but if no one tells you this, you will go nuts trying to figure it out. Not even the &lt;a href="http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/"&gt;official Samba HOW-TO&lt;/a&gt; gives you a decent clue about this.&lt;br /&gt;&lt;br /&gt;Apparently, you can set Debian Etch up to &lt;a href="http://jaka.kubje.org/wp/2007/05/14/unix-samba-password-sync-on-debian-etch/"&gt;sync Samba and user passwords&lt;/a&gt;, but I haven't gone there yet.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-7227479362579791377?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/7227479362579791377/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=7227479362579791377' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/7227479362579791377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/7227479362579791377'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/09/samba-passwords.html' title='Samba: passwords'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-2678570297397727965</id><published>2008-09-20T17:09:00.005+03:00</published><updated>2008-09-22T18:27:56.395+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MPD'/><category scheme='http://www.blogger.com/atom/ns#' term='how-to'/><title type='text'>Music Playing Daemon: setup</title><content type='html'>I've been having way too much fun with &lt;a href="http://www.musicpd.org/"&gt;MPD&lt;/a&gt; lately. It is now my default tool for music listening at home. I am using &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/6324"&gt;Music Player Minion&lt;/a&gt;, &lt;a href="http://ario-player.sourceforge.net/"&gt;Ario&lt;/a&gt;, and &lt;a href="http://havtknut.tihlde.org/qmpdclient/"&gt;QMPDClient&lt;/a&gt; on my Windows laptop to control the server, &lt;a href="http://www.musicpd.org/gmpc.shtml"&gt;gmpc&lt;/a&gt; as a Linux GUI client (Etch doesn't have Ario or QMPDClient), &lt;a href="http://www.musicpd.org/mpc.shtml"&gt;mpc&lt;/a&gt; for terminal one-offs, and &lt;a href="http://hem.bredband.net/kaw/ncmpc/"&gt;ncmpc&lt;/a&gt; for SSH sessions. Phew. I haven't gotten around to trying Bluetooth devices, &lt;a href="http://mpd.wikia.com/wiki/Clients"&gt;etc&lt;/a&gt;. It's all quite cool.&lt;br /&gt;&lt;br /&gt;As with many things Linux, setting up MPD can be a bit confusing. Below I describe my current setup, which was designed for a reasonable but not paranoid amount of security. It's all quite geeky. If you are not capable of this level of geek, you might want to stay away from MPD until you are.&lt;br /&gt;&lt;br /&gt;I will assume that you have already installed MPD and (optionally) &lt;a href="http://samba.org/"&gt;Samba&lt;/a&gt;. You can point MPD at any directory for it's source of music. Since it's a server and gets launched at system startup (at least in Debian Etch and therefore SkinnyDebbie), I decided the best place to store files is in a system directory rather than directory inside a user's home directory.&lt;br /&gt;&lt;br /&gt;So here's what to do:&lt;br /&gt;&lt;br /&gt;Make a group called &lt;span style="font-weight: bold;"&gt;music&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;sudo groupadd music&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now create a directory to store your music collection -- I suggest &lt;span style="font-style: italic;"&gt;/srv/media/music&lt;/span&gt;. Set the directory to be owned by mpd and of the &lt;span style="font-weight: bold;"&gt;music &lt;/span&gt;group:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;sudo chown mpd:music /srv/media/music&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Note: The group name created above does not need to match the directory name.&lt;br /&gt;&lt;br /&gt;Set &lt;span style="font-style: italic;"&gt;/srv/media/music&lt;/span&gt; so that members of the group &lt;span style="font-weight: bold;"&gt;music &lt;/span&gt;have write permission and all other have read permission:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;sudo chmod 775 /srv/media/music&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Note: &lt;span style="font-style: italic;"&gt;/srv&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;/srv/music&lt;/span&gt; need to have their read and execute bits set for everyone. This will happen by default on most systems, but if this isn't the case in your case:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;sudo chmod 755 /srv&lt;br /&gt;sudo chmod 755 /srv/media&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Edit &lt;span style="font-style: italic;"&gt;/etc/mpd.conf&lt;/span&gt; so that MPD points to the new directory&lt;br /&gt;&lt;pre&gt;music_directory         "/srv/media/music"&lt;br /&gt;playlist_directory      "/srv/media/music"&lt;/pre&gt;While you are in &lt;span style="font-style: italic;"&gt;/etc/mpd.conf&lt;/span&gt;, to make MPD is reachable by clients outside the localhost, comment out the line:&lt;br /&gt;&lt;pre&gt;bind_to_address    "localhost"&lt;/pre&gt;by placing a &lt;code&gt;#&lt;/code&gt; in front of it. Now is also the time to set a MPD server password if you want one, change its port number, etc.&lt;br /&gt;&lt;br /&gt;Add users you want to be able to manage the music collection to the "music" group&lt;br /&gt;&lt;br /&gt;&lt;code&gt;sudo usermod -a -G music &amp;lt;username&amp;gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Note: the user must logout and log back in for changes to take effect.&lt;br /&gt;&lt;br /&gt;Optional: if you are using Samba to share files on the network, create a share called "Music" and make it fully public by adding to &lt;span style="font-style: italic;"&gt;/etc/smb.conf&lt;/span&gt;:&lt;br /&gt;&lt;pre&gt;[Music]&lt;br /&gt;path = /srv/media/music&lt;br /&gt;browseable = yes&lt;br /&gt;read only = no&lt;/pre&gt;Linux's underlying permissions will keep members who are not in the "music" group from writing to the directory. Note that whatever you copy into this folder will be owned by the user who copied it in. Therefore permissions must allow MPD to read all files. This will happen by default on most systems, but if you have problems you can check this.&lt;br /&gt;&lt;br /&gt;Be sure to update the MPD database when you add new music:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;mpc update&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;You might consider is setting up a cron job to periodically update the database.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-2678570297397727965?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/2678570297397727965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=2678570297397727965' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/2678570297397727965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/2678570297397727965'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/09/music-playing-daemon-setup.html' title='Music Playing Daemon: setup'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-6923038899004009040</id><published>2008-09-17T00:13:00.006+03:00</published><updated>2008-09-17T14:17:13.703+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WiFi'/><title type='text'>Oldschool wireless</title><content type='html'>There's a really good guide to setting up WiFi without using &lt;a href="http://www.gnome.org/projects/NetworkManager/"&gt;NetworkManager&lt;/a&gt; at &lt;a href="http://ubuntuforums.org/showthread.php?t=202834"&gt;http://ubuntuforums.org/showthread.php?t=202834&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Why would you want to do this? Because when you do, the wireless LAN connection comes up automatically when you boot the machine. This is a really good idea if you are running any servers (e.g., the outrageously fun &lt;a href="http://www.musicpd.org/"&gt;MPD&lt;/a&gt;). Of course it's a really &lt;span style="font-style: italic;"&gt;bad &lt;/span&gt;idea to run a server off a wireless connection whether it comes up automatically or not, but sometimes you just can't snake cables where you want your machine to be. And if you're not running any servers, it spares you the bother of having to type in connection authorization at login. If you do a lot of roaming, then giving up NetworkManager (or the similar &lt;a href="http://packages.debian.org/etch/netapplet"&gt;netapplet&lt;/a&gt;) may not be such a great idea; but if you don't, this approach may save you from some bother.&lt;br /&gt;&lt;br /&gt;The only things I would add to what is posted in the Ubuntu forum are:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;You can include more that one interface in the &lt;span style="font-style: italic;"&gt;/etc/network/interfaces&lt;/span&gt; file.&lt;/li&gt;&lt;li&gt;If you use a network interface card that is removable (PCMCIA, USB, etc.) you may get better results if you specify it as &lt;code&gt;allow-hotplug&lt;/code&gt; rather than &lt;code&gt;auto&lt;/code&gt;.&lt;/li&gt;&lt;li&gt;If you do specify an interface as &lt;code&gt;allow-hotplug&lt;/code&gt; rather than &lt;code&gt;auto&lt;/code&gt;, issuing the&lt;br /&gt;&lt;code&gt;sudo /etc/init.d/networking restart&lt;/code&gt;&lt;br /&gt;command won't bring up the interface(s). To do that you will need to issue&lt;br /&gt;&lt;code&gt;ifup &amp;lt; the_name_of_the_interface &amp;gt;&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;My main SkinnyDebbie test machine has one PCMCIA slot and no built-in networking. I tend to swap out &lt;a href="http://lovingthepenguin.blogspot.com/2008/09/madwifi-and-skinnydebbie.html"&gt;a wireless&lt;/a&gt; and a wired Ethernet card. My &lt;span style="font-style: italic;"&gt;/etc/network/interfaces&lt;/span&gt; file looks like this:&lt;br /&gt;&lt;pre&gt;# This file describes the network interfaces available on your system&lt;br /&gt;# and how to activate them. For more information, see interfaces(5).&lt;br /&gt;&lt;br /&gt;# The loopback network interface&lt;br /&gt;auto lo&lt;br /&gt;iface lo inet loopback&lt;br /&gt;&lt;br /&gt;# The primary network interface&lt;br /&gt;allow-hotplug eth0&lt;br /&gt;#auto eth0&lt;br /&gt;iface eth0 inet dhcp&lt;br /&gt;&lt;br /&gt;allow-hotplug ath0&lt;br /&gt;#auto ath0&lt;br /&gt;iface ath0 inet dhcp&lt;br /&gt;wpa-driver madwifi&lt;br /&gt;wpa-ssid ufart&lt;br /&gt;wpa-ap-scan 1&lt;br /&gt;wpa-proto WPA&lt;br /&gt;wpa-pairwise TKIP&lt;br /&gt;wpa-group TKIP&lt;br /&gt;wpa-key-mgmt WPA-PSK&lt;br /&gt;wpa-psk &lt;&gt;&lt;br /&gt;&lt;/pre&gt;Of course, your details will differ.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-6923038899004009040?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/6923038899004009040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=6923038899004009040' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/6923038899004009040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/6923038899004009040'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/09/oldschool-wireless.html' title='Oldschool wireless'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-4971672523399342229</id><published>2008-09-09T19:39:00.008+03:00</published><updated>2009-09-14T21:20:07.742+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SkinnyDebbie'/><category scheme='http://www.blogger.com/atom/ns#' term='WiFi'/><title type='text'>MadWifi and SkinnyDebbie</title><content type='html'>My main &lt;a href="http://birotechnology.com/skinny/"&gt;SkinnyDebbie&lt;/a&gt; test machine is an Acer TravelMate 508T laptop. It has no built-in Ethernet. I don't think I need to say that it has no built-in WiFi. It has one PCMCIA slot.&lt;br /&gt;&lt;br /&gt;I use a 3Com OfficeConnect 10/100 LAN adapter card (PCMCIA) for Ethernet connectivity. I've never had to do anything special to make the lappy's networking go with any Linux distribution I have tried. It just works "out of the box." I also have a D-Link &lt;a href="http://www.dlink.com/products/?model=DWL-G630"&gt;DWL-G630&lt;/a&gt; WiFi card (also PCMCIA). It works "out of the box" in Xubuntu, but not in SkinnyDebbie. This is a summary of how I got it to work.&lt;br /&gt;&lt;br /&gt;I bought the D-Link card because it was listed as Linux compatible at &lt;a href="http://linux-wless.passys.nl/"&gt;http://linux-wless.passys.nl/&lt;/a&gt; (and because of favorable comments at &lt;a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16833127144"&gt;Newegg&lt;/a&gt;). The site says that my card is compatible with &lt;a href="http://madwifi.org/"&gt;MadWifi&lt;/a&gt; drivers--drivers that have been developed to support Atheros chipsets. The process below is adapted from MadWifi's own &lt;a href="http://madwifi.org/wiki/UserDocs/FirstTimeHowTo"&gt;newbie installation guide&lt;/a&gt;; however, I had to do some extra stuff and not do some other stuff to make it go in SkinnyDebbie. I expect that the instructions below will work for any MadWifi-compatible card. There are lots of little steps here, none of which are large or complicated, but all of which add up to some tedium. Sorry about that.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Preparation&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;I started with my wired Ethernet card in the laptop. The WiFi card was &lt;span style="font-style: italic;"&gt;not&lt;/span&gt; physically in the machine.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Verify that your WiFi card is compatible with the MadWifi drivers at &lt;a href="http://linux-wless.passys.nl/"&gt;http://linux-wless.passys.nl/&lt;/a&gt;. Be sure to check the vendor/product code of your card as well as the product ID because manufacturer's routinely change chipsets in their cards without changing model numbers! If it's not listed as working with MadWifi, then don't install the MadWifi drivers.&lt;/li&gt;&lt;li&gt;Open a terminal and type:&lt;br /&gt;&lt;code&gt;sudo aptitude install network-manager network-manager-gnome&lt;/code&gt;&lt;br /&gt;This will install a network management system and notification tray applet that takes a lot of the headache out of setting up and signing on to WiFi networks.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;When that's done, type&lt;br /&gt;&lt;code&gt;sudo aptitude install module-assistant build-essential&lt;/code&gt;&lt;/li&gt;&lt;li&gt;When that's done, type&lt;br /&gt;&lt;code&gt;sudo m-a update&lt;br /&gt;sudo m-a prepare&lt;/code&gt;&lt;br /&gt;The above will install the header files needed to build the MadWifi drivers.&lt;/li&gt;&lt;li&gt;When that's done, type&lt;br /&gt;&lt;code&gt;geany ~/.icewm/startup&lt;/code&gt;&lt;br /&gt;In the text editor window that opens, right after the line&lt;br /&gt;&lt;code&gt;xscreensaver -no-splash &amp;amp;&lt;/code&gt;&lt;br /&gt;add the line&lt;br /&gt;&lt;code&gt;nm-applet --sm-disable &amp;amp;&lt;/code&gt;&lt;br /&gt;Save the file and exit Geany.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;"&gt;Build and install drivers&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Download the drivers from the &lt;a href="http://madwifi-project.org"&gt;Madwifi home page&lt;/a&gt;. I used v0.9.4. If something doesn't work in what follows, it may be because of a version change.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;In ROX-Filer, navigate to the &lt;code&gt;*.tar.gz&lt;/code&gt; file you downloaded and double click on it to extract it.&lt;/li&gt;&lt;li&gt;Open a terminal and navigate to the directory where you extracted the package. (This may be a good time to get to know ROX-Filer's &lt;span style="font-style: italic;"&gt;Window -&gt; Terminal here&lt;/span&gt; command or it's keyboard shortcut, &lt;span style="font-weight: bold;"&gt;`&lt;/span&gt;.)&lt;/li&gt;&lt;li&gt;Type the following in the terminal:&lt;br /&gt;&lt;code&gt;sudo ifconfig ath0 down&lt;br /&gt;sudo ifconfig wifi0 down&lt;/code&gt;&lt;br /&gt;You will probably get warnings or errors. Don't worry about them.&lt;/li&gt;&lt;li&gt;Now type the following:&lt;br /&gt;&lt;code&gt;cd scripts&lt;br /&gt;./madwifi-unload&lt;br /&gt;./find-madwifi-modules.sh $(uname -r)&lt;br /&gt;cd ..&lt;/code&gt;&lt;br /&gt;This removes any old modules, which you almost certainly don't have anyway. We are now ready to build the drivers.&lt;/li&gt;&lt;li&gt;Still in the terminal, make sure you are at the top level of the downloaded and extracted MadWifi directory and type:&lt;br /&gt;&lt;code&gt;sudo make&lt;br /&gt;sudo make install&lt;/code&gt;&lt;br /&gt;Both of the above may take some time. You should &lt;span style="font-style: italic;"&gt;not&lt;/span&gt; see errors. If you do, curse the Linux gods and give up.&lt;/li&gt;&lt;li&gt;Type:&lt;br /&gt;&lt;code&gt;sudo geany /etc/modules&lt;/code&gt;&lt;br /&gt;In the text editor window that opens, add the following line to the bottom:&lt;br /&gt;&lt;code&gt;ath_pci&lt;/code&gt;&lt;br /&gt;Save the file and exit Geany.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Logoff and power down the computer. Replace the wired Ethernet adapter card with the WiFi adapter card.&lt;/li&gt;&lt;li&gt;When you start the computer and login again, you should see a new icon in the notification tray. When you click on it, you will be able to select and sign into available WiFi networks&lt;/li&gt;&lt;/ol&gt;There remains one minor problem with this setup: every time you reboot your computer and login, you will be prompted to re-enter the passphrase for the network you want to join. Improving on this situation is probably possible, but it's not something I am going to tackle right now. If I do, you'll read about it here.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-4971672523399342229?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/4971672523399342229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=4971672523399342229' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4971672523399342229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4971672523399342229'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/09/madwifi-and-skinnydebbie.html' title='MadWifi and SkinnyDebbie'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-1430579944982539369</id><published>2008-09-09T14:02:00.016+03:00</published><updated>2008-09-09T17:23:16.801+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SkinnyDebbie'/><title type='text'>SkinnyDebbie and the Macintosh PowerPC</title><content type='html'>I tried loading &lt;a href="http://birotechnology.com/skinny/index.html"&gt;SkinnyDebbie&lt;/a&gt; onto an old Macintosh Cube.&lt;br /&gt;&lt;br /&gt;"Linux on PowerPC?" you ask? And at 450 MHz? &lt;a href="http://www.debian.org/"&gt;Debian&lt;/a&gt; is one of the few distributions that officially supports the &lt;a href="http://www.debian.org/ports/powerpc/"&gt;PowerPC&lt;/a&gt; architecture. And SkinnyDebbie on i386 at 500Mhz works just fine. So it seemed natural to try.&lt;br /&gt;&lt;br /&gt;It worked. In fact, I am really happy not just &lt;span style="font-style: italic;"&gt;that &lt;/span&gt;it works but also with &lt;span style="font-style: italic;"&gt;how well &lt;/span&gt;it works. So far I have found only four gotchas--two having to do with SkinnyDebbie and two having to do with Larger Issues. The SkinnyDebbie ones are easy to fix. The Larger Issues are not.&lt;br /&gt;&lt;br /&gt;First the SkinnyDebbie stuff:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;IceWM's network traffic monitor&lt;/span&gt; doesn't work. This is caused by the fact that (at least on my Cube), eth0 gets assigned to FireWire networking and eth1 to Ethernet. The fix is easy: open &lt;code&gt;~/.icewm/preferences&lt;/code&gt; and add &lt;code&gt;eth1&lt;/code&gt; to the list of monitored network devices in the &lt;code&gt;NetworkStatusDevice&lt;/code&gt; field. When you restart IceWM, you should now see the network traffic monitor. (Make the same change as root to the corresponding file in &lt;code&gt;/etc/skel&lt;/code&gt; to make the change happen for new users as well.)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The volume control&lt;/span&gt; is batty. The Cube uses a USB sound card and SkinnyDebbie is currently using &lt;a href="http://www.alsa-project.org/main/index.php/Main_Page"&gt;ALSA&lt;/a&gt;. It turns out that Debian Etch doesn't play perfectly with this combination--on either PowerPC or i386 platforms. I'll say more about this in a later post, but the fix is again simple: use &lt;code&gt;gnome-alsamixer&lt;/code&gt; or &lt;code&gt;aumix-gtk&lt;/code&gt; instead of &lt;code&gt;alsamixergui&lt;/code&gt; and comment out the volume changing hotkeys in &lt;code&gt;~/.icewm/keys&lt;/code&gt;.&lt;br /&gt;&lt;br /&gt;And now for the Larger Issues:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Flash &lt;/span&gt;is very limited. Adobe doesn't make a version of Flash for Linux on the PowerPC. Why would they? There are a couple open source alternatives--&lt;a href="http://www.gnashdev.org/"&gt;Gnash&lt;/a&gt; and &lt;a href="http://swfdec.freedesktop.org/"&gt;Swfdec&lt;/a&gt;--but neither will do Flash video. So, no YouTube on PowerPC Linux for you. It's just not possible in &lt;span style="font-style: italic;"&gt;any&lt;/span&gt; PowerPC Linux at the moment. The best workaround is to download videos with any of the million YouTube download services and then watch them in VLC.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Java &lt;/span&gt;is at best a PITA. Sun doesn't make a version of the Java Runtime Environment for Linux on the PowerPC. If you want/need Java, the best workaround seems to be &lt;a href="http://gcc.gnu.org/java/"&gt;GCJ&lt;/a&gt; and its bundled GIJ interpreter. I have had success in compiling command-line apps from scratch in GCJ, but I have not had success with GUI apps using GIJ. This definitely needs more research to see just how viable a solution it is.&lt;br /&gt;&lt;br /&gt;I am hoping Lenny (the next Debian release, due later this month) works as well as Etch on this hardware. Should it be enough to make you abandon Mac OS? Given that the &lt;a href="http://www.reghardware.co.uk/2008/06/10/apple_skinny_snow_leopard/"&gt;next OS X release may not support PowerPC&lt;/a&gt;, you might think so. But this isn't really a good enough reason since maintenance support for older OS X releases will likely continue for quite a while. The decision to switch in this case needs to be made based on what you want from the OS and operating environment. OS X is certainly more polished and easier to use than SkinnyDebbie. But it costs more and doesn't let you run &lt;a href="http://amarok.kde.org/"&gt;at least one thing&lt;/a&gt; that makes Linux really attractive.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-1430579944982539369?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/1430579944982539369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=1430579944982539369' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1430579944982539369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1430579944982539369'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/09/skinnydebbie-and-powerpc-macintosh.html' title='SkinnyDebbie and the Macintosh PowerPC'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-1833343009727720561</id><published>2008-08-18T20:24:00.016+03:00</published><updated>2010-08-30T09:17:43.554+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rox'/><title type='text'>Use ROX-Filer to open containing folders in Firefox/Iceweasel</title><content type='html'>&lt;span style="font-style: italic;"&gt;Update: See &lt;a href="http://lovingthepenguin.blogspot.com/2009/09/use-rox-filer-to-open-containing.html"&gt;this&lt;/a&gt; for an easier way to accomplish the same goal.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;One of the slightly bothersome things about using &lt;a href="http://roscidus.com/desktop/ROX-Filer"&gt;ROX-Filer&lt;/a&gt; with &lt;a href="http://en.wikipedia.org/wiki/IceApe"&gt;Iceweasel&lt;/a&gt; in &lt;a href="http://www.debian.org/"&gt;Debian&lt;/a&gt; Etch (and I suspect &lt;a href="http://www.mozilla.com/en-US/firefox/"&gt;Firefox&lt;/a&gt; in other distributions) is that Iceweasel won't "open containing folders" with ROX-Filer from Iceweasel's &lt;span style="font-style: italic;"&gt;Downloads&lt;/span&gt; window. I was therefore pretty jazzed when I found &lt;a href="http://rubylution.ping.de/articles/2007/09/11/open-containing-folder-in-firefox-under-linux"&gt;this link&lt;/a&gt; at Rubylution that shows you how to tell Firefox (and Iceweasel) to use a specific file manager to open folders.&lt;br /&gt;&lt;br /&gt;Of course I tried it, and of course it failed. The problem is that Firefox/Iceweasel sends the specified file manager the name of the directory in the form of a &lt;code&gt;file://&amp;lt;filename&amp;gt;&lt;/code&gt; URL, and ROX-Filer doesn't get file URLs.* So, I wrote a script that uses sed to decode the URL to a form that ROX-Filer understands and then calls ROX-Filer with the decoded path.&lt;br /&gt;&lt;br /&gt;So here's what you do:&lt;br /&gt;&lt;br /&gt;Create an executable &lt;code&gt;/usr/local/bin/rox-open-url&lt;/code&gt;:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;#!/bin/bash&lt;br /&gt;&lt;br /&gt;# Opens input argument in rox, where input argument is assumed to be a URL&lt;br /&gt;# of the form file://&amp;lt;path-to-file&amp;gt;&lt;br /&gt;&lt;br /&gt;# Mithat Konar 17 Aug 2008&lt;br /&gt;&lt;br /&gt;# Requires sed and /usr/local/share/rox-open-url/urldecode.sed&lt;br /&gt;&lt;br /&gt;##############################################################&lt;br /&gt;&lt;br /&gt;# strip away file:// prefix and decode remaining characters&lt;br /&gt;thePath=`echo "$1" | sed 's/^[fF][iI][lL][eE]:\/\///' | sed -f /usr/local/share/rox-open-url/urldecode.sed`&lt;br /&gt;&lt;br /&gt;rox "$thePath"&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Remember to make it executable.&lt;br /&gt;&lt;br /&gt;Now create the file that sed will use to convert encoded characters in &lt;code&gt;/usr/local/share/rox-open-url/urldecode.sed&lt;/code&gt;:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;s/%08/\\b/g&lt;br /&gt;s/%09/\\t/g&lt;br /&gt;s/%0[aA]/\\n/g&lt;br /&gt;s/%0[dD]/\\r/g&lt;br /&gt;s/%20/\ /g&lt;br /&gt;s/%21/\!/g&lt;br /&gt;s/%22/\"/g&lt;br /&gt;s/%23/\#/g&lt;br /&gt;s/%24/\$/g&lt;br /&gt;s/%25/\%/g&lt;br /&gt;s/%26/\&amp;amp;/g&lt;br /&gt;s/%27/\'/g&lt;br /&gt;s/%28/\(/g&lt;br /&gt;s/%29/\)/g&lt;br /&gt;s/%2[aA]/\*/g&lt;br /&gt;s/%2[bB]/\+/g&lt;br /&gt;s/%2[cC]/\,/g&lt;br /&gt;s/%2[dD]/\-/g&lt;br /&gt;s/%2[eE]/\./g&lt;br /&gt;s/%2[fF]/\//g&lt;br /&gt;s/%30/0/g&lt;br /&gt;s/%31/1/g&lt;br /&gt;s/%32/2/g&lt;br /&gt;s/%33/3/g&lt;br /&gt;s/%34/4/g&lt;br /&gt;s/%35/5/g&lt;br /&gt;s/%36/6/g&lt;br /&gt;s/%37/7/g&lt;br /&gt;s/%38/8/g&lt;br /&gt;s/%39/9/g&lt;br /&gt;s/%3[aA]/\:/g&lt;br /&gt;s/%3[bB]/\;/g&lt;br /&gt;s/%3[cC]/\&amp;lt;/g&lt;br /&gt;s/%3[dD]/\=/g&lt;br /&gt;s/%3[eE]/\&amp;gt;/g&lt;br /&gt;s/%3[fF]/\?/g&lt;br /&gt;s/%40/\@/g&lt;br /&gt;s/%41/A/g&lt;br /&gt;s/%42/B/g&lt;br /&gt;s/%43/C/g&lt;br /&gt;s/%44/D/g&lt;br /&gt;s/%45/E/g&lt;br /&gt;s/%46/F/g&lt;br /&gt;s/%47/G/g&lt;br /&gt;s/%48/H/g&lt;br /&gt;s/%49/I/g&lt;br /&gt;s/%4[aA]/J/g&lt;br /&gt;s/%4[bB]/K/g&lt;br /&gt;s/%4[cC]/L/g&lt;br /&gt;s/%4[dD]/M/g&lt;br /&gt;s/%4[eE]/N/g&lt;br /&gt;s/%4[fF]/O/g&lt;br /&gt;s/%50/P/g&lt;br /&gt;s/%51/Q/g&lt;br /&gt;s/%52/R/g&lt;br /&gt;s/%53/S/g&lt;br /&gt;s/%54/T/g&lt;br /&gt;s/%55/U/g&lt;br /&gt;s/%56/V/g&lt;br /&gt;s/%57/W/g&lt;br /&gt;s/%58/X/g&lt;br /&gt;s/%59/Y/g&lt;br /&gt;s/%5[aA]/Z/g&lt;br /&gt;s/%5[bB]/\[/g&lt;br /&gt;s/%5[cC]/\\/g&lt;br /&gt;s/%5[dD]/\]/g&lt;br /&gt;s/%5[eE]/\^/g&lt;br /&gt;s/%5[fF]/\_/g&lt;br /&gt;s/%60/\`/g&lt;br /&gt;s/%61/a/g&lt;br /&gt;s/%62/b/g&lt;br /&gt;s/%63/c/g&lt;br /&gt;s/%64/d/g&lt;br /&gt;s/%65/e/g&lt;br /&gt;s/%66/f/g&lt;br /&gt;s/%67/g/g&lt;br /&gt;s/%68/h/g&lt;br /&gt;s/%69/i/g&lt;br /&gt;s/%6[aA]/j/g&lt;br /&gt;s/%6[bB]/k/g&lt;br /&gt;s/%6[cC]/l/g&lt;br /&gt;s/%6[dD]/m/g&lt;br /&gt;s/%6[eE]/n/g&lt;br /&gt;s/%6[fF]/o/g&lt;br /&gt;s/%70/p/g&lt;br /&gt;s/%71/q/g&lt;br /&gt;s/%72/r/g&lt;br /&gt;s/%73/s/g&lt;br /&gt;s/%74/t/g&lt;br /&gt;s/%75/u/g&lt;br /&gt;s/%76/v/g&lt;br /&gt;s/%77/w/g&lt;br /&gt;s/%78/x/g&lt;br /&gt;s/%79/y/g&lt;br /&gt;s/%7[aA]/\z/g&lt;br /&gt;s/%7[bB]/\{/g&lt;br /&gt;s/%7[cC]/\|/g&lt;br /&gt;s/%7[dD]/\}/g&lt;br /&gt;s/%7[eE]/\~/g&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Once you've done this, you can use the method described at &lt;a href="http://rubylution.ping.de/articles/2007/09/11/open-containing-folder-in-firefox-under-linux"&gt;Rubylution&lt;/a&gt; to set &lt;code&gt;rox-open-url&lt;/code&gt; as the command to use to open containing folders.&lt;br /&gt;&lt;br /&gt;Caveats: The script and sed file should be considered beta. I have done my best to make sure that the files render properly in HTML, but conversion gremlins may exist. If you find any problems, please let me know.&lt;br /&gt;&lt;br /&gt;Reinventing the wheel? Probably. I'm pretty sure someone else has already done something very similar to this, or there may be an easier way to do the same thing. But in the two minutes I spent trying, I wasn't able to find anything.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;*This is true at least in Firefox 2 and the version of ROX-Filer that's part of Debian Etch. I don't know what Firefox 3 does nor if the latest release of ROX-Filer handles file URLs.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-1833343009727720561?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/1833343009727720561/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=1833343009727720561' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1833343009727720561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1833343009727720561'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/08/use-rox-filer-to-open-containing.html' title='Use ROX-Filer to open containing folders in Firefox/Iceweasel'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-1676278166298960732</id><published>2008-08-18T02:04:00.003+03:00</published><updated>2008-08-18T02:11:25.259+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SkinnyDebbie'/><title type='text'>Tweaking the Debbie</title><content type='html'>I've made a few tweaks to &lt;a href="http://birotechnology.com/skinny/"&gt;SkinnyDebbie&lt;/a&gt;, some to fix bugs, some to make some behavioral improvements. In particular, I have:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Added /usr/local/bin/rox-open-url and /usr/local/share/rox-open-url/urldecode.sed&lt;/li&gt;&lt;li&gt;Added config-iceweasel-defaults.sh to install process that modifies Iceweasel default preferences (/etc/iceweasel/profile/prefs.js) to download files to home directory (with prompt) and use rox-open-url to "open containing folders".&lt;/li&gt;&lt;li&gt;Changed ownership of /etc/X11/xdm/Xsetup to root&lt;/li&gt;&lt;li&gt;Changed tooltip and properties text for "Screen resolutions" control panel.&lt;/li&gt;&lt;/ul&gt;The official changelog is &lt;a href="http://birotechnology.com/skinny/changelog"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;If you are an early SkinnyDebbie adopter and want to implement these changes, let me know and I'll send you a custom updater script.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-1676278166298960732?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/1676278166298960732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=1676278166298960732' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1676278166298960732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1676278166298960732'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/08/tweaking-debbie.html' title='Tweaking the Debbie'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-4158651888276646885</id><published>2008-08-06T09:57:00.004+03:00</published><updated>2008-08-18T02:13:51.270+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SkinnyDebbie'/><title type='text'>SkinnyDebbie is done</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_aDShd01p9S0/SKiwk8pgt-I/AAAAAAAAAAg/9GW1Brmp4uQ/s1600-h/skinnyFull.png"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_aDShd01p9S0/SKiwk8pgt-I/AAAAAAAAAAg/9GW1Brmp4uQ/s320/skinnyFull.png" alt="" id="BLOGGER_PHOTO_ID_5235628715620218850" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The initial release of &lt;a href="http://birotechnology.com/skinny"&gt;SkinnyDebbie&lt;/a&gt; is done. What started as something that I thought I could put together in a few evenings has turned out taking far, far longer than that. But I think the results have been worth it. There are aspects of the user experience that still need cleaning up, but overall I think it's a pretty decent lightweight desktop.&lt;br /&gt;&lt;br /&gt;Most of my time was spent writing scripts to make system administration easier for less-than-sys-admin types. &lt;a href="http://lovingthepenguin.blogspot.com/search/label/automounting"&gt;Automounting&lt;/a&gt; in particular was a royal time hog. If you are insane enough to actually read all the custom scripts (both the ones that do the installation as well as the ones that are installed as part of SkinnyDebbie), you will be able to track the development of my Linux competence.&lt;br /&gt;&lt;br /&gt;I've decided to give SkinnyDebbie its own website. For the time being, it will be hosted at &lt;a href="http://birotechnology.com/skinny"&gt;http://birotechnology.com/skinny&lt;/a&gt;. I am hoping this is a temporary situation and that a more suitable location will present itself. I'm also hoping to flesh out the installation instrutions a bit more once I have recovered a bit from the last few days of development and testing.&lt;br /&gt;&lt;br /&gt;Now, please go forth and install. And then let me know what you think.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-4158651888276646885?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/4158651888276646885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=4158651888276646885' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4158651888276646885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4158651888276646885'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/08/skinnydebbie-is-done.html' title='SkinnyDebbie is done'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_aDShd01p9S0/SKiwk8pgt-I/AAAAAAAAAAg/9GW1Brmp4uQ/s72-c/skinnyFull.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-992362104221766254</id><published>2008-08-05T12:34:00.010+03:00</published><updated>2009-10-30T15:09:42.257+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SkinnyDebbie'/><category scheme='http://www.blogger.com/atom/ns#' term='automounting'/><title type='text'>automounting - part 2</title><content type='html'>Here is a brief (!) summary of the problems I encountered in setting up automounting in &lt;a href="http://lovingthepenguin.blogspot.com/search/label/SkinnyDebbie"&gt;SkinnyDebbie&lt;/a&gt; and what I did to get it to behave. The whole process relies on &lt;a href="http://www.freedesktop.org/wiki/Software/hal"&gt;hal&lt;/a&gt; and&lt;a href="http://ivman.sourceforge.net/"&gt; ivman&lt;/a&gt;. Maybe there is a better way to do this; if so I would love to learn how.&lt;br /&gt;&lt;br /&gt;In no particular order ...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;If media is present when user starts machine, the media automounts under ivman's account, and then a regular user can't unmount it.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Disable ivman daemon so that the ivman user doesn't do any mounting:&lt;code&gt;&lt;br /&gt;# update-rc.d -f ivman remove&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Start ivman under the user's account at login so the regular user can mount via ivman.&lt;/li&gt;&lt;/ul&gt;In other words, have ivman run as user and do not have it run as ivman (which is what the daemon makes happen). The major consequence of this approach is that it will only work if one user at a time is logged into the machine or only one user at a time is authorized to use automounting.&lt;br /&gt;&lt;br /&gt;Turning off the ivman daemon is handled by the SkinnyDebbie installer. I wrote a custom script (start-ivman) to handle user startup that checks the above at IceWM startup. I also wrote a control panel widget that repairs the above if it breaks (e.g., after an ivman package update).&lt;br /&gt;&lt;br /&gt;The default SkinnyDebbie behavior is that automounting will be started for the first user that is logged in and not for subseqent users until the first user logs off. In practice this is fine because SkinnyDebbie is intended for single-user logins. The start-ivman script warns the user if someone else is already using automounting.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Not all media automounts, USB hard drives in particular&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Add /etc/hal/fdi/policy/mountpolicies.fdi as documented in &lt;a href="http://gentoo-wiki.com/HOWTO_ivman"&gt;http://gentoo-wiki.com/HOWTO_ivman&lt;/a&gt; (2009.10.30 update: I think this has been moved to &lt;a href="http://en.gentoo-wiki.com/wiki/Ivman"&gt;http://en.gentoo-wiki.com/wiki/Ivman&lt;/a&gt;).&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Remove CDROM and DVD but not FLOPPY entries from /etc/fstab.&lt;/li&gt;&lt;li&gt;Remove CDROM and DVD but not FLOPPY links from /media.&lt;/li&gt;&lt;li&gt;Remove CDROM and DVD but not FLOPPY links from /.&lt;/li&gt;&lt;/ul&gt;These are done automatically by the SkinnyDebbie installer, except for removing CDROM and DVD links from /. The repair control panel applet also removes directories in /media that do not appear in /etc/fstab.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;It's not at all obvious to the regular user where/when removable media is inserted&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Edit ~/.ivman/IvmConfigActions.xml so that:&lt;br /&gt;ROX-Filer announces the insertion of media and prompts the user for desired action (e.g., open /media directory, launch CD ripper, etc.)&lt;br /&gt;ivman scans on init&lt;/li&gt;&lt;li&gt;Add /media link to the desktop&lt;/li&gt;&lt;li&gt;Add /media link to Rox's bookmarks&lt;/li&gt;&lt;li&gt;Add /media link to IceWM's "start" menu&lt;/li&gt;&lt;/ul&gt;SkinnyDebbie's ~/.ivman/IvmConfigActions.xml is configured to handle CD-ROM, CD-Audio, DVD-video, and USB-based storage devices. At the present time I don't know what it will do with other removable media ( e.g., Compact Flash). It will also scan on init.&lt;br /&gt;&lt;br /&gt;There are several custom "annc" scripts (anncRoxMedia, anncCDDA, anncDVDvideo) that get called per media type. These scripts check to see if ROX's pinboard is running; if it is, then it will announce the insertion of media. The IceWM startup delays the start of ROX's pinboard by a few seconds so that the user doesn't get bombarded with media announcements when logging in.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;If user logs off without unmounting stuff, the folders remain in /media but the media is not mounted&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Write script pumountall that pumounts everthing and use it to unmount everything at logoff (via ~/.icewm/shutdown).&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;User needs guidance in good habits (i.e., unmount before remove)&lt;/span&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Write script pumount-fb, which does pumount with GUI feedback.&lt;/li&gt;&lt;li&gt;Tell ROX-Filer to use script pumount-fb to unmount.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CD and DVD media don't mount ... ever&lt;/span&gt;&lt;br /&gt;See "Not all media automounts, USB hard drives in particular" above.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-992362104221766254?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/992362104221766254/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=992362104221766254' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/992362104221766254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/992362104221766254'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/08/automounting-part-2.html' title='automounting - part 2'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-817096642401693106</id><published>2008-07-13T23:55:00.002+03:00</published><updated>2008-08-05T13:00:58.962+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SkinnyDebbie'/><category scheme='http://www.blogger.com/atom/ns#' term='automounting'/><title type='text'>automounting</title><content type='html'>To be concise, automounting of removable media in Linux hurts.&lt;br /&gt;&lt;br /&gt;SkinnyDebbie's first release has been held up by issues surrounding automounting. Getting automounting to sorta work is easy. Getting it to be reliable and usable is another story. I think I've finally gotten things figured out to the point where the system is sufficiently usable and reliable. But I would like to make sure that there are no gremlins hiding in the works. When mountpoints go bad, the results can be fairly ugly.&lt;br /&gt;&lt;br /&gt;I also want to add a bit of UI sweetness to the automounting deal: I'd like the the appropriate folder to open in the file manager when the media is mounted to let the user know that the media has, in fact, been mounted. This shouldn't be too tough -- but then that's what I thought about automounting in general.&lt;br /&gt;&lt;br /&gt;One annoying thing: Linux does not consider audio CDs and video DVDs mountable media. That means that you literally cannot mount either of these kinds of discs and browse their files on the command line or in your file manager. This doesn't mean you can't open discs in applications designed to read from them (e.g., VLC, Xine, Audacious); it just means that you can't ls, mv, cp, etc. the files on the discs. In theory, it's possible to set things up so that when you insert, say, an audio CD, an application that can read audio CDs will launch and open the CD in the application.&lt;br /&gt;&lt;br /&gt;I'm dithering on whether this is a good idea or not. It's a good idea because it makes the life of the end user easier. But it's a bad idea because the application the system designer thinks is best for reading CDs or DVDs may not be the application the user prefers to use. In this case, the psuedo-automount is just a nuisance to the user. As near as I can tell, configuring what application is associated with CD/DVD media isn't that easy either.&lt;br /&gt;&lt;br /&gt;Like I said, it hurts.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-817096642401693106?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/817096642401693106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=817096642401693106' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/817096642401693106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/817096642401693106'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/07/automounting.html' title='automounting'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-8462624282741076190</id><published>2008-07-02T13:18:00.010+03:00</published><updated>2010-08-30T09:23:32.684+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='how-to'/><title type='text'>An inadyn wrapper</title><content type='html'>&lt;a href="http://linux.die.net/man/8/inadyn" target="_blank"&gt;Inadyn&lt;/a&gt; is a lightweight command-line tool for updating dynamic DNS addreses. Its use is supported by &lt;a href="http://www.dyndns.com/" target="_blank"&gt;DynDNS&lt;/a&gt;, &lt;a href="http://freedns.afraid.org/" target="_blank"&gt;FreeDNS&lt;/a&gt;, and others. Binaries are available for Windows and Linux, and Debian and Ubuntu both have inadyn packages. Overall it seems like a good choice for a dynamic DNS update client.&lt;br /&gt;&lt;br /&gt;In Linux, administrators usually set inadyn up to run as a &lt;a href="http://en.wikipedia.org/wiki/Daemon_%28computer_software%29" target="_blank"&gt;daemon&lt;/a&gt;. But for regular desktop use this might present some problems. Most notably, if a network connection is not available when inadyn starts, it just exits. Another problem is that setting up a daemon can be a little scary for new users.&lt;br /&gt;&lt;br /&gt;So I came up with a little script that can be run at login that launches inadyn not as a daemon but as a regular process. If the process is already running, it will warn the user. If the process didn't start, it will warn the user. If everything goes ok, it lets the process run and quietly retires.&lt;br /&gt;&lt;br /&gt;You will have to hand-edit the 'inadynOptions' variable below to make it suit your needs. The whole thing looks like (you may need to copy/paste the text into a text editor if the left margins are cropped):&lt;br /&gt;&lt;pre&gt;#! /bin/bash&lt;br /&gt;# (c) 2008 Mithat Konar&lt;br /&gt;# 2008-07-25&lt;br /&gt;&lt;br /&gt;# Try to start an inadyn process. If it starts and doesn't quit right away&lt;br /&gt;# (perhaps because the network isn't available) exit the script leaving the&lt;br /&gt;# inadyn process running. Otherwise, prompt the user that it's not running&lt;br /&gt;# and give the user the chance to try again or quit.&lt;br /&gt;&lt;br /&gt;# Requires zenity&lt;br /&gt;&lt;br /&gt;# =========&lt;br /&gt;# constants&lt;br /&gt;# =========&lt;br /&gt;# use absolute paths only ... relative paths and env variables not tested! really!!&lt;br /&gt;inadynOptions="--input_file /home/mithat/.inadyn/inadynAfraid.conf" # options to pass to inadyn&lt;br /&gt;&lt;br /&gt;timeBetweenTries=20s   # time between attempts to restart the process&lt;br /&gt;&lt;br /&gt;# ==========&lt;br /&gt;# UI strings&lt;br /&gt;# ==========&lt;br /&gt;&lt;br /&gt;uiAlreadyRunningTitle="Inadyn already running?"&lt;br /&gt;uiAlreadyRunning="It looks as though&lt;br /&gt;inadyn $inadynOptions&lt;br /&gt;is already running.&lt;br /&gt;&lt;br /&gt;Shall I force it to start anyway?"&lt;br /&gt;&lt;br /&gt;uiNotRunningTitle="Inadyn not running"&lt;br /&gt;uiNotRunning="Inadyn isn't running, possibly becuase the network isn't up.&lt;br /&gt;&lt;br /&gt;Try again?"&lt;br /&gt;&lt;br /&gt;# =========&lt;br /&gt;# functions&lt;br /&gt;# =========&lt;br /&gt;&lt;br /&gt;# tryToStart() will try to start the process "inadyn $inadynOptions"&lt;br /&gt;# it does not check to see if the process is running&lt;br /&gt;# requres global variables 'timeBetweenTries' and 'inadynOptions'.&lt;br /&gt;# writes the PID of the process to global variable 'PID'.&lt;br /&gt;# if startup was successful, sets global variable 'isRunning' to&lt;br /&gt;# process information, otherwise isRunning will be blank.&lt;br /&gt;function tryToStart()&lt;br /&gt;{&lt;br /&gt;/usr/sbin/inadyn $inadynOptions &amp;amp;   # try to start it&lt;br /&gt;PID=$!     # capture the process ID&lt;br /&gt;sleep $timeBetweenTries   # give it some time&lt;br /&gt;isRunning=`ps aux | grep "inadyn $inadynOptions" | grep "$PID" | grep -v grep` # check&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;# ======&lt;br /&gt;# "main"&lt;br /&gt;# ======&lt;br /&gt;&lt;br /&gt;isRunning=`ps aux | grep "inadyn $inadynOptions" | grep -v grep`&lt;br /&gt;if [ -n "$isRunning" ] ; then&lt;br /&gt;zenity --question --title "$uiAlreadyRunningTitle" --text "$uiAlreadyRunning"&lt;br /&gt;if [ $? -eq 1 ] ; then&lt;br /&gt;echo -e "$0: User cancelled"&lt;br /&gt;exit 1&lt;br /&gt;fi&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;tryToStart    # try to start the process&lt;br /&gt;&lt;br /&gt;while [ -z "$isRunning" ] ; do  # while the process isn't running ...&lt;br /&gt;zenity --question --title "$uiNotRunningTitle" --text "$uiNotRunning"&lt;br /&gt;if [ $? -eq 1 ] ; then&lt;br /&gt;echo -e "$0: User cancelled"&lt;br /&gt;exit 1&lt;br /&gt;fi&lt;br /&gt;tryToStart   # try to start the process&lt;br /&gt;done&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Be sure to set the file in which you save the script to be executable (using &lt;code&gt;chmod&lt;/code&gt; or your file manager).&lt;br /&gt;&lt;br /&gt;You will also need to make /usr/sbin/inadyn executable by regular users. In a terminal:&lt;br /&gt;&lt;code&gt;sudo chmod u+s /usr/sbin/inadyn&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;To start the script in Xfce, open "Autostarted apps" and add an entry for&lt;br /&gt;&lt;code&gt;bash -c "&amp;lt;path to the script&amp;gt;"&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;To start the script in IceWM, add&lt;br /&gt;&lt;code&gt;bash -c "&amp;lt;path to the script&amp;gt;" &amp;amp;&lt;/code&gt;&lt;br /&gt;to your ~/.icewm/startup file (don't forget the &amp;amp; at the end of the line!). Adding just&lt;span style="font-family:monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;code&gt;&amp;lt;&lt;/code&gt;&lt;code&gt;path to the script&lt;/code&gt;&lt;code&gt;&amp;gt;&lt;/code&gt;&lt;code&gt; &amp;amp;&lt;/code&gt;&lt;br /&gt;seems to work as well.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-8462624282741076190?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/8462624282741076190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=8462624282741076190' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/8462624282741076190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/8462624282741076190'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/07/inadyn-wrapper.html' title='An inadyn wrapper'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-476543895887028298</id><published>2008-06-30T00:40:00.006+03:00</published><updated>2008-08-05T13:08:36.669+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SkinnyDebbie'/><title type='text'>SkinnyDebbie : an introduction</title><content type='html'>It has required more work than I originally expected, but I think &lt;b&gt;SkinnyDebbie&lt;/b&gt;--a light-and-lean proof-of-concept "distribution flavorizer"--is almost ready for its first public release.&lt;br /&gt;&lt;br /&gt;SkinnyDebbie is a scripted installation scheme that lets a user set up a light-and-lean &lt;a href="http://www.debian.org/" target="_blank"&gt;Debian&lt;/a&gt;-based Linux system without a huge hassle. It should be especially attractive to users of systems that are not powerful enough to run the &lt;a href="http://www.gnome.org/" target="_blank"&gt;Gnome&lt;/a&gt;, &lt;a href="http://www.kde.org/" target="_blank"&gt;KDE&lt;/a&gt; or &lt;a href="http://www.xfce.org/" target="_blank"&gt;XFCE&lt;/a&gt; desktop environments.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_aDShd01p9S0/SGgCN09wlQI/AAAAAAAAAAY/gnU5LKP_hVw/s1600-h/skinny.png"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_aDShd01p9S0/SGgCN09wlQI/AAAAAAAAAAY/gnU5LKP_hVw/s320/skinny.png" alt="" id="BLOGGER_PHOTO_ID_5217422604887954690" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;SkinnyDebbie's main job is integrating the following windowing and desktop components into an efficient desktop environment:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.icewm.org/" target="_blank"&gt;IceWM&lt;/a&gt;: a lightweight yet full-featured window manager&lt;/li&gt;&lt;li&gt;&lt;a href="http://roscidus.com/desktop/ROX-Filer" target="_blank"&gt;ROX-Filer&lt;/a&gt;: a fast and light file and desktop manager&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/XDM" target="_blank"&gt;XDM&lt;/a&gt;: the classic display manager that is more resource-friendly than &lt;a href="http://www.gnome.org/projects/gdm/" target="_blank"&gt;GDM&lt;/a&gt; or &lt;a href="http://en.wikipedia.org/wiki/KDE_Display_Manager" target="_blank"&gt;KDM&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.silvestre.com.ar/?p=5"&gt;Dropline Nuovo!&lt;/a&gt;: an icon set that is more inviting than the default Gnome icons&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;It also installs a handful of utilities and other applications that you will need to have a reasonably smooth GUI system, and it does as much configuration as it can for you. It installs a few custom scripts that simplify some basic system management stuff, and it installs and configures theme stuff so the whole experience is almost attractive.&lt;br /&gt;&lt;br /&gt;It won't install a boatload of applications the way full-fat distributions do--mostly because if you are running a light-and-lean setup you are probably challenged for storage space. Thus, I figured it was best to leave the decisions regarding what application software you need up to you. However, it does install Debian's branded version of &lt;a href="http://www.mozilla.com/en-US/firefox/" target="_blank"&gt;Firefox&lt;/a&gt; and &lt;a href="http://www.mozilla.com/en-US/thunderbird/" target="_blank"&gt;Thunderbird&lt;/a&gt; (called &lt;a href="http://en.wikipedia.org/wiki/Mozilla_Corporation_software_rebranded_in_Debian" target="_blank"&gt;Iceweasel&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/Icedove" target="_blank"&gt;Icedove&lt;/a&gt; respectively) because not having a Web browser and (arguably) email is utterly insane.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Philosophy&lt;/b&gt;&lt;br /&gt;SkinnyDebbie is what I am calling a "flavorizer". It is not a Linux distribution. Rather, it is a set of scripts that when run will configure a standard Linux distribution (a &lt;a href="http://www.debian.org/CD/netinst/" target="_blank"&gt;Debian Network Install&lt;/a&gt; in this case) to match a given target "flavor", using as much as possible the packages that are already part of and maintained by that distribution.&lt;br /&gt;&lt;br /&gt;Why build SkinnyDebbie as a "flavorizer" instead of making an independent distribution? Simple. A "flavorizer" approach lets light-and-lean users directly benefit from the security updates and other improvements/upgrades of a major distribution. A SkinnyDebbie user gets a light-and-lean system that is 100% (ok ... 98%) pure Debian, and that means the user can participate in and benefit from Debian's excellent community support and other resources. (Or, if I were trying to sound ubercool, I would say that it means the user can leverage Debian's excellent community support and other resources.)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Known limitations&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Networking&lt;/i&gt; works superfine if you are using an Ethernet connection and DHCP. This will be all most users will need. But if you plan to use a wireless connection or do not want to use DHCP, you will have to figure that out on your own. And if want to go old-school with a dialup modem, you're again on your own. I'm not saying it's not possible; I'm just saying that you will have to figure out what additional packages need to be installed and how configure things by yourself.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Advanced power management&lt;/i&gt; (sleep, suspend) is completely untested. It may work, it may not; but testing and tweaking it's not a priority.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Accessibility features&lt;/i&gt; (large print, high-contrast window decoration, etc.) don't exist.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Internationalization&lt;/i&gt; is a bit of a problem. The custom scripts and other bits are written to make it easy to implement translated versions, but no translations are available at present.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Installation&lt;/b&gt;&lt;br /&gt;I'll post information regarding how to install SkinnyDebbie as soon as I finalize a couple small details and figure out how to host it. See you soon.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-476543895887028298?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/476543895887028298/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=476543895887028298' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/476543895887028298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/476543895887028298'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/06/skinnydebbie-introduction.html' title='SkinnyDebbie : an introduction'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_aDShd01p9S0/SGgCN09wlQI/AAAAAAAAAAY/gnU5LKP_hVw/s72-c/skinny.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-5910344936377963627</id><published>2008-06-25T15:57:00.005+03:00</published><updated>2010-08-30T09:27:17.453+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='What you need to know'/><title type='text'>DPI: part 1</title><content type='html'>Another example of "too much choice can be a bad thing" rears its head in the way that Linux renders text. The headaches arise out of the interaction between a few variables, some of which may or may not be known. Lets try to break this down a little bit.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Screen resolution&lt;/b&gt;&lt;br /&gt;The easiest variable to understand in Linux's windowing/font-rendering system is what most people call screen resolution. It's also the easiest part for Linux's &lt;a href="http://www.x.org/" target="_blank"&gt;X.Org&lt;/a&gt; windowing system to get right. Screen resolution is simply a measure of the raw number of pixels used to draw your display. Common sizes are 800x600, 1024x768, 1280x800, etc. These are familiar numbers to Windows users.&lt;br /&gt;&lt;br /&gt;The X.Org server installation process executes a command that 1) tries to determine what resolutions are supported by your connected display, 2) asks you which ones you want to use, and 3) writes a configuration file /etc/X11/xorg.conf that stores this and other information. Sweet. Easy.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Screen size&lt;/b&gt;&lt;br /&gt;Screen size refers to the actual physical size of the display, measured in millimeters. This is where things can start to go a little wonky. When the X.Org server installer creates its main configuration file (i.e., /etc/X11/xorg.conf), it also asks the display (not you) how big it is. Sometimes a display knows how big it is, sometimes it doesn't. If the display reports a size in a way the installer understands, this information gets stored in the configuration file. If the display doesn't, then it doesn't.&lt;br /&gt;&lt;br /&gt;The result is that sometimes X.Org server knows how big your monitor is, and sometimes it doesn't.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;DPI&lt;/b&gt;&lt;br /&gt;DPI stands for dots-per-inch and is probably the hardest concept to get your head around -- and the hardest part for Linux to get right.&lt;br /&gt;&lt;br /&gt;Font sizes are typically defined in points, where one point equals 1/72 inch. Therefore, a system that renders fonts on a computer screen needs to know how many dots-per-inch it should use to draw the text. If the DPI setting is not correct, then all text will appear either too small or too large.&lt;br /&gt;&lt;br /&gt;It's quite natural to think that a screen's DPI should simply equal the number of pixels in a dimension divided by the physical size. If we have a 1024x768 screen and the screen is 10.7" wide by 8" high, then we should get 96 DPI in both horizontal and vertical dimensions. If we have an 800x600 screen that is the same physical size, then that should result in 75 DPI. However, life in Linux-land is not quite that simple. One of the reasons is technological, the other is contextual.&lt;br /&gt;&lt;br /&gt;First the technological issue. Remember above we said that the X.Org server configuration process tries to figure out physically how big your screen is? A problem arises when for whatever reason the screen's physical size doesn't get recorded into the /etc/X11/xorg.conf configuration file. This happens often enough, and when it does, the poor system simply has to guess what DPI to use. The results can be pretty tragic.&lt;br /&gt;&lt;br /&gt;The contextual issue is a result of the way things work in Windows and MacOS. In both of these systems, the DPI is fixed no matter what physical screen size you have. &lt;a href="http://blogs.msdn.com/fontblog/archive/2005/11/08/490490.aspx" target="_blank"&gt;Windows' default&lt;/a&gt; is 96 DPI, although you can change this to 120 DPI by using the "large fonts" mode. (In fact, you can tell Windows to use whatever DPI you want, but I've never seen this in practice so I am concluding that it is rarely done.) Apparently, MacOS defaults to 72 DPI.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://scanline.ca/dpi/" target="_blank"&gt;Some Linux developers&lt;/a&gt; assert that Linux should follow Windows' "defacto" standard and set systems to 96 DPI, no questions asked. Some developers (therefore?) assume 96 DPI when they develop their software. Others don't. This results in a situation where you can't get all your software to look right no matter what your DPI setting is without additional tweaking.&lt;br /&gt;&lt;br /&gt;Note that this DPI concept only affects text rendering. The sizes of icons and similar things are usually set in pixels, and a pixel is a pixel in Linux.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Overriding DPI&lt;/b&gt;&lt;br /&gt;Normally, X.Org will try to calculate your system DPI based on the screen size and the display's resolution. If it doesn't know the screen size, it will make a guess. However, it &lt;i&gt;is&lt;/i&gt; possible to override the calculated/guessed DPI setting. Since this is Linux, there's more than one way to do it, and I have listed the methods I have actually used below. Except for one they all involve editing configuration files. If the following doesn't work for you, please do some Googling and let me know what else you find.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1. Overriding DPI with a local configuration file&lt;/b&gt;&lt;br /&gt;I have used this method with Debian Etch and Xubuntu 7.10. It did not seem to work with Xubuntu 8.04, so expect your milage to vary. It is, however, the easiest way to set DPI.&lt;br /&gt;&lt;br /&gt;If a file called .Xresources doesn't already exist in your home directory, create it. (Rememeber that the '.' makes the file hidden!) Add the following line to it:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;Xft.dpi: &amp;lt;dpi&amp;gt;&lt;/pre&gt;&lt;br /&gt;where &lt;code&gt;&amp;lt;dpi&amp;gt;&lt;/code&gt; is the DPI you want to use. For example, to force the system to use 96 DPI:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;Xft.dpi: 96&lt;/pre&gt;&lt;br /&gt;When you log out and log back in, you should be using the new DPI setting. If not, delete the file and try another method.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2. Overriding DPI using a session manager's global configuration file&lt;/b&gt;&lt;br /&gt;The following will only work if you are using XDM (rather than the more common GDM or KDM) as your session manager. However, you can &lt;a href="http://process-of-elimination.net/index.php?title=Control_Font_DPI_in_X" target="_blank"&gt;do something similar&lt;/a&gt; with GDM and KDM. I have used this with Debian Etch using XDM instead of the default GDM, and it works as expected.&lt;br /&gt;&lt;br /&gt;Make a backup copy of the file /etc/X11/xdm/Xservers. (This will let you get back to where you were in case you mess something up.) Open /etc/X11/xdm/Xservers as root in a text editor. Find the line towards the bottom of the file that looks something like&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;:0 local /usr/bin/X vt7 -nolisten tcp&lt;/pre&gt;&lt;br /&gt;The line in your file may not be identical to the above, but it should be similar. Add a &lt;code&gt;-dpi &amp;lt;dpi&amp;gt;&lt;/code&gt; option to the line that specifies the DPI you wish to use. For example, to force 96 DPI, you would add the option as below:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;:0 local /usr/bin/X vt7 -dpi 96 -nolisten tcp&lt;/pre&gt;&lt;br /&gt;If the line already has a &lt;code&gt;-dpi&lt;/code&gt; option, then change the number to reflect the DPI you want.&lt;br /&gt;&lt;br /&gt;Restart the X server (by rebooting or typing Ctrl-Alt-Backspace) and log back in. You should now be using the DPI you specified.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;3. Overriding DPI with the global X configuration file&lt;/b&gt;&lt;br /&gt;This is the most foolproof method and also the most difficult. Basically, we are going to hand edit the /etc/X11/xorg.conf file and tell it the size of the screen we have so that it produces the desired DPI. I am using this method on an old laptop with an 800x600 screen running Xubuntu 8.04 and it works.&lt;br /&gt;&lt;br /&gt;Make a backup copy of the file /etc/X11/xorg.conf. (This will let you get back to where you were in case you mess something up.) Open /etc/X11/xorg.conf as root in a text editor. Find the section in the file that begins &lt;code&gt;Section "Monitor"&lt;/code&gt; and add a line (or edit the line if one already exists) that specifies the width and height of your screen (in mm) using the syntax:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;DisplaySize     &amp;lt;width&amp;gt; &amp;lt;height&amp;gt;&lt;/pre&gt;&lt;br /&gt;(In case you forgot, one inch equals 25.4 millimeters.)&lt;br /&gt;&lt;br /&gt;As an example, the section from the xorg.conf file used in my 800x600 laptop system looks like:&lt;br /&gt;&lt;/dpi&gt;&lt;pre&gt;Section "Monitor"&lt;br /&gt;Identifier      "Configured monitor"&lt;br /&gt;DisplaySize     246 184&lt;br /&gt;EndSection &lt;/pre&gt;&lt;br /&gt;Don't change anything else! Just add (or edit) the one line that specifies the monitor's size. The dimensions you use should be either the real physical dimensions of the screen (in mm) or values that you have calculated to produce the DPI you want.&lt;br /&gt;&lt;br /&gt;Restart X (reboot or Ctrl-Alt-Backspace) and see the results. From what I gather, there are some video cards that require even more xorg.conf tweaking to make behave, so if this doesn't work, do some Googling with xorg.conf and the brand/name of your card.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;In case something goes wrong&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;If you really mess up your /etc/X11/xorg.conf file, you can regenerate it by running from the command line:&lt;br /&gt;&lt;code&gt;$ sudo dpkg-reconfigure -phigh xserver-xorg&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;for the simple version, or:&lt;br /&gt;&lt;code&gt;$ sudo dpkg-reconfigure -plow xserver-xorg&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;to set each and every option. Depending on your distribution, you may need to delete the messed up /etc/X11/xorg.conf file before it will be replaced. You should also execute the above if you change displays.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;4. Overriding DPI when not using a session manager&lt;/b&gt;&lt;br /&gt;This is also a foolproof method, but it only works if you don't use a session manager and instead use the command-line to start the window system. (If you are using &lt;a href="http://slim.berlios.de/" target="_blank"&gt;SLiM&lt;/a&gt;, I believe you can tweak it to use this method as well.)&lt;br /&gt;&lt;br /&gt;The standard way to start X from the command line is the &lt;code&gt;startx&lt;/code&gt; command. You can pass the command a parameter that tells it what DPI to use. For example, to start X windows and tell it to use 96 DPI,&lt;br /&gt;&lt;code&gt;$ startx -- -dpi 96&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Make sure you get all the dashes correct.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Looking forward&lt;/b&gt;&lt;br /&gt;In an upcoming post, I will let you know what appears to be best practices regarding DPI settings. But first I need to do some more work on this. In particular, it looks as though there are DPIs for Xserver DPI and for Xft (the tool used to render Linux's "pretty" fonts) and it looks like they don't need to agree. And then there's the &lt;a href="http://www.linux.com/articles/39513" target="_blank"&gt;fonts themselves&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;It really is a bit of a mess, isn't it?&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-5910344936377963627?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/5910344936377963627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=5910344936377963627' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/5910344936377963627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/5910344936377963627'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/06/dpi-part-1.html' title='DPI: part 1'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-496708792314329636</id><published>2008-05-07T00:28:00.002+03:00</published><updated>2008-06-25T15:00:45.149+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='misc.'/><title type='text'>Update</title><content type='html'>It's been a while since my last post. I've been busy developing a scripted install for a light-and-lean Debian system, and it's turning out to be more work that I originally expected. Most of the additional work is coming from the critical need I saw for some service applications as well as a few tweaks to pre-existing Apps.&lt;br /&gt;&lt;br /&gt;I think I see the light at the end of the tunnel ... as well as an attractive fork in the road: the latest version of &lt;a href="http://www.ubuntu.com/" target="_blank"&gt;Ubuntu&lt;/a&gt; (Hardy Heron) while having a sorta-stupid name is an &lt;a href="https://wiki.ubuntu.com/LTS" target="_blank"&gt;LTS&lt;/a&gt; release. That makes it quite attractive, especially given that &lt;a href="http://www.debian.org/" target="_blank"&gt;Debian Etch&lt;/a&gt; may be aging a bit.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-496708792314329636?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/496708792314329636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=496708792314329636' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/496708792314329636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/496708792314329636'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/05/update.html' title='Update'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-7067000718572960330</id><published>2008-03-26T21:27:00.005+02:00</published><updated>2008-04-07T20:24:09.133+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bits and pieces'/><title type='text'>File managers</title><content type='html'>Linux gives you a choice of about a million different file managers. They differ in how much they do, how they do it, whether they are text or graphic based, etc. I have been able to narrow things down from the available choices to three that make sense to me. Each have their pros and cons and are discussed below.&lt;br /&gt;&lt;br /&gt;The standards for selection are that the manager be fully GUI based and it must behave well. Even though this whole deal is about being light and lean, I consider &lt;a href="http://en.wikipedia.org/wiki/Ncurses" target="_blank"&gt;ncurses&lt;/a&gt; or otherwise not fully GUI managers just too primitive for most users—including myself.&lt;br /&gt;&lt;br /&gt;The three finalists currently on the shortlist are &lt;a href="http://thunar.xfce.org/index.html" target="_blank"&gt;Thunar&lt;/a&gt;, &lt;a href="http://roscidus.com/desktop/" target="_blank"&gt;ROX-filer&lt;/a&gt;, and &lt;a href="http://pcmanfm.sourceforge.net/" target="_blank"&gt;PCManFM&lt;/a&gt;. An honorable mention needs to go out to &lt;a href="http://roland65.free.fr/xfe/" target="_blank"&gt;XFE&lt;/a&gt;. It has its heart in the right place, but I just couldn't get it to look right.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="http://thunar.xfce.org/index.html" target="_blank"&gt;Thunar&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;Thunar is the file manager used in the Xfce desktop package. Although part of the Xfce desktop, there is nothing to keep you from using it under other window managers.&lt;br /&gt;&lt;br /&gt;Pros:&lt;br /&gt;* Looks good.&lt;br /&gt;* Automounts removable media (this is &lt;i&gt;huge&lt;/i&gt;).&lt;br /&gt;* Talks to Firefox/Iceweasel's download window—meaning that "Open" and "Open containing folder" links in Firefox/Iceweasel's download window work as expected.&lt;br /&gt;&lt;br /&gt;Cons:&lt;br /&gt;* It's the biggest of the three and therefore takes a relatively long time to load.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="http://roscidus.com/desktop/" target="_blank"&gt;ROX-filer&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;ROX has been around for a while and is part of a larger ROX-desktop initiative. It is actively developed and has a strong following. Many of the parts that make up the whole ROX-desktop world are also worth investigating, particularly the concept of "&lt;a href="http://roscidus.com/desktop/node/219" target="_blank"&gt;zero install&lt;/a&gt;"—which replaces the idea of &lt;i&gt;installing&lt;/i&gt; software with the idea of &lt;i&gt;requesting software execution&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;Pros:&lt;br /&gt;* Fastest of the three&lt;br /&gt;* Built-in drag-and-drop desktop management (and more).&lt;br /&gt;* Looks, while not as conventional as the other two, are good. You might even call it cute.&lt;br /&gt;&lt;br /&gt;Cons:&lt;br /&gt;* Locating and selecting files/directories using just the keyboard is frustrating (e.g., typing the name of a file does not select it).&lt;br /&gt;* Doesn't talk to Firefox/Iceweasel&lt;br /&gt;* No "sidebar"&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="http://pcmanfm.sourceforge.net/" target="_blank"&gt;PCManFM&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;If I remember correctly, PCManFM is developed as a side-project by a Taiwanese medial student. (And I whine because I never seem to have enough time ...) It's designed to be lightweight and useful.&lt;br /&gt;&lt;br /&gt;Pros:&lt;br /&gt;* Faster than Thunar (but not as fast as ROX).&lt;br /&gt;* Has tabbed panes.&lt;br /&gt;* Can manage the desktop (though support for this in the version I tried was not very good).&lt;br /&gt;&lt;br /&gt;Cons:&lt;br /&gt;* Development is slow&lt;br /&gt;* Doesn't talk to Firefox/Iceweasel&lt;br /&gt;* Some reports of stability issues&lt;br /&gt;&lt;br /&gt;Of the three, I think ROX has the most balanced promise, and that is what I am trying to make go at the moment. However, the other two are still quite tempting—especially Thunar's automounting.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-7067000718572960330?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/7067000718572960330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=7067000718572960330' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/7067000718572960330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/7067000718572960330'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/03/file-managers.html' title='File managers'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-3492205714429178625</id><published>2008-03-26T20:38:00.000+02:00</published><updated>2008-04-07T20:13:54.833+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='how-to'/><title type='text'>Posted: An Even Lighter Debian</title><content type='html'>&lt;a href="http://mkonar.selfip.com/penguin/static.php?page=even-lighter-debian"&gt;An Even Lighter Debian&lt;/a&gt; has been posted. Phew.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-3492205714429178625?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/3492205714429178625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=3492205714429178625' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/3492205714429178625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/3492205714429178625'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2007/03/posted-even-lighter-debian.html' title='Posted: An Even Lighter Debian'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-126023375171940290</id><published>2008-03-21T22:37:00.000+02:00</published><updated>2008-04-07T20:11:54.260+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='how-to'/><title type='text'>Guides</title><content type='html'>I added a new "Guides" section in the Links section (on the right) where I will try to summarize what I've learned so far in this adventure in a way that's operationally relevant. A beta version of the first guide, "&lt;a href="http://mkonar.selfip.com/penguin/static.php?page=lighter-debian" target="_blank"&gt;A Lighter Debian&lt;/a&gt;", has been posted. I have also added a "&lt;a href="http://mkonar.selfip.com/penguin/static.php?page=recommended-practices" target="_blank"&gt;Recommended Practices&lt;/a&gt;" section to make deciding what to do a little easier. Following these will be "&lt;a href="http://mkonar.selfip.com/penguin/static.php?page=even-lighter-debian" target="_blank"&gt;An Even Lighter Debian&lt;/a&gt;" that documents how to make an, er, even lighter Debian. Eventually I will also publish a "Minimal usable Debian" guide to help you setup a minimal GUI system that you can then tweak to your heart's content.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-126023375171940290?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/126023375171940290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=126023375171940290' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/126023375171940290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/126023375171940290'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/03/guides.html' title='Guides'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-2422209614905621906</id><published>2008-03-19T18:20:00.000+02:00</published><updated>2008-04-07T20:09:57.222+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='misc.'/><title type='text'>Xubuntu--the hard way</title><content type='html'>I recently tried installing &lt;a href="http://xubuntu.com/" target="_blank"&gt;Xubuntu&lt;/a&gt; "Gutsy Gibbon" on an older laptop using a whole bunch of methods: the "alternate" Xubuntu 7.10 installer CD, the "alternate" Ubuntu 7.10 installer CD, the "server" Ubuntu 7.10 installer CD ... and they all failed. In all cases, the problem was the same. After the installer booted off the CD and moved through some preliminary information gathering, it would complain that the CD-ROM from which it had been loading was no longer mounted/found (Do you want to install the drivers from a floppy?).&lt;br /&gt;&lt;br /&gt;Eh?&lt;br /&gt;&lt;br /&gt;A visit to the Ubuntu forums didn't really help... a couple other people had the same problem but with no solution. My best working theory at this point is that the problem is caused by the CD-ROM being an older LG device. There was a time where installing (some?) Linux would &lt;a href="http://www.linux.org/news/2003/10/27/0001.html" target="_blank"&gt;allegedly destroy (some?) LG CD-ROM drives&lt;/a&gt;. I think that this made a lot of developers paranoid and build kernels without support for many (all?) LG CD-ROM drives. Or not.&lt;br /&gt;&lt;br /&gt;In any case, I managed to work around the problem and get Xubuntu installed. That's the good news. The bad news is that the system doesn't recognize the CD-ROM drive, but I was expecting that to happen anyway.&lt;br /&gt;&lt;br /&gt;Here's what I did:&lt;br /&gt;1. Download the "&lt;a href="https://help.ubuntu.com/community/Installation/MinimalCD" target="_blank"&gt;Minimal CD&lt;/a&gt;" version of the Ubuntu install CD--which basically does a network installation, sucking in what it needs over the Internet.&lt;br /&gt;2. When you get to the point in the process that asks you if you want to install a desktop environment, indicate that you want XFCE/Xubuntu.&lt;br /&gt;3. There is no third step.&lt;br /&gt;&lt;br /&gt;It took forever to download the desktop environment, but it worked. It's a little interesting (and scary) that I didn't have this problem with Debian Etch, and I hope the next version of Ubuntu fixes the problem and/or the next version of Debian doesn't break it.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-2422209614905621906?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/2422209614905621906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=2422209614905621906' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/2422209614905621906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/2422209614905621906'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/03/xubuntu-hard-way.html' title='Xubuntu--the hard way'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-3871401793630045463</id><published>2008-03-19T18:06:00.001+02:00</published><updated>2008-04-07T20:09:07.175+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bits and pieces'/><title type='text'>SLiM</title><content type='html'>I decided to take a closer look at &lt;a href="http://slim.berlios.de/" target="_blank"&gt;SLiM&lt;/a&gt;--the Simple Login Manager--as used by &lt;a href="http://fluxbuntu.org/" target="_blank"&gt;Fluxbuntu &lt;/a&gt;(instead of GDM). SLiM is light (about the same as &lt;a href="http://en.wikipedia.org/wiki/Xdm" target="_blank"&gt;XDM&lt;/a&gt;) and it looks really good, even in its default state. What more could you want?&lt;br /&gt;&lt;br /&gt;Turns out that while SLiM makes logging into your session easy, it makes powering off or restarting your system from the login screen something of a pain. You need to use "&lt;a href="http://slim.berlios.de/manual.php" target="_blank"&gt;special names&lt;/a&gt;" or setup special accounts with special permissions. Either approach is 1) not intuitive from the user's point of view and 2) a security risk. The developers say that implementing a better method is on the TODO list. Once this is done, I think SLiM will be a credible and much more attractive alternative to XDM.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-3871401793630045463?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/3871401793630045463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=3871401793630045463' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/3871401793630045463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/3871401793630045463'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/03/slim.html' title='SLiM'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-136038189748412816</id><published>2008-02-14T22:07:00.000+02:00</published><updated>2008-04-07T20:07:07.022+03:00</updated><title type='text'>A Debian alternative?</title><content type='html'>I just noticed that Debian has a single-CD distribution that uses Xfce as the window manager, Thunar as a file manager, and GDM as the desktop manager. It's a full-featured install, with GIMP and OpenOffice goodness standard. It seems a credible alternative to Xubuntu.&lt;br /&gt;&lt;br /&gt;I installed it on a 128MB/466Hz machine as well as in the virtualized environment on my 1.7GHz laptop. In both cases I configured Xfce and GDM to use the minimal amount of eye candy, and in both cases the result seemed better than Xubuntu under similar circumstances. However, I will need some more testing to be sure.&lt;br /&gt;&lt;br /&gt;Debian with Xfce/Thunar/GDM still eats a lot of RAM. On the 128MB/466MHz machine it's just barely tolerable. I really wish that Ubuntu and Debian would consider IceWM for their light-and-lean distributions as still nothing I have found beats it for performance and RAM use. I keep hoping to find something that's easier to install but as fast and usable (and maybe a bit more sexy) than IceWM/ROX-filer/XDM, but still no luck.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-136038189748412816?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/136038189748412816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=136038189748412816' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/136038189748412816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/136038189748412816'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/02/debian-alternative.html' title='A Debian alternative?'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-1010119863929723978</id><published>2007-10-29T22:35:00.000+02:00</published><updated>2008-04-07T20:05:19.525+03:00</updated><title type='text'>Fluxbuntu--login manager followup</title><content type='html'>I just did some poking around and discovered that Fluxbuntu uses &lt;a href="http://slim.berlios.de/" target="_blank" rel="nofollow"&gt;SLiM&lt;/a&gt; for login management. I don't know much about SLiM, but knowing this much is a good thing.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-1010119863929723978?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/1010119863929723978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=1010119863929723978' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1010119863929723978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1010119863929723978'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2007/10/fluxbuntu-login-manager-followup.html' title='Fluxbuntu--login manager followup'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-7407646284557602218</id><published>2007-10-29T21:29:00.000+02:00</published><updated>2008-04-07T19:45:30.949+03:00</updated><title type='text'>Fluxbuntu--first impressions</title><content type='html'>I downloaded the latest &lt;a href="http://www.fluxbuntu.org/" target="_blank"&gt;Fluxbuntu&lt;/a&gt; over the weekend and gave it a very quick spin. Here are some very hasty first impressions.&lt;br /&gt;&lt;br /&gt;The worst news is that I could not get this "Gutsy Gibbon" Fluxbuntu release candidate to install on my old laptop. I haven't been able to get the "Gutsy Gibbon" release of Xubuntu to install on that laptop either. In both cases the problem is the same: the installer (after booting from the CD and prompting me for a bunch of info) cannot find a valid CD drive when it comes to doing the actual install work. I guess this is a typical example of Linux's hardware temperamentalness. The weird thing is that I have no problem installing older versions of Xubuntu on the same machine. Gnarly.&lt;br /&gt;&lt;br /&gt;Anyhoo, I instead installed Fluxbuntu using &lt;a href="http://fabrice.bellard.free.fr/qemu/" target="_blank"&gt;Qemu&lt;/a&gt; (via &lt;a href="http://www.davereyn.co.uk/" target="_blank"&gt;Qemu Manager&lt;/a&gt;) on my workhorse laptop (1.7 GHz Intel Centrino with 1.5 GB RAM). The emulation was set up to use 128MB RAM, so this should give a reasonable idea of what would happen in a slim system. Doing some very rough benchmarking suggests that the effective clock rate of this setup is around 800 MHz. If I turn off all acceleration, then it drops down to something like 300 MHz.&lt;br /&gt;&lt;br /&gt;Anyhoo, anyhoo, the installation went fairly smoothly--except for it asking me to install native language files &lt;i&gt;for an English language install&lt;/i&gt;. Now for the report card.&lt;br /&gt;&lt;br /&gt;First, the worst part. Startup is slower than expected. A lot slower. Like, "Is it working?" slower. But in the end it does start up. I wasn't able to tell what DM they are using yet, but it has been Fluxbuntu branded and it looks pretty nice. Still, the slowness may be due to a DM that's more bloated than it really needs to be. Or it may be because there's a lot of daemons, etc. starting up. The weird thing is that Xubuntu doesn't take as long to get going.&lt;br /&gt;&lt;br /&gt;Once inside, you are presented with a very attractive desktop. I noticed some sluggishness, so I disabled the soothing wallpaper in favor of a solid backdrop. That seemed to help a bit.&lt;br /&gt;&lt;br /&gt;I set up the emulated screen with 800x600 resolution, and sure enough one of the problems that I have seen with a lot of distributions manifested itself here as well: DPI ambiguity. Almost all 800x600 screens are physically 75 dots-per-inch screens, but they are treated as 100 DPI by some applications in many Linux installations. I solved this problem on the system(s) I have been developing by adding explicit DPI configuration information to the files that affect X-server startup (I am using XDM). This seems to solve the problem for all but the oldest or worst designed programs. In theory this should be possible with whatever DM Fluxbuntu uses as well, but it require some more research to find out 1. what DM they are using and 2. how to change the config stuff. (In fact, given the slow startup that I have already mentioned, it may make sense to just replace it with XDM because it is leaner than anything else I know.)&lt;br /&gt;&lt;br /&gt;I found it interesting that the Fluxbuntu people opted to use ROX-filer for file management and managing desktop icons; they are also using Leafpad as the default text editor and settled on Abiword and GnuMeric. It's interesting because I have settled on exactly the same applications for the same, er, applications.&lt;br /&gt;&lt;br /&gt;However, for web browsing Fluxbuntu uses Kazehakase rather than Firefox or Iceweasel. I will need to use it a bunch more to see what it's like. Fluxbuntu uses a similarly obscure email client, Claws, rather than the now-classic Thunderbird.&lt;br /&gt;&lt;br /&gt;One thing that I will need to test is what happens to the non Debian-menu menu items in the Fluxbox menu after installing new apps.&lt;br /&gt;&lt;br /&gt;My impression so far is that Fluxbuntu looks promising, but it will need some tweaking if it's going to work on PII-era machines.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-7407646284557602218?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/7407646284557602218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=7407646284557602218' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/7407646284557602218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/7407646284557602218'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2007/10/fluxbuntu-first-impressions.html' title='Fluxbuntu--first impressions'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-8073344041960597058</id><published>2007-10-28T01:07:00.000+03:00</published><updated>2008-04-07T19:56:37.422+03:00</updated><title type='text'>Fluxbuntu</title><content type='html'>The &lt;a href="http://www.fluxbuntu.org/" target="_blank"&gt;Fluxbuntu&lt;/a&gt; project has released a candidate "Gutsy Gibbon" (7.10) version of their &lt;a href="http://www.ubuntu.com/" target="_blank"&gt;Ubuntu&lt;/a&gt;-based "&lt;i&gt;lightweight, productive, agile,&lt;/i&gt; and &lt;i&gt;efficient&lt;/i&gt;" distribution. If they've done their homework, they may have made my little odyssey moot. You will recall that I started this whole adventure because I wasn't able to find a light-and-lean Linux distribution that floated my boat. I will download the ISO over the next few days and let you if Homer is headed back to Ithica.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-8073344041960597058?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/8073344041960597058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=8073344041960597058' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/8073344041960597058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/8073344041960597058'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2007/10/fluxbuntu.html' title='Fluxbuntu'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-8298379989787338543</id><published>2007-10-27T22:50:00.001+03:00</published><updated>2008-04-07T19:55:12.619+03:00</updated><title type='text'>Diverge, diverge</title><content type='html'>I'm noticing some strange behavior with my Openbox+ROX+fbpanel setup. In particular, when you restore windows after hiding them with fpanel's "show desktop" button, they come up in a strange way. It's pretty much not acceptable behavior ... So I am back to considering IceWM+ROX and Fluxbox+ROX.&lt;br /&gt;&lt;br /&gt;There are a few more things that need to be ironed out with the Fluxbox setup (e.g., getting CPU and net transfer metering setup ... using Conky? Slit-widgets?). I like Fluxbox's aesthetics and aesthetic opportunities better than anything I've seen with IceWM, but I am not convinced as to its usability. I think ultimately some user testing will be needed to determine whether an IceWM or a Fluxbox-based solution will be best.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-8298379989787338543?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/8298379989787338543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=8298379989787338543' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/8298379989787338543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/8298379989787338543'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2007/10/im-noticing-some-strange-behavior-with.html' title='Diverge, diverge'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-4526251066214381102</id><published>2007-10-25T18:04:00.000+03:00</published><updated>2008-04-05T02:12:52.247+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='misc.'/><title type='text'>Converge, diverge</title><content type='html'>Things were beginning to converge and congeal up until last week, but now they have begun to diverge again.&lt;br /&gt;&lt;br /&gt;First, I was settling on a solution using an Ubuntu/Xubuntu command-line system as the base. But I am running into some difficulties with some of the non-standard ways that Ubuntu/Xubuntu handles some things--having no real "root" for starters. This is making it harder to get e.g. sound going in this context.&lt;br /&gt;&lt;br /&gt;So... now I am working with a minimal Debian install in the hopes that it will be less irregular and more completely documented. (Ubuntu/Xubuntu doesn't need to document a lot its inner workings because they wrap those workings in GUI goodness. It's only to people with geek interests like me that it matters.)&lt;br /&gt;&lt;br /&gt;Another alternative I am considering is starting with a full Xubuntu install and then stripping away the heavy bits and replacing them with lighter ones. But I think I am going to try working with building up a command-line based Debian install first. If I can get this to go without too much pain, I think it will make future maintenance a lot easier.&lt;br /&gt;&lt;br /&gt;Second, I was settling on IceWM as a window manager/desktop environment solution because it does both in one swoop, integrates some widgets as well (CPU load, etc.), and does it at a very low cost. But I am having a hard time accepting the way it structures its program launching menu. The default setup is kind of klunky and modifying it involves hacking a text file. Also, even though the whole package is theme-able, I have yet to see a theme for the taskbar that makes me really love the visuals. It's a good solution for sure, but I am wondering if there is better.&lt;br /&gt;&lt;br /&gt;One option I have considered on-and-off is Fluxbox. It's configuration isn't that awful mostly because there are nice GUI tools available to help you. But the WM's behavior doesn't feel 'right' to me. For example, the right-click nested menu options are tweaky to navigate no matter what theme you use. I have yet to figure out exactly why this is so, but I suspect the nested menus are a bit too eager to let go of their states. Also, while I think Fluxbox's panel looks really neat, I don't like the way open windows are dynamically sized on it starting from 100% for one window and then shrinking linearly. Finally, to make it work with ROX-filer (the leading contender for file management) you have to use ROX's "Blackbox hack." And even then I've seen one or two weird things happen. Still, it's worth keeping an eye on.&lt;br /&gt;&lt;br /&gt;The option I am currently most seriously considering is a combination of Openbox and fbpanel. Openbox is fast and lean; fbpanel can be made to look good fairly easily, isn't a total pain to configure, and handles default menus in its program launcher better than IceWM. fbpanel isn't as lean or as widget-full as IceWM's taskbar, and I don't completely love Openbox's context menus or the poor frame grab hints, but the combination is a credible alternative to IceWM and is worthy of further exploration.&lt;br /&gt;&lt;br /&gt;I looked at PerlPanel and PyPanel as alternatives to fbpanel. PerlPanel is awesome in the configurability department, but it's quite a memory monster and it no longer seems to be actively maintained. PyPanel was just weird. Maybe I need to spend more time with it, but its default setup was nearly unusable with Openbox+ROX.&lt;br /&gt;&lt;br /&gt;I also made an Openbox+ROX-desktop detour (using ROX-Session) but had setup issues that no end-user would want to have to deal with. I love the ideas behind a lot of what the ROX project is trying to do, but I am not sure they've got the implementation quite right yet. So unless ROX's desktop setup gets better organized, I am not going to further investigate that route right now.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-4526251066214381102?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/4526251066214381102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=4526251066214381102' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4526251066214381102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4526251066214381102'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2007/10/converge-diverge.html' title='Converge, diverge'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-1766308053462854755</id><published>2007-10-09T21:50:00.000+03:00</published><updated>2008-04-05T02:11:45.852+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='misc.'/><title type='text'>Hammered</title><content type='html'>My "short break" from making entries is going to be longer than I expected. I've been hammered with an especially demanding course load this term and so I won't have much time at all for anything else!&lt;br /&gt;&lt;br /&gt;I will try to add what wisdom I have collected so far when I can, but I think it will take a while before I have the mental space to collect additional thoughts.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-1766308053462854755?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/1766308053462854755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=1766308053462854755' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1766308053462854755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1766308053462854755'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2007/10/hammered.html' title='Hammered'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-1938842789183239755</id><published>2007-09-10T19:49:00.000+03:00</published><updated>2008-04-05T02:15:43.940+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='misc.'/><title type='text'>(Intermisssion)</title><content type='html'>I am going to take a short break from posting because:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;I need to concentrate on preparing course material for the new semester, and&lt;/li&gt;&lt;li&gt;I think I’ve amassed enough stuff here now that I need to convert the site to a more browseable interface.&lt;/li&gt;&lt;/ol&gt;There’s lots more to come. Be back soon.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-1938842789183239755?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/1938842789183239755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=1938842789183239755' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1938842789183239755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1938842789183239755'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/09/intermisssion.html' title='(Intermisssion)'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-6694560787029067535</id><published>2007-09-09T19:48:00.002+03:00</published><updated>2009-01-16T01:49:23.149+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='What you need to know'/><title type='text'>*nix and GUI</title><content type='html'>When you install a &lt;a href="http://www.microsoft.com/Windows/default.mspx" target="_blank"&gt;Windows&lt;/a&gt; or &lt;a href="http://www.apple.com/macosx/" target="_blank"&gt;OS X&lt;/a&gt; system, you get a big, integrated package that gives you a graphical user interface, a desktop with a trashcan, a system of standard windows, etc. All the bits that make this happen seem to magically work together to give you the OS's experience, and it all happens without the user having any idea exactly what's going on.&lt;br /&gt;&lt;br /&gt;This is so not the *nix way. Part of the *nix philosophy is to write something that does &lt;i&gt;one&lt;/i&gt; thing, but does it well. Then that one thing gets used in a bigger thing that does one (bigger) thing well, and that thing used in another, etc. This is a fairly common development methodology, but the difference when it comes to *nix is that all the little bits that make up a Big Thing are released as independent entities, very frequently with access to the underlying source code.&lt;br /&gt;&lt;br /&gt;This has a few interesting ramifications. The biggest is that it facilitates iterative refinement of sub-modules. Since a sub-module is a distinct entity from the higher-level entity that uses it, someone can refine the sub-module without having to keep things in sync with people maintaining the higher-level entity. Another is that it minimizes the need to duplicate effort. If you (as a programmer) have access to a widget that, say, lets you do all sorts of neat networking things, then you don't have to develop the code that does that yourself.&lt;br /&gt;&lt;br /&gt;This is all very interesting if you are a programmer, but if you have no interest in developing *nix programs then why should you care? Well, if your interest is only in &lt;i&gt;using&lt;/i&gt; your computer, then it will still have impact your life. The biggest of these is that you will need get used to the idea that things you used to think of as monolithic entities are actually made up of smaller bits that you will have to deal with independently.&lt;br /&gt;&lt;br /&gt;The most important example of the above is the way *nix systems set up &lt;a href="http://en.wikipedia.org/wiki/Graphical_user_interface" target="_blank"&gt;graphical user interface&lt;/a&gt; environments. In a Windows or OS X install, you get a massive package that delivers a complete graphical user experience. However, in the case of *nix, it's all broken into its various little bits, the most important of which are listed below.&lt;br /&gt;&lt;br /&gt;Most *nix GUI-based systems have the following components:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;A window system&lt;/b&gt;. A window system provides your computer and OS a bare-bones way of making graphics go. It gives other programs a standard way of interfacing with a system's graphical abilities. The most common *nix window system specification is the &lt;a href="http://en.wikipedia.org/wiki/X_Window_System" target="_blank"&gt;X Window System&lt;/a&gt;, and the most recent version of this protocol is called X11. The two most popular open source implementations of X11 are &lt;a href="http://www.x.org/" target="_blank"&gt;X.Org&lt;/a&gt; and &lt;a href="http://www.xfree86.org/" target="_blank"&gt;XFree86&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;A window manager&lt;/b&gt;. A window system provides only a very basic way of communicating with a computer's graphics system. A window manager builds on this by providing the kinds of window features we are all used to now: windows with title bars that have "close", "minimize", and similar buttons, etc. You only need to install one window manager to make the system go; in spite of this, there are billions and billions of different *nix window managers, each trying to address some niche scenario and/or let a programmer prove his/her mettle. Some popular window managers for the X Window System are &lt;a href="http://blackboxwm.sourceforge.net/" target="_blank"&gt;Blackbox&lt;/a&gt;,  &lt;a href="http://fluxbox.sourceforge.net/" target="_blank"&gt;Fluxbox&lt;/a&gt;,  &lt;a href="http://www.fvwm.org/" target="_blank"&gt;FVWM&lt;/a&gt;,  &lt;a href="http://www.icewm.org/" target="_blank"&gt;IceWM&lt;/a&gt;,  &lt;a href="http://icculus.org/openbox/2/" target="_blank"&gt;Openbox&lt;/a&gt;, and &lt;a href="http://sawfish.wikia.com/wiki/Main_Page/" target="_blank"&gt;Sawfish&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;File managers&lt;/b&gt;. A file manager lets you browse and (typically) open files installed on your system. Popular *nix file explorers include &lt;a href="http://pcmanfm.sourceforge.net/" target="_blank"&gt;PCMan File Manager&lt;/a&gt;, &lt;a href="http://rox.sourceforge.net/desktop/ROX-Filer?" target="_blank"&gt;ROX-filer&lt;/a&gt;, &lt;a href="http://thunar.xfce.org/" target="_blank"&gt;Thunar&lt;/a&gt;, &lt;a href="http://roland65.free.fr/xfe/" target="_blank"&gt;XFE&lt;/a&gt;, &lt;a href="http://www.konqueror.org/" target="_blank"&gt;Konquerer&lt;/a&gt;, and &lt;a href="http://www.gnome.org/projects/nautilus/" target="_blank"&gt;Nautilus&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Taskbars and pagers&lt;/b&gt;. Windows users are used to having a taskbar at the bottom of the screen to help with launching programs and keeping track of what's open. OS X users have a menu bar at the top of the screen and a Dock at the bottom that serve a similar purpose. These kinds of things are independent entities in the *nix world. Popular *nix taskbars and pagers include &lt;a href="http://bbtools.sourceforge.net/download.php?file=6" target="_blank"&gt;bbpager&lt;/a&gt;,  &lt;a href="http://fbpanel.sourceforge.net/" target="_blank"&gt;fbpanel&lt;/a&gt;,  &lt;a href="http://www.chatjunkies.org/fspanel/" target="_blank"&gt;F***inf Small Panel&lt;/a&gt;,  &lt;a href="http://pypanel.sourceforge.net/" target="_blank"&gt;PyPanel&lt;/a&gt;,  &lt;a href="http://developer.gnome.org/arch/gnome/corecomponents/panel/" target="_blank"&gt;GNOME Panel&lt;/a&gt;,  &lt;a href="http://perlpanel.org/" target="_blank"&gt;PerlPanel&lt;/a&gt;, and &lt;a href="http://www.xfce.org/projects/xfce4-panel/" target="_blank"&gt;Xfce4 Panel&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Display managers&lt;/b&gt;. Do you want to be able to login to your computer using a graphical user interface? Then you will need a display manager:  &lt;a href="http://www.gnome.org/projects/gdm/" target="_blank"&gt;GDM&lt;/a&gt;,  &lt;a href="http://docs.kde.org/en/3.1/kdebase/kdm/" target="_blank"&gt;KDM&lt;/a&gt;, and &lt;a href="http://en.wikipedia.org/wiki/XDM" target="_blank"&gt;XDM&lt;/a&gt; are popular examples.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Misc.&lt;/b&gt; Do you want to put icons on your desktop? Then you will need a program that makes that happen. Do you want a trashcan? Then you will need a program that implements that as well. Do you want a screensaver? I think you are beginning to get the idea.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Integration&lt;/b&gt;&lt;br /&gt;Many popular window managers break with the strict *nix tradition of compartmentalizing functionality and instead integrate some of the above functions. For example, Fluxbox and IceWM have their own built-in taskbars. Going even beyond this, there are packages that incorporate most of the above functionality into a complete comprehensive &lt;a href="http://en.wikipedia.org/wiki/Desktop_environment" target="_blank"&gt;desktop environment&lt;/a&gt;, which is what Windows and Macintosh have been doing all along. The most popular *nix desktop environments are &lt;a href="http://www.gnome.org/" target="_blank"&gt;GNOME&lt;/a&gt;, &lt;a href="http://www.kde.org/" target="_blank"&gt;KDE&lt;/a&gt;, and &lt;a href="http://www.xfce.org/" target="_blank"&gt;Xfce&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Most Linux distributions include a default desktop environment, usually GNOME or KDE. For example, Ubuntu is based on GNOME and Kubuntu is based on KDE. This approach simplifies things for the end-user by delivering in one integrated package the basic GUI features that many users have come to expect. The downside to GNOME and KDE is that, like Windows XP/Vista and Mac OS X, they are resource intensive. On a low-end machine, these environments will deliver very slow performance. Xfce (used in Xubuntu) is less resource hungry than GNOME or KDE, but even it is a bit too heavy for many older machines.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Why-oh-why?&lt;/b&gt;&lt;br /&gt;The conventional way of installing a GUI system on *nix is a tweaky process. That is a big turn-off for many users, your grandmother in particular. However, it does let you create a custom mix of all the various bits and pieces that make up the desktop experience using only the most efficient but still usable alternatives. And that will let us build a modern, solid and usable system that runs on obsolete hardware.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-6694560787029067535?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/6694560787029067535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=6694560787029067535' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/6694560787029067535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/6694560787029067535'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2007/09/nix-and-gui.html' title='*nix and GUI'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-6782094999782129382</id><published>2007-09-07T22:19:00.009+03:00</published><updated>2008-04-05T14:19:18.793+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='how-to'/><category scheme='http://www.blogger.com/atom/ns#' term='background'/><title type='text'>Ground rules</title><content type='html'>I was having a really tough time getting things going until I found an article on &lt;a href="https://help.ubuntu.com/community/Installation/LowMemorySystems" target="_blank"&gt;adapting Ubuntu to low memory situations&lt;/a&gt; at &lt;a href="https://help.ubuntu.com/community/" target="_blank"&gt;Ubuntu’s community documentation site&lt;/a&gt;. The basic idea outlined there is to install a text-based system and then manually add lightweight GUI stuff and other applications. One cool thing about this is that we don’t need to limit ourselves to an Ubuntu based install: since Ubuntu is itself based on Debian, it should be possible to do with Debian what the article suggests doing with Ubuntu. The article also mentions the possibility of installing &lt;a href="http://www.xubuntu.com/" target="_blank"&gt;Xubuntu&lt;/a&gt; and then replacing the heavier items with lighter alternatives.&lt;br /&gt;&lt;br /&gt;So, overall this gives us three different promising paths to follow:&lt;br /&gt;1. A text-based Ubuntu install plus a manually installed GUI environment.&lt;br /&gt;2. A text-based Debian install plus a manually installed GUI environment.&lt;br /&gt;3. A full Xubuntu install with unnecessary stuff removed and heavier items replaced with lighter alternatives.&lt;br /&gt;&lt;br /&gt;Approaches similar to the above should also be possible using any other major distribution. However, at this point I want to limit myself to Ubuntu and Debian. These are two very well-supported distributions, and I don't see what will be gained by considering other distributions. Of the major Linux distributions, Ubuntu is the most consumer-oriented. Debian is an attractive alternative to Ubuntu because Ubuntu has a reputation for doing some things in a slightly non-standard way; Debian is an accepted, established, and carefully maintained standard that may overcome some problems presented by using Ubuntu.&lt;br /&gt;&lt;br /&gt;I have been working mostly with parallel installs based on 1. and 2. I will postpone working along path 3. until after I have a better understanding of what’s going on. An additive approach to functionality lets you learn what each package, etc. does and gives you a more fully integrated idea of what’s happening. A subtractive approach only tells you what’s &lt;i&gt;not&lt;/i&gt; needed—and it doesn’t guarantee that you have a minimal set of what is required. However, I will probably play around coarsely with an Xubuntu install before I have a really good idea what's what to see what might be possible along that path.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-6782094999782129382?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/6782094999782129382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=6782094999782129382' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/6782094999782129382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/6782094999782129382'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2007/09/ground-rules.html' title='Ground rules'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-8798378584271436398</id><published>2007-09-06T21:10:00.001+03:00</published><updated>2008-04-04T16:49:01.026+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><category scheme='http://www.blogger.com/atom/ns#' term='other operating systems'/><title type='text'>Kudos, Windows 98. RIP.</title><content type='html'>Before I go any further, and at the risk of suffering the wrath of the Linux police, I would like to mention how incredibly well Windows 98 has worked on my old laptop and desktop systems. In fact, my preliminary experiments with various lean and light Linux distributions left me with new respect for the lowly Win98. Yeah, it was shipped riddled full of security holes and lacked a lot of what you might expect in a modern OS, but it (still) delivers pretty snappy performance on quite modest hardware. It’s very easy to bash Microsoft for delivering compromised solutions—God knows I’ve done it myself often enough. That makes giving credit when it is due even more important. In spite of its shortcomings, Windows 98 was a pretty usable, efficient, and responsive OS.&lt;br /&gt;&lt;br /&gt;There is a call from some quarters for Microsoft to &lt;a href="http://www.oreillynet.com/mac/blog/2004/10/microsoft_should_release_windo.html" target="_blank"&gt;open the Windows 98 sources&lt;/a&gt; and let a community continue maintenance. It would be awesome if this were to happen, but I would sooner expect the Pope to embrace birth control and gay marriage.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-8798378584271436398?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/8798378584271436398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=8798378584271436398' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/8798378584271436398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/8798378584271436398'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2007/09/kudos-windows-98-rip.html' title='Kudos, Windows 98. RIP.'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-1285173357221620026</id><published>2007-09-05T20:51:00.000+03:00</published><updated>2008-04-04T16:47:03.802+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='FAQ'/><title type='text'>Why Debian?</title><content type='html'>At the moment, I am working exclusively with &lt;a href="http://www.ubuntu.com/" target="_blank"&gt;Ubuntu&lt;/a&gt; and &lt;a href="http://www.debian.org/" target="_blank"&gt;Debian&lt;/a&gt; as bases. Why Debian?&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Because Ubuntu is based on Debian.&lt;/li&gt;&lt;li&gt;Because Debian is solid.&lt;/li&gt;&lt;li&gt;Because Debian isn’t in a big hurry to offer bleeding-edge (and therefore slightly rough) packages.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-1285173357221620026?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/1285173357221620026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=1285173357221620026' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1285173357221620026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1285173357221620026'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2007/09/why-debian.html' title='Why Debian?'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-3608035255926062926</id><published>2007-09-05T20:49:00.000+03:00</published><updated>2008-04-04T16:45:58.492+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='FAQ'/><title type='text'>Why Ubuntu?</title><content type='html'>At the moment, I am working exclusively with &lt;a href="http://www.ubuntu.com/" target="_blank"&gt;Ubuntu&lt;/a&gt; and &lt;a href="http://www.debian.org/" target="_blank"&gt;Debian&lt;/a&gt; as bases. Why Ubuntu?  Because of the major distributions I have investigated, Ubuntu is the most consumer-oriented.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-3608035255926062926?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/3608035255926062926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=3608035255926062926' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/3608035255926062926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/3608035255926062926'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2007/09/why-ubuntu.html' title='Why Ubuntu?'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-68074627089341215</id><published>2007-09-05T20:29:00.000+03:00</published><updated>2008-04-04T16:38:25.476+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='FAQ'/><title type='text'>Why Linux?</title><content type='html'>There are quite a few &lt;a href="http://www.freebyte.com/operatingsystems/" target="_blank"&gt;gratis operating systems&lt;/a&gt;. Given the wide range of options, why settle on Linux?&lt;br /&gt;&lt;br /&gt;It’s an obvious question. Here are some obvious answers:&lt;br /&gt;&lt;br /&gt;1. It’s free. For the present purposes, &lt;a href="http://en.wikipedia.org/wiki/Gratis_versus_Libre" target="_blank"&gt;&lt;i&gt;gratis&lt;/i&gt;&lt;/a&gt; is more important than &lt;a href="http://en.wikipedia.org/wiki/Gratis_versus_Libre" target="_blank"&gt;&lt;i&gt;libre&lt;/i&gt;&lt;/a&gt;.&lt;br /&gt;2. It’s active. There are millions of monkeys pounding out millions of lines of Linux-compatible code.&lt;br /&gt;3. It’s supported. In particular, precompiled binaries of *nix programs are widely available for Linux. (Compile-it-yourself may be a good option for compugeeks, but it is not a solution for a consumer-oriented system.) Also, there are lots of community-based forums (fora?), wikis (wikia?), and the like (lika?) offering technical assistance.&lt;br /&gt;&lt;br /&gt;Good reasons for &lt;i&gt;not&lt;/i&gt; using Linux are discussed at the &lt;a href="http://www.swax.de/" target="_blank"&gt;swax project website&lt;/a&gt;. In spite of these reasons, I feel Linux holds the best potential for the present purposes. Time will tell…&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-68074627089341215?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/68074627089341215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=68074627089341215' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/68074627089341215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/68074627089341215'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2007/05/why-linux.html' title='Why Linux?'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-2378757954281151104</id><published>2007-09-03T18:00:00.006+03:00</published><updated>2008-04-04T16:49:51.274+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='What you need to know'/><title type='text'>Linux as Desktop OS</title><content type='html'>I suspect one of the biggest problems with Linux for personal computing* is that &lt;a href="http://en.wikipedia.org/wiki/%2Anix" target="_blank"&gt;*nix&lt;/a&gt; operating systems were never designed for this application. *nixes have their roots in large-scale &lt;span style="font-style: italic;"&gt;Systems &lt;/span&gt;managed by officially sanctioned &lt;span style="font-style: italic;"&gt;System Administrators&lt;/span&gt;. This has produced a *nix way of doing things, at heart of which is “Thou Shall Let Only Thy &lt;span style="font-style: italic;"&gt;SysAdmin &lt;/span&gt;Manage Thy Resources.” And just to the right of that is, “Text, man… it’s all in the text.” The *nix way of configuring things is through text files. Lots and lots of text files, in lots and lots of different places, many of them controlled by the God &lt;span style="font-style: italic;"&gt;SysAdmin&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;*nix’s infatuation with texfiles is both good and bad. It’s good because it’s easy to open/edit/fix/replace plain text files. You don’t need a special configuration editor or “regedit”-like program to maintain your system. It's bad because hacking text is usually not the most intuitive way to configure something and it makes it easy to introduce syntax errors. It's even more bad because if you wanna change something, you need to start looking for the right text file to tweak, and then hope to God you don’t need to be God to change it or that you can convince the master gatekeepers that God sent you. This is the spirit of *nix.&lt;br /&gt;&lt;br /&gt;I wonder if the *nix take on system management was a major reason that Apple decided to forego the &lt;a href="http://en.wikipedia.org/wiki/X_Window_System" target="_blank"&gt;X Window System&lt;/a&gt; in &lt;a href="http://www.apple.com/macosx/features/unix/" target="_blank"&gt;OS X&lt;/a&gt; (ironic, really, given the name) and write their own window system. By writing their own window system, maybe Apple was able to bypass a lot of the user and developer *nix inconveniences while still retaining a BSD core. Or not.&lt;br /&gt;&lt;br /&gt;In any case, the *nix way of doing things (including the X Windows System) doesn’t mean that Linux can’t form the core of a consumer-oriented PC operating system. Canonical’s &lt;a href="http://www.ubuntu.com/" target="_blank"&gt;Ubuntu&lt;/a&gt; proves this. Ubuntu does a very good job of wrapping the *nix way of doing things in user-friendly, user-managed interfaces. But in spite of these wrappers, you can still sense residue in the form of a bit of klunkiness and hoop-jumping-ness. Given the amount of work Canonical have put into their effort, I think it’s fair to expect that any other approach, and especially a home-brewed one, will be much more klunky. So if you are planning to install a conventional Linux system (as am I), don’t expect as smooth sailing as provided by Windows or OS X or even Ubuntu. Be prepared to jump through hoops on a semi-regular basis and try to learn and even love the process. Once you get a feel for how *nix works, it’s not nearly as sucky as it seems at the start.&lt;br /&gt;&lt;br /&gt;*By this I mean a desktop or laptop computer used by at most a family-size group of people, networked to at most a family-sized network, and administered by one or more of the users themselves.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-2378757954281151104?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/2378757954281151104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=2378757954281151104' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/2378757954281151104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/2378757954281151104'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2007/09/linux-as-desktop-os.html' title='Linux as Desktop OS'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/14854561125278529493</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-5660450378513440335</id><published>2007-09-02T14:07:00.001+03:00</published><updated>2008-03-28T00:49:39.812+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='background'/><title type='text'>Goals</title><content type='html'>It would probably be a good idea at this point to outline in greater detail what the goals of this little undertaking are. In no particular order:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;A Windows 98 alternative.&lt;/b&gt; As mentioned on the &lt;a href="http://mkonar.selfip.com/cms/sphpb2/index.php?entry=entry070908-133205" target="_blank"&gt;About&lt;/a&gt; page, the primary goal here is to find or develop an operating system for Intel-based machines that are too limited in resources to support &lt;a href="http://www.microsoft.com/windows/products/windowsxp/default.mspx" target="_blank"&gt;Windows XP&lt;/a&gt; (or, by extension, &lt;a href="http://www.microsoft.com/windows/products/windowsvista/default.mspx" target="_blank"&gt;Vista&lt;/a&gt;) or Canonical’s &lt;a href="http://www.xubuntu.com/" target="_blank"&gt;Xubuntu&lt;/a&gt; (or, by extension, &lt;a href="http://www.ubuntu.com/" target="_blank"&gt;Ubuntu&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Windows 98 UI reproduction &lt;i&gt;not &lt;/i&gt;a goal.&lt;/b&gt; While the goal is to find an OS that is an alternative to Windows 98, reproducing the Windows 98 user interface is not a criterion. I consider it acceptable for the user to have to change the way he or she is used to doing things, in much the same way one would need to adapt to OS X from Windows or vice-versa. By the same token, a solution that resembles Windows 98 or XP (or Mac OS X or OS 9 or any other system for that matter) is fine as well.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Usability.&lt;/b&gt; The fact that reproducing the Windows way of doing things is not a goal does not mean that usability is not a goal. Quite the opposite: while the ultimate solution does not need to resemble any popular OS, it must be easy to use by typical computer users. Pushing the envelope to include your grandmother would be great, but I have something closer to my cousins in mind instead as target users.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;End-user management.&lt;/b&gt; The system needs to be manageable by end-users, not system administrators. It shouldn’t be assumed that the end-user will be satisfied with the applications and configurations that are included in the default distribution/installation. Indeed, this is where a lot of Linux distributions fall short. Many of them essentially place the distribution packager in the role of System Administrator, and that’s not gonna cut it for my purposes.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Stability.&lt;/b&gt; It’s gotta be stable enough for everyday use.&lt;br /&gt;&lt;br /&gt;At this stage, I don’t want to get into specifics about what particular activities and services the system needs to support. I will merely say that the system should support the kinds of activities and services that are expected from a modern consumer-oriented OS. In reality, it’s going to come down to what I can get away with on the limited hardware.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-5660450378513440335?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/5660450378513440335/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=5660450378513440335' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/5660450378513440335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/5660450378513440335'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/2008/03/goals.html' title='Goals'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/14854561125278529493</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-4508385886004572004</id><published>1971-01-01T00:00:00.029+02:00</published><updated>2009-06-09T01:37:28.916+03:00</updated><title type='text'>An Even Lighter Debian</title><content type='html'>&lt;span style="font-style: italic;"&gt;Note: The material here has pretty much been obsoleted by &lt;span style="font-weight: bold;"&gt;SkinnyDebbie&lt;/span&gt; (&lt;a href="http://lovingthepenguin.blogspot.com/search/label/SkinnyDebbie"&gt;blog postings&lt;/a&gt; | &lt;a href="http://skinny.tuxfamily.org"&gt;website&lt;/a&gt;) and is probably obsolete in other respects as well. I am leaving this page here for reference purposes.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;If after installing a &lt;a href="http://lovingthepenguin.blogspot.com/1971/01/lighter-debian.html"&gt;basic Debian-Xfce&lt;/a&gt; environment you find that your computer is still not fast enough for you, you can lighten up your system considerably by changing the default window manager, file manager, and some other things. This will take some time and patience to set up, but it will give you a desktop environment that's quite fast. This is especially useful if you have a RAM-starved or slow system. The result might not be awesomely pretty, but it will give you a very fast, usable, and secure system.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Install a baseline Debian-Xfce system&lt;/b&gt;&lt;br /&gt;Go through &lt;a href="http://lovingthepenguin.blogspot.com/1971/01/lighter-debian.html"&gt;A Lighter Debian&lt;/a&gt; and follow the instructions.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Install IceWM&lt;/b&gt;&lt;br /&gt;IceWM is a very light yet highly usable window manager. To install it:&lt;br /&gt;&lt;pre&gt;$ sudo aptitude install icewm icewm-themes&lt;/pre&gt; If you look through Synaptic, you will see &lt;code&gt;iceme&lt;/code&gt; and &lt;code&gt;iceconf&lt;/code&gt; and may be tempted to install these as well. I suggest that you not do this and instead learn how to configure IceWM directly through editing its configuration files. It's not that tough, and good documentation is available at the &lt;a href="http://www.icewm.org/" target="_blank"&gt;IceWM website&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Install ROX-filer&lt;/b&gt;&lt;br /&gt;ROX-filer is a lightweight file manager with desktop management features. We will use it instead of Thunar.&lt;br /&gt;&lt;pre&gt;$ sudo aptitude install rox-filer&lt;/pre&gt;&lt;b&gt;Update menus&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;$ sudo update-menus&lt;br /&gt;$ update-menus&lt;/pre&gt;&lt;b&gt;Set IceWM as the default window manager&lt;/b&gt;&lt;br /&gt;Logout. Then from the login screen's "Sessions" menu select &lt;i&gt;IceWM&lt;/i&gt; and initiate a login. When asked if you want to make IceWM the defualt window manager, answer "Make Default".&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Configure IceWM options&lt;/b&gt;&lt;br /&gt;This is such an involved process that I decided to publish configuration files to make it easier. The basic idea is to copy some configuration files to IceWM's hidden folder in your home directory.&lt;br /&gt;&lt;br /&gt;Start ROX-filer,&lt;br /&gt;&lt;pre&gt;$ rox&lt;/pre&gt;and make your hidden files and folders visible by clicking on the eye icon or typing &lt;i&gt;Ctrl-H&lt;/i&gt;. (Remember that in Linux, files and folder whose names begin with a period are "hidden". To see hidden files, you will need to tell your file manager to show hidden files.)&lt;br /&gt;&lt;br /&gt;Open your WWW browser and go to &lt;a href="http://mithat.co.nr/linux/icewm-config" target="_blank"&gt;http://mithat.co.nr/linux/icewm-config&lt;/a&gt;. Download each of the files to a temporary location and then use ROX to move them to the &lt;code&gt;.icewm&lt;/code&gt; folder in your home directory. Important: The files you download should have no file extension. If your WWW browser adds an &lt;code&gt;htm&lt;/code&gt; extension, remove the extensions by renaming the files.&lt;br /&gt;&lt;br /&gt;Make the &lt;code&gt;startup&lt;/code&gt; file executable:&lt;br /&gt;&lt;pre&gt;$ chmod u+x ~/.icewm/startup&lt;/pre&gt;Logout by clicking on IceWM's applications menu icon (the leftmost icon on the taskbar) and select "Logout...", then log back in. ROX should now be managing your desktop and IceWM will generally behave better (or at least more to my liking).&lt;br /&gt;&lt;br /&gt;You can now drag and drop items to your desktop and get to know how ROX-Filer works in your freetime.&lt;br /&gt;&lt;br /&gt;Notes:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;ROX-Filer places links to things on the desktop, not things themselves.&lt;/li&gt;&lt;li&gt;System icons (png, svg, etc.) that you can use for decorating what you place on your desktop are located in &lt;code&gt;/usr/share/icons&lt;/code&gt;.&lt;/li&gt;&lt;li&gt;Some of the applications under "Utilities" will not work yet. This is because we have yet to install them.&lt;/li&gt;&lt;/ul&gt;Additional notes:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;There is a weird bug in either IceWM or ROX that will make a 'rox' button appear and flash in the taskbar whenever you log in. You can make it go away by clicking on it.&lt;/li&gt;&lt;li&gt;The "Desktop" folder in your home directory is Xfce's desktop -- not ROX's. If you are absolutely certain that you will never use Xfce again, you may delete this folder. (It's probably empty anyway, so you can simply add it again later if you decide to revert to Xfce.) Also, you will want to open the WWW browser and tell it *not* to use the "Desktop" folder as the default download location; your home directory is a good alternative for a default download location.&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;Change IceWM's theme&lt;/b&gt;&lt;br /&gt;IceWM's default theme will probably not be to your liking. Change it by clicking on IceWM's applications menu icon and navigating through to the available themes. I tend to use &lt;i&gt;IceBlueOkayish&lt;/i&gt;. There are more themes available at &lt;a href="http://themes.freshmeat.net/browse/925/" target="_blank"&gt;http://themes.freshmeat.net/browse/925/&lt;/a&gt;, but really good ones are hard to find.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Set ROX-filer's options&lt;/b&gt;&lt;br /&gt;Start ROX from the command line or IceWM's applications menu.&lt;br /&gt;In a blank area of the ROX window, right-click and select "Options..."&lt;br /&gt;Go through list of options and set as desired. I use the following (only differences from defaults are noted):&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Filer windows -&gt; Sorting : Directories come first&lt;/li&gt;&lt;li&gt;Filer windows -&gt; Tools/Minibuffer : Toolbar type : Text under icons&lt;/li&gt;&lt;li&gt;Pinboard : Pinboard behaviour : Icon grid step : Medium&lt;/li&gt;&lt;li&gt;Pinboard : Iconified windows : [unchecked] Show iconified windows&lt;/li&gt;&lt;li&gt;Menus : Behaviour : [checked] File menu on right click&lt;/li&gt;&lt;li&gt;Menus : Behaviour : Terminal emulator program: x-terminal-emulator&lt;/li&gt;&lt;li&gt;Types : Themes : Icon theme : Tango&lt;/li&gt;&lt;li&gt;Compatibility : [checked] Window manager problems : Pass all backdrop mouse clicks to window manager&lt;/li&gt;&lt;/ul&gt;Note that ROX's default behavior is to open things with a single click. Since I have moderate RPI issues, this works well for me. But you can change this to the more standard double-click if you prefer, both for regular file manager windows and for pinboards (i.e., the desktop).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Add a sound mixer&lt;/b&gt;&lt;br /&gt;Start Synaptic under sudo and use it to install &lt;code&gt;aumix-gtk&lt;/code&gt;, a commonly used command-line sound mixer with a GUI wrapper.&lt;br /&gt;&lt;br /&gt;Bonus: The IceWM configuration files you downloaded earlier include keyboard shortcuts that use &lt;code&gt;aumix&lt;/code&gt; to increase (Alt-UpArrow) and decrease (Alt-DownArrow) the master sound level. You can change these keys in &lt;code&gt;~/.icewm/keyboard&lt;/code&gt;.&lt;br /&gt;&lt;br /&gt;Note: &lt;code&gt;alsamixer&lt;/code&gt; and &lt;code&gt;gnome-alsamixer&lt;/code&gt; are also popular sound mixers, but I haven't found a way to use either to control level with IceWM's keyboard shortcuts.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Setup a rubbish bin&lt;/b&gt;&lt;br /&gt;One of ROX's biggest shortcomings is that it does not come with a trashcan by default. ROX lets you delete files, but &lt;i&gt;when they are deleted, they are permanently deleted&lt;/i&gt;. However, we can add a basic Rubbish bin to the desktop manually.&lt;br /&gt;&lt;br /&gt;Create a hidden folder in your home directory called &lt;code&gt;.Apps&lt;/code&gt;. (Notice the period before the name; there is no perdiod after the name.) The Rubbish script will ultimately reside here, and you will be able to place other local service applications that you want hidden here as well.&lt;br /&gt;&lt;br /&gt;Goto &lt;a href="http://www.hayber.us/rox/" target="_blank"&gt;http://www.hayber.us/rox/&lt;/a&gt; and click on the appropriate link to download Rubbish. Download the file into your home directory. Open a terminal window any type:&lt;br /&gt;&lt;pre&gt;$ tar -xvvzf ~/Rubbish-001.tgz&lt;/pre&gt;(changing the name of the file if needed) to decompress the file; this will produce a Rubbish bin in your home directory. Move the directory into the ".Apps" folder using ROX; then drag and drop the Rubbish icon from the ".Apps" folder onto the Desktop. You now have a Rubbish bin link on the desktop.&lt;br /&gt;&lt;br /&gt;Important note:&lt;br /&gt;When you drag and drop items onto the Rubbish bin, they will stay there until you "Take out the rubbish" with a right-click. However, if you delete an item directlty with ROX using a right-click on an item's icon and navigating to &lt;code&gt;Delete&lt;/code&gt; (or using the Ctrl-X shortcut), the item will be permanently deleted. I don't love this behavior, but it's best we can do without a lot of work. Xfce's trash/delete system works the same way, so there's at least some precedent for this behavior.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Change the theme used in toolbar icons of GTK2 applications&lt;/b&gt;&lt;br /&gt;To use Tango icons in GTK applications, create a (hidden) file in your home directory called &lt;code&gt;.gtkrc-2.0&lt;/code&gt; and add the following text to the file:&lt;br /&gt;&lt;code&gt;gtk-icon-theme-name="Tango"&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Extra credit: Change session managers&lt;/b&gt;&lt;br /&gt;In theory you can lighten your system a bit more by removing the Gnome Desktop Manager (GDM) and using X Desktop Manager (XDM) instead. However, I am not entirely sure the savings is worth the hassle. Also, using GDM will make it a lot easier to switch between IceWM and Xfce (as a fallback). But if you want to try it or if you need to save every last bit of RAM, do the following in one sitting and without logging out until directed to do so.&lt;br /&gt;&lt;br /&gt;Start Synaptic:&lt;br /&gt;&lt;pre&gt;$ sudo synaptic&lt;/pre&gt;and use it to uninstall GDM, then use it to install XDM.&lt;br /&gt;&lt;br /&gt;Create a file called &lt;code&gt;.xsession&lt;/code&gt; in your home directory, open it in an editor, and add the following lines to it:&lt;br /&gt;&lt;code&gt;# This is a simple .xsession file that simply starts IceWM.&lt;br /&gt;# Start IceWM (or run xterm if it fails.)&lt;br /&gt;exec icewm-session || exec xterm -fg red&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Make the &lt;code&gt;.xsession&lt;/code&gt; file executable:&lt;br /&gt;&lt;pre&gt;$ chmod u+x ~/.xsession&lt;/pre&gt;(FYI, the above is documented in &lt;a href="http://www.icewm.org/FAQ/IceWM-FAQ-3.html" target="_blank"&gt;http://www.icewm.org/FAQ/IceWM-FAQ-3.html&lt;/a&gt;.)&lt;br /&gt;&lt;br /&gt;Replace XDM config files:&lt;br /&gt;Download the three &lt;code&gt;*_mfk&lt;/code&gt; files from &lt;a href="http://mithat.co.nr/linux/xdm-config" target="_blank"&gt;http://mithat.co.nr/linux/xdm-config&lt;/a&gt; to a temporary location. Then open a file manager window as root (sudo) and move the files from the temporary location into &lt;code&gt;/etc/X11/xdm/&lt;/code&gt;.&lt;br /&gt;&lt;br /&gt;Edit &lt;code&gt;/etc/X11/xdm/xdm-config&lt;/code&gt; so that the *_mfk versions of the files are pointed to by making the following changes:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;DisplayManager*resources: /etc/X11/xdm/Xresources_mfk&lt;br /&gt;...&lt;br /&gt;DisplayManager*startup:  /etc/X11/xdm/Xstartup_mfk&lt;br /&gt;...&lt;br /&gt;DisplayManager*setup:  /etc/X11/xdm/Xsetup_mfk&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Logout and restart. You should now see the XDM login screen. Note: to toggle between Username and Password fields, use your keyboard's TAB key. You will not see anything when you are typing your password. Hit ENTER when you are ready to login.&lt;br /&gt;&lt;br /&gt;Note: If you want to revert to Xfce, rename the &lt;code&gt;.xsession&lt;/code&gt; file to something like &lt;code&gt;.xsessionICEWM&lt;/code&gt; and logout/login.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Enjoy&lt;/b&gt;&lt;br /&gt;Welcome to the world of Linux. You will now rely heavily on the Internet and the command line to figure out how to set up things that this tutorial hasn't talked about, such as:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Printing&lt;/li&gt;&lt;li&gt;File serving/sharing&lt;/li&gt;&lt;li&gt;A music player (try Amarok or Rythmbox)&lt;/li&gt;&lt;li&gt;Networking (including wireless networking)&lt;/li&gt;&lt;/ul&gt;Dealing with this kind of stuff is part of the joy and culture of Linux. It's not for everybody.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;A final note&lt;/b&gt;&lt;br /&gt;When you add new users, you will need to go through much of this setup for the new user. Sorry. After the new user has logged in, start from the top and do everything except install software (i.e., anything that starts &lt;code&gt;$ sudo aptitude&lt;/code&gt; or that you do with Synaptic.)&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-4508385886004572004?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4508385886004572004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/4508385886004572004'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/1971/01/even-lighter-debian.html' title='An Even Lighter Debian'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-938175883862652746</id><published>1971-01-01T00:00:00.026+02:00</published><updated>2009-01-30T00:37:59.894+02:00</updated><title type='text'>Recommended Practices</title><content type='html'>&lt;span style="font-style: italic;"&gt;Note: This content is almost certainly obsolete. It's left here mainly for reference purposes.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here are my current recommended practices for raising a happy skinny penguin. Please note that I am not a Linux expert. That's not such a bad thing because it means I have to deal with all the problems and frustrations that you would from a perspective that is something close to your own. With any luck, you will be able to benefit from my experience in getting skinny penguins going.&lt;br /&gt;&lt;br /&gt;Before we start, there's something you need to be aware of. Full-blown desktop Linux (e.g., Canonical's &lt;a href="http://www.ubuntu.com/" target="_blank"&gt;Ubuntu&lt;/a&gt;) may have come of age--meaning that it is now possible to run a general-purpose Linux system on recent hardware that is easy enough for anyone used to Windows or Mac OS to configure and use. However, if your goal is to try to install a desktop Linux system on a circa Windows 98 machine, it's not going to be as easy as using Windows or Mac OS. Depending on the route you take, the initial installation may be easy or tedious. But more importantly, after the installation you may need to learn how to configure stuff that Windows and Mac OS do for you without your having to think. This is especially true if you want/need advanced features such as wireless networking, local-network file sharing, automatic mounting of removable media, and the like. Even something as basic as &lt;a href="http://www.cae.wisc.edu/site/public/?title=linaccounts" target="_blank"&gt;creating a new user account&lt;/a&gt; in lean Linux can be a pain. This learning curve can be very discouraging, so unless you are prepared to embrace a lot of stuff that may sometimes have you pulling your hair out, you might want to cut your losses at this point and turn back.&lt;br /&gt;&lt;br /&gt;If you are still with me, then read on.&lt;br /&gt;&lt;br /&gt;I have broken things down into different categories depending on how fat your penguin is allowed to be. Pick the category that comes closest to describing your situation.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;You have 192MB or more of RAM&lt;/b&gt;&lt;br /&gt;Recommendations:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Xubuntu&lt;/li&gt;&lt;li&gt;Debian-Xfce&lt;/li&gt;&lt;li&gt;Fedore Xfce-spin (untested)&lt;/li&gt;&lt;/ul&gt;Canonical's &lt;a href="http://www.xubuntu.com/" target="_blank"&gt;Xubuntu&lt;/a&gt; is an &lt;a href="http://www.xfce.org/"&gt;Xfce&lt;/a&gt;-based Linux distribution that aims to offer a fully-featured desktop environment but with lower system requirements than those using the more common Gnome or KDE envoronments. Indeed, Xubuntu offers quite a bit of polish and a lot of features. Things like automatic mounting of portable media and notification of software updates happen out-of-the-box. So my first suggestion is to try Xubuntu to see if it works for you.&lt;br /&gt;&lt;br /&gt;Debian also offers a version with an Xfce-based desktop environment. The Debian-Xfce install is a maybe a bit less demanding of system resources than Xubuntu--but it's also less feature-filled. If Xubuntu is a bit too sluggish for you or if you just have to have a Debian system, try Debian-Xfce. Start by reading the tips described &lt;a href="http://lovingthepenguin.blogspot.com/1971/01/lighter-debian.html" target="_blank"&gt;elsewhere on this site&lt;/a&gt; if you want to go this route.&lt;br /&gt;&lt;br /&gt;You might also consider the &lt;a href="http://spins.fedoraproject.org/" target="_blank"&gt;Fedora Live Xfce Spin&lt;/a&gt;, which I have not explored any further than loading up the live CD and using it for about one minute.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;You have between 64 and 192MB of RAM&lt;/b&gt;&lt;br /&gt;Recommendations:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;SkinnyDebbie&lt;/li&gt;&lt;li&gt;Lighten up a Debian-Xfce based system&lt;/li&gt;&lt;li&gt;Absolute Linux&lt;/li&gt;&lt;/ul&gt;&lt;a href="http://birotechnology.com/skinny"&gt;SkinnyDebbie&lt;/a&gt; (&lt;a href="http://lovingthepenguin.blogspot.com/search/label/SkinnyDebbie"&gt;blog postings&lt;/a&gt;) is my own "Debian flavorizer" that makes installing a lightweight Debian-based system easy. Read about it. Try it. Then let me know what you think so I can make it better.&lt;br /&gt;&lt;br /&gt;If SkinnyDebbie doesn't float your boat and you don't mind getting down and dirty with the installation,  &lt;a href="http://lovingthepenguin.blogspot.com/1971/01/lighter-debian.html" target="_blank"&gt;follow these instructions&lt;/a&gt; (including the &lt;a href="http://lovingthepenguin.blogspot.com/1971/01/even-lighter-debian.html"&gt;Even Lighter Debian&lt;/a&gt; step) to give yourself a light and fast Debian system that also introduces you to the joys of Linux administration. It's actually kind of fun in a perverse sort of way. Regular Debian-Xfce and Xubuntu will run in less than 192MB of RAM, but I won't say the experience will be a good one. In fact, this whole skinny penguin adventure got started because I was frustrated with Xubuntu 6.10's performance on a 192MB laptop I own and really annoyed by its performance on a 128 MB desktop.&lt;br /&gt;&lt;br /&gt;Another option you may consider is &lt;a href="http://www.pcbypaul.com/absolute/" target="_blank"&gt;Absolute Linux&lt;/a&gt;. Absolute Linux is a Slackware-based distribution that uses &lt;a href="http://www.icewm.org/" target="_blank"&gt;IceWM&lt;/a&gt; as it's window manager and includes many custom utilities to make configuring things easy. It comes with a wide range of applications, and more are available on an additional CD. It's more complete than most other "light and lean" systems I've looked into, and it works. (Or at least it used to work. I've had the version 12.1.0 beta8 of Absolute fail to properly launch a X server session on at least one machine. I hope they fix this.)&lt;br /&gt;&lt;br /&gt;The biggest downside to Absolute Linux is that since it is Slackware-based, installing programs that are not part of the original distribution will be harder than would be the case for SkinnyDebbie, Debian-Xfce or Xubuntu. This is because the standard Slackware package manager (the thing that handles the installing of new software) does not do dependency checking--as do most other Linux package management systems. Possible solutions to this include &lt;a href="http://en.wikipedia.org/wiki/Slapt-get" target="_blank"&gt;slapt-get&lt;/a&gt; and/or &lt;a href="http://en.wikipedia.org/wiki/Swaret" target="_blank"&gt;swaret&lt;/a&gt;--tools for Slackware that manage dependencies and that you might be able to install under Absolute. Also, Slackware repositories aren't as rich as Debian's and Ubuntu's. However, for most users, (e.g., your grandmother) the applications that come with Absolute Linux will be all that's needed, so this won't be a huge deal.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;You have less than 64 MB of RAM&lt;/b&gt;&lt;br /&gt;Recommendations:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Damn Small Linux&lt;/li&gt;&lt;li&gt;Puppy Linux&lt;/li&gt;&lt;/ul&gt;If you have a really old computer or one that is seriously RAM challenged, &lt;a href="http://damnsmalllinux.org/" target="_blank"&gt;Damn Small Linux&lt;/a&gt; is a good alternative. DSL is cute and functional. It has a limited (but still very useful) complement of programs. Changing things like screen refresh rates will drive you mad, but that's probably the least of your worries if you are running with less than 64 MB of RAM.&lt;br /&gt;&lt;br /&gt;Others have recommended &lt;a href="http://www.puppylinux.com/" target="_blank"&gt;Puppy Linux&lt;/a&gt; as well, but I have not tried it so I am unable to comment.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-938175883862652746?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lovingthepenguin.blogspot.com/feeds/938175883862652746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3001964375550900476&amp;postID=938175883862652746' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/938175883862652746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/938175883862652746'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/1971/01/recommended-practices_01.html' title='Recommended Practices'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3001964375550900476.post-1260851628240938492</id><published>1971-01-01T00:00:00.025+02:00</published><updated>2009-01-30T00:37:49.815+02:00</updated><title type='text'>A Lighter Debian</title><content type='html'>&lt;span style="font-style: italic;"&gt;Note: This content is almost certainly obsolete. It's left here mainly for reference purposes.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you are looking for a useful and standard lighter-than-most Linux distribution, Debian's Etch using the Xfce desktop environment is a pretty good choice. Xfce's window and desktop manager and its associated Thunar file manager are somewhat easier on system resources than the much more common Gnome and KDE desktop environments but retain much of the usability and features. The Debian-Xfce distribution also ships with a good range of software. I installed Debian-Xfce Etch on an old 192 MB, Celeron 500 MHz la&lt;a id="publishButton" class="cssButton" href="javascript:void(0)" onclick="if (this.className.indexOf(&amp;quot;ubtn-disabled&amp;quot;) == -1) {var e = document['stuffform'].publish;(e.length) ? e[0].click() : e.click(); if (window.event) window.event.cancelBubble = true; return false;}" target=""&gt;&lt;div class="cssButtonOuter"&gt;&lt;div class="cssButtonMiddle"&gt;&lt;div class="cssButtonInner"&gt;Publish Post&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/a&gt;ptop. With 192 MB the results are not snappy, but the system is certainly usable.&lt;br /&gt;&lt;br /&gt;Debian-Xfce is very similar to &lt;a href="http://www.xubuntu.com/" target="_blank"&gt;Canonical's Xubuntu&lt;/a&gt; (which is itself based on Debian). However, while Xubuntu is more feature-filled than Debian's distibution, Debian's is more standard than Xubuntu (e.g., Xubuntu doesn't use a root user), and that's why I prefer it as a starting point for exploring a lighter-and-leaner Linux. If you have 256 MB or more of RAM, you probably won't have speed issues with Xfce, so I would recommend you first try Xubuntu without making any changes as it is a friendlier experience than Debian-Xfce. If Xubuntu doesn't work for you, then come back here. Or you may also consider &lt;a href="http://spins.fedoraproject.org/" target="_blank"&gt;Fedora Live Xfce Spin&lt;/a&gt;, with which I have no experience.&lt;br /&gt;&lt;br /&gt;Some argue that Debian's biggest strength is also its weakness: major updates are well-tested but conservative and infrequent. What this means is that if you want the latest versions of Linux software titles, Debian's recommended "stable" releases may not make you the happiest camper. However, if you really insist on having the latest stuff, you can still have it with Debian by using their "testing" and "unstable" releases. But I will let you &lt;a href="http://www.debian.org/releases/" target="_blank"&gt;explore this on your own&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Debian-Xfce is a very usable distribution out-of-the-box, but it can benefit from a few tweaks to make it more usable and a bit faster. The most important tweaks are outlined below. In what follows, I am assuming you know what a terminal window is, what the difference between root and standard users is, and what sudo is. If you don't, do some priming and then come back here. Lines below begining with &lt;code&gt;$&lt;/code&gt; indicate a terminal window prompt.&lt;br /&gt;&lt;br /&gt;Let's begin.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Install Debian-Xfce from CD&lt;/b&gt;&lt;br /&gt;Download the "stable" realese of the single-CD Debian-Xfce installer (e.g., debian-40r3-i386-xfce-CD-1.iso) using &lt;a href="http://www.debian.org/CD/http-ftp/" target="_blank"&gt;http/ftp&lt;/a&gt;, &lt;a href="http://www.debian.org/CD/torrent-cd/" target="_blank"&gt;bittorrent&lt;/a&gt;, or &lt;a href="http://www.debian.org/CD/jigdo-cd/" target="_blank"&gt;jigdo&lt;/a&gt;. Be sure you download the single-CD Debian-Xfce installer and not a multi-CD or DVD full version of Debian. Burn a copy, boot from the CD, and follow the instructions to do the install.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Add yourself as a superuser (sudo)&lt;/b&gt;&lt;br /&gt;Login using the normal (not root) account that you created during the installation. Open a terminal by right-clicking on the desktop and selecting &lt;i&gt;Terminal&lt;/i&gt;. Convert this regular terminal to a root terminal with the command&lt;br /&gt;&lt;code&gt;&lt;br /&gt;$ su -l&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;You will be prompted to enter the password for the root account that you specified when you installed the system. Enter it, and at the following prompt type the following command:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;$ visudo /etc/sudoers&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This will open a text editor as root. To the end of the file add the line:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-style: italic;"&gt;user &lt;/span&gt;ALL=(ALL) ALL&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;where &lt;code style="font-style: italic;"&gt;user&lt;/code&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;is your username.&lt;br /&gt;&lt;br /&gt;Save the file and exit the text editor. Type &lt;code&gt;exit&lt;/code&gt; into the root terminal to exit from root (&lt;code&gt;su&lt;/code&gt;) mode and the type &lt;code&gt;exit&lt;/code&gt; again close the terminal. From now on, &lt;span style="font-style: italic;"&gt;never &lt;/span&gt;open a terminal as root unless you have really good reason for doing so.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Edit apt's sources.list file&lt;/b&gt;&lt;br /&gt;Open a regular terminal by right-clicking on the desktop and selecting &lt;i&gt;Terminal&lt;/i&gt;. (Henceforth we will only be using regular terminals. In case you missed the warning above, never use a root terminal unless you have really good reason for doing so.) Now type the following command:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$ sudo mousepad /etc/apt/sources.list&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;You will be prompted for your password. Enter it (i.e., your password, not the root account's) and proceed.&lt;br /&gt;&lt;br /&gt;In the &lt;code&gt;sources.list&lt;/code&gt; file that opens, comment out all the &lt;code&gt;deb cdrom: ...&lt;/code&gt; lines unless you want to have to insert the CD-ROM whenever you install software. To comment out a line, add a &lt;code&gt;#&lt;/code&gt; character at the start of the line.&lt;br /&gt;&lt;br /&gt;Add &lt;code&gt;contrib&lt;/code&gt; and &lt;code&gt;non-free&lt;/code&gt; to the existing entries (after &lt;code&gt;main&lt;/code&gt;) to gain access to a much wider range of software.&lt;br /&gt;&lt;br /&gt;Save the file and exit.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update and upgrade&lt;/b&gt;&lt;br /&gt;&lt;code&gt;$ sudo aptitude update&lt;br /&gt;$ sudo aptitude upgrade&lt;/code&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;Install Synaptic&lt;/b&gt;&lt;br /&gt;Synaptic is a nice GUI-based software installer. It's basically a GUI version of aptitude, if you know what aptitude is.&lt;br /&gt;&lt;code&gt;$ sudo aptitude install synaptic&lt;/code&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;Install some fonts&lt;br /&gt;&lt;/b&gt;This is especially useful for web browsing.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$ sudo aptitude install msttcorefonts&lt;/code&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;Add the Tango desktop theme&lt;/b&gt;&lt;br /&gt;This is optional, but I like the Tango icons much more than the default Xfce ones.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;$ sudo aptitude install tango-icon-theme&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;then right-click on the desktop and go to &lt;i&gt;Settings -&gt; Settings Manager -&gt; User Interface&lt;/i&gt;. Select the &lt;i&gt;Icon Theme&lt;/i&gt; tab and select &lt;i&gt;Tango&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update menus&lt;/b&gt;&lt;br /&gt;&lt;code&gt;$ sudo update-menus&lt;br /&gt;$ update-menus&lt;/code&gt;&lt;todo:&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;Tweak Xfce to make it a bit faster&lt;/b&gt;&lt;br /&gt;Open the Xfce Settings Manager by right-clicking on the desktop and navigate to &lt;i&gt;Settings -&gt; Setting Manager&lt;/i&gt;. Then click on &lt;code&gt;Window Manager&lt;/code&gt; in the window that appears. Select the "Advanced" tab and uncheck both "Display content of windows when resizing" and "Display content of windows when moving."&lt;br /&gt;&lt;br /&gt;You may also see some benefit by opening the Desktop panel from the Xfce Settings Manager and telling it not to use a background image and to use a solid color for the background.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Fix Iceweasel's DPI handling&lt;/b&gt;&lt;br /&gt;Iceweasel is Debian's totally &lt;i&gt;&lt;a href="http://en.wikipedia.org/wiki/Gratis_versus_Libre" target="_blank"&gt;libre&lt;/a&gt;&lt;/i&gt; version of Mozilla Firefox. Both Firefox and Iceweasel have default DPI handling that might leave onscreen type looking too large or too small. Luckily it's pretty easy to fix. Launch Iceweasel by right-clicking on the desktop and selecting &lt;i&gt;Web Browser&lt;/i&gt;. If you don't like the way web pages render, open &lt;code&gt;about:config&lt;/code&gt; in Iceweasel and change the &lt;code&gt;layout.css.dpi&lt;/code&gt; entry  from -1 to 0. If you try it and don't like it, you can always change it back.&lt;br /&gt;&lt;br /&gt;And while you're at it, change the &lt;code&gt;browser.urlbar.clickSelectsAll&lt;/code&gt; entry to &lt;code&gt;true&lt;/code&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Set the Xserver screen DPI if needed&lt;/b&gt;&lt;br /&gt;Sometimes Linux's video server gets screen DPI settings wrong. If the type you see on the screen is consistently too small or too large, you can override the DPI setting used by &lt;/todo:&gt;creating a file called &lt;code&gt;.Xresources&lt;/code&gt; in your home directory and adding the following line to it:&lt;br /&gt;&lt;todo:&gt;&lt;br /&gt;&lt;code&gt;Xft.dpi: 96&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Note that the name of the file begins with a period. This makes it a hidden file in Linux. To see hidden files, you must tell your file manager to show hidden files (&lt;i&gt;View -&gt; Show Hidden Files&lt;/i&gt; or Ctrl-H in Xfce's file manager). If you are using the command line, issue the &lt;code&gt;ls -a&lt;/code&gt; command.&lt;br /&gt;&lt;br /&gt;The number &lt;/todo:&gt;&lt;code&gt;96 &lt;/code&gt;&lt;todo:&gt;above is a DPI setting that is as close to a standard as anything. Feel free to adjust that number up or down as needed to get text to display properly. Other common values are 75, 85, 100, and 120.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Use a lighter terminal&lt;/b&gt;&lt;br /&gt;The default Xfce terminal is feature-filled but pretty heavy. uxterm and rxvt-unicode are lighter alternatives. If you want to use rxvt-unicode (I like it), you will need to install it; uxterm should be installed already. To install rxvt-unicode,&lt;br /&gt;&lt;/todo:&gt;&lt;code&gt;&lt;br /&gt;$ sudo aptitude install rxvt-unicode&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now set the default terminal program,&lt;br /&gt;&lt;code&gt;&lt;br /&gt;$ sudo update-alternatives --config x-terminal-emulator&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;and select &lt;code&gt;urxvt&lt;/code&gt; if you want to use rxvt-unicode or select &lt;code&gt;uxterm&lt;/code&gt; to use uxterm.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update menus (again)&lt;/b&gt;&lt;br /&gt;&lt;code&gt;$ sudo update-menus&lt;br /&gt;$ update-menus&lt;/code&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;Add Gnome system tools (maybe)&lt;/b&gt;&lt;br /&gt;Caveat: I'm not sure that this is the best idea because it really digs deep into your system, and since you are not running Gnome it may not do it in the cleanest way. Unless you have special needs--like wireless networking--you may want to skip this step.&lt;br /&gt;&lt;br /&gt;Gnome system tools put nice GUI wrappers around administrative tasks that normally drive newbie Linux users nuts. They tend to be resource hungry, but since you will only run them occasionally, the hassle of waiting for them to start will probably be a much less terrible torture than trying to do these tasks via the command-line. If I find a better (i.e., non-Gnome) way to add similar functionality, I'll let you know. But for now your Linux life will be less sucky if you:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;$ sudo aptitude install gnome-system-tools&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The above adds some stuff that we really don't want, so now we need to uninstall a few things:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;$ sudo aptitude remove nautilus&lt;br /&gt;$ sudo aptitude remove gnome-control-center&lt;br /&gt;$ sudo aptitude remove gnome-media&lt;/code&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;Update menus (yet again)&lt;/b&gt;&lt;br /&gt;&lt;code&gt;$ sudo update-menus&lt;br /&gt;$ update-menus&lt;/code&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;Silence the beep&lt;/b&gt;&lt;br /&gt;The GDM login screen beeps when it's ready for you. The terminal beeps when you backspace too far. Both of these behaviors use the PC's built-in speaker and are really annoying. One solution is to turn off the PC speaker &lt;i&gt;completely&lt;/i&gt; so nothing can beep at you. This won't disable regular sound on your system; it will only disable the miserable beeper speaker inside your box. To do this:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$ sudo mousepad /etc/modprobe.d/blacklist&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Add this line to the end of the file:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;blacklist pcspkr&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;When you restart, you should now have a beep-free login screen. If you ever want the beep back, just remove the &lt;code&gt;blacklist pcspkr&lt;/code&gt; line and restart.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Final comments&lt;/b&gt;&lt;br /&gt;Please note that there is a goofy behavior in the Debian/Xcfe setup: the desktop Trash icon does not update when you throw something away. You didn't break it; it was broken from the start.&lt;br /&gt;&lt;br /&gt;If after doing the above, your system is still not fast enough for you, consider making it even lighter by using an even less resource hungry window manager and file manager than the Xfce and Thunar pair. One way to do this is described in &lt;a href="http://lovingthepenguin.blogspot.com/1971/01/even-lighter-debian.html"&gt;An Even Lighter Debian&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;Copyright (c) 2011 Mithat Konar&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3001964375550900476-1260851628240938492?l=lovingthepenguin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1260851628240938492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3001964375550900476/posts/default/1260851628240938492'/><link rel='alternate' type='text/html' href='http://lovingthepenguin.blogspot.com/1971/01/lighter-debian.html' title='A Lighter Debian'/><author><name>Mithat</name><uri>http://www.blogger.com/profile/11589391741274626742</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>
