Re: Looking for a generic drag and drop gui for custom commands
On Tue, 2020-09-08 at 17:41 +0100, Tixy wrote:
[...]
> You don't have to rely on the GUIs default terminal. If you set
> "Terminal=false" in the .desktop file you can launch your script how
> you want, e.g. I've used something...
>
> Exec=lxterminal --geometry=80x30 -e "sh -c /my/script"
>
I've just realised that may not work for you as the freedesktop spec
[1] says
"Field codes must not be used inside a quoted argument, the result of
field code expansion inside a quoted argument is undefined."
So it may not work for you using %F to specify passing multiple files
to your script like:
Exec=lxterminal --geometry=80x30 -e "sh -c /my/script %F"
[1] https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s07.html
--
Tixy
Reply to: