.desktop file KDE Service menu - how to copy many files
0
votes
0
answers
293
views
I have a servicemenuitem for KDE which copies the selected file to the desktop.
It works when one file is selected on the desktop, but when multiple files are selected, they are not copied.
The -exec parameter "%F has a list of all files and their full paths in, but I don't know how to get this to work with the -cp command.
Thanks
[Desktop Action copytodesktop]
Exec=cp "%F" /home/acer1/Desktop
Name=Copy To Desktop
Icon=document-send
[Desktop Entry]
Actions=copytodesktop
ServiceTypes=KonqPopupMenu/Plugin
MimeType=all/all;
Type=Service
X-KDE-Priority=TopLevel
Asked by AliC
(1 rep)
May 10, 2021, 08:39 AM