KIM (KDE Image Menu) is a third party plugin for KDE to add context menu (the right-click) able to do convert and resize to image file. KIM is very useful because it adds those convert and resize options into the right-click in Dolphin when you browse image files. It can do those manipulations to both every single image and many images simultaneously. Just click and done. This article introduce how to install KIM in KDE 5 because it needs special treatment compared to KDE 4. KIM is free software and licensed as GNU GPL 2.
Obtain KIM
Download KIM for KDE 4 from http://kde-apps.org/content/show.php?content=11505&forumpage=15. You will get an archive file named more or less kim4-0.9.5.tar.gz. We use KIM 0.9.5 version because at this time there is no version for KDE 5.
Extract KIM Archive
Extract it in you $HOME directory (to make it easy). You should get a folder named kim4 later in your $HOME. So the path address for it is ~/kim4.
Install KIM
To install KIM, don't run the shell script named install.sh. That is the script for KDE 4, not for KDE 4. Instead, perform these commands manually based on the same script but for KDE 5:
- sudo cp ~/kim4/src/kim_*.desktop /usr/share/kservices5/ServiceMenus/
- sudo cp ~/kim4/src/bin/kim_* /usr/bin/
Additional Installation (Optional)
Actually, KIM includes some other files like license file, documentation, and gallery. You may install them if you want. To install them, please do the following:
- mkdir /usr/share/kim
- cp ~/kim4/COPYING /usr/share/kim/kim_about.txt
- mkdir /usr/share/kim/slideshow/
- cp ~/kim4/src/slideshow/* /usr/share/kim/slideshow/
- mkdir /usr/share/kim/gallery
- cp ~/kim4/src/gallery/* /usr/share/kim/gallery
Use KIM
Right-click to any image file (JPEG, PNG, GIF, etc.) see Actions > Compress & Resize and see Actions > Convert & Rotate and see Actions > Treatment.
Acknowledgement
I'd like to say thank you to KIM developer Charles Bouveyron because I use it for years and truly it helps me a lot. and to DanielBull for showing how to install KIM in KDE 5.