v1cont / yad

Yet Another Dialog
GNU General Public License v3.0
645 stars 58 forks source link

Optionally use gio launch to handle .desktop files #245

Open stormdragon2976 opened 10 months ago

stormdragon2976 commented 10 months ago

I use yad to create a list of files on my desktop. It's basically a quick applications menu where I get to decide what is there.

The problem is, not all the desktop files get launched properly. Sometimes when I add a new one, it shows up in the list, but pressing enter on it or clicking it does nothing. If I use gio launch file.desktop from the commandline it works as it should.

Would it be possible to add a --gio flag to --icons so that gio launch could be used to open the desktop file instead of xdg-open or whatever is used currently?