<?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>The Zash Blag &#187; gui</title>
	<atom:link href="http://blag.zash.se/tag/gui/feed/" rel="self" type="application/rss+xml" />
	<link>http://blag.zash.se</link>
	<description>Åt helvete med hela skiten.</description>
	<lastBuildDate>Tue, 31 Aug 2010 12:27:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>“sudo gedit” must die!</title>
		<link>http://blag.zash.se/2010/07/sudo-gedit-must-die/</link>
		<comments>http://blag.zash.se/2010/07/sudo-gedit-must-die/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 07:00:02 +0000</pubDate>
		<dc:creator>zash</dc:creator>
				<category><![CDATA[Crappy world]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ninja]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blag.zash.se/?p=264</guid>
		<description><![CDATA[Why is it that so many Ubuntu guides tell you to do sudo gedit /path/to/somefile when there is a sudoedit command? An editor, like Gedit, doesn&#8217;t need to run as root, ever. This is so much better and safer: SUDO_EDITOR=gedit sudo -e /path/to/somefile This will &#8230; Copy the file to /tmp/ Invoke gedit as your [...]]]></description>
			<content:encoded><![CDATA[<p>Why is it that so many <a href="http://www.ubuntu.com/">Ubuntu</a> <a href="http://www.google.com/search?q=%22sudo+gedit%22">guides</a> tell you to do <code>sudo gedit /path/to/somefile</code> when there is a <code>sudoedit</code> command? An editor, like <a href="http://projects.gnome.org/gedit/">Gedit</a>, <strong>doesn&#8217;t</strong> need to run as <code>root</code>, <strong>ever</strong>.</p>

<p>This is so much better and safer:</p>

<pre><code>SUDO_EDITOR=gedit sudo -e /path/to/somefile
</code></pre>

<p>This will &#8230;</p>

<ol>
<li>Copy the file to <code>/tmp/</code></li>
<li>Invoke <code>gedit</code> as your user</li>
<li>Update the original file if you changed the temporary file</li>
</ol>

<p>It would of course be really useful if <a href="http://www.nongnu.org/gksu/"><em>gksudo</em></a>  had this built in already, and could be used in a nice way by <a href="apt://nautilus-gksu">nautilus-gksu</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blag.zash.se/2010/07/sudo-gedit-must-die/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Liferea vs tiny screen</title>
		<link>http://blag.zash.se/2009/12/liferea-vs-tiny-screen/</link>
		<comments>http://blag.zash.se/2009/12/liferea-vs-tiny-screen/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 14:26:22 +0000</pubDate>
		<dc:creator>zash</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[liferea]]></category>
		<category><![CDATA[minimalism]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blag.zash.se/?p=189</guid>
		<description><![CDATA[I use Liferea for RSS-feeds. I also have a craptop with a tiny screen (1024×576px). I think there is room for optimizing this, more spatial perhaps? This could use some miller-columnification. Optimally, I would like to have this: Single pane Oldest unread post first Headlines which expand when clicked]]></description>
			<content:encoded><![CDATA[<p>I use <a href="http://liferea.sourceforge.net/">Liferea</a> for <a href="http://en.wikipedia.org/wiki/RSS">RSS-feeds</a>. I also have a <a href="http://images.google.com/images?q=compaq+mini+730eo">craptop</a> with a tiny screen (1024×576px).</p>

<div id="attachment_190" class="wp-caption aligncenter" style="width: 310px"><a href="http://blag.zash.se/wp-content/uploads/2009/12/Liferea-normal.png"><img src="http://blag.zash.se/wp-content/uploads/2009/12/Liferea-normal-300x168.png" alt="Liferea - Normal view" title="Liferea - Normal view" width="300" height="168" class="size-medium wp-image-190" /></a><p class="wp-caption-text">Liferea - Normal view</p></div>

<p>I think there is room for optimizing this, <a href="http://en.wikipedia.org/wiki/Spatial_file_manager">more spatial perhaps</a>?</p>

<div id="attachment_191" class="wp-caption aligncenter" style="width: 310px"><a href="http://blag.zash.se/wp-content/uploads/2009/12/Liferea-wide.png"><img src="http://blag.zash.se/wp-content/uploads/2009/12/Liferea-wide-300x168.png" alt="Liferea - wide view" title="Liferea - wide view" width="300" height="168" class="size-medium wp-image-191" /></a><p class="wp-caption-text">Liferea - wide view</p></div>

<p>This could use some <a href="http://en.wikipedia.org/wiki/Miller_Columns">miller-columnification</a>.</p>

<p>Optimally, I would like to have this:</p>

<ul>
<li>Single pane</li>
<li>Oldest unread post first</li>
<li>Headlines which expand when clicked</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blag.zash.se/2009/12/liferea-vs-tiny-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Damn you Ctrl+W</title>
		<link>http://blag.zash.se/2009/11/damn-you-ctrlw/</link>
		<comments>http://blag.zash.se/2009/11/damn-you-ctrlw/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 23:28:45 +0000</pubDate>
		<dc:creator>zash</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[gconf]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blag.zash.se/?p=184</guid>
		<description><![CDATA[Don&#8217;t know how many times I accidentally pressed Ctrl+W when I wanted to delete a word in some non-terminal app, instead closing it and losing all the text I&#8217;ve written. Now I found out you can do this: gconftool --set /desktop/gnome/interface/gtk_key_theme \ --type string Emacs Then Ctrl+W does what it should!]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t know how many times I accidentally pressed <code>Ctrl+W</code> when I wanted to delete a word in some non-terminal app, instead closing it and losing all the text I&#8217;ve written. Now <a href="https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/60085/comments/4">I found out</a> you can do this:</p>

<pre><code>gconftool --set /desktop/gnome/interface/gtk_key_theme \
  --type string Emacs
</code></pre>

<p>Then <code>Ctrl+W</code> does what it should!</p>
]]></content:encoded>
			<wfw:commentRss>http://blag.zash.se/2009/11/damn-you-ctrlw/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
