<?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; Linux</title>
	<atom:link href="http://promberger.info/linux/category/linux/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>How to connect to kclad (the KCL Active Directory domain)</title>
		<link>http://promberger.info/linux/2011/08/30/how-to-connect-to-kclad-the-kcl-active-directory-domain/</link>
		<comments>http://promberger.info/linux/2011/08/30/how-to-connect-to-kclad-the-kcl-active-directory-domain/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 10:40:23 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/?p=386</guid>
		<description><![CDATA[I followed these instructions (I did not get any errors). sudo aptitude install likewise-open5 Connect: sudo domainjoin-cli join kclad.ds.kcl.ac.uk LOGIN Reboot. Add the line winbind use default domain = yes to the file /etc/samba/lwiauthd.conf Reboot. Check if you are connected: sudo domainjoin-cli query I now seem to be connected whenever I am on the KCL [...]]]></description>
			<content:encoded><![CDATA[<p>I followed <a href="http://www.petenetlive.com/KB/Article/0000384.htm">these instructions</a> (I did not get any errors).</p>
<pre>sudo aptitude install likewise-open5</pre>
<p>Connect:</p>
<pre>sudo domainjoin-cli join kclad.ds.kcl.ac.uk LOGIN</pre>
<p>Reboot.<br />
Add the line <code>winbind use default domain = yes</code> to the file <code>/etc/samba/lwiauthd.conf</code><br />
Reboot.<br />
Check if you are connected:</p>
<pre>sudo domainjoin-cli query</pre>
<p>I now seem to be connected whenever I am on the KCL network.<br />
Leave:</p>
<pre>sudo domainjoin-cli leave</pre>
<p>(I don&#8217;t explicitly leave. It disconnects when I disconnect from the network.)</p>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2011/08/30/how-to-connect-to-kclad-the-kcl-active-directory-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find more network printers from the Ubuntu command line</title>
		<link>http://promberger.info/linux/2011/08/19/find-more-network-printers-from-the-ubuntu-command-line/</link>
		<comments>http://promberger.info/linux/2011/08/19/find-more-network-printers-from-the-ubuntu-command-line/#comments</comments>
		<pubDate>Fri, 19 Aug 2011 14:21:54 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/?p=383</guid>
		<description><![CDATA[Some of the network printers at work do not show up when I try to find them via the Ubuntu GUI System -> Administration -> Printing but I can find them via the command hp-probe. Here at work the list returned by hp-probe is long and I know the names I&#8217;m looking for start with [...]]]></description>
			<content:encoded><![CDATA[<p>Some of the network printers at work do not show up when I try to find them via the Ubuntu GUI System -> Administration -> Printing but I can find them via the command <code>hp-probe</code>.  Here at work the list returned by hp-probe is long and I know the names I&#8217;m looking for start with &#8220;printer0&#8243; so I do</p>
<pre>hp-probe -bnet | grep printer0</pre>
<p>This returns lines that contain a URI like this</p>
<pre>hp:/net/HP_LaserJet_P3005?ip=159.92.99.39</pre>
<p>Copy that and go back to the GUI where you paste it under &#8220;Enter device URI&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2011/08/19/find-more-network-printers-from-the-ubuntu-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get Emacs key bindings in Ubuntu</title>
		<link>http://promberger.info/linux/2010/02/16/how-to-get-emacs-key-bindings-in-ubuntu/</link>
		<comments>http://promberger.info/linux/2010/02/16/how-to-get-emacs-key-bindings-in-ubuntu/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 12:59:45 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[misc.]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/?p=353</guid>
		<description><![CDATA[To get the Emacs key bindings (especially, Ctrl-a to go to beginning of line, Ctrl-e to end of line) systemwide, e.g. in Firefox, you use: gconf-editor and change the setting desktop &#8594; gnome &#8594; interface &#8594; gtk_key_theme from &#8220;Default&#8221; to &#8220;Emacs&#8221;.]]></description>
			<content:encoded><![CDATA[<p>To get the Emacs key bindings (especially, Ctrl-a to go to beginning of line, Ctrl-e to end of line) systemwide, e.g. in Firefox, you use:</p>
<pre>gconf-editor</pre>
<p>and change the setting desktop &rarr; gnome &rarr; interface &rarr; gtk_key_theme from &#8220;Default&#8221; to &#8220;Emacs&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2010/02/16/how-to-get-emacs-key-bindings-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<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 Digikam with fewer dependencies in Xubuntu/ Ubuntu Intrepid</title>
		<link>http://promberger.info/linux/2009/02/05/installing-digikam-with-fewer-dependencies-in-xubuntu-ubuntu-intrepid/</link>
		<comments>http://promberger.info/linux/2009/02/05/installing-digikam-with-fewer-dependencies-in-xubuntu-ubuntu-intrepid/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 11:42:49 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[DigiKam]]></category>
		<category><![CDATA[Intrepid]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/2009/02/05/installing-digikam-with-fewer-dependencies-in-xubuntu-ubuntu-intrepid/</guid>
		<description><![CDATA[If you do sudo aptitude install digikam on Intrepid, you will see that aptitude would install loads of KDE packages (Dolphin and Konqueror, yikes). Apparently, this is because aptitude now by default also installs recommended packages as &#8220;dependencies&#8221;. To avoid this, use the -R flag to aptitude (see also man aptitude): sudo aptitude install -R [...]]]></description>
			<content:encoded><![CDATA[<p>If you do</p>
<pre>sudo aptitude install digikam</pre>
<p>on Intrepid, you will see that aptitude would install loads of KDE packages (Dolphin <em>and</em> Konqueror, yikes). Apparently, this is because aptitude now by default also installs recommended packages as &#8220;dependencies&#8221;. To avoid this, use the <code>-R</code> flag to aptitude (see also <code>man aptitude</code>):</p>
<pre>sudo aptitude install -R digikam</pre>
<p>If you prefer Synaptic for the GUI, there is a global option there under Preferences, in the General tab. </p>
<h3>Addendum</h3>
<p>One issue is that you will not be able to use the Flickr upload plugin without Konqueror, as this version of Digikam uses Konqueror to authenticate you on Flickr. A workaround is to get the lateste KDE4 version of Digikam, which you can do by adding the following four repositories to <code>/etc/apt/sources.list</code>:</p>
<pre>deb http://ppa.launchpad.net/digikam-experimental/ppa/ubuntu intrepid main
deb-src http://ppa.launchpad.net/digikam-experimental/ppa/ubuntu intrepid main
deb http://ppa.launchpad.net/kubuntu-experimental/ppa/ubuntu intrepid main
deb-src http://ppa.launchpad.net/kubuntu-experimental/ppa/ubuntu intrepid main</pre>
<p>You&#8217;ll also have to add the key for each repository using (substitute key number for &#8220;9999&#8243;):</p>
<pre>gpg --keyserver subkeys.pgp.net --recv-key 9999
gpg -a --export 9999 | sudo apt-key add -</pre>
<p>Works fine here so far, use at your own risk.</p>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2009/02/05/installing-digikam-with-fewer-dependencies-in-xubuntu-ubuntu-intrepid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Edimax EW-7318USg and switch to wicd</title>
		<link>http://promberger.info/linux/2009/01/11/edimax-ew-7318usg-and-switch-to-wicd/</link>
		<comments>http://promberger.info/linux/2009/01/11/edimax-ew-7318usg-and-switch-to-wicd/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 18:27:25 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/2009/01/11/edimax-ew-7318usg-and-switch-to-wicd/</guid>
		<description><![CDATA[I&#8217;ve just bought the Edimax EW-7318USg wireless USB dongle, mainly to use it in corners of the house where the wireless signal is weak. It works fine and does seem to boost the signal. With network-manager, I found no way to quickly switch between the built-in wireless card and the Edimax. I installed wicd, which [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just bought the <a href="http://www.amazon.co.uk/exec/obidos/ASIN/B000NNSY7K">Edimax EW-7318USg wireless USB dongle</a>, mainly to use it in corners of the house where the wireless signal is weak. It works fine and does seem to boost the signal.</p>
<p>With network-manager, I found no way to quickly switch between the built-in wireless card and the Edimax. I installed <a href="http://wicd.sourceforge.net/">wicd</a>, which uninstalls network-manager if you install it via aptitude (you have to add the repository first, see the wicd website). I like it so far. It seems more transparent in what it does than network-manager. You can manually enter an interface to use for wired or wireless. The Edimax shows up as &#8220;wlan0&#8243;, if I enter that, it connects via that, else, use the default &#8220;ath0&#8243;.</p>
<p>It seems I can also quickly put the Edimax into monitor mode via airmon-ng, but I haven&#8217;t done anything but watch it collect some packets in wireshark so far.</p>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2009/01/11/edimax-ew-7318usg-and-switch-to-wicd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running X apps (like zenity) from crontab (solving &#8220;cannot open display&#8221; problem)</title>
		<link>http://promberger.info/linux/2009/01/02/running-x-apps-like-zenity-from-crontab-solving-cannot-open-display-problem/</link>
		<comments>http://promberger.info/linux/2009/01/02/running-x-apps-like-zenity-from-crontab-solving-cannot-open-display-problem/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 18:42:00 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Noobs]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/2009/01/02/running-x-apps-like-zenity-from-crontab-solving-cannot-open-display-problem/</guid>
		<description><![CDATA[I&#8217;ve written a small script that checks whether I have queued mail and that displays a notification icon via &#8220;zenity &#8211;notification&#8221; in case I do. I wanted to run it using ~/.crontab but it wouldn&#8217;t run. First, I got error messages from the cron daemon that looked like this: (zenity:22981): Gtk-WARNING **: cannot open display: [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve written a small script that checks whether I have queued mail and that displays a notification icon via &#8220;zenity &#8211;notification&#8221; in case I do. I wanted to run it using <code>~/.crontab</code> but it wouldn&#8217;t run. First, I got error messages from the cron daemon that looked like this:</p>
<pre>(zenity:22981): Gtk-WARNING **: cannot open display:</pre>
<p>Sure, I hadn&#8217;t specified a display. So I tried setting the <code>DISPLAY</code> explicitly in my ~/.crontab:</p>
<pre>* * * * export DISPLAY=:0.0 &#038;&#038; /path/to/checklog</pre>
<p>but then I got:</p>
<pre>
No protocol specified

(zenity:24101): Gtk-WARNING **: cannot open display: :0</pre>
<p>The same happened when I tried running other X apps, like audacious. A line in ~/.crontab like this:</p>
<pre>* * * * * DISPLAY=:0 /usr/bin/audacious</pre>
<p>resulted in errors like this:</p>
<pre>No protocol specified
/usr/bin/audacious: Unable to open display, exiting.</pre>
<p>It turns out I needed to set, in my <code>~/.bashrc</code>:</p>
<pre>xhost local:mpromber > /dev/null</pre>
<p>to allow crontab access to my X display.  It now works, either using &#8220;export DISPLAY=:0.0&#8243; in the ~/.crontab, or alternatively just using </p>
<pre>zenity --notification --display=:0.0</pre>
<p>in the script that checks for queued mail.</p>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2009/01/02/running-x-apps-like-zenity-from-crontab-solving-cannot-open-display-problem/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Ubuntu/ Linux: How to permanently turn off the annoying system bell (beep)</title>
		<link>http://promberger.info/linux/2008/12/04/ubuntu-linux-how-to-permanently-turn-off-the-annoying-system-bell-beep/</link>
		<comments>http://promberger.info/linux/2008/12/04/ubuntu-linux-how-to-permanently-turn-off-the-annoying-system-bell-beep/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 18:27:48 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/2008/12/04/ubuntu-linux-how-to-permanently-turn-off-the-annoying-system-bell-beep/</guid>
		<description><![CDATA[You know what I mean &#8230; that loud loud beep that almost knocks you out whenever you type a non-available keyboard shortcut in Emacs. For immediate relief (this will not persist through a reboot): sudo modprobe -r pcspkr For permanent relief, edit the file /etc/modprobe.d/blacklist and add the line: blacklist pcspkr Addendum On my Lenovo [...]]]></description>
			<content:encoded><![CDATA[<p>You know what I mean &#8230; that loud loud beep that almost knocks you out whenever you type a non-available keyboard shortcut in Emacs.</p>
<p>For immediate relief (this will not persist through a reboot):</p>
<pre>sudo modprobe -r pcspkr</pre>
<p>For permanent relief, edit the file <code>/etc/modprobe.d/blacklist</code> and add the line:</p>
<pre>blacklist pcspkr</pre>
<h3>Addendum</h3>
<p>On my Lenovo Thinkpad X41, there was still an annoying loud beep whenever I plugged in or unplugged the AC power cord. I had to disable this in the BIOS.</p>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2008/12/04/ubuntu-linux-how-to-permanently-turn-off-the-annoying-system-bell-beep/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;trash-cli&#8221; lets you move files to the trash from the command line (and shell scripts)</title>
		<link>http://promberger.info/linux/2008/11/28/trash-cli-lets-you-move-files-to-the-trash-from-the-command-line-and-shell-scripts/</link>
		<comments>http://promberger.info/linux/2008/11/28/trash-cli-lets-you-move-files-to-the-trash-from-the-command-line-and-shell-scripts/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 22:09:38 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/2008/11/28/trash-cli-lets-you-move-files-to-the-trash-from-the-command-line-and-shell-scripts/</guid>
		<description><![CDATA[I know hardcore Linuxers use rm for everything and think the trash on a computer is for babies who also like such poo-poo things like the mouse and GUIs. However, I&#8217;ve just deleted one too many files using rm from a shell script, especially since I like doing rm -rf on directories &#8230; confirming every [...]]]></description>
			<content:encoded><![CDATA[<p>I know hardcore Linuxers use <code>rm</code> for everything and think the trash on a computer is for babies who also like such poo-poo things like the mouse and GUIs. However, I&#8217;ve just deleted one too many files using <code>rm</code> from a shell script, especially since I like doing <code>rm -rf</code> on directories &#8230; confirming every single file is just too tedious. So I googled some and found the best of both worlds: <a href="http://code.google.com/p/trash-cli/">trash-cli</a> lets you move items to the trash can from the command line or shell scripts. You use it simply like so:</p>
<pre>trash somefile</pre>
<p>Unlike just moving files to wherever you trash folder is using <code>mv</code>, trash-cli does all the nice trashy things like keeping information that will let you easily restore the file (which &#8230; ahem &#8230; you of course do from the trash can GUI). On Ubuntu, it&#8217;s easy to get <code>trash-cli</code> via synaptic:</p>
<pre>sudo aptitude install trash-cli</pre>
<p>Now, if there only were a way to rename the trash can to &#8220;trash&#8221; or at least &#8220;rubbish&#8221; instead of the idiotic &#8220;wastebasket&#8221; that my Xubuntu with GB locale insists on &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2008/11/28/trash-cli-lets-you-move-files-to-the-trash-from-the-command-line-and-shell-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add a custom welcome message to your Xubuntu or Ubuntu login screen</title>
		<link>http://promberger.info/linux/2008/11/28/how-to-add-a-custom-welcome-message-to-your-xubuntu-or-ubuntu-login-screen/</link>
		<comments>http://promberger.info/linux/2008/11/28/how-to-add-a-custom-welcome-message-to-your-xubuntu-or-ubuntu-login-screen/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 12:53:34 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Noobs]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/2008/11/28/how-to-add-a-custom-welcome-message-to-your-xubuntu-or-ubuntu-login-screen/</guid>
		<description><![CDATA[I like the graphical login screen on my laptop to display my e-mail address. In case I lose the laptop and an honest person finds it, they should at least have the possibility to return it. In the latest versions of Ubuntu or Xubuntu, you can change the welcome message via the settings menu for [...]]]></description>
			<content:encoded><![CDATA[<p>I like the graphical login screen on my laptop to display my e-mail address. In case I lose the laptop and an honest person finds it, they should at least have the possibility to return it.</p>
<p>In the latest versions of Ubuntu or Xubuntu, you can change the welcome message via the settings menu for &#8220;Login Window&#8221; (or, at a command line, type &#8220;gksudo gdmsetup&#8221;). Go to the &#8220;local&#8221; tab. </p>
<p>However, the custom welcome message is not displayed for a lot of (possibly most or all of) the themes, if you want a themed login window. My guess is that this is because these themes do not display a welcome message at all, period. To work around this, you can manually edit the .xml file of the theme you wish to use. Let&#8217;s assume you want to use the &#8220;Human&#8221; theme for your login screen. Pick that in the gdm setup window. Set your custom welcome message. Now, go to <code>/usr/share/gdm/themes</code>. You will see that this contains folders named after the different themes. You want to change the &#8220;Human&#8221; theme, so go to that folder. Now, using <code>sudo</code>, edit the file <code>Human.xml</code>. You will see that it contains xml markup, which is similar to hmtl. Add a section that looks like the following (I don&#8217;t think it matters where you add it. I added mine after the &#8220;ubuntu logo&#8221; section and it works fine):</p>
<pre>
  &lt;!-- Welcome message (added by MP) --&gt;
  &lt;item type="label"&gt;
    &lt;pos y="2%" x="2%"/&gt;
    &lt;normal color="#000000" font="Sans 14"/&gt;
    &lt;!-- Stock label for: Welcome to %h --&gt;
    &lt;stock type="welcome-label"/&gt;
  &lt;/item&gt;
</pre>
<p>Of course, you can change the position, color and font; this should be easy to figure out. Save the file. Next time you log out, you will see the custom welcome message that you have defined in the GUI for the gdm settings on your login screen.</p>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2008/11/28/how-to-add-a-custom-welcome-message-to-your-xubuntu-or-ubuntu-login-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

