You are not logged in.
Hello again,
following my former post ...
https://forum.xfce.org/viewtopic.php?id=14415
... I selected two files on the desktop to drag and drop them on my starter.
[Desktop Entry]
Version=1.0
Type=Application
Name=testdnd
Comment=
Exec=/home/christoph/testdnd.sh %F
Icon=
Path=/home/christoph
Terminal=true
StartupNotify=false
GenericName=testdnd
X-Desktop-File-Install-Version=0.23
According to the Desktop Entry Specification ...
%f A single file name (including the path), even if multiple files are selected. The system reading the desktop entry should recognize that the program in question cannot handle multiple file arguments, and it should probably spawn and execute multiple copies of a program for each selected file if the program is not able to handle additional file arguments.
----
%F A list of files. Use for apps that can open several local files at once. Each file is passed as a separate argument to the executable program.
... %F tells the system that my application (script) will accept multiple arguments.
But "the system" spawns two instances of my test script, one for each argument.
I would like one instance that receives two arguments.
Am I missing something?
Or is xfce is not following the specs here?
Best regards,
Christoph
XFCE 4.12 on Debian/Linux (Buster) in German (my translations may be inaccurate)
Offline
I'm getting the same results. I would guess it's a bug.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Online
Should I file a bug report?
Which version of xfce did you use?
XFCE 4.12 on Debian/Linux (Buster) in German (my translations may be inaccurate)
Offline
I'm running the latest built directly from the git tree.
You can file a bug report here.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Online
XFCE 4.12 on Debian/Linux (Buster) in German (my translations may be inaccurate)
Offline
[ Generated in 0.006 seconds, 7 queries executed - Memory usage: 534.93 KiB (Peak: 535.77 KiB) ]