Install Bluecurve theme on Ubuntu box

Here’s the way to install Redhat’s most famous theme “Bluecurve”:
It worked me on Ubuntu 10.04

http://ubuntuforums.org/showthread.php?t=342060

Tagged , | 1 Comment

convert files from one encoding to another using iconv

I have subtitles that was written on M$ windows that were saved using WINDOWS-1256 encoding and were not working on my Linux box.

I found this command to convert from one encoding to another:

iconv -f WINDOWS-1256 <Ice_age_3.sub> Ice_age_3_utf8.sub

Tagged , | Leave a comment

Display CPU Temperature Graphically using a Panel Applet in Ubuntu

“sudo apt-get install sensors-applet”

Right-click on any panel and add the new applet, then easily configure it to display the temperature, fan speed, HDD temperature …etc

Tagged , , | Leave a comment

know the return value of a native (c) program in linux

Hi folks
use this command:
echo $?
to know the return value of a native program in Linux.
try it yourself:

scenario 1:

more 
echo $? #(watch the result, it will be 1, which means unsuccess)

scenario 2:

echo "hello world" > file
more file
echo $? #(watch the result, it will be 0, means success)

Tagged , | Leave a comment

Create NTFS Partition with gparted in Ubuntu

The “ntfs” option is dimmed by default, to enable it you should install the necessary package: “sudo apt-get install ntfsprogs”

That’s it, just re-open gparted and you’re ready to go 🙂

Tagged , , , | Leave a comment