Friday, November 6, 2009

Stopping pop-up asking to "Unlock the default keyring"

A nice benefit when installing a GNU/Linux distro is to setup a separate partition to mount the Home directory.  This is nice because you can re-install an OS (or install a different distro) without effecting your documents, music, configuration and such.

Although you can sometimes run into a situation where your keyring has a password mismatch.   If you know the original keyring password you can change it.  If you do not there is no way to reset it but you can rebuild it.

What is a Keyring?  A keyring is database that contains all your passwords (wpa key included). For other application to use your keys/password in your keyring they will ask your keyring for them, if your keyring is locked you will be requested to unlock it.

How do you rebuild the keyring?
Pull up a terminal window, and type these command

rm -rf ~/.gnome2/keyrings
rm -rf /tmp/keyring-*
rm -rf /tmp/orbit-$USER

reboot your system (restarting X would do but this is easier)

When you are back in gnome you will be ask enter a password to lock your
keyring. enter a password and remember it.  This password can be the same as your login.

Friday, October 2, 2009

Part 1 - 8 Monitor Project - Ubuntu 9.04 Jaunty and ATI/FGLRX

I have spent a considerable amount of time setting up the first 4 monitors on Ubuntu Jaunty with Catalyst 9.9. I can honestly say, depending what you want to do, it is not an easy feat. My ultimate goal is to have 8 running.

Video Cards: HSI IceQ4 HD Radeon 4850, 512MB

Part 1: Initial Setup

Comming Soon!

Important References

http://wiki.cchtml.com/index.php/Ubuntu_Jaunty_Installation_Guide
http://ubuntuforums.org/showthread.php?t=301941&highlight=radeon+4850+big+desktop
http://ubuntuforums.org/showthread.php?t=301951&highlight=radeon+4850+big+desktop

Thursday, October 1, 2009

Video on using Clonezilla

I found this fascinating quote today:

Clonezilla is an open source disk imaging, cloning and backup software. It supports ext2, ext3, ext4, reiserfs, xfs, jfs of GNU/Linux, FAT, NTFS of MS Windows, and HFS+ of Mac OS. You can use it to clone single or multiple machines. It is more feature-rich than commercial Norton Ghost. In this video tutorial, I will show you how to create an image of a hard drive using Clonezilla live CD which you can download from clonezilla.org. I assume that you have downloaded and burnt the CD. So let’s get started.Amjad, Creating and restoring an image of hard disk with Clonezilla

You should read the whole article.

Wednesday, September 30, 2009

Reboot a Locked Ubuntu System Safely

Though it rarely happens. Their are times when you need to reset an Ubuntu system. Usually when you are setting up a new graphics card (or 2), or setting up a new xorg file. Nonetheless, if the screen freezes and CTRL+ALT+F1 or CTRL+ALT+Backspace fails to work remember these ALT+SysRq (or ALT+PrntScrn) combinations:

ALT+PrntScr+r, ALT+PrntScr+s, ALT+PrntScr+e, ALT+PrntScr+i, ALT+PrntScr+n, ALT+PrntScr+u, ALT+PrntScr+b

To remember the keys, remember this nonsensical phrase: "Raising Skinny Elephants Is Never Utterly Boring".

Alternatively, you can hold down CTRL+ALT+SysRq while very slowly typing; R E I S U B. A way to remember this is by inverting the word: "BUSIER" or remebering this nonsensical phrase: "Restart Even If System Utterly Broken".

Monday, March 2, 2009

Code Test with ScribeFire

Not really specific to Linux, but one of the first things a noobie to displaying code in blogs has to contend with.

Because blogs treat the posts as HTML code anytime you want to display code you need to contend with special characters used by HTML.  Example: <, >.

Using the editor that comes with Blogger you need to replace all these type of characters with something like &lt; or &gt.

ScribeFire takes care of this automatically so instead of having to type:

&lt;test&gt;

you only need to type.

<test>

Reference:

Scribefire - http://www.scribefire.com/blog_editor


Sunday, March 1, 2009

OpenBox - Setup Laptop Volume Keys

First you need to verify that your keys are mapped properly.

Run xev and press each of the volume keys:

Example:
   $ xev
Volume Down Results
   KeyRelease event, serial 32, synthetic NO, window 0xc00001,
      root 0x7d, subw 0x0, time 100213680, (-194,56), root:(229,367),
      state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume),
Volume Up Results
   KeyRelease event, serial 35, synthetic NO, window 0xc00001,
      root 0x7d, subw 0x0, time 100214182, (-194,56), root:(229,367),
      state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume),
Volume Mute Results
   KeyRelease event, serial 35, synthetic NO, window 0xc00001,
      root 0x7d, subw 0x0, time 100214715, (-194,56), root:(229,367),
      state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute),
The keycodes are required if you are planning to use programs such as xbindkeys and raw keycodes. For OpenBox in CrunchBangLinux I did not need to install another package. I simply had to configure the OpenBox rc.xml file using the following key names:

XF86AudioLowerVolume, XF86AudioRaiseVolume and XF86AudioMute

Here's how:

Open file ~/.config/openbox/rc.xml with your favourite editor.
   $ nano ~/.config/openbox/rc.xml
Find </keyboard>

Example:
   ... 
    <keybind key="A-C-q">
      <action name="ShowMenu">
        <menu>root-menu</menu>
      </action>
    </keybind>
  </keyboard>
Paste in the following lines between </keybind> and </keyboard>.
   <keybind key="XF86AudioRaiseVolume">
    <action name="Execute">
      <execute>amixer set Master 1+</execute>
    </action>
  </keybind>
  <keybind key="XF86AudioLowerVolume">
    <action name="Execute">
      <execute>amixer set Master 1-</execute>
    </action>
  </keybind>
  <keybind key="XF86AudioMute">
    <action name="Execute">
      <execute>amixer set Master toggle</execute>
    </action>
  </keybind>
Save and reload the configuration from Menu -> Preference -> Openbox Config -> Restart