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-18.104.22.168-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 >
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
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 >
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 >
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 >
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 >
The VNC bridges gap between Windows and Linux systems for desktop sharing. However there are few other alternatives to this. The “vnc” package provides a VNC client (vncviewer) in Linux. You can check if your system has vnc package installed as follows:
[mark@techpulp ~]$ which vncviewer /usr/bin/vncviewer [mark@techpulp ~]$ rpm -q -f /usr/bin/vncviewer vnc-4.1.3-1.fc10.i386 [mark@techpulp ~]$
If you don’t have the package installed, you can use “yum” in Fedora and “apt-get” in Debian/Ubuntu Linux distributions to install it.
To use the VNC client, you can run the command “vncviewer”. This opens up a prompt as shown in the image below.
You can set More >
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.
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 >
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