<?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>Blog.ubrious &#187; Ubuntu</title>
	<atom:link href="http://blog.ubrio.us/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ubrio.us</link>
	<description>An Ordinary Web Developer's Blog</description>
	<lastBuildDate>Thu, 19 Jan 2012 00:44:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Review &#8211; Wacom Graphire4 on Ubuntu Feisty Fawn</title>
		<link>http://blog.ubrio.us/ubuntu/review-wacom-graphire4-on-ubuntu-feisty-fawn/</link>
		<comments>http://blog.ubrio.us/ubuntu/review-wacom-graphire4-on-ubuntu-feisty-fawn/#comments</comments>
		<pubDate>Sun, 22 Jul 2007 20:50:33 +0000</pubDate>
		<dc:creator>Rob Hurring</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[wacom]]></category>

		<guid isPermaLink="false">http://blog.ubrio.us/ubuntu/review-wacom-graphire4-on-ubuntu-feisty-fawn/</guid>
		<description><![CDATA[I finally cracked. This is what happens when you&#8217;re left alone for a few hours and start messing around in Inkscape. To be fair, however, I&#8217;ve wanted a graphic tablet for a long time &#8212; I could just never really justify the cost since I don&#8217;t draw too much. Anyway, I broke down and bought [...]]]></description>
			<content:encoded><![CDATA[<p>I finally cracked. This is what happens when you&#8217;re left alone for a few hours and start messing around in <A href="http://www.inkscape.org/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.inkscape.org/?referer=');">Inkscape</a>. To be fair, however, I&#8217;ve wanted a graphic tablet for a long time &#8212; I could just never really justify the cost since I don&#8217;t draw too much. Anyway, I broke down and bought one knowing full well what a PIA it would be to get running &#8216;as expected&#8217; under linux. But, it fucking rocks!</p>
<p><strong>First Thoughts</strong></p>
<p>My 2 biggest fears were: a) a lot of work to make it work &#038; b) it would conflict with my ordinary mouse (I&#8217;m not a huge fan of using mouse pads or their POS mouse on the tablet. Adhering to the linux mentality that a tool should do 1 job very well, the Wacom &#8220;mouse&#8221; just wasn&#8217;t in my best interest).</p>
<p><em>Fear A:</em> The tablet was immediately recognized by Ubuntu &#8212; bonus! Apparently Ubuntu already came with the drivers for Wacom, althought I did install wacom-tools [<code>sudo apt-get install wacom-tools</code>] &#8212; not really sure what those do, but it can&#8217;t hurt, right? <img src='http://blog.ubrio.us/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><em>Fear B:</em> My ordinary mouse still works as it should &#8212; now I can throw away this god-awful &#8216;only works on a 4&#215;5&#8243; surface&#8217; mouse.</p>
<p><strong>New Thoughts</strong></p>
<p>Still buzzing with excitement from my impulse buy and no-shit configuration I started to get giddy. Pop open the Gimp &#038; Inkscape and see what my hard earned dollars actually did for me. Ouch, disappointment. Anyone who knows me can tell that I&#8217;m not the most gentle person on gadgets &#8212; in fact, I tend to put them through hell. The damn stylus was WAY too sensitive for my brutish handwork. I basically expected this thing to work like a mouse &#8212; it moves around and when I click a button it draws. Stupid of me to assume that give its pressure-sensitive nature, but, I&#8217;m impulsive.</p>
<p><strong>Fears shattered and dreams recognized &#8212; at long last!</strong></p>
<p>I began digging around to make this thing work how I wanted it to work. Ubuntu community didn&#8217;t really have the answers I needed, so I turned to my good &#8216;ole pal: <code>man</code>. With a little investigation into <code>man wacom</code> I noticed a nice little setting for xorg.conf called &#8220;Threshold.&#8221; This would allow me to adjust the sensitivity on the stylus to engage the clicking. It states that the default threshold is roughly (MaxPressure*3/50) &#8212; which came out to ~30&#8230; way too soft for me. I pushed that bitch up to around 220 and now its working perfectly. Hooray! </p>
<p><strong>EOF;</strong></p>
<p>All in all, I&#8217;d highly recommend this for anyone who was considering a graphic tablet but was curious to see how it would work under linux first. Definitely a good buy and worth the money <img src='http://blog.ubrio.us/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><em>Other Config Stuff</em> </p>
<p>Setting up GIMP was simple enough. In File>Preferences>Input Devices>Configure Extended Input Devices you just set the eraser, stylus and cursor to &#8216;Screen&#8217; and you now have a fully functional tablet.</p>
<p>Inkscape was the same. File>Input Devices just set them all to &#8216;Screen.&#8217; When using the Pen (<code>c</code>) just make sure to click the &#8216;Use Pressure&#8217; and &#8216;Use Tilt&#8217; actions to get the best results. </p>
<p>In /etc/X11/xorg.conf I also set the following under &#8220;Stylus&#8221;:</p>
<p><code>Option        "PressCurve"    "50,0,100,50"         # Custom preference</code><br />
This should let make the pressure curve a little stronger.</p>
<p><strong>More Information &#038; Links</strong><br />
<a href="https://help.ubuntu.com/community/Wacom" target="_blank" onclick="pageTracker._trackPageview('/outgoing/help.ubuntu.com/community/Wacom?referer=');">Ubuntu:Community:Wacom</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ubrio.us/ubuntu/review-wacom-graphire4-on-ubuntu-feisty-fawn/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Custom Global Keybindings in Gnome / Ubuntu</title>
		<link>http://blog.ubrio.us/nix/custom-global-keybindings-in-gnome-ubuntu/</link>
		<comments>http://blog.ubrio.us/nix/custom-global-keybindings-in-gnome-ubuntu/#comments</comments>
		<pubDate>Sat, 14 Jul 2007 00:22:09 +0000</pubDate>
		<dc:creator>Rob Hurring</dc:creator>
				<category><![CDATA[Gnome]]></category>
		<category><![CDATA[Nix]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.ubrio.us/gnome/custom-global-keybindings-in-gnome-ubuntu/</guid>
		<description><![CDATA[Simple custom keybindings in Gnome/Ubuntu
Gnome&#8217;s default keybinding app sucks (maybe Linus was right and Gnome treats its users like idiots? sucks for me I guess). Here is a way to bind anything you&#8217;d like to any key you&#8217;d like, globally. I found this useful because I naturally use WIN-E for an explorer or WIN-R for [...]]]></description>
			<content:encoded><![CDATA[<h3>Simple custom keybindings in Gnome/Ubuntu</h3>
<p>Gnome&#8217;s default keybinding app sucks (maybe Linus was right and Gnome treats its users like idiots? sucks for me I guess). Here is a way to bind anything you&#8217;d like to any key you&#8217;d like, globally. I found this useful because I naturally use WIN-E for an explorer or WIN-R for a run dialog and I couldn&#8217;t get that working the right way through Gnome&#8217;s default shortcut app (/System/Preferences/Keyboard Shortcuts).</p>
<p>Anyway, doing this is really simple. Open up a terminal and type <code>gconf-editor</code>. Browse the /app/Metacity/global_keybindings and keybinding_commands. Edit the corresponding global_keybinding command_# to the keybinding_command command_# and you&#8217;re golden.</p>
<p><em>Click for larger view</em><br />
<a href="http://pic.ubrio.us/blog_images/gconf-editor-keybindings.png" rel="gallery[a]" title="Your keybindings 1-12. You can use the windows key, hooray! :)"  class='lightview' onclick="pageTracker._trackPageview('/outgoing/pic.ubrio.us/blog_images/gconf-editor-keybindings.png?referer=');"><img src="http://pic.ubrio.us/blog_images/gconf-editor-keybindings-sm.png" /></a></p>
<p><em>Click for larger view</em><br />
<a href="http://pic.ubrio.us/blog_images/gconf-editor-commands.png" rel="gallery[a]" title="Custom Commands 1-12 :: Corresponds to your keybindings 1-12"  class='lightview' onclick="pageTracker._trackPageview('/outgoing/pic.ubrio.us/blog_images/gconf-editor-commands.png?referer=');"><img src="http://pic.ubrio.us/blog_images/gconf-editor-commands-sm.png" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ubrio.us/nix/custom-global-keybindings-in-gnome-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Subdomain Localhost &#8212; Ubuntu / OSX</title>
		<link>http://blog.ubrio.us/web/how-to-subdomain-localhost-ubuntu-osx/</link>
		<comments>http://blog.ubrio.us/web/how-to-subdomain-localhost-ubuntu-osx/#comments</comments>
		<pubDate>Fri, 13 Jul 2007 23:48:48 +0000</pubDate>
		<dc:creator>Rob Hurring</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Nix]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://blog.ubrio.us/gnome/how-to-subdomain-localhost-ubuntu-osx/</guid>
		<description><![CDATA[Using Gnome + Ubuntu (7.04 Feisty Fawn) + Apache 2
Step 1:
In gnome goto System -> Administration -> Network and click on the &#8216;Hosts&#8217; tab
Step 2:
For your normal localhost (127.0.0.1) double-click or hit &#8216;properties&#8217; to edit it. Add your list of subdomains under localhost.
*Ignore the text in this pic, I overlooked that you had to include [...]]]></description>
			<content:encoded><![CDATA[<h3>Using <a href="http://www.gnome.org/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.gnome.org/?referer=');">Gnome</a> + <a href="http://www.ubuntu.com/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.ubuntu.com/?referer=');">Ubuntu (7.04 Feisty Fawn)</a> + Apache 2</h3>
<p><strong>Step 1:</strong><br />
In gnome goto System -> Administration -> Network and click on the &#8216;Hosts&#8217; tab</p>
<p><strong>Step 2:</strong><br />
For your normal localhost (127.0.0.1) double-click or hit &#8216;properties&#8217; to edit it. Add your list of subdomains under localhost.</p>
<p><em>*<strong>Ignore the text in this pic, I overlooked that you had to include _all_ aliases in the same box. Whoops</strong></em><br />
<img src="http://pic.ubrio.us/blog_images/subdomain/host-alias-settings.png" /></p>
<p><strong>Step 3:</strong><br />
<small>The fun step</small><br />
Open a terminal and type <code>sudo gedit /etc/apache2/sites-available/default</code> &#8212; assuming you&#8217;re using the &#8220;default&#8221; httpd.conf. Chances are that you will be, and if you aren&#8217;t you should know what file I&#8217;m talking about anyway. (If you don&#8217;t, just load one of the enabled apache configuration files)</p>
<p>Change these lines:</p>
<pre>
NameVirtualHost *
&lt;VirtualHost *>
</pre>
<p><em>to</em></p>
<pre>
NameVirtualHost 127.0.0.1
&lt;VirtualHost 127.0.0.1>
</pre>
<p><strong>Step 4:</strong><br />
Add the following (for each subdomain you made) &#8212; changing the ServerName to whatever you aliased in the network host dialogue and DocumentRoot to wherever you want the subdomain to point.</p>
<pre>
&lt;VirtualHost 127.0.0.1>
	ServerName mysql.localhost
	DocumentRoot /var/www/phpmyadmin
&lt;/VirtualHost>
</pre>
<p><strong>Step 5:</strong><br />
In a terminal type: <code>sudo apache2ctl restart</code><br />
When that finishes, browse to http://mysql.localhost and you should see phpMyAdmin (going by my example)</p>
<h3>On OSX + Apache 1.33</h3>
<p><strong>Step 1:</strong><br />
Open /Applications/Utilities/NetInfo Manager and click on &#8220;machines&#8221;<br />
I usually just duplicate the localhost settings, or just create a new record below localhost that is something like:</p>
<p>ip_address: 127.0.0.1<br />
name: mysql.localhost<br />
serves: ./local</p>
<p><em>Click for bigger version</em><br />
<a href="http://pic.ubrio.us/blog_images/subdomain/osx-host-dialog.png" rel="gallery[a]" title="This is how my hosts dialog looks on OSX"  class='lightview' onclick="pageTracker._trackPageview('/outgoing/pic.ubrio.us/blog_images/subdomain/osx-host-dialog.png?referer=');"><img src="http://pic.ubrio.us/blog_images/subdomain/osx-host-dialog-sm.png" /></a></p>
<p><strong>Step 2:</strong><br />
Repeat Steps 3-5 above only editing &#8220;/etc/httpd/users/{yourname}.conf&#8221; instead.</p>
<p><em>Click for bigger version</em><br />
<a href="http://pic.ubrio.us/blog_images/subdomain/config-changes.png" rel="gallery[a]" class='lightview' title="This is how my httpd.conf file looks on OSX" onclick="pageTracker._trackPageview('/outgoing/pic.ubrio.us/blog_images/subdomain/config-changes.png?referer=');"><img src="http://pic.ubrio.us/blog_images/subdomain/config-changes-sm.png" /></a></p>
<p>Restart Apache and hopefully all went well. I found this useful because I hate typing unnecessary paths <img src='http://blog.ubrio.us/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ubrio.us/web/how-to-subdomain-localhost-ubuntu-osx/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Ubuntu Error: Hal failed to initialize &amp; udev address already in use &#8211; Solution</title>
		<link>http://blog.ubrio.us/nix/ubuntu-error-hal-failed-to-initialize-udev-address-already-in-use-solution/</link>
		<comments>http://blog.ubrio.us/nix/ubuntu-error-hal-failed-to-initialize-udev-address-already-in-use-solution/#comments</comments>
		<pubDate>Tue, 26 Jun 2007 04:06:51 +0000</pubDate>
		<dc:creator>Rob Hurring</dc:creator>
				<category><![CDATA[Gnome]]></category>
		<category><![CDATA[Nix]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.ubrio.us/gnome/ubuntu-error-hal-failed-to-initialize-udev-address-already-in-use-solution/</guid>
		<description><![CDATA[This is more for me in case it ever happens again. My system froze up while doing some stupid stuff (namely pressing keys I shouldn&#8217;t be pressing) so i force-rebooted it (aka: kicked the surge protector). When I re-booted I got the &#8220;Hal failed to initialize&#8221; message which is apparently pretty common and was supposed [...]]]></description>
			<content:encoded><![CDATA[<p>This is more for me in case it ever happens again. My system froze up while doing some stupid stuff (namely pressing keys I shouldn&#8217;t be pressing) so i force-rebooted it (aka: kicked the surge protector). When I re-booted I got the &#8220;Hal failed to initialize&#8221; message which is apparently pretty common and was supposed to be a pain in the ass to fix.</p>
<p>Theres a few common solutions:</p>
<p><strong><a href="http://beans.seartipy.com/2006/11/25/ubuntu-610-annoyance-failed-to-initialize-hal-error" target="_blank" onclick="pageTracker._trackPageview('/outgoing/beans.seartipy.com/2006/11/25/ubuntu-610-annoyance-failed-to-initialize-hal-error?referer=');">Every Flavour Beans</a></strong> mentions its either a login timing (GDM) issue, or a samba auto-mount issue. The solution there was to either: a) disable all samba shares (I&#8217;m not 100% if they meant temporarily or forever &#8212; either way, this was a last resort since I hate this kind of stuff) and b) disabling automatic logins through gnome&#8217;s GDM.</p>
<p>I didn&#8217;t have auto-login enabled, so I figured &#8220;what the hell&#8221; and set it to auto-login with a 10 second timer. When I re-logged I didn&#8217;t get the HAL error, but I also didn&#8217;t get my auto mounted drives back. Shit. Next.</p>
<p>I decided to poke around a bit more to see what the bigger picture is. I knew it couldn&#8217;t be a big issue since I wasn&#8217;t installing/configuring/etc. at the time of the crash &#8212; something just got &#8220;stuck.&#8221; I stumbled upon another site which mentioned running <code>sudo /usr/sbin/hald --daemon=no --verbose=yes</code> to view the output.</p>
<p>After running that I got a suspicious message pointing to the real issue: <code>Error binding udev_event socket: Address already in use</code>. Damn udev. Anyways, I tossed up a <code>sudo /etc/init.d/udev restart</code> and re-booted. Lo and behold &#8211; all is well.</p>
<p>(Again, this post is more for my future reference in case I get this error again)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ubrio.us/nix/ubuntu-error-hal-failed-to-initialize-udev-address-already-in-use-solution/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

