Schneegans / Fly-Pie

:pie: Fly-Pie is an innovative marking menu written as a GNOME Shell extension.

Home Page:http://schneegans.github.io/news/2021/12/02/flypie10

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.desktop files as support in Actions section

D3vil0p3r opened this issue · comments

The Motivation

.desktop files already contain code to execute a specific application and set the related icon. Usually they are shown on Linux menus but it could be very comfortable to have the possibility to add an item like desktop file in order to show it directly in the FlyPie menu without specifying exec and icon because they are already specified in the .desktop file itself.

The Solution

Integrate the possibility to insert a .desktop application file in FlyPie menu. FlyPie menu could go to check the /usr/share/applications or $HOME/.local/share/applications to automatically detect .desktop app files to choose.

Hi there! This is already possible: If you add a "Launch Application" action, there is a small ... button next to the command field. If you click this, Fly-Pie lists all installed applications. The apps in this menu come from the desktop files of your system!

Oh very nice! Thank you!

Anyway, thanks for the report! This just made me realize that dragging *.desktop files to the menu editor did not work anymore on GNOME 45 (and maybe also earlier). I just pushed a fix to the main branch to resolve this issue! So you can now also drag *.desktop files to the menu editor!