Elementary Dropbox Indicator Icons

Due to the upcoming release of Dropbox 0.8 and its ability to support Application Indicators (and custom icons), many people have been creating icons for it to blend into the Ubuntu-Mono icon set.

However I have yet to find a set that is made in the Elementary style, so I decided to do it myself 🙂 (the initial idea is based on these icons)

Below is a link to the GNOME-Look page where you can download them. Once the ZIP file has downloaded, you need to extract the files into ~/.dropbox-dist/icons

http://gnome-look.org/content/show.php?content=128132

What do you think?

How to make OpenOffice.org prettier

Two steps.

Go from this:

OpenOffice.org Writer - Ugly

To this:

OpenOffice.org Writer - Pretty

Done!

sudo and password feedback

In Lucid, there is a new version of sudo that allows you to do something useful (and long-awaited).

With the correct configuration, you can now have sudo show an asterisk (*) when you type a letter (just like any other password entry).

Screenshot of sudo with password feedback enabled

This makes it a lot easier both for new users who expect some kind of visual feedback when they type, and anyone who can’t remember whether they pressed that key or not 🙂

I realise some people will say “oh no! What a security risk”, however in my opinion, it is only a star you are seeing and if you have a strong enough password, having a person see the number of stars is not really going to matter, it is the same as when you enter your password for PolicyKit.

The steps to do it are simple, however make sure you pay attention to them!

  1. Open a Terminal (Applications>Accessories>Terminal) and type in:
    sudo visudo
  2. Type your password in (you won’t see any visual feedback, yet!) and click Enter
  3. Now, find the line that reads:
    Defaults env_resetAnd replace it with:

    Defaults env_reset,pwfeedback

  4. Finally press Ctrl-X, press Y and then press Enter (or if you have changed your default text editor, just save the file as usual)
  5. sudo should now be set up correctly, open up a new Terminal and try it out:
    sudo echo "It works!"

If at the end, you receive a message saying something like

'>>> /etc/sudoers: syntax error near line 8 <<<'

Then press X, then Enter and leave a comment below (it didn’t work)

Get Rid Of Unneccessary Fonts

I like to call myself a graphics designer and so as a result, I often use programs such as Inkscape.

One thing that annoys me when I reinstall Ubuntu, I always get a load of fonts that I don’t need, usually for displaying foreign characters (such as Japanese, Cyrillic etc.). To be honest I never need to view these languages and the extra fonts just clutter up the font list in Inkscape (or any other application).

Fortunately there is a very easy way to uninstall these fonts (saving ~35mb) and clear up your font list 🙂

To remove all the fonts that are only needed to display different languages:

sudo apt-get remove ttf-indic-fonts-core ttf-kacst-one ttf-khmeros-core ttf-lao ttf-punjabi-fonts ttf-takao-pgothic ttf-thai-tlwg ttf-unfonts-core ttf-wqy-microhei

If you find yourself trying to learn Thai and want to install them all again:

sudo apt-get install ttf-indic-fonts-core ttf-kacst-one ttf-khmeros-core ttf-lao ttf-punjabi-fonts ttf-takao-pgothic ttf-thai-tlwg ttf-unfonts-core ttf-wqy-microhei

And that is all there is to it! I feel a lot better now…

Howto: Make NetworkManager stop asking for your password on login

Hi guys, I have upgraded to Lucid, but one thing that annoys me when I upgrade is that Network Manager never ceases to ask me for my password!

I prefer to have auto-login turned (yes, yes I know, it is insecure) and so my ‘keyring’ is not unlocked when I log in, meaning that NetworkManager has to ask me for my password, to unlock the keyring, to unlock the key to my wireless network connection. Fortunately there is an easy way to solve this,  explained below.

  1. Firstly, go to Applications > System > Preferences > Network Connections

    Location of the Network Connections menuitem

  2. Then navigate to the tab where your internet connection is. For me, this is the Wireless tab, as I connect to the internet using a wireless network. Once in this tab, select your network connection and click the Edit button

    The Wireless tab, in the Network Connections dialog

  3. A dialog should just have appeared and at the bottom of this dialog, select the option (so that it is ticked) named Available to all users

    Setting the network connection to be available to all users

  4. Finally click the Apply button, a PolicyKit dialog should appear asking you for your password (for the last time!). Enter your password, click Authenticate and you are done!

    Authenticating our changes

I prefer this method as your keyring is not unlocked, it will still have to be entered for SSH keys etc. which offers extra security. You can’t even see the Wireless Key without entering your password, however you will be able to use the wireless network without NetworkManager asking for your password 🙂