lcpz / awesome-freedesktop

Freedesktop.org menu and desktop icons support for Awesome WM
GNU General Public License v2.0
129 stars 25 forks source link

ParrotOS compliance #16

Open Locutu5 opened 4 years ago

Locutu5 commented 4 years ago

Using Awesome WM on a Parrot Linux distribution with awesome-freedesktop installed as per the github instructions. The standard program .desktop files are detected and a menu is generated but the Parrot specific .desktop items and catagories are not detected/included in the generated menu. What could be done to have those included?

lcpz commented 4 years ago

This module should only detect and include Freedesktop-compliant files.

But if you can provide examples of these Parrot-specific files, I will add them to the parser.

Locutu5 commented 4 years ago

Hi, thanks for the reply.

In the folder "/usr/share/desktop-directories/" parrot put a heap of desktop directory menu files. The base one is Parrot.directory and it contains

[Desktop Entry] Name=Pentesting Type=Directory Icon=/usr/share/icons/parrot-menu.png

This then has subdirectory files such as "04-01-metasploit-framework.directory" which contains

[Desktop Entry] Name=* Metasploit Framework Type=Directory Icon=parrot-metasploit.png

These are referenced by desktop entries in "/usr/share/parrot-menu/applications/" An example file is "metasploit framework" which contains

[Desktop Entry] Name=metasploit framework Comment=Metasploit framework (CLI) Encoding=UTF-8 Exec=menuexec msfconsole-start Icon=parrot-metasploit.png StartupNotify=false Terminal=true Type=Application Categories=04-01-metasploit-framework; X-Parrot-Package=metasploit-framework

Unfortunately I am no longer using Awesome any more but if it helps, jgmenu can find those desktop entry files but even it doesn't recreate the categories.