How to group the entries in the right-click menu of a KDE file manager
July 26, 2015 1 Comment
This is easier to explain by giving an example. I will use PeaZip as my example, but the principle applies whatever the menu entries.
Immediately after installing PeaZip Portable on my main laptop running Gentoo Linux by using the steps in one of my earlier posts, the resulting right-click menu in KDE Dolphin looks like the screenshot below. Notice that the PeaZip entries in the Actions sub-menu are not listed contiguously.
But in KDE it is relatively easy to group menu entries tidily in a sub-menu, as shown in the screenshot below.
peazip*.desktop files for the five PeaZip actions shown in the above screenshots are located in the directory
~/.kde4/share/kde4/services/ServiceMenus/ and each file includes the line ‘
All I had to do was edit each of the five
peazip*.desktop files and change that line in each file to ‘