<?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>FettesPS &#187; gnome</title>
	<atom:link href="http://www.fettesps.com/tag/gnome/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fettesps.com</link>
	<description>Fettes Programming Solutions</description>
	<lastBuildDate>Sun, 22 Jan 2012 18:21:51 +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>Installing the Arduino IDE on Linux Mint</title>
		<link>http://www.fettesps.com/installing-the-arduino-ide-on-linux-mint/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installing-the-arduino-ide-on-linux-mint</link>
		<comments>http://www.fettesps.com/installing-the-arduino-ide-on-linux-mint/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 12:43:38 +0000</pubDate>
		<dc:creator>FettesPS</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[atmega128]]></category>
		<category><![CDATA[ATMega328]]></category>
		<category><![CDATA[avr]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[diecimila]]></category>
		<category><![CDATA[duemillanove]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux mint]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.fettesps.com/?p=761</guid>
		<description><![CDATA[The Arduino Playground does a pretty good job of directing users on how to install Arduino on Debian based distributions but there were a couple of spots where I found it was lacking, and had to go out to do my own research. The main thing it lacked was instructions on how to set up [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.fettesps.com/wp-content/uploads/2009/12/arduino.png"><img src="http://www.fettesps.com/wp-content/uploads/2009/12/arduino.png" alt="arduino" title="arduino" width="128" height="128" class="aligncenter size-full wp-image-770" style="float:left; margin: 3px 10px 3px 0px" /></a></p>
<p>The Arduino Playground does a pretty good job of directing users on how to install Arduino on Debian based distributions but there were a couple of spots where I found it was lacking, and had to go out to do my own research.  The main thing it lacked was instructions on how to set up a launcher for your desktop or Gnome menu.  I will outline those at the end of this guide, but first I will give you a quick overview of the installation process from the start as I performed it on both my Linux Mint laptop and my Ubuntu 9.10 desktop.  Although this guide was written with Linux Mint users in mind, there is absolutely no reason this will not work on other Debian based distros.</p>
<p>Open up your console and run the following commands to install some necessary prerequisites.  If you know for a fact you have them installed you can skip installing them again.  You will most likely be prompted to enter Y before the installation will begin.</p>
<pre class="brush: bash; title: ; notranslate">sudo apt-get install sun-java5-jre
sudo apt-get install gcc-avr
sudo apt-get install avr-libc</pre>
<p>Now that you have the prerequisites installed you will need to <a href="http://arduino.googlecode.com/files/arduino-0017.tgz">download</a> the newest version of Arduino.  You can save it to your desktop for now.  After it has finished downloading open up the folder and extract it to your desired location (such as your home directory) or you can do it in your console as well:</p>
<pre class="brush: bash; title: ; notranslate">tar xvzf ~/Desktop/arduino-0017.tgz ~/Arduino</pre>
<p>At this point it is safe to delete the tarball on your desktop.  </p>
<p>At this point Arduino is installed and ready to use. This is also where the Arduino Playground leaves you hanging, no one wants to open up their console every time to launch a program or browse to it with their file explorer.  I initially tried creating an installer just as I normally would, by pointing it to ~/Arduino/arduino) only to find that the program did not launch when I clicked it.  So I then created a bash script which called the same file and made sure it was executable.  Still nothing!  So that&#8217;s when I realized that I had to do things a bit differently.  Nothing too fancy, just a slightly different way of approaching it.</p>
<p>First create an empty bash file and make it executable.  </p>
<pre class="brush: bash; title: ; notranslate">touch ~/Arduino/runArduino.sh
chmod a+x ~/Arduino/runArduino.sh</pre>
<p>Then open it in your favourite text editor (e.g. emacs or pico), and add the following contents to your bash script:</p>
<pre class="brush: bash; title: ; notranslate">#!/bin/bash
cd ~/Applications/Arduino &amp;&amp; ./arduino</pre>
<p>Save the file and close your terminal.  Right click the Gnome menu and select <strong>Add to Panel</strong>.  Select <strong>Custom Application Launcher</strong> and hit <strong>Add</strong>.  Enter <strong>Arduino</strong> for the name, and in the path put <strong>/home/username/Arduino/runArduino.sh</strong>. You can also select an icon for the launcher, which is another place Linux users were left out in the cold as the tarball does not contain an SVG file. Fortunately, I did manage to dig up a <a href="http://www.fettesps.com/wp-content/uploads/2009/12/arduino.png">PNG version</a> to use. Save this icon to your install directory and select it by clicking the &#8220;spring&#8221; icon and navigating to your install directory.  From there click close to save the settings and add the launcher to your panel.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fettesps.com/installing-the-arduino-ide-on-linux-mint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling Emacs Keybindings in Gnome</title>
		<link>http://www.fettesps.com/ubuntu-emacs-keybindings/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ubuntu-emacs-keybindings</link>
		<comments>http://www.fettesps.com/ubuntu-emacs-keybindings/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 16:40:27 +0000</pubDate>
		<dc:creator>FettesPS</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[gconf-editor]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[gtk]]></category>
		<category><![CDATA[lisp]]></category>

		<guid isPermaLink="false">http://www.fettesps.com/?p=848</guid>
		<description><![CDATA[A while back I discovered a post on someone&#8217;s blog that talked about using Emacs key bindings in bash. Since then my efficiency in bash has gone up drastically as these key bindings are second nature to me. This is definitely one of those cases where you wish you could go back in time to [...]]]></description>
			<content:encoded><![CDATA[<p>A while back I discovered a post on someone&#8217;s blog that talked about using Emacs key bindings in bash.  Since then my efficiency in bash has gone up drastically as these key bindings are second nature to me.  This is definitely one of those cases where you wish you could go back in time to tell yourself something because you discovered it much too late in life. Today I learned this can be taken a step further.  If you use Gnome as your window manager you can enable it to use the emacs key bindings as well.  This will work for any Gnome applications that were built using GTK.</p>
<p><a href="http://www.fettesps.com/wp-content/uploads/2010/04/gconf_emacs.png"><img src="http://www.fettesps.com/wp-content/uploads/2010/04/gconf_emacs-300x247.png" alt="" title="gconf_emacs" width="300" height="247" class="alignnone size-medium wp-image-868" /></a></p>
<p>At one point in time these bindings were enabled by default, however they were eventually disabled in the default configuration.  This was supposedly for the intent of simplifying Gnome.  To re-enable these key bindings hit F2 and enter <strong>gconf-editor</strong> or you can also enter it into the shell. For those not familiar with gconf, it&#8217;s similar to Windows Registry but a lot less temperamental and cluttered. Navigate to <strong>/desktop/gnome/interface/gtk_key_theme</strong> and change the entry from <strong>Default </strong> to <strong>Emacs</strong> and close gconf-editor. The change should be immediate, however some applications will pick up the change immediately.  To test it out, start up Firefox and try doing a kill (c+k) and then yank (c+y), it should work just as it would within emacs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fettesps.com/ubuntu-emacs-keybindings/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How To Disable the Trackpad in Ubuntu</title>
		<link>http://www.fettesps.com/how-to-disable-the-trackpad-in-ubuntu/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-disable-the-trackpad-in-ubuntu</link>
		<comments>http://www.fettesps.com/how-to-disable-the-trackpad-in-ubuntu/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 08:07:43 +0000</pubDate>
		<dc:creator>FettesPS</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gtk]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://www.fettesps.com/?p=765</guid>
		<description><![CDATA[Every laptop user has experience this, you&#8217;re typing away and without noticing you graze over the trackpad and your cursor jumps to the middle of the first paragraph. By the time you notice you&#8217;ve injected half of the third paragraph into the first. After correcting that typo you find yourself doing the same thing only [...]]]></description>
			<content:encoded><![CDATA[<p>Every laptop user has experience this, you&#8217;re typing away and without noticing you graze over the trackpad and your cursor jumps to the middle of the first paragraph.  By the time you notice you&#8217;ve injected half of the third paragraph into the first.  After correcting that typo you find yourself doing the same thing only moments later.  Fear not, there is a solution to this madness.</p>
<p>The first thing you&#8217;ll need to do is tweak your xorg.conf file, before doing that you should backup your existing configuration. In the event that you make a mistake you can restore it by restoring it in your terminal.</p>
<pre class="brush: bash; title: ; notranslate">sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak</pre>
<p>Now that you&#8217;ve created a backup, open xorg.conf in your favourite text editor.</p>
<pre class="brush: bash; title: ; notranslate">sudo pico /etc/X11/xorg.conf</pre>
<p>Look for a section named &#8220;InputDevice&#8221; or create it if it does not exist.</p>
<pre class="brush: bash; title: ; notranslate">Section &quot;InputDevice&quot;
    Identifier &quot;Synaptics Touchpad&quot;
    Driver &quot;synaptics&quot;
    Option &quot;SendCoreEvents&quot; &quot;true&quot;
    Option &quot;Device&quot; &quot;/dev/psaux&quot;
    Option &quot;Protocol&quot; &quot;auto-dev&quot;
    Option &quot;HorizScrollDelta&quot; &quot;0&quot;
    Option &quot;SHMConfig&quot; &quot;on&quot;
EndSection</pre>
<p>The line you want to pay attention to here is the one regarding SHMConfig, this will disable the trackpad while typing.  But you&#8217;re not quite done yet.  Next hit Alt+F2 which will give you the Run Application dialog. Enter the following command and hit Run:</p>
<pre class="brush: bash; title: ; notranslate">/usr/bin/syndaemon -d -t -i 2</pre>
<p>Afterwards, restart your display manager by holding Alt and hitting Backspace.  Your keypad is now disabled!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fettesps.com/how-to-disable-the-trackpad-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing Mounted Drives from the Gnome Desktop</title>
		<link>http://www.fettesps.com/removing-mounted-drives-from-the-desktop-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=removing-mounted-drives-from-the-desktop-2</link>
		<comments>http://www.fettesps.com/removing-mounted-drives-from-the-desktop-2/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 02:49:37 +0000</pubDate>
		<dc:creator>FettesPS</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[fat32]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[nautilis]]></category>
		<category><![CDATA[ntfs]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.fettesps.com/?p=186</guid>
		<description><![CDATA[One of the things I found annoying with Gnome is that any time I access one of my Fat32/NTFS partitions it ends up placing an icon on the desktop until I reboot.  Since I do most of my programming in a transparent shell I like to keep my desktop clean.  After doing a bit of [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things I found annoying with Gnome is that any time I access one of my Fat32/NTFS partitions it ends up placing an icon on the desktop until I reboot.  Since I do most of my programming in a transparent shell I like to keep my desktop clean.  After doing a bit of research I found a solution:</p>
<p><code>Hit Alt+F2 and run <span style="font-style: italic;">gconf-editor</span><br />
Go to <span style="font-style: italic;">Apps</span> -&gt; <span style="font-style: italic;">Nautilus</span> -&gt; <span style="font-style: italic;">Desktop</span><br />
Remove the check mark from <span style="font-style: italic;">volumes_visible</span></code></p>
<p>You&#8217;ll notice that the Configuration Editor (gconf-editor) is similar to Window&#8217;s Registry Editor.  With that being said, use the same amount of caution you&#8217;d use when editing your Window&#8217;s Registry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fettesps.com/removing-mounted-drives-from-the-desktop-2/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>

