archlinuxhardened / selinux

PKGBUILDs to build SELinux enabled packages for Arch Linux
146 stars 25 forks source link

Wrong location for .desktop files #20

Open sorin-mihai opened 5 years ago

sorin-mihai commented 5 years ago

I noticed that the the .desktop files for SELinux related GUI aplications, although present in selinux-gui , are in a different location than the other .desktop files seen by GNOME. Perhaps upstream defaults anyway, so maybe not really a packaging issue.

As a solution I created symlinks in /usr/share/applications, now I can see all of them in the list of applications.

ln -s /usr/share/system-config-selinux/selinux-polgengui.desktop /usr/share/applications/selinux-polgengui.desktop

ln -s /usr/share/system-config-selinux/sepolicy.desktop /usr/share/applications/sepolicy.desktop

ln -s /usr/share/system-config-selinux/system-config-selinux.desktop /usr/share/applications/system-config-selinux.desktop

I'm not really sure how, or if, these changes should be done through selinux-gui package and I didn't check how upstream is handling this situation.