Desktop
How to convert huge number of images from one format to another in Linux
Nov 29th
The ImageMagick suite of tools provides all tools necessary to manipulate images and to convert images from one file-format to another. You can check if ImageMagick suite is installed in your system using following command.
[neo@techpulp ~]# rpm -aq | grep ImageMagick ImageMagick-6.4.0.10-2.fc10.i386 [neo@techpulp ~]#
Otherwise you can install the suite using following command.
[root@techpulp ~]# yum install ImageMagick
Coming back to the original topic of discussion, The ImageMagick suite provides a command-line utility “convert” to convert an image from one format to another. A simple use of “convert” command is as follows where it converts an image from PNG format to JPG More >
How to convert a PDF file to an image in command line of Linux
Nov 28th
The command “convert” is used to do the job. You need to install ImageMagick suite of tools that are used to manipulate images.
The following command converts a PDF file myfile.pdf to a JPG image.
[neo@techpulp ~]# convert myfile.pdf myfile.jpg
You can convert it to other image formats as well. For example, the following command converts the PDF to a PNG image file.
[neo@techpulp ~]# convert myfile.pdf myfile.png
The following command converts the PDF to a GIF image file.
[neo@techpulp ~]# convert myfile.pdf myfile.gif
How to open PDF files in Fedora/RHEL/Ubuntu Linux
Nov 26th
Linux provides multiple options to open PDF files. If you are using GNOME as your desktop, ou can use “evince” application. If you are KDE fan, you can use “okular” application. Otherwise, you can try “xpdf” application as well.
If you are not sure about the name of Desktop you are using, just try all the commands at command-line and see if it works.
[neo@techpulp ~]# evince myfile.pdf
[neo@techpulp ~]# okular myfile.pdf
[neo@techpulp ~]# xpdf myfile.pdf
Typically you should have at least on of them installed in your system and should be able to open PDF files easily from the file manager.
You can use following More >
How to read Microsoft Windows .chm help files in Linux
Sep 2nd
It is sometimes required to read Microsoft Windows help files (.chm) in Linux. Once such case could be for cross developing applications using MinGW for Windows in Linux. Another case could be reading documentation of a generic stuff like JavaScript programming etc.
Linux supports a command called “xchm” that can be used to view .chm files. You can install it using “yum” command in Fedora/RHEL Linux as shown below.
[root@techpulp ~]# yum -y install xchm
After successful installation you should see a new command xchm available.
To open a .chm help file, use following command.
[neo@techpulp ~]# xchm jquery.chm
There’s a KDE version of CHM file viewer More >
How to unzip files with .7z extension in Fedora Linux
Aug 31st
There is an open source tool named 7zip which creates compressed files with .7z extension. Fedora Linux provides a package in its repository to install the application. First of all, you need to install “p7zip” package in the system as shown below. You need to login as root and the system should have an active Internet connection so that “yum” tool can download from Fedora repository to install 7zip in your system.
[root@techpulp ~]# yum -y install p7zip
If installation is successful, you should see a command with name “7za“.
You can the command 7za to uncompress a file with .7z extension as More >
How to show desktop pop-up notification in Linux using notify-send command
Aug 27th
It is very useful when you are about to start a bulk job and want to get notified asynchronously after its completion. That helps you continue with other work without having to check for its completion periodically. Of course if you don’t have any other work, you can at least play few games without bothering about the job completion.
There is a command in Linux called “notify-send” that can be used to generate a desktop notification from command line or a script. However where exactly this notification message appears depends entirely on the desktop you are using. For example, if you More >
Where is kedit editor in KDE of Fedora 10
Mar 4th
In Fedora 10, the standard KDE text editor kedit is not present. The default text editor in KDE is kwrite instead of kedit. To open kwrite you can go to “Fedora Menu > Applications > Utilities > Text Editor (kwrite)”.
Alternately you can press Alt+F2 which opens run dialog in which you can type kwrite and press Enter key.
Alternately you open Fedora Start Menu and type kwrite in the search box.
Otherwise you like tabbed editors, you can use gedit which is GNOME desktop based text editor.
How to close a non-reponsive window in KDE
Mar 4th
Some times applications become non-responsive due to defects in its software. KDE makes it easy to close them using the standard close button present at the top right corner of the window.
Just press the X button at the top right corner as you close any other application. If the application is responsive it will be closed normally. Otherwise KDE waits for a definite time for the application to close when the X button is clicked. If the window doesn’t close with in that time, KDE will show you a dialog prompt that will let you terminate the application forcibly.
There is More >
What to do if my X server stops responding
Jan 14th
Sometimes moue/keyboard in X server stops responding due to bugs in the software. There is a better way to recover if you are planning to hard reboot the system.
You can press Ctrl+Alt+Backspace which will kill the current X session and takes you to the initial login screen.
Another way is to move to text login screen using Ctrl+Alt+F2 and then kill the X session after logging in. Later move back to the graphical screen which will be typically present at Ctrl+Alt+F7 or Ctrl+Alt+F1 on Fedora Linux systems.
killall -KILL X


Recent Comments