Dolphin: Converting nemo-actions to Dolphin service-menus

Hello, I have been trying on-and-off for a while now to convert one nemo action to a dolphin service menu option upon selecting a bootable ISO disk image.
I have tried every permutation that I can think of and it will still not work.
Below is the contents of my service-menu file:

[Desktop Entry]
Name=Test Boot ISO with QEMU
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=application/x-iso9660-image
Actions=qemu-test-boot-iso;
 
[Desktop Action qemu-test-boot-iso]
Name=Test Boot ISO with QEMU
Icon=qemu
Exec=qemu-system-x86_64 -m 8G -smp 2 -boot d -netdev user,id=net0,net=192.168.0.0/24,dhcpstart=192.168.0.9 -device virtio-net-pci,netdev=net0 -vga qxl -cdrom %u

Thank you for your time. Dave.

Welcome to the Manjaro community @The_Magic_Flute

Do you mean that the menu item does not appear in dolphin, or that the menu item appears, but nothing happens when you select it?

The file looks okay to me - everything that should be there is there. However, I can’t advise if the actual command is correct as I do not use qemu.

If the menu is not appearing in dolphin, make sure that it is saved as a .desktop file in the ~/.local/share/kio/servicemenus/ directory.

Note also that the .desktop file must be executable for it to appear in dolphin’s right-click menu.

1 Like