<?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>Steve Taylor &#187; Linux</title>
	<atom:link href="http://sltaylor.co.uk/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://sltaylor.co.uk</link>
	<description>Freelance WordPress developer in London - XHTML, CSS &#38; design</description>
	<lastBuildDate>Sat, 19 Nov 2011 16:08:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Customizing the Netbook Remix &amp; creating shell script shortcuts</title>
		<link>http://sltaylor.co.uk/blog/customizing-netbook-remix-creating-shell-script-shortcuts/</link>
		<comments>http://sltaylor.co.uk/blog/customizing-netbook-remix-creating-shell-script-shortcuts/#comments</comments>
		<pubDate>Sat, 11 Oct 2008 14:57:25 +0000</pubDate>
		<dc:creator>Steve Taylor</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://sltaylor.co.uk/?p=58</guid>
		<description><![CDATA[A couple more problems of mine with my Eee PC / Ubuntu Eee setup solved. Hopefully of use to others&#8230; Customizing the desktop Ubuntu Eee comes with a custom desktop designed for small screens by Canonical, called the Ubuntu Netbook Remix. It&#8217;s a group of modifications that create more screen space and provide a slick [...]]]></description>
			<content:encoded><![CDATA[<p>A couple more problems of mine with my Eee PC / Ubuntu Eee setup solved. Hopefully of use to others&#8230;</p>
<p><span id="more-58"></span></p>
<h2>Customizing the desktop</h2>
<p>Ubuntu Eee comes with a custom desktop designed for small screens by Canonical, called the <a href="http://www.canonical.com/projects/ubuntu/nbr">Ubuntu Netbook Remix</a>. It&#8217;s a group of modifications that create more screen space and provide a slick application launcher instead of the normal desktop. It&#8217;s nice, but I found it hard to customize to my liking.</p>
<p>There are <span class="removed_link" title="http://www.ubuntu-eee.com/wiki/index.php5?title=How_to_use_Ubuntu_Eee_8.04.1%27s_Regular_Desktop_mode_instead_of_the_Netbook_Remix_interface">ways</span> of totally replacing the NBR interface with the normal Ubuntu desktop. But I liked some aspects of NBR, like the Maximus window switcher that keeps windows maximized by default. How to just get the desktop back and turn the NBR &#8220;Show desktop launcher&#8221; button (top left) into an applications menu?</p>
<p><a href="http://www.freesoftwaremagazine.com/columns/ubuntu_netbook_remix_detailed_explanation">This page explaining NBR</a> proved very useful. In the end, it boils down to this:</p>
<ol>
<li>Launch Synaptic, and press &#8220;Status&#8221; in the bottom left. Then select &#8220;Installed&#8221; in the top left, to show installed packages.</li>
<li>Scroll down and &#8220;Mark for Removal&#8221; both &#8220;ume-launcher&#8221; (the replacement desktop) and &#8220;go-home-applet&#8221; (the &#8220;go to desktop&#8221; button, top left). Click &#8220;Apply&#8221;.</li>
<li>Now you&#8217;re stuck. There&#8217;s no way to launch applications! Don&#8217;t worry. What you need to do is to customize the panel, the bar across the top, by right-clicking in an empty space. If there isn&#8217;t any space, right-click on something and move it (you might need to unlock it first). Play around. When you get some space, a right-click should give the option &#8220;Add to Panel&#8221;. Select &#8220;Main menu&#8221;.</li>
<li>Now you can use right-click, lock-unlock, move, to get things how you want them along the top panel. Right-click the main menu and &#8220;Edit menus&#8221; to&#8230; well, you get the idea.</li>
<li>If you still need a &#8220;Show desktop&#8221; button, there&#8217;s one in the &#8220;Add to Panel&#8221; thingy.</li>
</ol>
<h2>Shell scripts</h2>
<p>On Windows, I had a few batch files on the desktop for me to quickly start/stop/restart ColdFusion, at least. How to do the same on Linux?</p>
<p>The equivalent of batch files on Linux are shell scripts. Like batch files, plain text files, but with <code>.sh</code> extensions instead of <code>.bat</code>. Here&#8217;s the basic process, using CF control commands as an example:</p>
<ol>
<li>Create a text file for each command you want to be able to run. The files should have the <code>.sh</code> extension, and you can keep them wherever you want. For CF, the three I&#8217;ve created (each line in a separate file) are:<br />
<code>sudo /opt/coldfusion8/bin/coldfusion start</code><br />
<code>sudo /opt/coldfusion8/bin/coldfusion stop</code><br />
<code>sudo /opt/coldfusion8/bin/coldfusion restart</code></li>
<li>For each file, right-click to select &#8220;Properties&#8221; and then the &#8220;Permissions&#8221; tab. Tick &#8220;Allow executing file as program&#8221;.</li>
<li>On the desktop, right-click and &#8220;Create launcher&#8221;. Select &#8220;Application in Terminal&#8221;, type a name for the launcher shortcut, and browse to the relevant shell script file.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://sltaylor.co.uk/blog/customizing-netbook-remix-creating-shell-script-shortcuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  sltaylor.co.uk/blog/category/linux/feed/ ) in 0.24132 seconds, on Feb 4th, 2012 at 2:19 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 4th, 2012 at 3:19 am UTC -->
