I actually want to ask two questions:
Where can I find more about available arguments/parameters shortcuts for Exec entry in desktop files (like %U, %u, %f...)
Main question, how to pass file as argument on .desktop launcher for wine application?
I found searching here this suggestion: z:%f which is of no use to me, as if I simply run .desktop file without passing file on it, it assumes that argument is z: and starts scanning z: "drive"
Example:
[Desktop Entry]
Name=Some Windows program
Exec=wine "program.exe" z:%f
Type=Application
Terminal=false
MimeType=application/docbook+xml
I want to drop XML file on my custom .desktop launcher for this wine application and I can this way. Problem is that if I click on launcher icon to evoke this program, argument z: is always passed on it and that's not acceptable
z:%fworkaround is no good as whenever I launch this wine application argumentz:is passed on it and I want to avoid that – zetah Dec 10 '11 at 22:18application.exethat you want to pass the current selected file in nautilus to it iefile.txt? – Bruno Pereira♦ Dec 10 '11 at 22:32execline that checks for a%f, if it exists launch the application on the file, if not just launch the application. Care for it or is it not an option? – Bruno Pereira♦ Dec 11 '11 at 1:03