:: Re: [DNG] Gnome - Introducing stron…
Inizio della pagina
Delete this message
Reply to this message
Autore: Didier Kryn
Data:  
To: dng@lists.dyne.org
Oggetto: Re: [DNG] Gnome - Introducing stronger dependencies on systemd
Le 14/06/2025 à 01:53, Steve Litt a écrit :
> You CAN get dmenu to search .desktop files, and here's how you do it:
>
> I believe all your .desktop files are in your home directory and all
> end in .desktop.


    System applications'.desktop files are in /usr/share/applications/,
and (I guess) in /usr/local/share/applications/

    User's ones are in $HOME/.local/share/applications/

    This makes three directories to search.

    And you still need a program able to interpret the .desktop, which
is not very difficult though.

    I imagine dmenu has no mean to display the icons, but you can
probaly extract the application's name and decription matching the
current locale, the path to the executable, the current dir and wether
the application must run inside an xterm.

    All that, together with Steve's recipe might build a decent, while
iconless, dmenu-based appfinder.

--     Didier