<?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>Linux etc. &#187; Gutsy</title>
	<atom:link href="http://promberger.info/linux/category/gutsy/feed/" rel="self" type="application/rss+xml" />
	<link>http://promberger.info/linux</link>
	<description>my outsourced memory for your perusal</description>
	<lastBuildDate>Thu, 08 Sep 2011 11:06:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Disable pop-up system notification messages in Ubuntu</title>
		<link>http://promberger.info/linux/2009/06/11/disable-pop-up-system-notification-messages-in-ubuntu/</link>
		<comments>http://promberger.info/linux/2009/06/11/disable-pop-up-system-notification-messages-in-ubuntu/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 08:13:45 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Gutsy]]></category>
		<category><![CDATA[Intrepid]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/?p=189</guid>
		<description><![CDATA[I found the little pop-ups really annoying that show up when I get an icon in the system tray anyway, such as for available software updates. sudo chmod -x /usr/lib/notification-daemon/notification-daemon]]></description>
			<content:encoded><![CDATA[<p>I found the little pop-ups really annoying that show up when I get an icon in the system tray anyway, such as for available software updates.</p>
<pre>sudo chmod -x /usr/lib/notification-daemon/notification-daemon</pre>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2009/06/11/disable-pop-up-system-notification-messages-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing okular in Gutsy</title>
		<link>http://promberger.info/linux/2008/08/20/installing-okular-in-gutsy/</link>
		<comments>http://promberger.info/linux/2008/08/20/installing-okular-in-gutsy/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 18:50:55 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Gutsy]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/2008/08/20/installing-okular-in-gutsy/</guid>
		<description><![CDATA[I&#8217;m running Xubuntu but I don&#8217;t see why this wouldn&#8217;t work for Ubuntu. I really like kpdf, but it cannot rotate pages. It seems that it is no longer actively developed, and that instead okular is kpdf&#8217;s successor. However, in Gutsy, if you try installing okular via aptitude, you get a dependency problem that aptitude [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m running Xubuntu but I don&#8217;t see why this wouldn&#8217;t work for Ubuntu.</p>
<p>I really like kpdf, but it cannot rotate pages. It seems that it is no longer actively developed, and that instead <a href="http://okular.kde.org/">okular</a> is kpdf&#8217;s successor. However, in Gutsy, if you try installing <code>okular</code> via aptitude, you get a dependency problem that aptitude cannot resovle for you (something about missing the virtual package <code>libpoppler1</code>).</p>
<p>You can work around this by adding the following repository to your <code>/etc/apt/sources.list</code>:</p>
<pre>deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu gutsy main</pre>
<p>then:</p>
<pre>sudo aptitude update &#038;&#038; sudo aptitude dist-upgrade</pre>
<p>This installs quite a few kde things and may reinstall kde apps you might already have installed, such as amarok. It did for me. My guess is the problem is that okular is a kde4 app, and you need some kde4 stuff for it. <strong>I haven&#8217;t checked whether this breaks any of the other kde apps on your system!</strong> (Personally, I don&#8217;t care &#8212; I do have amarok installed but I&#8217;m hardly using it; I&#8217;ve grown fond of <a href="http://www.sacredchao.net/quodlibet/">quodlibet</a> instead). </p>
<p>Then, you can do:</p>
<pre>sudo aptitude install okular</pre>
<p>This will install a <em>lot</em> of dependencies.</p>
<p>You won&#8217;t be able to start okular by just using the command <code>okular</code> in a terminal, but you can find it in the Xfce menu under the &#8220;Graphics&#8221; applications.  However, a </p>
<pre>ps -ef | grep okular</pre>
<p>while okular is running reveals that it sits at <code>/usr/lib/kde4/bin/okular</code>, so you can add</p>
<pre>alias okular="/usr/lib/kde4/bin/okular"</pre>
<p>to your <code>~/.bashrc</code> (or, maybe add <code>/usr/lib/kde4/bin</code> to your <code>PATH</code>).</p>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2008/08/20/installing-okular-in-gutsy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SD card with ReiserFS for backups</title>
		<link>http://promberger.info/linux/2008/05/15/sd-card-with-reiserfs-for-backups/</link>
		<comments>http://promberger.info/linux/2008/05/15/sd-card-with-reiserfs-for-backups/#comments</comments>
		<pubDate>Thu, 15 May 2008 21:45:24 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Bash shell]]></category>
		<category><![CDATA[Gutsy]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/2008/05/15/sd-card-with-reiserfs-for-backups/</guid>
		<description><![CDATA[The hard drive on my laptop has occasionally been making some funny klicking noises recently, and I&#8217;m a bit worried it&#8217;s going to break down one of these days. So in addition to backups to an external HD and a USB stick, I bought a 4 GB SD card to just leave in the card [...]]]></description>
			<content:encoded><![CDATA[<p>The hard drive on my laptop has occasionally been making some funny  klicking noises recently, and I&#8217;m a bit worried it&#8217;s going to break down one of these days. So in addition to backups to an external HD and a USB stick, I bought a 4 GB SD card to just leave in the card reader.</p>
<p>I formatted this with gparted, first to ext3, then to ext2 (I wanted something that would preserve permissions), but after backup up some files to it (using <a href="http://samba.anu.edu.au/rsync">rsync</a> and <a href="http://www.nongnu.org/rdiff-backup/">rdiff-backup</a>)  I ended up with lots of input/output errors and bad superblocks and whatnot. </p>
<p>I then used gparted to make it ReiserFS, and that worked. One other thing that I did differently was that after formatting the SD card to ReiserFS, I removed the card, then shut down the machine and rebooted before reinserting the card and actually putting any data on it. I hadn&#8217;t done this for the ext* FS, no clue if it could have made a difference. </p>
<p>The filesystem works nicely and it seems quite a bit faster than both ext3 and ext2 (I have mostly small text files, and a few pdfs). </p>
<p>However, letting the card be automounted (by HAL, I assume?) resulted in occasional total freezes when mounting/ unmounting.</p>
<p>So I put a line into <code>/etc/fstab</code></p>
<pre>/dev/mmcblk0p1  /media/kate                 auto    auto,user,rw,exec 0 0</pre>
<p>and now I can just leave the card in.</p>
<p>However, the laptop then failed to suspend and resume properly. That was solved by putting a script each into <code>/etc/acpi/suspend.d</code> and <code>resume.d</code> to unmount and remount the card:</p>
<pre>
audrey:~$ cat /etc/acpi/suspend.d/01-umount-kate.sh
#!/bin/sh

/bin/umount /media/kate
</pre>
<p>and &#8230;</p>
<pre>audrey:~$ cat /etc/acpi/resume.d/91-mount-kate.sh
#!/bin/sh

/bin/mount /media/kate &#038;&#038; /bin/chown mpromber:mpromber /media/kate</pre>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2008/05/15/sd-card-with-reiserfs-for-backups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xubuntu Gutsy: Laptop suspend on lid close</title>
		<link>http://promberger.info/linux/2008/04/30/laptop-suspend-on-lid-close/</link>
		<comments>http://promberger.info/linux/2008/04/30/laptop-suspend-on-lid-close/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 18:43:35 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Gutsy]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/2008/04/30/laptop-suspend-on-lid-close/</guid>
		<description><![CDATA[I&#8217;d assume the following works in different Ubuntu versions in general: Suspend worked out of the box, but closing the lid didn&#8217;t do anything but blank the screen. First, I installed gnome-power-manager and fiddled with gnome-power-preferences. I was able to get it to suspend on lid close, but now suspend didn&#8217;t work reliably anymore &#8212; [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d assume the following works in different Ubuntu versions in general:</p>
<p>Suspend worked out of the box, but closing the lid didn&#8217;t do anything but blank the screen. First, I installed <code>gnome-power-manager</code> and fiddled with <code>gnome-power-preferences</code>. I was able to get it to suspend on lid close, but now suspend didn&#8217;t work reliably anymore &#8212; about every fifth time the laptop would fail to suspend. So I uninstalled <code>gnome-power-manager</code>.</p>
<p>Turns out, all I had to do was edit <code>/etc/acpi/events/lidbtn</code> and change one line:<br />
From:</p>
<pre>action=/etc/acpi/lid.sh</pre>
<p>To:</p>
<pre>action=/etc/acpi/sleep.sh</pre>
<p>Works.</p>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2008/04/30/laptop-suspend-on-lid-close/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quickly configure exim (MTA) on Gutsy</title>
		<link>http://promberger.info/linux/2008/04/14/quickly-configure-exim-mta-on-gutsy/</link>
		<comments>http://promberger.info/linux/2008/04/14/quickly-configure-exim-mta-on-gutsy/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 21:15:56 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Gutsy]]></category>
		<category><![CDATA[Noobs]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/2008/04/14/quickly-configure-exim-mta-on-gutsy/</guid>
		<description><![CDATA[sudo dpkg-reconfigure exim4-config This will give you a graphical interface and guide you through each step to get the basic setup.]]></description>
			<content:encoded><![CDATA[<pre>sudo dpkg-reconfigure exim4-config</pre>
<p>This will give you a graphical interface and guide you through each step to get the basic setup.</p>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2008/04/14/quickly-configure-exim-mta-on-gutsy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connecting Logitech Quickcam on Xubuntu Gutsy 7.10</title>
		<link>http://promberger.info/linux/2008/04/14/connecting-logitech-quickcam-on-xubuntu-gutsy-710/</link>
		<comments>http://promberger.info/linux/2008/04/14/connecting-logitech-quickcam-on-xubuntu-gutsy-710/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 16:13:13 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Gutsy]]></category>
		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[Noobs]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/2008/04/14/connecting-logitech-quickcam-on-xubuntu-gutsy-710/</guid>
		<description><![CDATA[Works almost out of the box (Logitech Quickcam Messenger for 15 GBP on Amazon UK). Well, worked completely out of the box on the laptop. On the desktop, camorama complained &#8220;could not connect to device (/dev/video0). Please check connection&#8221;, and Skype said it didn&#8217;t find a device. However, /dev/video0 looked just the same as on [...]]]></description>
			<content:encoded><![CDATA[<p>Works almost out of the box (Logitech Quickcam Messenger for 15 GBP on Amazon UK). Well, worked completely out of the box on the laptop. On the desktop, <a href="http://camorama.fixedgear.org/">camorama</a> complained &#8220;could not connect to device (/dev/video0). Please check connection&#8221;, and Skype said it didn&#8217;t find a device. However, <code>/dev/video0</code> looked just the same as on the laptop:</p>
<pre>mpromber@audrey:/dev$ ls -l video0
crw-rw---- 1 root video 81, 0 2008-04-14 16:48 video0</pre>
<p>Turns out I didn&#8217;t have a group <code>video</code> so I had to create it and add my user (via Xfce&nbsp;Menu &rarr; System &rarr; Users&nbsp;and&nbsp;Groups). Log out and back in; works.</p>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2008/04/14/connecting-logitech-quickcam-on-xubuntu-gutsy-710/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java plugin in Firefox</title>
		<link>http://promberger.info/linux/2008/04/08/java-plugin-in-firefox/</link>
		<comments>http://promberger.info/linux/2008/04/08/java-plugin-in-firefox/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 16:48:44 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Gutsy]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/2008/04/08/java-plugin-in-firefox/</guid>
		<description><![CDATA[I used to have trouble with the system wide installation of Firefox on Gutsy (though I don&#8217;t remember what the trouble was), so I installed it on a user basis in each user&#8217;s home directory and made all the relevant icons point to /home/user/firefox/firefox Because of this, I had to create a symlink in that [...]]]></description>
			<content:encoded><![CDATA[<p>I used to have trouble with the system wide installation of Firefox on Gutsy (though I don&#8217;t remember what the trouble was), so I installed it on a user basis in each user&#8217;s home directory and made all the relevant icons point to <code>/home/user/firefox/firefox</code></p>
<p>Because of this, I had to create a symlink in that user-based Firefox&#8217;s plugin directory:</p>
<pre>
cd /home/user/firefox/plugins
ln -s /usr/lib/firefox/plugins/libjavaplugin.so</pre>
<p>(I don&#8217;t recall installing Java. <code>sudo aptitude search java</code> shows I have following installed:)</p>
<pre>sudo aptitude install sun-java6-bin sun-java6-jre sun-java6-plugin</pre>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2008/04/08/java-plugin-in-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting 256 color support working for mutt in xfce4-terminal</title>
		<link>http://promberger.info/linux/2008/04/05/getting-256-color-support-working-for-mutt-in-xfce4-terminal/</link>
		<comments>http://promberger.info/linux/2008/04/05/getting-256-color-support-working-for-mutt-in-xfce4-terminal/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 12:29:34 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Gutsy]]></category>
		<category><![CDATA[mutt]]></category>
		<category><![CDATA[Xfce]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/2008/04/05/getting-256-color-support-working-for-mutt-in-xfce4-terminal/</guid>
		<description><![CDATA[Mutt supports 256 colors if you terminal does, and that in turn seems to depend both on the terminal and on ncurses. For me, using Xfce on Xubuntu Gutsy, running mutt in a xfce4-terminal, 256 color support didn&#8217;t work out of the box. Putting any colorN into the ~/.muttrc yielded a &#8220;colour not supported by [...]]]></description>
			<content:encoded><![CDATA[<p>Mutt supports 256 colors if you terminal does, and that in turn seems to depend both on the terminal and on ncurses. </p>
<p>For me, using Xfce on Xubuntu Gutsy, running mutt in a xfce4-terminal, 256 color support  didn&#8217;t work out of the box. Putting any <code>colorN</code> into the <code>~/.muttrc</code> yielded a &#8220;colour not supported by term&#8221; hiccup during mutt startup, and mutt just displayed the relevant item in white (the default fg color).  It is also possible to find out how many colors a terminal supports with <code>tput colors</code>, and for me, this showed &#8220;8&#8243;.</p>
<p>To solve the problem:</p>
<pre>sudo aptitude install ncurses-term</pre>
<p>Additionally, I had to change the xfce4-terminal preferences. In the &#8220;Advanced&#8221; tab, in the field for &#8220;$TERM setting:&#8221;, change the name to <code>xterm-256color</code></p>
<p>Voila:</p>
<pre>$ tput colors
256</pre>
<p>And mutt now supports lines such as </p>
<pre>color   index       color214  default   ~O</pre>
<p>in the <code>~/.muttrc</code>.</p>
<p>BTW, <code>default</code> as the background color makes mutt use the transparent terminal background, if you have one.</p>
<h3>Addendum</h3>
<p>If you want to set up mutt to use some of those pretty 256 colors, you probably want to see a palette relating the numbers to the colors. At least I did, and I didn&#8217;t see a very easy way to do this at first, but I found one <a href="http://www.frexx.de/xterm-256-notes/">here</a>. Specifically, download <a href="http://www.vim.org/scripts/script.php?script_id=1349">this perl script</a> and execute it  in your terminal to show a palette of colors relating each to its number. Pick the numbers you like and translate their number N to <code>colorN</code> in your <code>~/.muttrc</code> where you normally would use one of the named colors.</p>
<h3>Addendum 2</h3>
<p>Changing the $TERM setting to &#8220;xterm-256color&#8221; caused two problems, both of which you can work around:</p>
<ul>
<li>When I <code>ssh</code> into some remote servers, some apps have problems and say something about &#8220;xterm-256color not defined.&#8221;. I&#8217;ve put in an alias into my .bashrc for these servers to do <code>export TERM=xterm &#038;&#038;  ssh <i>SERVERNAME</i></code>.</li>
<li>Mutt did not recognize the backspace key anymore in the index and pager (I had set a &#8220;bind&#8221; and a &#8220;macro&#8221;. Thanks to Kyle on the mutt-users mailing list, I learned to find the information with
<pre>$ infocmp -1 -L xterm-256color | grep key_backspace
               key_backspace=^H,
$ infocmp -1 -L xterm | grep key_backspace
               key_backspace=\177,</pre>
<p>&#8230; and then I just changed <code>&lt;backspace&gt;</code> to <code>&#92;177</code> in the .muttrc, and now it works.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2008/04/05/getting-256-color-support-working-for-mutt-in-xfce4-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sort printer (cupsys &amp; lpq) password problem and quickly cancel print jobs</title>
		<link>http://promberger.info/linux/2008/03/26/sort-printer-cupsys-lpq-password-problem-and-quickly-cancel-print-jobs/</link>
		<comments>http://promberger.info/linux/2008/03/26/sort-printer-cupsys-lpq-password-problem-and-quickly-cancel-print-jobs/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 21:22:01 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Gutsy]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/2008/03/26/sort-printer-cupsys-lpq-password-problem-and-quickly-cancel-print-jobs/</guid>
		<description><![CDATA[My Brother HL-2030 printer got recognized automatically and printed without a problem, but until now I wasn&#8217;t able to fully manage it: both the web interface (http://localhost:631) and the settings in Xfce&#160;Menu &#8594; Settings &#8594; Printing kept asking for a password but wouldn&#8217;t accept my username and password. I had to add my user to [...]]]></description>
			<content:encoded><![CDATA[<p>My Brother HL-2030 printer got recognized automatically and printed without a problem, but until now I wasn&#8217;t able to fully manage it: both the web interface (<code>http://localhost:631</code>) and the settings in Xfce&nbsp;Menu &rarr; Settings &rarr; Printing kept asking for a password but wouldn&#8217;t accept  my username and password.</p>
<p>I had to add my user to the group <code>lpadmin</code>.  In the Xfce&nbsp;Menu, go to System &rarr; Users and Groups. Click on &#8220;Manage Groups&#8221;. Select <code>lpadmin</code> and click on &#8220;Properties&#8221;. Check the members you want to add. </p>
<p>Problem sorted. To quickly cancel all jobs, I just have to open a terminal window and type:</p>
<pre>cancel -a</pre>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2008/03/26/sort-printer-cupsys-lpq-password-problem-and-quickly-cancel-print-jobs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bluetooth in Xubuntu Gutsy (Xfce)</title>
		<link>http://promberger.info/linux/2008/01/28/bluetooth-in-xubuntu-gutsy-xfce/</link>
		<comments>http://promberger.info/linux/2008/01/28/bluetooth-in-xubuntu-gutsy-xfce/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 09:22:54 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Gutsy]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/2008/01/28/bluetooth-in-xubuntu-gutsy-xfce/</guid>
		<description><![CDATA[sudo aptitude install bluetooth gnome-bluetooth This will install a few dependencies as well. Then, there&#8217;s an item &#8220;Bluetooth File Sharing&#8221; the system menu under &#8220;Accessories&#8221;.]]></description>
			<content:encoded><![CDATA[<pre>sudo aptitude install bluetooth gnome-bluetooth</pre>
<p>This will install a few dependencies as well. Then, there&#8217;s an item &#8220;Bluetooth File Sharing&#8221; the system menu under &#8220;Accessories&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2008/01/28/bluetooth-in-xubuntu-gutsy-xfce/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

