%U should be treated as list of files (like %F) when opening multiple selected files
Relevant .desktop
files specification section: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables
Example with mpv media player, whose .desktop
contains the following Exec
line: Exec=mpv --player-operation-mode=pseudo-gui -- %U
Current behavior:
- Select multiple videos and right click > open with mpv
- Multiple windows of mpv windows open, and all the selected videos play simultaneously.
What happends if %U
is replaced with %F
:
- Select multiple videos and right click > open with mpv
- Only one mpv window opens, with the selected videos in the playlist.
When multiple files are opened, %U
(list of URLs) should behave identically to %F
(list of files).