<?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>Linden LAN &#187; Linux</title>
	<atom:link href="http://www.lindenlan.net/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lindenlan.net</link>
	<description></description>
	<lastBuildDate>Sat, 29 Nov 2014 04:54:20 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>Gnome + XMonad on Karmic Koala</title>
		<link>http://www.lindenlan.net/2010/03/20/gnome-xmonad-on-karmic-koala/</link>
		<comments>http://www.lindenlan.net/2010/03/20/gnome-xmonad-on-karmic-koala/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 03:36:53 +0000</pubDate>
		<dc:creator><![CDATA[Brian]]></dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.lindenlan.net/?p=370</guid>
		<description><![CDATA[I tried integrating XMonad using the “recommended” way of setting up a gdm desktop profile to call a custom xmonad.start script which manually loads Gnome and then starts XMonad. I didn’t get very far. Here’s what finally worked. sudo apt-get install xmonad Create a file /usr/share/xsessions/xsession.desktop with the following [Desktop Entry] Name=Xsession Comment=This runs ~/.xsession [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I tried integrating XMonad using the “recommended” way of setting up a gdm desktop profile to call a custom xmonad.start script which manually loads Gnome and then starts XMonad.  I didn’t get very far.  Here’s what finally worked.</p>
<p><span id="more-370"></span></p>
<ol>
<li><code>sudo apt-get install xmonad</li>
<li>Create a file <code>/usr/share/xsessions/xsession.desktop</code> with the following
<pre class="brush: bash">
[Desktop Entry]
Name=Xsession
Comment=This runs ~/.xsession
Exec=/etc/X11/Xsession
</pre>
<p>The file can also go in <code>/etc/X11/sessions/</code>.</li>
<li>Create a file <code>~/.xsession</code> with the following
<pre class="brush: bash">
export WINDOW_MANAGER=&quot;/usr/bin/xmonad&quot;
exec gnome-session 
</pre>
</li>
<li>Using gconf-editor or gconftool, change <code>/desktop/gnome/session/required_components/windowmanager</code> from “metacity” to “gnome-wm”.  If you don’t do this, Gnome will ignore the WINDOW_MANAGER variable.</li>
</ol>
<p>I wanted to go with the recommended way, but the more I looked at it, the more it seemed like I was micro-managing Gnome, and I really didn’t care to do that.  I just wanted to have an easy way to use XMonad as a drop-in replacement for Metacity that was easily reversible.  This method should also make it easy to swap out other window managers.  Now that XMonad is installed, I get to finally play with the configuration settings.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lindenlan.net/2010/03/20/gnome-xmonad-on-karmic-koala/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>No PHP For You!</title>
		<link>http://www.lindenlan.net/2008/12/14/no-php-for-you/</link>
		<comments>http://www.lindenlan.net/2008/12/14/no-php-for-you/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 21:56:49 +0000</pubDate>
		<dc:creator><![CDATA[Brian]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.lindenlan.net/?p=270</guid>
		<description><![CDATA[On Ubuntu 8.10, I ran into a bit of problem. The Apache web server was working fine, but the following commands: sudo apt-get install php5 libapache-mod-php5 sudo /etc/init.d/apache2 restart failed to work after creating a phpinfo.php file in the /var/www/ root folder. Firefox complained, “You have chosen to open phpinfo.php which is a: PHP file.” [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>On Ubuntu 8.10, I ran into a bit of problem.  The Apache web server was working fine, but the following commands:<br/><br/></p>
<pre class="brush: bash">
sudo apt-get install php5 libapache-mod-php5
sudo /etc/init.d/apache2 restart
</pre>
<p>failed to work after creating a phpinfo.php file in the /var/www/ root folder.  Firefox complained, “You have chosen to open phpinfo.php which is a: PHP file.”  Apache was not using the PHP preprocessor for some reason.  A bunch of forum posts and blogs said to edit either /etc/apache2/httpd.conf or /etc/apache2/apache2.conf in order to associate the PHP mime type with the file extension.  That wouldn’t work because I had also installed phpmyadmin which has an apache.conf file that already has an AddType directive.  So, after some digging around, it turns out the module wasn’t even being loaded, even though that’s what you’d expect the package manager to handle when you tell it to install the module.  Any how, to fix the problem, just create symbolic links to the php5.load and php5.conf files in the /etc/apache2/mods-enabled/ folder.</p>
<pre class="brush: bash">
sudo ln -s /etc/apache2/mods-available/php5.load /etc/apache2/mods-enabled/php5.load
sudo ln -s /etc/apache2/mods-available/php5.conf /etc/apache2/mods-enabled/php5.conf
sudo /etc/init.d/apache2 restart
</pre>
<p>Update: Debian-based installs of Apache2 have some handy command line utils for managing the web server.  So to enable a mod, which automates the above, do this instead:</p>
<pre class="brush: bash">
sudo a2enmod php5
</pre>
<p>a2dismod is the command for disabling a mod.  For sites, there is also a2ensite and a2dissite.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lindenlan.net/2008/12/14/no-php-for-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automatically Login to gOS 2.0</title>
		<link>http://www.lindenlan.net/2008/01/20/automatically-login-to-gos-20/</link>
		<comments>http://www.lindenlan.net/2008/01/20/automatically-login-to-gos-20/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 05:41:33 +0000</pubDate>
		<dc:creator><![CDATA[Brian]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.lindenlan.net/2008/01/20/automatically-login-to-gos-20/</guid>
		<description><![CDATA[The last couple of weekends I tinkered with the gOS 2.0 beta. It definitely looks better than the previous iteration. The gianormous icons were just way too big for a resolution of 1024x768. This will definitely make a more appealing internet appliance for my guests than my previous box. To make it login automatically as [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>The last couple of weekends I tinkered with the <a href="http://thinkgos.com/">gOS</a> 2.0 beta.   It definitely looks better than the previous iteration.  The gianormous icons were just way too big for a resolution of 1024x768.  This will definitely make a more appealing internet appliance for my guests than my <a href="http://www.lindenlan.net/2007/07/26/automatically-login-and-start-applications-on-deli-linux/">previous box</a>.  To make it login automatically as a guest user took a bit of work, though, since this capability was not part of the initial install.  </p>
<p><span id="more-45"></span></p>
<p>In order to create the guest user account, the easiest way is to use the Users and Groups application.  This is not installed by default.  You need to first install this via Synaptic/apt-get.  The package to install is <code>gnome-system-tools</code>.  It will install other complimentary administration utilities.  Once you start Users and Groups it will be straight-forward, as to how to add a user.  Just put in the username, real name and keep the “Desktop user” profile, set the password, and click OK.  Everything else you can safely ignore.</p>
<p>The next thing to setup is the auto-login.  gOS 2.0 uses Entrance as the display manager—worst misnomer ever by the way.  In Linux, the display manager is the name of the graphical login.  Why couldn’t they just call it the graphical login manager.  Anyhow, Entrance does not have an auto-login setting (yet?).  So to get that feature you need to install the Gnome display manager, <code>gdm</code>, again using Synaptic or apt-get.  During the configuration phase of the installation it should prompt you which display manager you want to be used by default.  Make sure to select gdm.  Afterwards, just open the Login Window preferences and go to the Security tab.  There you will find a checkbox to Enable Automatic Login.  Choose the guest account as the user and that’s all there is to it.</p>
<p>Optionally, you can install the greenos-gdm-theme.  This will make the login screen and OS have continuity.  Once installed, you set the display manager theme via the Login Window preferences.  Just select the “gos” theme and make sure the “Theme” setting is set to “Selected only.”</p>
<p>The last thing to do is to prevent Entrance from starting up.  You might think to simply uninstall it.  Don’t.  The problem with that method is that the <code>entrance</code> package is a dependency of the <code>entrance-theme-greenos</code> package which is a dependency of the <code>greenos-artwork</code> package.  Uninstalling Entrance, means uninstalling a good portion of the gOS theme art.  So the workaround is to install the Boot-Up Manager, <code>bum</code>.  After installing the Boot-Up Manager, start it up and simply uncheck “The enlightened login manager, entrance,”  and you’re good to go.</p>
<p>After finishing all this, it might have been much easier just to use the same method I used originally for <a href="http://www.lindenlan.net/2007/07/26/automatically-login-and-start-applications-on-deli-linux/">my first guest computer</a> rather than install <code>gdm</code>.  Something to try next time. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.lindenlan.net/2008/01/20/automatically-login-to-gos-20/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Automatically Login And Start Applications (On DeLi Linux)</title>
		<link>http://www.lindenlan.net/2007/07/26/automatically-login-and-start-applications-on-deli-linux/</link>
		<comments>http://www.lindenlan.net/2007/07/26/automatically-login-and-start-applications-on-deli-linux/#comments</comments>
		<pubDate>Fri, 27 Jul 2007 00:11:24 +0000</pubDate>
		<dc:creator><![CDATA[Brian]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.lindenlan.net/2007/07/26/automatically-login-and-start-applications-on-deli-linux/</guid>
		<description><![CDATA[My DeLi Linux computer’s main application is an internet access “kiosk” for guests who stay at my house. To this end I needed the machine to automatically login the guest user and launch Firefox. To automatically login the user and start the GUI, I added the following command to the guest’s /etc/rc.local file. NOTE: You [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>My <a href="http://delili.lens.hl-users.com/">DeLi Linux</a> computer’s main application is an internet access “kiosk” for guests who stay at my house.  To this end I needed the machine to automatically login the guest user and launch Firefox.  </p>
<p><span id="more-33"></span></p>
<p>To automatically login the user and start the GUI, I added the following command to the guest’s /etc/rc.local file.  NOTE: You have to be root to edit this file.  This <a href="http://www.delilinux.de/forum/topic.php?id=119">solution</a> was posted on the <a href="http://www.delilinux.de/forum/">DeLi Linux forum</a>, but I’m sure it’s applicable to any Linux distro.</p>
<pre class="brush: bash">
su - guest -c startx
</pre>
<p>To launch an application at startup, there are various ways.  The first is to edit the user account’s ~/.xinitrc file.  In the case of Firefox, you would change this section</p>
<pre class="brush: bash">
# start some nice programs

exec icewm-session
</pre>
<p>to</p>
<pre class="brush: bash">
# start some nice programs

firefox &amp;
exec icewm-session
</pre>
<p>The application you want to start must come <em>before</em> the <code>exec icewm-session</code> command.  However, I settled on using the method built into IceWM instead.  Create a file ~/.icewm/startup.  This file is executed by <code>icewm-session</code>.  An example, using Firefox:</p>
<pre class="brush: bash">
#!/bin/sh
firefox &amp;
</pre>
<p>Don’t forget to set the <code>startup</code> file as executable.</p>
<pre class="brush: bash">
chmod +x ~/.icewm/startup
</pre>
<p>I know there are <a href="http://www.unc.edu/~payst/?p=2">tutorials</a> <a href="http://ramblings.narrabilis.com/wp/firefox-fullscreen-kiosk-machine/">and</a> <a href="http://kiosk.mozdev.org/">projects</a> for creating an internet kiosk using Linux, but I really didn’t care to jump through all the hoops to lock down the machine since a) it would be used infrequently, b) it wasn’t going to be in public, and c) though the primary use will be for accessing the web, it may not be the only use.  You never know.  My guests may want to play some Minesweeper.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lindenlan.net/2007/07/26/automatically-login-and-start-applications-on-deli-linux/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Change The IceWM Start Menu Button (On DeLi Linux)</title>
		<link>http://www.lindenlan.net/2007/07/25/change-the-icewm-start-menu-button-on-deli-linux/</link>
		<comments>http://www.lindenlan.net/2007/07/25/change-the-icewm-start-menu-button-on-deli-linux/#comments</comments>
		<pubDate>Wed, 25 Jul 2007 23:21:09 +0000</pubDate>
		<dc:creator><![CDATA[Brian]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.lindenlan.net/2007/07/25/change-the-icewm-start-menu-button-on-deli-linux/</guid>
		<description><![CDATA[Changing the IceWM start menu button is actually easier than I expected, and you don’t even have to be logged in as root to do it. It turns out that you can override any theme image if it’s in the same relative location under ~/.icewm. Everything else will remain unchanged. So let’s change the start [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Changing the <a href="http://www.icewm.org/">IceWM</a> start menu button is actually easier than I expected, and you don’t even have to be logged in as root to do it.  It turns out that you can override any theme image if it’s in the same relative location under ~/.icewm.  Everything else will remain unchanged.  So let’s change the start menu button for the default theme in <a href="http://delili.lens.hl-users.com/">DeLi Linux</a> (goldiKwarc).</p>
<p><span id="more-32"></span></p>
<p>Open up a terminal (<code>mrxvt</code>) and enter the following commands.  NOTE: If you are not using DeLi Linux, your particular installation of IceWM may differ, and as a result, file locations may differ.</p>
<pre class="brush: bash">
cd ~/.icewm
mkdir themes
mkdir themes/goldiKwarc
mkdir themes/goldiKwarc/taskbar
cd themes/goldiKwarc/taskbar
ln -s /usr/share/icewm/themes/goldiKwarc/taskbar/icewm-alt.xpm icewm.xpm
</pre>
<p>From the start menu, select Logout…–&gt;Restart Icewm.  Once IceWM reloads, you should see <a href="http://en.wikipedia.org/wiki/Tux">Tux</a> smiling back at you.  If you want to use the start button from a different theme, just change the symbolic link command appropriately.  If you use one your own, you can either link, copy, or move the file to this folder.  This technique should work for any image in a theme as long as the relative location is the same.  Of course if you change a lot of images, you may want to consider <a href="http://www.icewm.org/themes/">creating a new theme</a> instead.</p>
<p>NOTE: <code>start.xpm</code> is another valid name.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lindenlan.net/2007/07/25/change-the-icewm-start-menu-button-on-deli-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change The IceWM GUI Fonts (In DeLi Linux)</title>
		<link>http://www.lindenlan.net/2007/07/24/change-the-icewm-gui-fonts-in-deli-linux/</link>
		<comments>http://www.lindenlan.net/2007/07/24/change-the-icewm-gui-fonts-in-deli-linux/#comments</comments>
		<pubDate>Tue, 24 Jul 2007 21:22:27 +0000</pubDate>
		<dc:creator><![CDATA[Brian]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.lindenlan.net/2007/07/24/change-the-icewm-gui-fonts-in-deli-linux/</guid>
		<description><![CDATA[After loading DeLi Linux I was a little disappointed with the way things looked. Fonts were WAY too small. So I started poking around to find a way to rectify the situation. I saw this nifty little app in the IceWM Start menu called Font Selector (xfontsel). Unfortunately, the program is cursed with a name [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>After loading <a href="http://delili.lens.hl-users.com/">DeLi Linux</a> I was a little disappointed with the way things looked.  Fonts were WAY too small.  So I started poking around to find a way to rectify the situation.  I saw this nifty little app in the <a href="http://www.icewm.org/">IceWM</a> Start menu called Font Selector (<code>xfontsel</code>).  Unfortunately, the program is cursed with a name that makes you think it does more than it actually can.  The Font Selector simply previews fonts based on a series of properties you select.  Initially, it didn’t seem to be all that useful, until I figured out how that font selection syntax was used.</p>
<p><span id="more-31"></span></p>
<p>The default GUI fonts are a combination of Helvetica and Courier.  The default GUI fonts can be overridden, not surprisingly, by the currently selected theme.   Those font settings can then be overridden by a <code>prefoverride</code> file.   NOTE: If you are not using DeLi Linux, your particular installation of IceWM may differ, and as a result, file locations may differ.</p>
<pre class="brush: bash">
cp /usr/share/icewm/preferences ~/.icewm/prefoverride
</pre>
<p>FYI the ~/.icewm folder contains user-specific settings for IceWM.</p>
<p>Open the file using one of the installed editors (vi, X File Write, Beaver Text Editor, or XElvis).  Delete everything before line 753.  </p>
<p>Let’s work through an example.  On line 106 (previously line 858), you will find a setting for TitleFontName.  See anything familiar with the value?  It’s the same kind of string value used in the Font Selector.  </p>
<p>Start Font Selector and set the fndry to “adobe”, fmly to “helvetica”, wght to “medium”, slant to “r”, and ptSz to “120”.  If you happen to be using a theme that uses the default fonts then the font will match the font in the window title.</p>
<p>Let’s say you’d rather have a serif font instead of a sans serif font.  Let’s also say that you’d rather make the font larger.  So change fmly to “new century schoolbook” and ptSz to “140”.  Does it look good?</p>
<p>Now that you’re happy with the font, let’s apply it to the GUI.  Switch back to the text editor and change line 106 from:</p>
<pre class="brush: bash">
# TitleFontName=&quot;-adobe-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*-*&quot;
</pre>
<p>to </p>
<pre class="brush: bash">
TitleFontName=&quot;-adobe-new century schoolbook-medium-r-*-*-*-140-*-*-*-*-*-*-*&quot;
</pre>
<p>Notice that the line is no longer commented out.  Save the file.</p>
<p>To see the change, go to the Start menu and select Logout…–&gt;Restart IceWM.  You’ll have to click the arrow next to Logout in order to see the submenu.  If all goes well, you’ll see the window title font change after IceWM reloads.</p>
<p>If you look through the rest of the file you’ll find many settings that you can override.  Repeat the above steps to adjust any GUI font you don’t like.  It’s fairly obvious which setting you will need to change by reading the setting’s name.  To make things easier you can apply the same change by globally finding and replacing text.  Just remember to uncomment any changed settings before restarting IceWM.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.lindenlan.net/2007/07/24/change-the-icewm-gui-fonts-in-deli-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Serving Up Linux, DeLi-Style</title>
		<link>http://www.lindenlan.net/2007/07/23/serving-up-linux-deli-style/</link>
		<comments>http://www.lindenlan.net/2007/07/23/serving-up-linux-deli-style/#comments</comments>
		<pubDate>Mon, 23 Jul 2007 21:22:26 +0000</pubDate>
		<dc:creator><![CDATA[Brian]]></dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.lindenlan.net/2007/07/23/serving-up-linux-deli-style/</guid>
		<description><![CDATA[My beloved Mule keeps on trucking. She’s a Dell Dimension XPS P133c and has been quite the workhorse for me since I bought her back in 1996, serving many roles from desktop, to server, to testbed, and anything in between. It’s almost archaic by today’s standards which is why I’m glad Linux et al. are [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>My beloved Mule keeps on trucking.  She’s a <a href="http://support.dell.com/support/edocs/dta/XPSPCMT/">Dell Dimension XPS P133c</a> and has been quite the workhorse for me since I bought her back in 1996, serving many roles from desktop, to server, to testbed, and anything in between.  It’s almost archaic by today’s standards which is why I’m glad Linux et al. are around because you can breathe new life into your old machines using a lightweight distro. </p>
<p><span id="more-30"></span></p>
<p>Last year, I had put <a href="http://vectorlinux.com/">VectorLinux</a> 5.1 on there.  I even managed to configure an ISA network card.  DMAs, IRQs… boy, aren’t you glad plug-n-play was developed?  Unfortunately, Mule developed an X Windows issue.  I figured it was a good opportunity to upgrade to 5.8 and it would appear that they’ve improved the distro.  Unfortunately, it simply was also more than Mule could handle despite being a lightweight distro.  </p>
<p>I’ve since downgraded Mule to <a href="http://delili.lens.hl-users.com/">DeLi Linux</a>.  Since DeLi Linux is spec’d against a 486 with 16 MB of RAM, Mule has no problem handling the OS.  It’s true.  I’m quite impressed with the responsiveness, but that’s not surprising given the optimized nature of the distro.  This lightness does come at a price though.  Lots of useful utilities are missing.  The one glaring example are the utilities to help customize <a href="http://www.icewm.org/">IceWM</a>.  You are left to edit configuration files on your own.  It really isn’t that big of an issue for me since Mule’s next role will be an internet access computer in the guest room.  Once configured, I’m just going to put the computer in the room and forget about it.  However, for those who will use it as a day to day machine will be quite annoyed with trying to get the UI to look just the way they want.  For example, it’s not very obvious how to change the desktop wallpaper, and the included themes leave much to be desired if you’re used to something more flashy.</p>
<p>Given today’s prices for computer hardware, even used computer hardware.  You’re much better off buying something better to run a more fully featured distro.  However, if you have the hardware on hand and the intended application isn’t that taxing, you may want to consider resurrecting the computer using a lightweight distro.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.lindenlan.net/2007/07/23/serving-up-linux-deli-style/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
