From 816157fc254c8414478c9777ebcfeada4ca2efb8 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sat, 20 Apr 2024 10:23:15 +0300 Subject: [PATCH] add initial desktop files for the scripts wrappers --- etc/xdg/autostart/README.md | 10 ++++++++++ etc/xdg/autostart/a-brave-beta.desktop | 15 +++++++++++++++ etc/xdg/autostart/a-brave-nightly.desktop | 16 ++++++++++++++++ etc/xdg/autostart/a-brave.desktop | 15 +++++++++++++++ 4 files changed, 56 insertions(+) create mode 100644 etc/xdg/autostart/a-brave-beta.desktop create mode 100644 etc/xdg/autostart/a-brave-nightly.desktop create mode 100644 etc/xdg/autostart/a-brave.desktop diff --git a/etc/xdg/autostart/README.md b/etc/xdg/autostart/README.md index 359d2377..1a59b370 100644 --- a/etc/xdg/autostart/README.md +++ b/etc/xdg/autostart/README.md @@ -7,3 +7,13 @@ populated._ - redshift - app that changes screen temperature along the sun - telegramdesktop - IM app, based on telegram-desktop package - com.wire.WireDesktop - Wire flatpak based on the flatpak of the same name + +## `a-*.desktop` + +These files belong to `/usr/local/share/applications` and are named so to +avoid masking package manager. They have clearly different names such as using +all caps. To refresh them: + +```bash +sudo update-desktop-database -v /usr/local/share/applications +``` diff --git a/etc/xdg/autostart/a-brave-beta.desktop b/etc/xdg/autostart/a-brave-beta.desktop new file mode 100644 index 00000000..993c3a31 --- /dev/null +++ b/etc/xdg/autostart/a-brave-beta.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=BRAVE BETA +Exec=/usr/local/bin/brave-beta %U +StartupNotify=true +Terminal=false +Icon=brave-browser-beta +Categories=Network;WebBrowser; +MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ipfs;x-scheme-handler/ipns; +Actions=Guest + +[Desktop Action Guest] +Name=Vierasistunto +Exec=/usr/local/bin/brave-beta --guest %U diff --git a/etc/xdg/autostart/a-brave-nightly.desktop b/etc/xdg/autostart/a-brave-nightly.desktop new file mode 100644 index 00000000..39315840 --- /dev/null +++ b/etc/xdg/autostart/a-brave-nightly.desktop @@ -0,0 +1,16 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=BRAVE NIGHTLY +Name[fi]=BRAVE EPĂ„VAKAIN +Exec=/usr/local/bin/brave-nightly %U +StartupNotify=true +Terminal=false +Icon=brave-browser-nightly +Categories=Network;WebBrowser; +MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ipfs;x-scheme-handler/ipns; +Actions=Guest + +[Desktop Action Guest] +Name=Vierasistunto +Exec=/usr/local/bin/brave-nightly --guest %U diff --git a/etc/xdg/autostart/a-brave.desktop b/etc/xdg/autostart/a-brave.desktop new file mode 100644 index 00000000..aa9baa74 --- /dev/null +++ b/etc/xdg/autostart/a-brave.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=BRAVE +Exec=/usr/local/bin/brave %U +StartupNotify=true +Terminal=false +Icon=brave-browser +Categories=Network;WebBrowser; +MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ipfs;x-scheme-handler/ipns; +Actions=Guest + +[Desktop Action Guest] +Name=Vierasistunto +Exec=/usr/local/bin/brave --guest %U