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 be used by those who deal with many XML documents on UNIX shell command prompt as well as for automated XML processing with shell scripts.
Ubuntu allready has it in the repos, so issue the following command in your terminal to install it:
sudo aptitude install xmlstarlet
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 keep all the junk data mixed in with your real data.
In SQLite is the statement to do this called VACUUM. So here’s how to vacuum your Firefox:
1. Download sqlite command line client for your platform. In Ubuntu, go to yout terminal and issue the following command:
sudo aptitude install sqlite3
2. Turn off your Firefox
3. Go to your profile folder
4. Issue the command:
* For Linux
for i in *.sqlite; do echo "VACUUM;" | sqlite3 $i ; done
* For Windows
for %i in (*.sqlite) do @echo VACUUM; | sqlite3 %i
Enjoy!
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.
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.
Skype just released Skype for Linux 2.1 beta2 aka “Talking Screens”.
Chats are faster, UI supports switching styles on the fly, and audio is a lot better than before. You can download it here.
What’s new in this version:
– Screen sharing
– Quote a message in chat
– Localized time formats
– Support for UI styles
– Report abuse
You can view the detailed changelog here.
TIP: If you use a darker theme (I use Dust), the menus will look ugly.
To fix this, go to
Options (CTRL+O) and under
General, select
Desktop Settings or
GTK+ for the style.
Restart Skype and enjoy!
Avast just released version 5.0 of their product. You will notice the new user interface and the new scanning engine.
Free Antivirus 5.0 includes a spyware detection engine to protect you from identity theft as well as viruses.
Read more about [...] Continue Reading…
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. [...] Continue Reading…
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 [...] Continue Reading…
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 [...] Continue Reading…
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 [...] Continue Reading…