June 2009
Mon Tue Wed Thu Fri Sat Sun
« May   Jul »
1234567
891011121314
15161718192021
22232425262728
2930  

Month June 2009

Gnome's Keyring Tip – How To Disable Keyring And Remove Password File

Some people complain how Gnome’s Keyring keeps asking them for password whenever they try to get connect to wireless router.  Here is a trick of how to stop Keyring from bothering you for good.  Go to System > Preferences > Startup Applications, disable the check box “Gnome Keyring Daemon.”  That’s it, everything should go as plan if you done this correctly!  I tested this trick on Fedora Core 11 and Ubuntu 9.04, both Linux distribution work fine with this trick.

How to reset Keyring’s password if you forgot it?  Go to .gnome2/keyrings/ directory by type this little command inside your shell/terminal – “cd ~/.gnome2/keyrings/“  (without the double quotes), then you have to delete login.keyring or any other file that has unwanted Keyring’s encrypted passwords that you want to get rid of.  Use command “rm filename” to delete a file in any Linux distribution!  The next time you use something on your Gnome Desktop that requires Keyring’s password, you just have to enter a brand new password twice to reset your old password (you already delete your old password)  — you only have to do this once unless you want to reset your Keyring’s password again.

When Linux Complains Umount Cannot Be Done, A Flash/USB Device Is Busy!

As any other operating system, Linux comes with its own problems.  Today I like to talk about how to umount your flash/usb drive from your Linux box (Linux computer).  When everything is fine as the sky is blueish, no rain, and the sun is out shining brightly, you find that umount is working without complaining.  The truth is that umount sometimes behave oddly, but not everyone using Linux will be the unlucky one that gets to experience this.  I had!  Umount complained that the device is busy and cannot be umount.  I was freaking out, and of course, the logical thing to do is to get out of the directory that you want to umount, but when I did that the freaking Linux still complained that the device is busy.

To solve the problem like this, I had to search the web for an answer!  I found the answer, and it was about a running process or a running file that failed to die and still used the mounting directory.

Let solve this!  First you need to get out of the directory that you’re trying to umount.  Type pwd to see what directory you’re in.  You can also do mount -l to list the mounting devices/directories.  By checking with mount -l you can see that the flash/usb drive is listed there as a mounting device/directory, and this assures you that the device is still busy.  The easiest way is to see if one command line “umount -l /media/disk” (/media/disk is where my flash/usb drive mounts to, your can be named differently) solves the problem.  After trying umount -l and you still see Linux complains about the device is busy, then you have to try the next method.

Alternative method is to kill the process that bothers the mounting device.  To list the process that bothers your mounting device, you can try “fuser -m /media/disk” command line.  This will show the process’s ID of the bothersome process/file.  To kill the bothersome process/file, you need to do “kill -9 12345″ where as 12345 is the process’s ID.  Each process has different ID number, and so number 12345 is just an example. After killing the bothersome process/file, you can try “umount -l /media/disk” again to see if umount is possible or not.  You can also do “mount -l” to see the mounting device that you’re trying to get rid of is still hanging around or not.

How To Hide Icons From Ubuntu 9.04 Gnome Desktop

I hate how my Ubuntu 9.04 Desktop gets cluttered with icons from various files and folders included the system generated icons.  I rather use the terminal/shell to look up or open up files and folders.  If you are using Gnome GUI on Ubuntu 9.04, then you’re in luck of getting to know how to hide the icons on your Desktop.

You need to run a gconf-editor.  To do this you need to type Alt + F2 keys, and then type in gconf-editor.  Go to apps, nautilus, preferences, and then look for “show desktop” option to your right.  By unchecking the option “show desktop” you’re officially hiding the icons from your Desktop.

Follow

Get every new post delivered to your Inbox.

Join 135 other followers