I'm using a LXDE desktop.
I created a shortcut in the desktop to a python program, which can be passed files to, which are then opened in the GUI.
I mean passing files (file absolute paths) to the command by drag'n'dropping them over the shortcut on the desktop.
In fact this is already working, but only if I set Terminal=true in the Desktop Entry, which obviously makes the terminal be opened. I wanted to know if there's a way to pass the arguments to the command without the need to open the terminal.
I'm creating the shortcut like this:
[Desktop Entry]
Name=TBOPlayer
Comment=UI for omxplayer
Exec=python /path/to/tboplayer/tboplayer.py "%F"
Icon=/usr/share/pixmaps/python.xpm
Terminal=true
Type=Application
Is there a way to do this?
Thanks for reading,