Hi, I am using xampp for web development practice but xampp icon on the gnome dash not showing but it does show in application search.
I have download it from xampp’s site not from AUR.
I have created
xampp.desktop
and
org.freedesktop.xampp.policy
and able to successfully run the application without any error.
xampp.desktop code details:
Name=xampp
Comment=xampp
Exec=pkexec /opt/lampp/manager-linux-x64.run
Icon=/opt/lampp/htdocs/dashboard/images/favicon.png
Terminal=false
MimeType=application/xampp;
Type=Application
Encoding=UTF-8
Categories=Application;Development;Web;
Version=1.0
org.freedesktop.xampp.policy code details:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
<action id="org.freedesktop.xampp.policy">
<description>Run Xampp Control Panel</description>
<message>Authentication is required to run Xampp Control Panel</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/opt/lampp/manager-linux-x64.run</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">TRUE</annotate>
</action>
</policyconfig>
See the images: please add https before the link to see the images
Link1://ibb.co/M6ymCkL
Link2://ibb.co/3FPV8JC
I use this command to run it from application search
sudo cp org.freedesktop.xampp.policy /usr/share/polkit-1/actions
sudo cp xampp.desktop /usr/share/applications
Is there any way to show the icon on the dash or dock panel?
Thanks
Shahi