Commit 05cab913 authored by Leo's avatar Leo Committed by Rasmus Thomsen
Browse files

community/firefox: add StartupWMClass=firefox to the .desktop entries

parent b4ec14e8
Pipeline #28928 failed with stages
in 1 minute and 11 seconds
......@@ -5,7 +5,7 @@ pkgname=firefox
# Date of release, YY-MM-DD for metainfo file (see package())
pkgdesc="Firefox web browser"
# Limited on:
......@@ -282,6 +282,13 @@ package() {
install -m644 "$srcdir"/firefox.desktop "$pkgdir"/usr/share/applications/org.mozilla.firefox.desktop
install -m644 "$srcdir"/firefox-safe.desktop "$pkgdir"/usr/share/applications/org.mozilla.firefox-safe.desktop
# Add StartupWMClass=firefox on the .desktop files so Desktop Environments
# correctly associate the window with their icon, the correct fix is to have
# firefox sets its own AppID but this will work for the meantime
# See:
echo "StartupWMClass=firefox" >> "$pkgdir"/usr/share/applications/org.mozilla.firefox.desktop
echo "StartupWMClass=firefox" >> "$pkgdir"/usr/share/applications/org.mozilla.firefox-safe.desktop
# install our vendor prefs
install -d "$pkgdir"/$_mozappdir/browser/defaults/preferences
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment