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 [...]
Archive for «Linux» category
Vacuum your Firefox 3
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 [...]
Turn off or limit the Recent Documents feature in Ubuntu
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. [...]
Ubuntu One coming to Windows
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 for Linux 2.1 beta2
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 [...]
Search and remove duplicate files
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 [...]
Karmic Koala Beta on ThinkPad T61
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 [...]
How to fix menu icons in GNOME 2.28
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 [...]
Remove all settings for Evolution
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.
Fix Google Earth 5.0 user interface font on Linux
I installed Google Earth 5.0 and the ugly UI font from the beta is still here. Based on the comments from Google Earth Help page from here I’ve created the following script wich will fix the user interface font issue. #!/bin/bash sudo aptitude -y install libqt4-webkit ge=`which googleearth` if [ -n "$ge" ]; [...]