Archive for the ‘Uncategorized’ Category

Location of trash folder in Ubuntu

July 1, 2008

Sometimes I get files stuck in my recycle bin that do not get deleted when I empty the trash. This is usually because they are owned by root and my normal user does not have sufficient privileges to delete them.

sudo rm ‘ing the .trash folders on each drive does not work and after a lot of searching I finally found the folder with the trash files lurking in it here:

~/.local/share/Trash/files/

So to get rid of these these annoying files use this command:

sudo rm -rf ~/.local/share/Trash/files/*

and then do a normal empty trash.

Advertisements

Change fat32 drive label under Ubuntu / linux

July 1, 2008

How to change the drive label for a fat32 partition or drive in linux.

First you need to install mtools and then edit the configuration file.

sudo gedit /etc/mtools.conf

Add something like the following to assign a drive letter to your fat32 drive

drive d: file=”/dev/sdb1″

you can find out the second bit by running mount when your device is connected

sudo mlabel -s d:

to check that it is the right one and then to change it:

sudo mlabel d:whatever

Ubuntu – Resuming from Suspend Without a Password

November 1, 2007

If you are lucky enough to get suspend working in Ubuntu it will ask for a password on resume, unfortunately there is no easy way to disable this feature. It is however posible.

You need to start the configuration editor, this is supposedly in: Applications -> System Tools -> Configuration Editor
You may need to edit your menus to enable it as it starts hidden, it seems to be Gnome’s dirty little secret that it has a registry, similar to the windows one. I don’t have it in my menus at all so in a terminal:

gconf-editor

The setting we need for 7.10 is in: apps -> gnome-power-manager -> lock
untick suspend

pity this option is not exposed in the power management applet…….

May 7, 2007

This blog is just a little place for myself to post configuration steps for various stuff as I go along, My memory these days is even more  shite than it used to be.