<?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>rvdavid: A Web Developer&#039;s Blog &#187; Ubuntu</title> <atom:link href="http://www.rvdavid.net/category/linux/ubuntu/feed/" rel="self" type="application/rss+xml" /><link>http://www.rvdavid.net</link> <description>A periodical blog of experiences from the angle of an autodidactic, paranoid and narcissistic web developer...</description> <lastBuildDate>Wed, 01 Sep 2010 12:47:15 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator><meta
xmlns="http://www.w3.org/1999/xhtml" name="robots" content="noindex,follow" /> <item><title>Fixing Gnome keyring / Login Keyring: &#8220;Enter Password to Unlock&#8221; issue</title><link>http://www.rvdavid.net/fixing-gnome-keyring-login-keyring-enter-password-to-unlock-issue/</link> <comments>http://www.rvdavid.net/fixing-gnome-keyring-login-keyring-enter-password-to-unlock-issue/#comments</comments> <pubDate>Wed, 01 Sep 2010 12:42:36 +0000</pubDate> <dc:creator>rvdavid</dc:creator> <category><![CDATA[Ubuntu]]></category><guid
isPermaLink="false">http://www.rvdavid.net/?p=416</guid> <description><![CDATA[Hi everyone, this is just a quick how-to on handling the Ubuntu Maverick/Gnome Login Keyring issue which occurs when you change your user password. The issue: You&#8217;ve decided to change your password for whatever reason and suddenly you&#8217;re presented with the following message whenever you launch an application you have instructed to &#8220;remember&#8221; your password. [...]]]></description> <content:encoded><![CDATA[<div
class="adsense adsense-leadin" style="float:right;margin: 12px;"><script type="text/javascript">google_ad_client = "pub-3968550303568935";
/* 250x250, created 07/06/10 */
google_ad_slot = "3782770990";
google_ad_width = 250;
google_ad_height = 250;</script> <script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div><p>Hi everyone, this is just a quick how-to on handling the Ubuntu Maverick/Gnome Login Keyring issue which occurs when you change your user password.</p><p>The issue: You&#8217;ve decided to change your password for whatever reason and suddenly you&#8217;re presented with the following message whenever you launch an application you have instructed to &#8220;remember&#8221; your password.</p><p><strong>Enter password to unlock your login keyring</strong><br
/> The password you use to log in to your computer no longer matches that of your login keyring.</p><p><strong>This is how you fix it: </strong><br
/> <span
id="more-416"></span></p><p>Step 1: Go to <strong>System</strong> &gt;&gt; <strong>Preferences</strong> &gt;&gt; <strong>Passwords and Encryption Keys</strong>.<br
/> Step 2: If not already open, click on the &#8220;<strong>Passwords</strong>&#8221; tab.<br
/> Step 3: Right click on: &#8220;<strong>Passwords: Login</strong>&#8220;.<br
/> Step 4: From the context menu select: &#8220;<strong>Change Password</strong>&#8220;.<br
/> Step 5: Enter the Current password in the &#8220;<strong>Old Password</strong>&#8221; field.<br
/> Step 6: Enter the password you would like to change it to in the &#8220;<strong>Password</strong>&#8221; field.<br
/> Step 7: Enter the password you would like to change to again in the &#8220;<strong>Confirm</strong>&#8221; field.<br
/> Step 8: Click &#8220;<strong>OK</strong>&#8220;.</p><p>After this, relaunch the application which uses Gnome Keyring, you may have to re-enter your password, but after that, Gnome Keyring should remember your password for each subsequent launch.</p> ]]></content:encoded> <wfw:commentRss>http://www.rvdavid.net/fixing-gnome-keyring-login-keyring-enter-password-to-unlock-issue/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Setting TTY / Virtual Consoles resolution with Grub 2 in Ubuntu Lucid Lynx</title><link>http://www.rvdavid.net/setting-tty-virtual-consoles-resolution-with-grub-2-in-ubuntu-lucid-lynx/</link> <comments>http://www.rvdavid.net/setting-tty-virtual-consoles-resolution-with-grub-2-in-ubuntu-lucid-lynx/#comments</comments> <pubDate>Tue, 22 Jun 2010 23:45:58 +0000</pubDate> <dc:creator>rvdavid</dc:creator> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[grub2]]></category> <category><![CDATA[Linux]]></category><guid
isPermaLink="false">http://www.rvdavid.net/?p=411</guid> <description><![CDATA[I&#8217;ve been using Ubuntu for a while now and something that bugged me a lot was the crappy screen resolution whenever I had to go and use my virtual terminals (TTY). In previous versions of ubuntu which used grub 1, setting up the resolution for tty was done by simply using the vga=??? boot option. [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;ve been using Ubuntu for a while now and something that bugged me a lot was the crappy screen resolution whenever I had to go and use my virtual terminals (TTY).</p><p>In previous versions of ubuntu which used grub 1, setting up the resolution for tty was done by simply using the vga=??? boot option. In grub 2 however, this is not so easy.</p><p>I remember when it first came out. I was somewhat exasperated by the fact that I had _just_ become comfortable f*cking with grub&#8217;s menu.lst and now I had to learn how to use grub 2 &#8211; which had some new convention for editing menu items let alone setting up the resolution.</p><p>Anyway, there&#8217;s really nothing to it. I had to do a lot of digging around and some experimentation, but in the end, as with all things linux it was &#8220;easy&#8221; when I finally found out how.<span
id="more-411"></span></p><p><strong>Step 1:</strong> Open up your the grub header file stored in /etc/grub.d/00_header<br
/> <code><br
/> $ sudo vim /etc/grub.d/00_header<br
/> </code></p><p><strong>Step 2:</strong> Add a command inside the block of string with script that sets the gfxmode. Acceptable Set the gfxpayload parameter to the resolution you want to use for your virtual terminals / TTY.</p><p>SO for me, lines 101 &#8211; 113 of the 00_header file in /etc/grub.d looks like this<br
/> <code><br
/> 101     cat &lt;&lt; EOF<br
/> 102 if loadfont `make_system_path_relative_to_its_root ${GRUB_FONT_PATH}` ; then<br
/> 103   set gfxmode=${GRUB_GFXMODE}<br
/> 104   insmod gfxterm<br
/> 105   insmod ${GRUB_VIDEO_BACKEND}<br
/> 106   if terminal_output gfxterm ; then true ; else<br
/> 107     # For backward compatibility with versions of terminal.mod that don't<br
/> 108     # understand terminal_output<br
/> 109     terminal gfxterm<br
/> 110   fi<br
/> 111   #set gfx payload - use your own resolution here. I have a 19 inch monitor which natively supports 1440x900<br
/> 112   set gfxpayload=1440x900x32<br
/> 113 EOF<br
/> </code></p><p><strong>Step 3:</strong> After you save the file, go back to the terminal and run update-grub2 as root.</p><p><code><br
/> $ sudo update-grub2<br
/> </code></p><p>Your terminal should look like this:<br
/> <code><br
/> $ sudo update-grub2<br
/> Generating grub.cfg ...<br
/> Found linux image: /boot/vmlinuz-2.6.32-23-generic<br
/> Found initrd image: /boot/initrd.img-2.6.32-23-generic<br
/> Found memtest86+ image: /boot/memtest86+.bin<br
/> done<br
/> </code></p><p>And that&#8217;s it. On your next boot, you should see your console displayed in the resolution you used for setting gfxpayload.</p> ]]></content:encoded> <wfw:commentRss>http://www.rvdavid.net/setting-tty-virtual-consoles-resolution-with-grub-2-in-ubuntu-lucid-lynx/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Ubuntu Karmic: No Sound on Battle for Wesnoth?</title><link>http://www.rvdavid.net/ubuntu-karmic-no-sound-on-battle-for-wesnoth/</link> <comments>http://www.rvdavid.net/ubuntu-karmic-no-sound-on-battle-for-wesnoth/#comments</comments> <pubDate>Mon, 16 Nov 2009 23:13:08 +0000</pubDate> <dc:creator>rvdavid</dc:creator> <category><![CDATA[Ubuntu]]></category><guid
isPermaLink="false">http://blog.rvdavid.net/?p=173</guid> <description><![CDATA[There are times when I feel like procrastinating and when I do, sometimes I like play the popular turn-based RTS game Battle for Wesnoth. I like to play BfW with sound though. I like hearing Delfador&#8216;s thunder clap when he lowers the boom on an orc Chieftain twice his size and I like hearing the [...]]]></description> <content:encoded><![CDATA[<p>There are times when I feel like procrastinating and when I do, sometimes I like play the popular turn-based RTS game <a
title="Battle for Wesnoth" href="http://www.wesnoth.org/" target="_blank">Battle for Wesnoth</a>. I like to play BfW with sound though. I like hearing <a
title="Delfador will smite you!" href="http://exong.net/wesnoth-attach/files/delfador_ranged1_288.png" target="_blank">Delfador</a>&#8216;s thunder clap when he lowers the boom on an orc Chieftain twice his size and I like hearing the well put-together background music as I plot to defend against a legion of undead sent by the queen to try and end my attempt at reclaiming the thrown which is rightfully mine.</p><p>Anyway, to fix this issue, I installed the debian SDL library with X11 graphics and Pulse audio compiled Ubuntu Karmic has available in the repository.<br
/> Pulse audio is the default sound system used in Ubuntu Karmic.</p><p><strong>Here&#8217;s the step by step</strong></p><p><strong><span
id="more-173"></span></strong></p><p><strong><span
style="font-weight: normal;"><strong>Step 1</strong>: Install by issuing the following command:</span></strong></p><blockquote><p>sudo aptitude install libsdl1.2debian-pulseaudio<strong> </strong></p></blockquote><p>This will automatically remove libsdl1.2debian-alsa which will trigger a warning presented by dpkg.</p><p><strong>Step 2</strong>: Kill the existing instance of pulseaudio by issuing the following command:</p><blockquote><p>killall pulseaudio</p></blockquote><p><strong>Step 3:</strong> Play Battle for Wesnoth with sound.</p> ]]></content:encoded> <wfw:commentRss>http://www.rvdavid.net/ubuntu-karmic-no-sound-on-battle-for-wesnoth/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Ubuntu Linux: Forcing sound out through your external USB Sound Card</title><link>http://www.rvdavid.net/ubuntu-linux-forcing-sound-out-through-your-external-usb-sound-card/</link> <comments>http://www.rvdavid.net/ubuntu-linux-forcing-sound-out-through-your-external-usb-sound-card/#comments</comments> <pubDate>Tue, 08 Sep 2009 11:53:17 +0000</pubDate> <dc:creator>rvdavid</dc:creator> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[sound]]></category><guid
isPermaLink="false">http://blog.rvdavid.net/ubuntu-linux-forcing-sound-out-through-your-external-usb-sound-card/</guid> <description><![CDATA[So&#8230; long story short, I messed up my headphone jack on my notebook which where I use Ubuntu Karmic Koala Alpha x (6 I think) as my primary OS. Luckily though, I found an old sony external sound card lying around the office at work. One of the artifcats that had been left behind by [...]]]></description> <content:encoded><![CDATA[<p>So&#8230; long story short, I messed up my headphone jack on my notebook which where I use Ubuntu Karmic Koala Alpha x (6 I think) as my primary OS. Luckily though, I found an old sony external sound card lying around the office at work. One of the artifcats that had been left behind by one of the developers of yester-year.</p><p>I thought great! I&#8217;ll plug my headphone into the exteral sound card and I can again block the world out with sound the next time things get rowdy in the development room.</p><p>Everything worked great! Sound was channelled nicely out through the external sound card out of the box via pulseaudio. All except flash (flashplugin-nonfree) which has been hardwired to use my internal sound card. I don&#8217;t know what the particulars are, and what causes this, but I found that completely disabling the internal sound card was the solution.</p><p><span
id="more-147"></span></p><p>Here&#8217;s how I disabled my internal sound card and forced all sound to use the usb sound card:</p><ol><li>Blacklist snd_intel8x0 by editing the file /etc/modprobe.d/blacklist-oss.conf and adding &#8220;blacklist snd_inten8x0&#8243;as the last line<code> </code>blacklist snd_inten8x0</li><li>Next, edit /etc/modprobe.d/alsa-base.conf and replace: &#8220;install sound-slot-0 /sbin/modprobe snd-card-0&#8243;<br
/> with: &#8220;install sound-slot-0 /sbin/modprobe snd_usb_audio&#8221;<br
/> Your edited file should look like:<br
/> <code><br
/> install sound-slot-0 /sbin/modprobe snd_usb_audio<br
/> #install sound-slot-0 /sbin/modprobe snd-card-0</code></li><li>Comment out options snd-intel8x0m index=-2, options snd-usb-audio and options snd-usb-usx2y so that the options portion of the alsa-base.conf looks like:<code># Prevent abnormal drivers from grabbing index 0<br
/> options bt87x index=-2<br
/> options cx88_alsa index=-2<br
/> options saa7134-alsa index=-2<br
/> options snd-atiixp-modem index=-2<br
/> #options snd-intel8x0m index=-2<br
/> options snd-via82xx-modem index=-2<br
/> #options snd-usb-audio index=-2<br
/> options snd-usb-us122l index=-2<br
/> #options snd-usb-usx2y index=-2<br
/> options snd-usb-caiaq index=-2<br
/> # Ubuntu #62691, enable MPU for snd-cmipci<br
/> options snd-cmipci mpu_port=0x330 fm_port=0x388<br
/> # Keep snd-pcsp from being loaded as first soundcard<br
/> options snd-pcsp index=-2<br
/> # Power down HDA controllers after 10 idle seconds<br
/> options snd-hda-intel power_save=10</code></li></ol><p>Can&#8217;t get it to work? leave a comment, we&#8217;ll sort it out together.</p> ]]></content:encoded> <wfw:commentRss>http://www.rvdavid.net/ubuntu-linux-forcing-sound-out-through-your-external-usb-sound-card/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Ubuntu Linux: Fix for the disappearing Firefox Web Developer toolbar</title><link>http://www.rvdavid.net/ubuntu-linux-fix-for-the-disappearing-firefox-web-developer-toolbar/</link> <comments>http://www.rvdavid.net/ubuntu-linux-fix-for-the-disappearing-firefox-web-developer-toolbar/#comments</comments> <pubDate>Sat, 05 Sep 2009 00:25:07 +0000</pubDate> <dc:creator>rvdavid</dc:creator> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[firefox]]></category><guid
isPermaLink="false">http://blog.rvdavid.net/ubuntu-linux-fix-for-the-disappearing-firefox-web-developer-toolbar/</guid> <description><![CDATA[I use firefox as my browser on Ubuntu Karmic Alpha x (can&#8217;t remember which one). During one update, my firefox web development toolbar disappeared. There was nothing there aside from the blank grey bar. How do you fix this? To fix this, I did the following steps: Right click on the blank toolbar &#8211; this [...]]]></description> <content:encoded><![CDATA[<p>I use firefox as my browser on Ubuntu Karmic Alpha x (can&#8217;t remember which one). During one update, my firefox web development toolbar disappeared. There was nothing there aside from the blank grey bar.</p><p><strong>How do you fix this</strong>?</p><p>To fix this, I did the following steps:</p><ol><li>Right click on the blank toolbar &#8211; this will bring up the toolbar selection context menu.</li><li>Click on &#8220;Customize&#8221; &#8211; this will load the toolbar &#8220;Customize Toolbar&#8221; screen.</li><li>Click on the &#8220;Restore Defaults&#8221; button located on the bottom of the &#8220;Customize Toolbar&#8221; screen.</li></ol><p>By now you should have your Web Development toolbar icons appear where they should be (on the Web Development toolbar!)</p><p><strong>&#8220;FAIL! That didn&#8217;t work!&#8221;</strong></p><p>Failing the above, you could try the following:</p><ol><li>Load up the &#8220;Customize Toolbar&#8221; screen by following steps 1 and 2 above.</li><li>Using your scrollbar, locate a few of the Web Development toolbar Elements and drag it to the blank Web Development toolbar.</li><li>Click on the button called &#8220;Restore Defaults&#8221; on the bottom of the &#8220;Customize Toolbar&#8221; screen &#8211; this should restore your web development icons.</li></ol><p><strong>&#8220;FAIL AGAIN!!  That _STILL_ did not work!&#8221; </strong></p><p>Failing the two methods above, you should look to see if you have the popular tab enhancement add-on called tab mix plus. If you have this installed, you will not be able to see the icons for Web Developer when you open the &#8220;Customize Toolbar&#8221; screen. With me not wanting to spend more time on delving into why TMP gets in the way of the Web Developer tool bar, I decided to disable the Tab Mix Plus add-on in favour of my toolbar.</p><p>So if the two suggested fixes don&#8217;t work, try the following:</p><ol><li>Load up the Add-ons menu and disable TMP</li><li>Right click on the blank toolbar and click on &#8220;Customize&#8221;.</li><li>You should now again be able to see your Web Developer Toolbar icons.</li><li>Locate a few of the Web Development Toolbar Elements by using your scroll bar then drag a web developer toolbar icon to the empty toolbar.</li><li>Click on the Restore Defaults button.</li></ol><p>One of the above mentioned workarounds should work, but if your firefox Web Developer toolbar doesn&#8217;t work on Ubunutu, or any Linux distro, leave a comment. We&#8217;ll figure it out together. <img
src='http://www.rvdavid.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://www.rvdavid.net/ubuntu-linux-fix-for-the-disappearing-firefox-web-developer-toolbar/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Ubuntu Linux: Tweak your network connectivity and/or performance by disabling IPV6</title><link>http://www.rvdavid.net/ubuntu-linux-tweak-your-network-connectivity-andor-performance-by-disabling-ipv6/</link> <comments>http://www.rvdavid.net/ubuntu-linux-tweak-your-network-connectivity-andor-performance-by-disabling-ipv6/#comments</comments> <pubDate>Sun, 31 Aug 2008 21:19:53 +0000</pubDate> <dc:creator>rvdavid</dc:creator> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[firefox]]></category> <category><![CDATA[Linux]]></category><guid
isPermaLink="false">http://blog.rvdavid.net/ubuntu-linux-tweak-your-network-connectivity-andor-performance-by-disabling-ipv6/</guid> <description><![CDATA[Update: 17 March 2009: A quick note &#8211; this will only work for kernels preceeding 2.6.28-4. While browsing for a solution for Firefox&#8217;s slow connection &#8220;bug&#8221;, I found a more &#8220;global&#8221; solution in Ubuntu. In short, the global solution is to blacklist IPV6. You can do this simply by adding the following to /etc/modprobe.d/blacklist: blacklist [...]]]></description> <content:encoded><![CDATA[<p><strong>Update:</strong> 17 March 2009: A quick note &#8211; this will only work for kernels preceeding 2.6.28-4.</p><p>While browsing for a solution for Firefox&#8217;s slow connection &#8220;bug&#8221;, I found a more &#8220;global&#8221; solution in Ubuntu. In short, <strong>the global solution is to blacklist IPV6.</strong></p><p>You can do this simply by adding the following to /etc/modprobe.d/blacklist:</p><pre lang="php">blacklist ipv6</pre><p><span
id="more-107"></span></p><p>As with everything that&#8217;s Linux, the argument from one eyed linux fans is that linux distros are not the ones to blame and have actually configured the default install correctly by enabling support for IPV6&#8230; Instead of blaming the distros, they say that you should be blaming the developers of applications that have this &#8220;bug&#8221; or &#8220;misconfiguration&#8221; in them.</p> ]]></content:encoded> <wfw:commentRss>http://www.rvdavid.net/ubuntu-linux-tweak-your-network-connectivity-andor-performance-by-disabling-ipv6/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Setting up Ubuntu on my new 19 inch LG S900-U.CPS1A Notebook/Work Rig!</title><link>http://www.rvdavid.net/setting-up-ubuntu-on-my-new-19-inch-lg-s900-ucps1a-notebookwork-rig/</link> <comments>http://www.rvdavid.net/setting-up-ubuntu-on-my-new-19-inch-lg-s900-ucps1a-notebookwork-rig/#comments</comments> <pubDate>Wed, 30 Jan 2008 13:28:46 +0000</pubDate> <dc:creator>rvdavid</dc:creator> <category><![CDATA[Ubuntu]]></category><guid
isPermaLink="false">http://blog.rvdavid.net/setting-up-ubuntu-on-my-new-19-inch-lg-s900-ucps1a-notebookwork-rig/</guid> <description><![CDATA[Well it&#8217;s been a very busy 14 days for me, I&#8217;ve recently acquired a new work rig and in the process of converting my desktop to a local file server. The main goal for me acquiring this monstrous 19 incher is just so I can move around (mind you this mofo is huge, so my [...]]]></description> <content:encoded><![CDATA[<p>Well it&#8217;s been a very busy 14 days for me, I&#8217;ve recently acquired a new work rig and in the process of converting my desktop to a local file server. The main goal for me acquiring this monstrous 19 incher is just so I can move around (mind you this mofo is huge, so my moving around is limited) my house and not just stay couped up in the study.  A couple of important things happened when I got this laptop:</p><p><span
id="more-91"></span></p><ol><li>I rediscovered my love for the Windows OS &#8211; I really don&#8217;t know what Microsoft haters are bitchin&#8217; about, Vista runs very nicely and I was surprised at the great interface (which of course Microsoft haters bitched about). I was so impressed with Vista, that I decided to not reformat the Hard drive and actally dual boot.</li><li>I can now run Ubuntu instead of Xubuntu <img
src='http://www.rvdavid.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> while I liked Xubuntu, it lacked the polish and completeness a desktop environment like GNOME brings to the table. Especially coming from investigating the sh*tloads of issues I had with setting up Ubuntu due to driver issues and other sh*t &#8211; this is not specifically a Ubuntu issue, more a linux one. but anyway&#8230; I eventually managed to get my wireless working  on Ubuntu, I&#8217;ll give you the step by step in later posts</li></ol><p>Needless to say, installing Ubuntu on the LG S900-U.CPS1A Notebook was very painful would you believe that the built in ethernet did not work?! FFS!</p><pre>    * AR5007E Does not work (Ndiswrapper)
    * Ethernet does not seem to work. (Hmmm)
    * Brown background on logon (Change /etc/gdm/PreSession/Default
    * Gamma reverting on screen saver: Don't use gamma setting in nvidia-settings, instead set in Monitor section of xorg.conf
    * Slow on Emerald - So I decided to use the standard gtk-window-decorator.
    * Brightness being reverted to 100%
          o System &gt;&gt; Power Management
          o Set brightness in "On AC Power" tab. (I've set mine to 60%).
    * Easy way to toggle touchpad on and off
          o qsynaptics
    * add to authorized_keys for passwordless sshing</pre><p>Well, there&#8217;s a bunch of issues I resolved there &#8211; like I said in not so many words, I&#8217;ll elaborate more on the finer points later in time <img
src='http://www.rvdavid.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://www.rvdavid.net/setting-up-ubuntu-on-my-new-19-inch-lg-s900-ucps1a-notebookwork-rig/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Quick Linux Shell Script Example</title><link>http://www.rvdavid.net/quick-linux-shell-script-example/</link> <comments>http://www.rvdavid.net/quick-linux-shell-script-example/#comments</comments> <pubDate>Wed, 21 Nov 2007 13:04:40 +0000</pubDate> <dc:creator>rvdavid</dc:creator> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[shell script]]></category><guid
isPermaLink="false">http://www.rvdavid.net/blog/quick-linux-shell-script-example/</guid> <description><![CDATA[When I first moved to linux I had become addicted to keeping my distro updated and so I found myself typing and retyping $ sudo aptitude update password: $ sudo aptitude dist-upgrade At least once a day. Having read about shell scripts, I thought I&#8217;d try my hand at putting this into a shell script [...]]]></description> <content:encoded><![CDATA[<p>When I first moved to linux I had become addicted to keeping my distro updated and so I found myself typing and retyping</p><pre lang="php">$ sudo aptitude update
password:
$ sudo aptitude dist-upgrade</pre><p>At least once a day. Having read about shell scripts, I thought I&#8217;d try my hand at putting this into a shell script which, if you don&#8217;t already know, is linux&#8217; more powerful answer to the Windows batch file.</p><p>So that&#8217;s what I did, and here&#8217;s how I did it.</p><p><span
id="more-76"></span><strong>Get organised</strong> &#8211; I created a shell-scripts directory in my home directory. All my other shell scripts will reside in this directory should I find another need for a shell script. -&gt; mkdir ~/shell-scripts [enter]</p><p><strong>Create the empty text file</strong> &#8211; I created an empty file and called it update-xubuntu.sh  -&gt; vim ~/shell-scripts/update-xubuntu.sh [enter]</p><p><strong>Start scripting!</strong> &#8211; Every shell script needs to start with a specific declaration in the first line of where to find the executable to run the commands you are going to type in below it &#8211; the generic for ubuntu is &#8220;/bin/sh &#8220;-&gt; #!/bin/sh [... new line and continue script]</p><p><strong>Make it executable</strong> &#8211; After I finished my script, I had to make it executable so that it can be run straight from command line without needing to feed it as a parameter to the sh program. -&gt; chmod a+x ~/shell-scripts/update-xubuntu.sh (alternatively, I could have done chmod 0755 ~/shell-scripts/update-xubuntu.sh &#8211; basically, what a+x means that the everyone (all) should have the permission to e<strong>X</strong>ecute the file).</p><p><strong>Run it!</strong> &#8211; You&#8217;d think it&#8217;s straight forward, but to run my newly made executable shell script in the directory I&#8217;m currently in, I will need to type in the path of the file eg if I am inside the shell-scripts directory, I will need to execute the shell script by preceding the filename with a dot slash (./) this actually tells the shell that the current directory is where the shell script is and helps the shell resolve the location of your script. -&gt; ./update-xubuntu.sh [enter]</p><p>Gosh, hope that made sense, whatever, just keep in mind dot slash (./) means &#8220;current directory&#8221; and if you are running a shell script, you need to include it! (unless of course you add your directory to your PATH environment variable&#8230;. but that&#8217;s outside the scope of this commentary).</p><p><strong>The Shell Script: update-xubuntu.sh</strong></p><pre lang="php">#!/bin/sh # shell scripts need to start with this line. I'm sick of trying to explain this, so I won't.
sudo aptitude update # use aptitude to update your sources
sudo aptitude dist-upgrade # run a dist-upgrade.</pre><p><strong>The Terminal</strong></p><pre lang="php">rvdavid@desktop:~$ mkdir shell-scripts # get organised
rvdavid@desktop:~$ vim shell-scripts/update-xubuntu.sh # create empty text file + Start Scripting
rvdavid@desktop:~$ chmod a+x shell-scripts/update-xubuntu.sh # Make it executable
rvdavid@desktop:~$ cd shell-scripts/ # I didn't really need to do this, but I thought I'd do it just to make an example of dot slash in the next line.
rvdavid@desktop:~/shell-scripts$ ./update-xubuntu.sh
[sudo] password for rvdavid:
Get:1 http://archive.canonical.com gutsy Release.gpg [191B]
Ign http://archive.canonical.com gutsy/partner Translation-en_AU
Get:2 http://archive.ubuntu.com gutsy Release.gpg [191B]
Ign http://archive.ubuntu.com gutsy/main Translation-en_AU
Hit http://archive.canonical.com gutsy Release
Ign http://archive.ubuntu.com gutsy/restricted Translation-en_AU
Ign http://archive.ubuntu.com gutsy/universe Translation-en_AU
Ign http://archive.ubuntu.com gutsy/multiverse Translation-en_AU
...</pre>]]></content:encoded> <wfw:commentRss>http://www.rvdavid.net/quick-linux-shell-script-example/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Making the backspace key in Firefox a shortcut key to go back in Ubuntu!</title><link>http://www.rvdavid.net/making-the-backspace-key-in-firefox-a-shortcut-key-to-go-back-in-ubuntu/</link> <comments>http://www.rvdavid.net/making-the-backspace-key-in-firefox-a-shortcut-key-to-go-back-in-ubuntu/#comments</comments> <pubDate>Sun, 18 Nov 2007 23:24:07 +0000</pubDate> <dc:creator>rvdavid</dc:creator> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[firefox]]></category><guid
isPermaLink="false">http://www.rvdavid.net/blog/making-the-backspace-key-in-firefox-a-shortcut-key-to-go-back-in-ubuntu/</guid> <description><![CDATA[Coming from Windows a few months ago, one of the things I took for granted was the backspace key being a shortcut key for the back button on my web browser &#8211; Firefox. Once I shifted over to Ubuntu, this shortcut was missing from a default installation. If you want to replicate how the Firefox [...]]]></description> <content:encoded><![CDATA[<p>Coming from Windows a few months ago, one of the things I took for granted was the backspace key being a shortcut key for the back button on my web browser &#8211; Firefox.</p><p>Once I shifted over to Ubuntu, this shortcut was missing from a default installation. If you want to replicate how the Firefox web browser on Windows has mapped the backspace key to go back a page on linux based systems, do the following:</p><ul><li>Open up firefox</li><li>In the address bar, type about:config  *this should give you a payload of preferences going down the page*</li><li>Once this happens, enter the word &#8220;backspace&#8221; in the filter field, this should narrow your entry to one that says browser.backspace_action.</li><li>Double click on the entry and change the value to 0 instead of 1.</li></ul><p>The change should be immediate, so if you now press the [Backspace] key, it functions as a back button. I must have done this a several times when I was installing and reinstalling distributions as I messed around with my installations, but kept forgetting how to do it. <img
src='http://www.rvdavid.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>So this is more a quick note than any ground breaking hack.</p> ]]></content:encoded> <wfw:commentRss>http://www.rvdavid.net/making-the-backspace-key-in-firefox-a-shortcut-key-to-go-back-in-ubuntu/feed/</wfw:commentRss> <slash:comments>21</slash:comments> </item> <item><title>Fixed my Feisty Fawn Wireless Mess</title><link>http://www.rvdavid.net/fixed-my-feisty-fawn-wireless-mess/</link> <comments>http://www.rvdavid.net/fixed-my-feisty-fawn-wireless-mess/#comments</comments> <pubDate>Sun, 06 May 2007 01:08:44 +0000</pubDate> <dc:creator>rvdavid</dc:creator> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[belkin]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[networking]]></category><guid
isPermaLink="false">http://www.rvdavid.net/blog/fixed-my-feisty-fawn-wireless-mess/</guid> <description><![CDATA[Well, it&#8217;s been a while since my last post, previously explained in a previous entry. I&#8217;ve managed to fix things and found out a thing or two as to why wireless support broke in feisty fawn, while still working properly in Edgy Eft. It drove me &#8220;up the wall&#8221; (as we&#8217;d say here in colloquial [...]]]></description> <content:encoded><![CDATA[<p>Well, it&#8217;s been a while since my last post, previously explained in a previous entry. I&#8217;ve managed to fix things and found out a thing or two as to why wireless support broke in feisty fawn, while still working properly in Edgy Eft.</p><p>It drove me &#8220;up the wall&#8221; (as we&#8217;d say here in colloquial Australia), but I was determined to get my system working and so I did.</p><p>Check out these posts for more information &#8211; I&#8217;ve broken it up so that you aren&#8217;t flooded with a big essay on completely different, but somewhat related subject matter:</p><p>- <a
rel="bookmark" href="http://www.rvdavid.net/blog/linux-rt818x-driver-crashes-2620x-kernel/">Linux RT818X driver crashes 2.6.20.x kernel</a><br
/> - <a
rel="bookmark" href="http://www.rvdavid.net/blog/how-i-got-my-belkin-f5d6001-wireless-card-running-on-feisty-fawn/">How I got my Belkin f5d6001 wireless card running on Feisty Fawn</a></p> ]]></content:encoded> <wfw:commentRss>http://www.rvdavid.net/fixed-my-feisty-fawn-wireless-mess/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 5/12 queries in 0.032 seconds using disk

Served from: www.rvdavid.net @ 2010-09-09 00:43:18 -->