Linux Today: Linux News On Internet Time.

Do-It-Yourself Konqueror Commands

Sep 26, 2008, 03:02 (0 Talkback[s])
(Other stories by Federico Kereki)

"KDE's Konqueror is as multifunctional as a Swiss Army knife. It works as both a file manager and a Web browser, and you can enhance it even further by adding new commands to its repertoire by means of service menus. The new commands appear in Konqueror's context menu when you right-click a file. Here's how to create service menus, and some specific commands that you might want to use in them.

"Service menus are specified with .desktop files. In KDE 3.5, global service menus (those available to all users) reside at /opt/kde3/share/apps/konqueror/servicemenus. If you're just creating a service menu for your own use, create the file in your specific KDE directory, which you can find out by using kde-config --localprefix; in my case, it's /home/fkereki/.kde3/share/apps/konqueror/service.

"You can pick any name for your service menu file, as long as it ends with .desktop. For instance, suppose you want to create a menu command to count words and lines in text files without opening a console window and using wc. You can create count_words_and_lines.desktop in your KDE directory using any text editor.

Complete Story

Related Stories: