Archive for the ‘Linux’ Category

Enable compositing effects for metacity in Ubuntu 8.10

Tuesday, November 25th, 2008

Desktop effects in Ubuntu 8.10 can be used without Compiz, by enabling compositing in Metacity - the Gnome's default window manager. [caption id="attachment_116" align="alignleft" width="108" caption="Ubuntu"][/caption] There are more ways to enable compositing in Metacity, but first you need to disable Compiz if you are using it. The fastest way is to ...

Shell script to extract the exchange rates from BNR (Romania)

Wednesday, August 13th, 2008

Here is a simple script to get the exchange rates from www.bnro.ro/nbrfxrates.xml   #!/bin/bash # clear the screen clear # display an info message echo "+------------------------------+" echo "|        BNR exchange   |" echo "+------------------------------+" # check for parameters if [ $# -ne 1 ] then echo "Usage: $0 eur  ...

How to activate sounds in Pidgin

Friday, January 18th, 2008

In case the sound events are not working in Pidgin you can use this solution: From the main menu select Tools -> Preferences (or just press the keyboard shortcut CTRL+p). From Preferences window select the Sounds tab. At the Sound method section, for Method select the Command option. In the Sound command field type: aplay ...

Understanding file permissions and ownership on Linux

Wednesday, December 12th, 2007

The files on a Linux system can have reading permissions, writing permissions, executing (running) permissions or no permissions for the user that owns that files, groups of users or the rest - users who does not own that files and they are not members of any group. The usual file types ...

WGET – usage tips

Saturday, November 17th, 2007

Examples: If you need only to download something from an url: wget http://cristian-radulescu.ro/image.gif With user (abc) and password (abc123): wget http://cristian-radulescu.ro/document.pdf --user=abc --password=abc123 Download from an url list (list.txt): wget -i list.txt When the connection fails you can continue: wget -c http://cristian-radulescu.ro/arhiva.zip The default number of retries is set to 20. Set the number of retries to infinity: wget -t ...