Archive for «Ubuntu» category Feed RSS

XMLStarlet is a set of command line utilities (tools) which can be used to transform, query, validate, and edit XML documents and files using simple set of shell commands in similar way it is done for plain text files using UNIX grep, sed, awk, diff, patch, join, etc commands.
This set of command line utilities can [...]

This tip will hopefully speed up your Firefox 3 by optimizing it’s database.
Firefox stores your browsing data using SQLite – self contained, small footprint database.
Having database store your browsing data has one drawback, you have to optimize the database from time to time to get rid of old, deleted data, re-index the columns etc.
Otherwise you [...]

If you want to turn off the Recent Documents feature in Ubuntu, all you have to do is create a .gtkrc file in your home directory.

touch $HOME/.gtkrc-2.0

Then add gtk-recent-files-max-age=0 to this file.

echo ‘gtk-recent-files-max-age=0′ | tee -a $HOME/.gtkrc-2.0

This is documented here.
This will also work in any other linux distribution running Gnome.
Enjoy!

At PyCon 2010, Ubuntu One development team will focus on helping Ubuntu users who also use a Windows box. This is great news!
Source.

You can disable the splash screen and instead view details about your boot process by following the next steps:
1. Edit grub

sudo vi /etc/default/grub

2. Locate the following line

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

and remove quiet and splash.
After that, the line should look like this:

GRUB_CMDLINE_LINUX_DEFAULT=""

3. Save and exit.

:wq

4. Now update the grub:

sudo update-grub

That’s it!

After the latest updates, enabling touchpad on/off key (fn-f8) is now working. There are some annoying gdm random restarts without a trace in the logs. I suspect it’s the nvidia proprietary driver and I hope it will be fixed soon.
Here is a better approach to enable the Active Protection System in your ThinkPad:

# Install HDAPS [...]

Here a small piece of code which will search for the duplicates in the path you supply. It will generate a new file which contains the commands for deleting those duplicates.
Make sure you double check the resulting file!
The script requires that you have fdupes installed.
Install it in Ubuntu/Debian by running the following command in your [...]

I just installed Ubuntu 9.10 Beta on my LENOVO ThinkPad T61 64608NG.
Here is what I found so far, in two days of intensive usage:
Quadro NVS 140M – 2D and 3D acceleration: tested and works.
Wireless switch: tested and works.
Sound: tested and works.
Enabling touchpad on/off key (fn-f8): not working.
Enabling Active Protection System: works by installing tp_smapi.
Read the [...]

In the latest release of GNOME, they decided to turn off icons in menus by default. This is ugly and if you ask me, not practical at all.
However, you can get those icons back by going to System → Preferences → Appearance, and under the Interface tab, you can check the box “Show icons in [...]

Here is a small script to remove all your Evolution settings:

#!/bin/bash
evolution –force-shutdown
rm -rf $HOME/.evolution
rm -rf $HOME/.gconf/apps/evolution
rm -rf $HOME/.gnome2_private/Evolution
kill -9 `pidof gconfd-2`

Next time you open Evolution, you will be prompted to add a new account.