Posts

Showing posts from September, 2015

How to compile and install GraphicsMagick (GM) in Linux

Today, I installed GM in my Mint machine. Here is the steps I used to compile and install GM in my Mint machine. Prerequired libraries: sudo apt-get install -y libpng-dev libjpeg-dev sudo apt-get install -y libjasper-dev sudo apt-get install -y install libtiff5-dev libfreetype6-dev Download GM source:  http://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/1.3.21/GraphicsMagick-1.3.21.tar.gz/download Extract the archive file:  tar -xf GraphicsMagick-1.3.21.tar.gz Configure, complie and install: ./configure --prefix=[path to install GM] --enable-shared --enable-symbol-prefix --with-frozenpaths --with-ttf --with-jbig --with-jpeg --with-jp2 --with-png --with-tiff --with-webp --with-wmf sudo make install (su/sudo is necessary if you want to install other than home directory, i.e: /opt/) Create GM_HOME sh in the profile directory: (In Mint Linux gm_home.sh file should be in /etc/profile.d/gm_home.sh) Create gm_home.sh file by your favourite editor and add

Search engine - DuckDuckGo

Quack..quack...quack... It is my very different post. I hope, you already heard about DuckDuckGo. I love to use DuckDuckGo. It is my default search engine. I have been using DuckDuckGo since 2014. https://duckduckgo.com Note: It is my own opinion (freedom of speech).

Create desktop icon for Eclipse IDE

Create desktop icon for Eclipse IDE 1. Create  eclipse.desktop  file using your favourite editor in                                          /usr/share/applications/eclipse.desktop file. 2. Add the following lines on the eclipse.desktop file. The file contains few attributes.     [Desktop Entry]     Type=Application     Encoding=UTF-8     Name=Eclipse     Comment=Eclipse IDE     Exec=/opt/eclipse/eclipse     Icon=/opt/eclipse/icon.xpm     Terminal=false     Type=Application     Categories=GNOME;Application;Development;     StartupNotify=true 3. Save it.  Note: Exec=[path to eclipse executor] and Icon=[path to eclipse Icon]