<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>thorx.net &#187; interface</title>
	<atom:link href="http://blog.thorx.net/tag/interface/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.thorx.net</link>
	<description>...to confuse &#38; unexpect‽</description>
	<lastBuildDate>Tue, 31 Mar 2020 12:54:58 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6.1</generator>
		<item>
		<title>Converting from nautilus to caja desktop icons</title>
		<link>http://blog.thorx.net/2012/06/converting-from-nautilus-to-caja-desktop-icons/</link>
		<comments>http://blog.thorx.net/2012/06/converting-from-nautilus-to-caja-desktop-icons/#comments</comments>
		<pubDate>Fri, 01 Jun 2012 15:29:46 +0000</pubDate>
		<dc:creator>nemo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[interface]]></category>

		<guid isPermaLink="false">http://blog.thorx.net/?p=375</guid>
		<description><![CDATA[I recently upgraded from Gnome2 to&#8230; mate. Let&#8217;s not get into the reasons, since this is just about solving the desktop icons. So getting straight to it: in nautilus, all the metadata about files as they appear in the GUI (so: icon position, size, emblems, etc) exist in a series of files in $HOME/.local/share/gvfs-metadata (each [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I recently upgraded from Gnome2 to&#8230; mate. Let&#8217;s not get into the reasons, since this is just about solving the desktop icons.</p>
<p>So getting straight to it: in nautilus, all the metadata about files as they appear in the GUI (so: icon position, size, emblems, etc) exist in a series of files in <tt>$HOME/.local/share/gvfs-metadata</tt><br />
(each file in there related to a filesystem)</p>
<p>caja, on the other hand, uses the SAME FILES &#8211; but sometimes different metadata.</p>
<p>So, when I moved from gnome2/nautilus to mate/caja, I found that my desktop icons retained their same sizes, emblems&#8230; but not location.</p>
<p>Why is this so?<span id="more-375"></span></p>
<p>So if you try running this:</p>
<pre>bounty:~ $ gvfs-info -a "metadata::*" ~Desktop</pre>
<p>You should get a bunch of output, something like:</p>
<pre>attributes:
metadata::annotation:
metadata::emblems: [certified, desktop, system]
metadata::icon-scale: 1
metadata::nautilus-default-view: OAFIID:Nautilus_File_Manager_List_View
metadata::nautilus-icon-position: 1432,-3
metadata::nautilus-icon-position-timestamp: 1226057199
metadata::nautilus-icon-view-auto-layout: true
metadata::nautilus-icon-view-sort-by: name
metadata::nautilus-icon-view-tighter-layout: false
metadata::nautilus-icon-view-zoom-level: 1
metadata::nautilus-list-view-sort-column: date_modified
metadata::nautilus-list-view-sort-reversed: true
metadata::nautilus-list-view-zoom-level: 1
metadata::nautilus-window-geometry: 857x761+2017+96
metadata::nautilus-window-scroll-position: file:///home/nemo/Desktop/sunpath</pre>
<p>If you&#8217;ve been playing with caja already, you&#8217;ll have some &#8220;metadata::caja-*&#8221; attributes too.</p>
<p>So in a nutshell, <tt>metadata::emblems</tt> and <tt>metadata::icon-scale</tt> naturally enough are seen by caja as easily as nautilus, but <tt>metadata::nautilus-icon-position</tt> is invisible to caja, which expects to see <tt>metadata::caja-icon-position</tt>.</p>
<p>Converting from one to the other is almost trivial. Lookup the value with <em>gvfs-info</em>, then set the value with <em>gvfs-set-attribute</em>.</p>
<p>Right?</p>
<p>Not quite.</p>
<p>I did that, and while the relative positions of my desktop icons were correct, they were too far apart (and so: some were off the screen)</p>
<p>For reasons I do not know (and for all I know, are specific to some quirk in my personal setup), I had to scale all the geometry values down by approx a third. (for the record, that means my caja-icon-position seems to be based off my screen resolution, whilst nautilus&#8217; were not?</p>
<p>Anyway, my final solution was this short script (I named it <em>gvfs2matevfs</em>)</p>
<pre>
#!/bin/bash

iconpos=$(gvfs-info -a "metadata::nautilus-icon-position" "$@" | grep nautilus-icon-position | awk -F: '{print $4}')

# so by my estimate, caja-icon-position is about 2/3 the value of nautilus-icon-position
if [ -n "$iconpos" ] ; then
  ex=$(( ${iconpos%,*} * 67/100))
  wy=$(( ${iconpos#*,} * 67/100))
  gvfs-set-attribute -t string "$@" "metadata::caja-icon-position" $ex,$wy
  echo "$* $iconpos : $ex,$wy"
fi</pre>
<p>I then ran this this thusly (note: from the Desktop)</p>
<pre>bounty:~/Desktop $ find . -maxdepth 1 -print0 | xargs -0 -n 1 ~/bin/gvfs2matevfs</pre>
<p>And (after refreshing the desktop icons by moving to an empty workspace and hitting F5) viola, there they are, where I want them! <img src='http://blog.thorx.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>(oh, and you&#8217;ll have to run all the above from within a running mate/caja environment, otherwise gvfs isn&#8217;t visible)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thorx.net/2012/06/converting-from-nautilus-to-caja-desktop-icons/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>new $HOME, desktop icon time</title>
		<link>http://blog.thorx.net/2012/03/new-home-desktop-icon-time/</link>
		<comments>http://blog.thorx.net/2012/03/new-home-desktop-icon-time/#comments</comments>
		<pubDate>Mon, 05 Mar 2012 11:13:33 +0000</pubDate>
		<dc:creator>nemo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[$HOME]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[interface]]></category>

		<guid isPermaLink="false">http://blog.thorx.net/?p=388</guid>
		<description><![CDATA[Just a quickie. You want to know which file holds your GNOME2 desktop icon layout, sizes, emblems, and so on? Look no further than $HOME/.local/share/gvfs-metadata/home* I assume Mate (being a fork of Gnome2) has somewhere similar. GNOME3? No idea.]]></description>
				<content:encoded><![CDATA[<p>Just a quickie. You want to know which file holds your GNOME2 desktop icon layout, sizes, emblems, and so on?</p>
<p>Look no further than <tt>$HOME/.local/share/gvfs-metadata/home*</tt></p>
<p>I assume Mate (being a fork of Gnome2) has somewhere similar. GNOME3? No idea.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thorx.net/2012/03/new-home-desktop-icon-time/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>new $HOME, what the X11 brought in</title>
		<link>http://blog.thorx.net/2012/03/new-home-what-the-x11-brought-in/</link>
		<comments>http://blog.thorx.net/2012/03/new-home-what-the-x11-brought-in/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 01:17:29 +0000</pubDate>
		<dc:creator>nemo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[$HOME]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[interface]]></category>

		<guid isPermaLink="false">http://blog.thorx.net/?p=382</guid>
		<description><![CDATA[So prior to yesterday, my new and clean $HOME had not seen any X session at all. No freedesktop defined XDG base directories. Then I logged in and&#8230; &#8230;wait, what&#8217;s that? XDG Base Directories? OK, so, we all know and love (hate?) our ~/Desktop, ~/Downloads, ~/Templates, ~/Public, ~/Documents, ~/Music, ~/Pictures, ~/Videos directories, right? Well, they&#8217;re [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>So prior to yesterday, my new and clean $HOME had not seen any X session at all. No freedesktop defined XDG base directories.</p>
<p>Then I logged in and&#8230;</p>
<p><span id="more-382"></span></p>
<p>&#8230;wait, what&#8217;s that? XDG Base Directories?</p>
<p>OK, so, we all know and love (hate?) our ~/Desktop, ~/Downloads, ~/Templates, ~/Public, ~/Documents, ~/Music, ~/Pictures, ~/Videos directories, right? Well, they&#8217;re defined as a freedesktop standard (see here: <a href="http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html">http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html</a> ), and are configured locally at: ~/.config/user-dirs.dirs</p>
<p>So prior to logging in to X, I had three of those eight already, since they had actual content from my backups &#8211; ie, were worth restoring already. They were: ~/Desktop, ~/Public,  and ~/Videos</p>
<p>After logging in, I naturally gained the other 5.</p>
<p>But what else got pushed into $HOME? Luckily for posterity, I saved a file list both before and after. So, for no more than a simple login to X, and run a few apps (discounting internal configuration tools, I think I&#8217;ve really only run gnome-terminal, firefox, thunderbird, chromium and libreoffice so far), I have these files/directories extra&#8230;</p>
<ul>
<li>.adobe</li>
<li>.config</li>
<li>.dbus</li>
<li>.dmrc</li>
<li>.esd_auth</li>
<li>.face</li>
<li>.gconfd</li>
<li>.gksu.lock</li>
<li>.gnome2</li>
<li>.gnome2_private</li>
<li>.gstreamer-0.10</li>
<li>.gvfs</li>
<li>.ICEauthority</li>
<li>.icons</li>
<li>.libreoffice</li>
<li>.linuxmint</li>
<li>.local</li>
<li>.macromedia</li>
<li>.mozilla</li>
<li>.nautilus</li>
<li>.pekwm</li>
<li>.pki</li>
<li>.themes</li>
<li>.thumbnails</li>
<li>.thunderbird</li>
<li>.Xauthority</li>
<li>.xsession-errors</li>
</ul>
<p>So, there is a list I only expect to grow (but not to track) over time, and it&#8217;s entirely possible I&#8217;ve missed some (I&#8217;ve certainly skipped a few I know I added manually (.fonts, .fontconfig) since I don&#8217;t know if they&#8217;d have been automatically added or not.</p>
<p>Anyway, the upshot of all this? Hello cruft!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thorx.net/2012/03/new-home-what-the-x11-brought-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>new $HOME, welcome GNOME</title>
		<link>http://blog.thorx.net/2012/03/new-home-welcome-gnome/</link>
		<comments>http://blog.thorx.net/2012/03/new-home-welcome-gnome/#comments</comments>
		<pubDate>Thu, 01 Mar 2012 13:22:31 +0000</pubDate>
		<dc:creator>nemo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[$HOME]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[interface]]></category>

		<guid isPermaLink="false">http://blog.thorx.net/?p=376</guid>
		<description><![CDATA[So as hinted yesterday, GNOME2 + pekwm. Here it is, in three simple steps. 0. get pekwm (package, compile from source, whatever). duh. 1. tell gnome2 to use it. ie, set &#8216;pekwm&#8217; in /desktop/gnome/session/required_components/windowmanager via gconf-editor or equivalent. 2. Discover that gnome2 still doesn&#8217;t pick it up, and get an error in .xsession-errors like this: [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>So as hinted yesterday, GNOME2 + pekwm. Here it is, in three simple steps.<span id="more-376"></span></p>
<p>0. get pekwm (package, compile from source, whatever). duh.</p>
<p>1. tell gnome2 to use it. ie, set &#8216;pekwm&#8217; in <tt>/desktop/gnome/session/required_components/windowmanager</tt> via gconf-editor or equivalent.</p>
<p>2. Discover that gnome2 still doesn&#8217;t pick it up, and get an error in .xsession-errors like this:</p>
<pre>gnome-session[2010]: WARNING: Unable to find provider 'pekwm' of required component 'windowmanager'</pre>
<p>Solve by creating <tt>$HOME/.config/autostart/pekwm.desktop</tt> with the following (or similar)&#8230;</p>
<pre>[Desktop Entry]
Type=Application
Exec=/usr/local/bin/pekwm
Hidden=false
X-GNOME-Autostart-enabled=true
Name[en_AU]=Window Manager
Name=Window Manager
Comment[en_AU]=our windowmanager
Comment=our windowmanager</pre>
<p>3. Make sure your own pekwm configuration is in <tt>$HOME/.pekwm</tt> too <img src='http://blog.thorx.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>note: at work I have this setup, but against &#8216;mate&#8217;. Thus: <tt>/desktop/mate/session/required_components/windowmanager</tt>, and <tt>/usr/share/applications/pekwm.desktop</tt> with content of:</p>
<pre>[Desktop Entry]
Type=Application
Name=pekwm
Exec=pekwm
NoDisplay=true
# name of loadable control center module
X-MATE-WMSettingsModule=pekwm
# name we put on the WM spec check window
X-MATE-WMName=Pekwm
# back compat only
X-MateWMSettingsLibrary=pekwm
X-MATE-Autostart-Phase=WindowManager
X-MATE-Provides=windowmanager
X-MATE-Autostart-Notify=true</pre>
<p>No, I don&#8217;t know how I got either of those pekwm.desktop files. I think with mate, I copied a different one, and tuned to pekwm. With my newer (oddly) gnome2 setup, it magiced in somehow when I was testing with a test account&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thorx.net/2012/03/new-home-welcome-gnome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>new $HOME, state of the files</title>
		<link>http://blog.thorx.net/2012/02/new-home-state-of-the-files/</link>
		<comments>http://blog.thorx.net/2012/02/new-home-state-of-the-files/#comments</comments>
		<pubDate>Wed, 29 Feb 2012 08:54:33 +0000</pubDate>
		<dc:creator>nemo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[$HOME]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[interface]]></category>

		<guid isPermaLink="false">http://blog.thorx.net/?p=373</guid>
		<description><![CDATA[So I&#8217;m calling it. I think my systems are back up to speed &#8211; indeed, I&#8217;ve not had a failure in weeks now. I&#8217;ve been running my desktop from a spare account for a little while, and I think I&#8217;ll migrate this setup to my primary account and let the file cruft begin solidly again! [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>So I&#8217;m calling it. I think my systems are back up to speed &#8211; indeed, I&#8217;ve not had a failure in weeks now. I&#8217;ve been running my desktop from a spare account for a little while, and I think I&#8217;ll migrate this setup to my primary account and let the file cruft begin solidly again!</p>
<p>My setup is&#8230; gnome2 (thanks linuxmint, debian edition) with pekwm as the windowmanager (that&#8217;s /desktop/gnome/session/required_components/windowmanager to you, gconftool), and xcompmgr to give me nifty compositing and real shadows on menus (so far, I&#8217;m toying with &#8220;xcompmgr -c -r 8 -l 1 -t 1 -o 0.6 -f -D 0.01 -I 0.1 -O 0.1&#8243;  <img src='http://blog.thorx.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>It&#8217;ll be nice to have my real $HOME as the foundation of my desktop again!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thorx.net/2012/02/new-home-state-of-the-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>new $HOME days 3-6: Desktop Distro Distractions</title>
		<link>http://blog.thorx.net/2012/01/new-home-days-3-6-desktop-distro-distractions/</link>
		<comments>http://blog.thorx.net/2012/01/new-home-days-3-6-desktop-distro-distractions/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 16:18:45 +0000</pubDate>
		<dc:creator>nemo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[$HOME]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[nemo]]></category>

		<guid isPermaLink="false">http://blog.thorx.net/?p=359</guid>
		<description><![CDATA[Like I said, KDE has grown on me, but I'm not quite sure yet if it's a beauty spot, or merely a wart.]]></description>
				<content:encoded><![CDATA[<p><em>﻿rebuilding $HOME: Days 3 through 6</em></p>
<p>I was intending on building up my zsh(1) and mutt(1) configs before tackling the rebuild of my desktop &#8211;  the original catalyst of the idea.</p>
<p>But since I was rebuilding my account from across a nearby spare account, I thought I&#8217;d use it to take a peek at gnome3 and Unity, and so did &#8220;apt-get dist-upgrade&#8221; my Ubuntu 11.04 install.</p>
<p>&#8230;</p>
<p>A broken update later, I figured I&#8217;d install from scratch, and have gotten distracted these last few days with exploring XFCE, LXDE, Unity, Gnome3 and KDE. I&#8217;m testing them in a spare account, so as to not clutter up my main $HOME with cruft too quickly while I learn the ropes.</p>
<p>I gotto say, KDE has grown on me. I think its interface is a horrible hodgepodge when it comes to usability &#8211; especially out-of-the-box usability, but behind the stab-your-eyes-out bling, it&#8217;s really quite feature rich, and I&#8217;m all but thinking I&#8217;ll be moving to it. The real question for me is how many of my existing gnome-ish apps do I bring with me (eg: rhythmbox, pidgin), and how many will I adopt the KDE equivalents (konsole probably, dolphin&#8230;</p>
<p>Assuming I *do* go with KDE, mind you&#8230;</p>
<p>Like I said, KDE has grown on me, but I&#8217;m not quite sure yet if it&#8217;s a beauty spot, or merely a wart. (or indeed, a tumor.<em> Itz not a toomaaaa!!</em></p>
<p>Interesting times indeed&#8230; full reviews will come later? =)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thorx.net/2012/01/new-home-days-3-6-desktop-distro-distractions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>but that was my $HOME</title>
		<link>http://blog.thorx.net/2011/12/but-that-was-my-home/</link>
		<comments>http://blog.thorx.net/2011/12/but-that-was-my-home/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 02:47:03 +0000</pubDate>
		<dc:creator>nemo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[$HOME]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[nemo]]></category>

		<guid isPermaLink="false">http://blog.thorx.net/?p=342</guid>
		<description><![CDATA[This is my $HOME. There are many like it, but this one is mine. I'm rebuilding it. ]]></description>
				<content:encoded><![CDATA[<ul>
<li>I&#8217;m a linux user &#8230;In fact, I&#8217;ve been using linux for a long time &#8211; my first account on a Linux box was at least a year before 1.0 came out.</li>
</ul>
<ul>
<li>I&#8217;m a bit of a hoarder &#8230;arguably more than a &#8220;bit&#8221;, actually.</li>
</ul>
<p>Combine these two points, and I can point to dotfiles in my $HOME directory that date back over a decade. In fact, the oldest four date to 2001&#8230;<span id="more-342"></span></p>
<p>How has this come about? Well, as I&#8217;ve upgraded machines over the years, I&#8217;ve carried my $HOME with me. After all, it has my stuff in it!  Including my customisations. The .bash_profile (2001) for instance, contains the last iteration of my bash prompt before I moved to zsh. (my current zsh prompt can trace it&#8217;s derivation through bash in 2001, all the way back to a <a href="http://en.wikipedia.org/wiki/4DOS">4DOS</a> prompt configuration that I set up around 1994. For the record, I&#8217;ve searched for my old 4DOS configurations, but failed to find them.)</p>
<p>I have dotfiles from obscure chat programs that I no longer use (.goofeypw &#8211; 2002), from apps I&#8217;ve forgotten I ever used (.coldsyncrc &#8211; 2003), apps I&#8217;ve long avoided using (.lynxrc &#8211; 2005), and so on. In some cases they&#8217;re newer files from a utility I still use, but which has changed where it keeps it&#8217;s dotfile data:</p>
<pre>-rw-r--r-- 23 nemo 24576 Oct  6  2009 .clivecache
-rw-r--r-- 23 nemo    43 Oct  6  2009 .clivelast

-rw-r--r-- 2 nemo 364544 Dec 19 22:16 .cache/clive/cache
-rw-r--r-- 2 nemo     26 Dec 19 22:17 .cache/clive/last</pre>
<p>Worst though, is that some of this dotfile cruft causes issues with current apps, since they sometimes attempt to maintain backwards compatibility with older configurations. Notably, I once had competing flash plugins in firefox &#8211; which had the effect that one flash-video based website would refuse to play videos and tell me I had to upgrade to flash 9, whilst about:plugins would happily announce that I HAD flash9. From memory, it was fixed when I found and removed an old flash8 .so that I found sitting in ~/.netscape. Ouch! Other similar oddities have crept into my Gnome2 configuration also, but have as yet resisted resolution.</p>
<p>All of this has driven me to ask&#8230;</p>
<blockquote><p>Am considering a complete $HOME dotfile cruft purge. Reconfigure from scratch all but vitals (eg: .ssh) Anyone else done this? !lazyweb<br />
— <a href="http://identi.ca/conversation/76497802#notice-79056239">@nemo / identi.ca &#8211; July 2011</a></p></blockquote>
<hr />
Now fast forward to Christmas 2011. Now. A system drive crashed and whilst the two RAID1s that constitute the basis of my $HOME LVM were not lost, one did seem a little funny, so I&#8217;ve taken the opportunity to wipe both, and to restore my $HOME from backups.</p>
<p>&#8230;and in doing so, to also clear my dotfile cruft &#8211; only importing what I need, and taking the effort to clean up the configuration of apps which have spaghetti conf files. (mutt, I&#8217;m looking at you especially!)</p>
<p><strong>This is my $HOME. There are many like it, but this one is mine.</strong></p>
<p><strong>&#8230;and I&#8217;m rebuilding it.</strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong>This is my story. </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thorx.net/2011/12/but-that-was-my-home/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>browser warts</title>
		<link>http://blog.thorx.net/2011/12/browser-warts/</link>
		<comments>http://blog.thorx.net/2011/12/browser-warts/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 13:28:38 +0000</pubDate>
		<dc:creator>nemo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://blog.thorx.net/?p=334</guid>
		<description><![CDATA[Recently I&#8217;ve seen a few &#8216;if browsers were girls&#8217; analogy pictures. Usually with IE being the ugly one, opera being the forgotten one, firefox being the former hot one, and chrome being the new hot one&#8230; But I think it&#8217;s wrong. I&#8217;m not a fan of chrome, basically. This is how I see them&#8230; IE [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Recently I&#8217;ve seen a few &#8216;if browsers were girls&#8217; analogy pictures. Usually with IE being the ugly one, opera being the forgotten one, firefox being the former hot one, and chrome being the new hot one&#8230;</p>
<p>But I think it&#8217;s wrong. I&#8217;m not a fan of chrome, basically. This is how I see them&#8230;</p>
<p><span id="more-334"></span><strong>IE</strong></p>
<p>She used to be ugly and obnoxious, but she&#8217;s had quite a makeover in both departments. Not enough to want to spend time with her, but you don&#8217;t feel dirty if your friends spend time with her at least.</p>
<p><strong>Opera</strong></p>
<p>She&#8217;s slightly-more-attractive-than-average, slightly-more-smarter-than-average, but is astonishingly arrogant and thinks she&#8217;s a mensa supermodel. She had one clever idea once as a kid (though in truth, Galeon thought of it first). Some people are swayed by her confidence/arrogance, but most don&#8217;t want to get involved.</p>
<p><strong>Safari</strong></p>
<p>She&#8217;s the anonymous quiet one. She does seem to always have the latest shiny phone gadget though&#8230;</p>
<p><strong>Chrome</strong></p>
<p>She&#8217;s the kid who grew up and is suddenly a whole bunch of hot, fast and easy.  &#8230;But if you spend time with her, you&#8217;ll  quickly discover she has the depth of a puddle &#8211; and if you don&#8217;t want  to do things her way &#8211; well, she can&#8217;t easily think of another way to do them, so you probably end up adjusting yourself to suit her and/or getting  frustrated&#8230;</p>
<p><strong>Firefox</strong></p>
<p>She used to be THE hot one, but looks a bit ordinary in comparison to Chrome. But she&#8217;s working to keep trim. You can talk to her, but she&#8217;s got so many ideas that you may have to work with her a little bit to get her to talk your own language. Basically, she&#8217;s can be a bit high maintenance at first, but then she&#8217;s just your seamless companion who Knows What You Like! <img src='http://blog.thorx.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong>Galeon</strong></p>
<p>She was the genius child savant who, according to the few that met her, was going to grow up to be a revolutionary. So they left her to do that, and she starved to death on the side of the information superhighway instead&#8230;</p>
<hr />&#8230;for the record, I&#8217;ve ordered this list from my least-to-most favourite browser, normalising my experience with them over the years by vague instinct.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thorx.net/2011/12/browser-warts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>my experiment in custom iPhone ringtones via linux</title>
		<link>http://blog.thorx.net/2010/08/my-experiment-in-custom-iphone-ringtones-via-linux/</link>
		<comments>http://blog.thorx.net/2010/08/my-experiment-in-custom-iphone-ringtones-via-linux/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 15:04:06 +0000</pubDate>
		<dc:creator>nemo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[experiments]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://blog.thorx.net/?p=194</guid>
		<description><![CDATA[thanks to recent nautilus (I assume is responsible &#8211; as seen in Ubuntu Lucid Lynx) ability to view the iPhones file paths, we can try this (typing this as I go, so this is draft on-the-fly quality notes) * create an m4a file (I made mine exactly 40seconds according to audacity and saved as a [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>thanks to recent nautilus (I assume is responsible &#8211; as seen in Ubuntu Lucid Lynx) ability to view the iPhones file paths, we can try this (typing this as I go, so this is draft on-the-fly quality notes)<span id="more-194"></span></p>
<p>* create an m4a file (I made mine exactly 40seconds according to audacity and saved as a .wav, then used faac to convert to m4a (faac in.wav &#8211;title &#8220;ringtone experiment&#8221; -o tone.m4a ; mv tone.m4a tone.m4r)</p>
<p>* copy tone into iPhone://iTunes_Control/Ringtones/tone.m4r</p>
<p>* edit iPhone://iTunes_Control/iTunes/Ringtones.plist to add in the details of the new ringtone. Fortunately I had an existing one already, so I just copied that &#8211; updating the GUID (I changed one character), the Name (&#8220;funky new ringtone&#8221;) and the Total Time (40000) fields.</p>
<p>&#8230;and bingo, the ringtone is visible in the settings (selectable, plays), but does not lock in as the ringtone to use! ok, clearly some work needed.</p>
<p>incidentally, this is a 32GB iPhone 3Gs with iOS4.0.2, never been jailbroken or anything underhanded done to it before. It was unlocked from the carrier a few days ago (thanks .au law) and that required a lengthy restore, but otherwise smooth.</p>
<p>&#8230;ok, so back to it: plugged it into iTunes (Mac) &#8211; it couldn&#8217;t read from the device (an error!)</p>
<p>&#8230;rebooted phone &#8211; and the new ring tone now works correctly. YAY! =)  is this success?</p>
<p>&#8230;plugging it into iTunes again and&#8230; it&#8217;s all &#8220;Verifying iPhone&#8221; at me &#8211; something I don&#8217;t generally recall. &#8230;ok, it&#8217;s backing up as normal now&#8230;</p>
<p>and the ringtone tab in iTunes tells me it doesn&#8217;t know about the tone I added in, it&#8217;s syncing, so I suspect it&#8217;ll delete my added tone&#8230;</p>
<p>&#8230;and checking in my iPhone after it&#8217;s done, what do you know &#8211; my custom added ringtone is all gone. Checking back via linux &#8211; and the tone.m4r file has been deleted, Ringtones.plist has been completely rewritten.</p>
<p>So, I assume (not surprisingly at all) that iTunes needs to know about it, as the authorative master, and tell the iPhone how it&#8217;s gonna be. This fits with my observed philosophy of the iPhone &#8211; as an adjunct to the master information on the computer.</p>
<p>&#8230;</p>
<p>so, round 2&#8230; I add the m4r into the iTunes library &#8211; it automatically adds it in as a ringtone &#8211; that&#8217;s nice. I assume iTunes assumed it was a ringtone by the file extension. And in the iPhone tab it shows up as available to be sync&#8217;d&#8230; and bingo. it works.</p>
<p>ok, so not a pure linux solution &#8211; unless you never sync your phone to iTunes anyway &#8211; but it DOES let you make a custom ringtone without requiring garageband. That&#8217;s something isn&#8217;t it?</p>
<p>And I assume the method would work under windows too&#8230; anyone want to give it a go and get back to me? <img src='http://blog.thorx.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thorx.net/2010/08/my-experiment-in-custom-iphone-ringtones-via-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>building a better atq</title>
		<link>http://blog.thorx.net/2010/06/building-a-better-atq/</link>
		<comments>http://blog.thorx.net/2010/06/building-a-better-atq/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 05:27:02 +0000</pubDate>
		<dc:creator>nemo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[interface]]></category>

		<guid isPermaLink="false">http://blog.thorx.net/?p=175</guid>
		<description><![CDATA[I was frustrated at the poor information available by atq (what&#8217;s that? You&#8217;ll tell me WHEN you&#8217;re running stuff, but not WHAT you&#8217;re running? This seems a little out of order!) In fact, atq is literally out of order &#8211; I guess the idea is that you pipe it through sort. very very old-school thinking [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I was frustrated at the poor information available by atq (what&#8217;s that? You&#8217;ll tell me WHEN you&#8217;re running stuff, but not WHAT you&#8217;re running? This seems a little out of order!)</p>
<p>In fact, atq is literally out of order &#8211; I guess the idea is that you pipe it through sort. very very old-school thinking <img src='http://blog.thorx.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>At the other end of the scale, <code>at -c</code> provides an information overload of EVERYTHING about the job. (60+ lines of env? yikes. I don&#8217;t need to know that most of the time!)</p>
<p>So where is the simple and useful summary that I&#8217;d genuinely expect of atq?<br />
ie, not only the queued command times, but WHAT those commands are &#8211; one per line.</p>
<p>As a result, here is my simple &#8220;batq&#8221; &#8211; a better atq <img src='http://blog.thorx.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre>#!/bin/bash

# a better atq
#
# returns the original atq output in bold
# AND IN ADDITION, ALSO:
# * returns items sorted
# * the intended working directory
# * the command to be run
#
        # TODO:
        # $command is not robust - will fail on multiple lines

function do_extraqinfo() {
    while read job ; do
        jobid=$(echo $job | awk '{print $1}')
        detail=$(at -c $jobid)
        dir=$(echo "$detail" | egrep ^cd | sed -e 's/cd \(.*\) || {/\1/g')
        command=$(echo "$detail" | tail -1)
        # alter the following line if the bold offends you
        tput bold ; echo -n "$job" ; tput sgr0
        echo "  $dir    $command"
    done
} 

atq | sort | do_extraqinfo</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.thorx.net/2010/06/building-a-better-atq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
