Project

General

Profile

How To: Add "Enqueue" to KDE-Dolphin context menu

Added by Jon Danniken over 11 years ago

This guide will show you how to create the "Enqueue" option in the context (right-click) menu of KDE-Dolphin. You will be creating a .desktop file, and putting it in the "ServiceMenus" directory; on my system, this is in "/usr/share/kde4/services/ServiceMenus/" (check to see if yours is there before proceeding).

Using a text editor (like kwrite or kate), create a text file with the following text:

[Desktop Entry]
ServiceTypes=KonqPopupMenu/Plugin,audio/*
Actions=EnqueueAudacious
Type=Service
/* X-KDE-Submenu=Audacious */
X-KDE-Priority=TopLevel

[Desktop Action EnqueueAudacious]
Name=Enqueue
Icon=audacious
Exec=audacious --enqueue %U

Save this file as "audacious.desktop" and put it somewhere like Documents (let's assume /home/user/Documents).

Now, in the console, you need to transfer the file to the ServiceMenus directory as root ("user" will, of course, be the name of your account):

[user]$ sudo cp /home/user/Documents/audacious.desktop /usr/share/kde4/services/ServiceMenus/
[sudo] password for user:

If you do not have sudo priviledges, you will first need to log in as root:

[user]$ su
Password:
[root]$ cp /home/user/Documents/audacious.desktop /usr/share/kde4/services/ServiceMenus/

Check to make sure that the audacious.desktop file made it into the ServiceMenus directory, then log out; when you log back in, you should now be able to right-click and Enqueue your songs.