From 8636aaebe8eb9ebf648c8bb46305f5d542b5990e Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 29 Apr 2024 14:17:11 +0300 Subject: [PATCH] desktop files: attempt to trust the $PATH --- local/share/applications/a-brave-beta.desktop | 8 ++++---- .../applications/a-brave-nightly.desktop | 8 ++++---- local/share/applications/a-brave.desktop | 8 ++++---- local/share/applications/a-firefox.desktop | 6 +++--- .../applications/a-google-chrome.desktop | 8 ++++---- local/share/applications/a-joplin.desktop | 2 +- .../a-microsoft-edge-beta.desktop | 8 ++++---- .../applications/a-microsoft-edge-dev.desktop | 8 ++++---- .../applications/a-microsoft-edge.desktop | 8 ++++---- local/share/applications/a-mpv.desktop | 2 +- local/share/applications/a-signal.desktop | 2 +- local/share/applications/a-steam.desktop | 20 +++++++++---------- local/share/applications/a-syncplay.desktop | 2 +- .../share/applications/a-thunderbird.desktop | 2 +- local/share/applications/briar.desktop | 2 +- local/share/applications/libreawoo.desktop | 10 +++++----- 16 files changed, 52 insertions(+), 52 deletions(-) diff --git a/local/share/applications/a-brave-beta.desktop b/local/share/applications/a-brave-beta.desktop index 5c94ef91..3a1c75b7 100644 --- a/local/share/applications/a-brave-beta.desktop +++ b/local/share/applications/a-brave-beta.desktop @@ -2,7 +2,7 @@ Version=1.0 Type=Application Name=BETA BRAVE -Exec=/usr/local/bin/brave-beta %U +Exec=/usr/bin/env brave-beta %U StartupNotify=true Terminal=false Icon=brave-browser-beta @@ -13,14 +13,14 @@ Actions=new-window;new-private-window;Guest; [Desktop Action new-window] Name=New Window Name[fi]=Uusi ikkuna -Exec=/usr/local/bin/brave-beta +Exec=/usr/bin/env brave-beta [Desktop Action new-private-window] Name=New Incognito Window Name[fi]=Uusi incognito-ikkuna -Exec=/usr/local/bin/brave-beta --incognito +Exec=/usr/bin/env brave-beta --incognito [Desktop Action Guest] Name=Guest session Name[fi]=Vierasistunto -Exec=/usr/local/bin/brave-beta --guest +Exec=/usr/bin/env brave-beta --guest diff --git a/local/share/applications/a-brave-nightly.desktop b/local/share/applications/a-brave-nightly.desktop index 679a2ae9..1109e94d 100644 --- a/local/share/applications/a-brave-nightly.desktop +++ b/local/share/applications/a-brave-nightly.desktop @@ -3,7 +3,7 @@ Version=1.0 Type=Application Name=NIGHTLY BRAVE Name[fi]=EPÄVAKAIN BRAVE -Exec=/usr/local/bin/brave-nightly %U +Exec=/usr/bin/env brave-nightly %U StartupNotify=true Terminal=false Icon=brave-browser-nightly @@ -14,14 +14,14 @@ Actions=new-window;new-private-window;Guest; [Desktop Action new-window] Name=New Window Name[fi]=Uusi ikkuna -Exec=/usr/local/bin/brave-nightly +Exec=/usr/bin/env brave-nightly [Desktop Action new-private-window] Name=New Incognito Window Name[fi]=Uusi incognito-ikkuna -Exec=/usr/local/bin/brave-nightly --incognito +Exec=/usr/bin/env brave-nightly --incognito [Desktop Action Guest] Name=Guest session Name[fi]=Vierasistunto -Exec=/usr/local/bin/brave-nightly --guest +Exec=/usr/bin/env brave-nightly --guest diff --git a/local/share/applications/a-brave.desktop b/local/share/applications/a-brave.desktop index 136d6efb..98457af4 100644 --- a/local/share/applications/a-brave.desktop +++ b/local/share/applications/a-brave.desktop @@ -2,7 +2,7 @@ Version=1.0 Type=Application Name=BRAVE -Exec=/usr/local/bin/brave %U +Exec=/usr/bin/env brave %U StartupNotify=true Terminal=false Icon=brave-browser @@ -13,14 +13,14 @@ Actions=new-window;new-private-window;Guest; [Desktop Action new-window] Name=New Window Name[fi]=Uusi ikkuna -Exec=/usr/local/bin/brave +Exec=/usr/bin/env brave [Desktop Action new-private-window] Name=New Incognito Window Name[fi]=Uusi incognito-ikkuna -Exec=/usr/local/bin/brave --incognito +Exec=/usr/bin/env brave --incognito [Desktop Action Guest] Name=Guest session Name[fi]=Vierasistunto -Exec=/usr/local/bin/brave --guest +Exec=/usr/bin/env brave --guest diff --git a/local/share/applications/a-firefox.desktop b/local/share/applications/a-firefox.desktop index e8c05fc7..04b1c6c9 100644 --- a/local/share/applications/a-firefox.desktop +++ b/local/share/applications/a-firefox.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Version=1.0 Name=FIREFOX -Exec=/usr/local/bin/firefox %U +Exec=/usr/bin/env firefox %U Icon=firefox Terminal=false Type=Application @@ -14,9 +14,9 @@ StartupWMClass=firefox [Desktop Action new-window] Name=Open a New Window Name[fi]=Uusi ikkuna -Exec=/usr/local/bin/firefox --new-window %U +Exec=/usr/bin/env firefox --new-window %U [Desktop Action new-private-window] Name=Open a New Private Window Name[fi]=Uusi yksityinen ikkuna -Exec=/usr/local/bin/firefox --private-window %U +Exec=/usr/bin/env firefox --private-window %U diff --git a/local/share/applications/a-google-chrome.desktop b/local/share/applications/a-google-chrome.desktop index 4cd0619e..34568f69 100644 --- a/local/share/applications/a-google-chrome.desktop +++ b/local/share/applications/a-google-chrome.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Version=1.0 Name=GOOGLE CHROME -Exec=/usr/local/bin/google-chrome %U +Exec=/usr/bin/env google-chrome %U StartupNotify=true Terminal=false Icon=google-chrome @@ -13,14 +13,14 @@ Actions=new-window;new-private-window;Guest; [Desktop Action new-window] Name=New Window Name[fi]=Uusi ikkuna -Exec=/usr/local/bin/google-chrome +Exec=/usr/bin/env google-chrome [Desktop Action new-private-window] Name=New Incognito Window Name[fi]=Uusi incognito-ikkuna -Exec=/usr/local/bin/google-chrome --incognito +Exec=/usr/bin/env google-chrome --incognito [Desktop Action Guest] Name=Guest session Name[fi]=Vierasistunto -Exec=/usr/local/bin/google-chrome --guest +Exec=/usr/bin/env google-chrome --guest diff --git a/local/share/applications/a-joplin.desktop b/local/share/applications/a-joplin.desktop index 9dce3013..629904eb 100644 --- a/local/share/applications/a-joplin.desktop +++ b/local/share/applications/a-joplin.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Name=JOPLIN -Exec=/usr/local/bin/joplin %U +Exec=/usr/bin/env joplin %U Icon=net.cozic.joplin_desktop StartupWMClass=Joplin Type=Application diff --git a/local/share/applications/a-microsoft-edge-beta.desktop b/local/share/applications/a-microsoft-edge-beta.desktop index 7d491da3..dad601a1 100644 --- a/local/share/applications/a-microsoft-edge-beta.desktop +++ b/local/share/applications/a-microsoft-edge-beta.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Version=1.0 Name=BETA MICROSOFT EDGE -Exec=/usr/local/bin/microsoft-edge-beta %U +Exec=/usr/bin/env microsoft-edge-beta %U StartupNotify=true Terminal=false Icon=microsoft-edge-beta @@ -13,14 +13,14 @@ Actions=new-window;new-private-window;Guest; [Desktop Action new-window] Name=New Window Name[fi]=Uusi ikkuna -Exec=/usr/local/bin/microsoft-edge-beta +Exec=/usr/bin/env microsoft-edge-beta [Desktop Action new-private-window] Name=New InPrivate Window Name[fi]=Uusi InPrivate-ikkuna -Exec=/usr/local/bin/microsoft-edge-beta --inprivate +Exec=/usr/bin/env microsoft-edge-beta --inprivate [Desktop Action Guest] Name=Guest session Name[fi]=Vierasistunto -Exec=/usr/local/bin/microsoft-edge-beta --guest +Exec=/usr/bin/env microsoft-edge-beta --guest diff --git a/local/share/applications/a-microsoft-edge-dev.desktop b/local/share/applications/a-microsoft-edge-dev.desktop index c5dc4df3..3df20b00 100644 --- a/local/share/applications/a-microsoft-edge-dev.desktop +++ b/local/share/applications/a-microsoft-edge-dev.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Version=1.0 Name=DEV MICROSOFT EDGE -Exec=/usr/local/bin/microsoft-edge-dev %U +Exec=/usr/bin/env microsoft-edge-dev %U StartupNotify=true Terminal=false Icon=microsoft-edge-dev @@ -13,14 +13,14 @@ Actions=new-window;new-private-window;Guest; [Desktop Action new-window] Name=New Window Name[fi]=Uusi ikkuna -Exec=/usr/local/bin/microsoft-edge-dev +Exec=/usr/bin/env microsoft-edge-dev [Desktop Action new-private-window] Name=New InPrivate Window Name[fi]=Uusi InPrivate-ikkuna -Exec=/usr/local/bin/microsoft-edge-dev --inprivate +Exec=/usr/bin/env microsoft-edge-dev --inprivate [Desktop Action Guest] Name=Guest session Name[fi]=Vierasistunto -Exec=/usr/local/bin/microsoft-edge-dev --guest +Exec=/usr/bin/env microsoft-edge-dev --guest diff --git a/local/share/applications/a-microsoft-edge.desktop b/local/share/applications/a-microsoft-edge.desktop index c23d2598..73746954 100644 --- a/local/share/applications/a-microsoft-edge.desktop +++ b/local/share/applications/a-microsoft-edge.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Version=1.0 Name=MICROSOFT EDGE -Exec=/usr/local/bin/microsoft-edge %U +Exec=/usr/bin/env microsoft-edge %U StartupNotify=true Terminal=false Icon=microsoft-edge @@ -13,14 +13,14 @@ Actions=new-window;new-private-window;Guest; [Desktop Action new-window] Name=New Window Name[fi]=Uusi ikkuna -Exec=/usr/local/bin/microsoft-edge +Exec=/usr/bin/env microsoft-edge [Desktop Action new-private-window] Name=New InPrivate Window Name[fi]=Uusi InPrivate-ikkuna -Exec=/usr/local/bin/microsoft-edge --inprivate +Exec=/usr/bin/env microsoft-edge --inprivate [Desktop Action Guest] Name=Guest session Name[fi]=Vierasistunto -Exec=/usr/local/bin/microsoft-edge --guest +Exec=/usr/bin/env microsoft-edge --guest diff --git a/local/share/applications/a-mpv.desktop b/local/share/applications/a-mpv.desktop index 28822e0b..e055dcd4 100644 --- a/local/share/applications/a-mpv.desktop +++ b/local/share/applications/a-mpv.desktop @@ -2,7 +2,7 @@ Type=Application Name=MPV Icon=mpv -Exec=/usr/local/bin/mpv -- %U +Exec=/usr/bin/env mpv -- %U Terminal=true Categories=AudioVideo;Audio;Video;Player;TV; MimeType=application/ogg;application/x-ogg;application/mxf;application/sdp;application/smil;application/x-smil;application/streamingmedia;application/x-streamingmedia;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;audio/aac;audio/x-aac;audio/vnd.dolby.heaac.1;audio/vnd.dolby.heaac.2;audio/aiff;audio/x-aiff;audio/m4a;audio/x-m4a;application/x-extension-m4a;audio/mp1;audio/x-mp1;audio/mp2;audio/x-mp2;audio/mp3;audio/x-mp3;audio/mpeg;audio/mpeg2;audio/mpeg3;audio/mpegurl;audio/x-mpegurl;audio/mpg;audio/x-mpg;audio/rn-mpeg;audio/musepack;audio/x-musepack;audio/ogg;audio/scpls;audio/x-scpls;audio/vnd.rn-realaudio;audio/wav;audio/x-pn-wav;audio/x-pn-windows-pcm;audio/x-realaudio;audio/x-pn-realaudio;audio/x-ms-wma;audio/x-pls;audio/x-wav;video/mpeg;video/x-mpeg2;video/x-mpeg3;video/mp4v-es;video/x-m4v;video/mp4;application/x-extension-mp4;video/divx;video/vnd.divx;video/msvideo;video/x-msvideo;video/ogg;video/quicktime;video/vnd.rn-realvideo;video/x-ms-afs;video/x-ms-asf;audio/x-ms-asf;application/vnd.ms-asf;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvxvideo;video/x-avi;video/avi;video/x-flic;video/fli;video/x-flc;video/flv;video/x-flv;video/x-theora;video/x-theora+ogg;video/x-matroska;video/mkv;audio/x-matroska;application/x-matroska;video/webm;audio/webm;audio/vorbis;audio/x-vorbis;audio/x-vorbis+ogg;video/x-ogm;video/x-ogm+ogg;application/x-ogm;application/x-ogm-audio;application/x-ogm-video;application/x-shorten;audio/x-shorten;audio/x-ape;audio/x-wavpack;audio/x-tta;audio/AMR;audio/ac3;audio/eac3;audio/amr-wb;video/mp2t;audio/flac;audio/mp4;application/x-mpegurl;video/vnd.mpegurl;application/vnd.apple.mpegurl;audio/x-pn-au;video/3gp;video/3gpp;video/3gpp2;audio/3gpp;audio/3gpp2;video/dv;audio/dv;audio/opus;audio/vnd.dts;audio/vnd.dts.hd;audio/x-adpcm;application/x-cue;audio/m3u; diff --git a/local/share/applications/a-signal.desktop b/local/share/applications/a-signal.desktop index 19f69d9e..bdac0e21 100644 --- a/local/share/applications/a-signal.desktop +++ b/local/share/applications/a-signal.desktop @@ -1,5 +1,5 @@ [Desktop Entry] Name=SIGNAL -Exec=/usr/local/bin/signal +Exec=/usr/bin/env signal Type=Application Icon=org.signal.Signal diff --git a/local/share/applications/a-steam.desktop b/local/share/applications/a-steam.desktop index 55a427a6..b0a4f1c6 100644 --- a/local/share/applications/a-steam.desktop +++ b/local/share/applications/a-steam.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Name=STEAM -Exec=/usr/local/bin/steam %U +Exec=/usr/bin/env steam %U Icon=steam Terminal=false Type=Application @@ -12,44 +12,44 @@ PrefersNonDefaultGPU=true [Desktop Action Store] Name=Store Name[fi]=Kauppa -Exec=/usr/local/bin/steam steam://store +Exec=/usr/bin/env steam steam://store [Desktop Action Community] Name=Community Name[fi]=Yhteisö -Exec=/usr/local/bin/steam steam://url/SteamIDControlPage +Exec=/usr/bin/env steam steam://url/SteamIDControlPage [Desktop Action Library] Name=Library Name[fi]=Kokoelma -Exec=/usr/local/bin/steam steam://open/games +Exec=/usr/bin/env steam steam://open/games [Desktop Action Servers] Name=Servers Name[fi]=Palvelimet -Exec=/usr/local/bin/steam steam://open/servers +Exec=/usr/bin/env steam steam://open/servers [Desktop Action Screenshots] Name=Screenshots Name[fi]=Kuvankaappaukset -Exec=/usr/local/bin/steam steam://open/screenshots +Exec=/usr/bin/env steam steam://open/screenshots [Desktop Action News] Name=News Name[fi]=Uutiset -Exec=/usr/local/bin/steam steam://open/news +Exec=/usr/bin/env steam steam://open/news [Desktop Action Settings] Name=Settings Name[fi]=Asetukset -Exec=/usr/local/bin/steam steam://open/settings +Exec=/usr/bin/env steam steam://open/settings [Desktop Action BigPicture] Name=Big Picture -Exec=/usr/local/bin/steam steam://open/bigpicture +Exec=/usr/bin/env steam steam://open/bigpicture [Desktop Action Friends] Name=Friends Name[fi]=Kaverit -Exec=/usr/local/bin/steam steam://open/friends +Exec=/usr/bin/env steam steam://open/friends diff --git a/local/share/applications/a-syncplay.desktop b/local/share/applications/a-syncplay.desktop index aa8ba282..afc17ac5 100644 --- a/local/share/applications/a-syncplay.desktop +++ b/local/share/applications/a-syncplay.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Name=SYNCPLAY -Exec=/usr/local/bin/syncplay %u +Exec=/usr/bin/env syncplay %u Terminal=true Type=Application Icon=~/src/github.com/syncplay/syncplay/syncplay/resources/syncplay.png diff --git a/local/share/applications/a-thunderbird.desktop b/local/share/applications/a-thunderbird.desktop index 71569125..86e587f7 100644 --- a/local/share/applications/a-thunderbird.desktop +++ b/local/share/applications/a-thunderbird.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Version=1.0 Name=THUNDERBIRD -Exec=/usr/local/bin/thunderbird %U +Exec=/usr/bin/env thunderbird %U Icon=thunderbird Terminal=false Type=Application diff --git a/local/share/applications/briar.desktop b/local/share/applications/briar.desktop index e7f83df9..03ba1083 100644 --- a/local/share/applications/briar.desktop +++ b/local/share/applications/briar.desktop @@ -1,5 +1,5 @@ [Desktop Entry] Name=BRIAR -Exec=/usr/local/bin/briar +Exec=/usr/bin/env briar Type=Application Icon=org.briarproject.Briar diff --git a/local/share/applications/libreawoo.desktop b/local/share/applications/libreawoo.desktop index 1f9a9690..a9f04419 100644 --- a/local/share/applications/libreawoo.desktop +++ b/local/share/applications/libreawoo.desktop @@ -10,20 +10,20 @@ Comment[fi]=LibreAwoo verkkoselain Comment[eo]=LibreAwoo retumiulo Categories=Network;WebBrowser;Security; StartupWMClass=librewolf-default -Exec=/usr/local/bin/libreawoo %U +Exec=/usr/bin/env libreawoo %U Icon=librewolf Actions=new-window;new-private-window;safe-mode;preferences; [Desktop Action new-window] Name=New Window -Exec=/usr/local/bin/libreawoo --new-window %U +Exec=/usr/bin/env libreawoo --new-window %U [Desktop Action new-private-window] Name=New Private Window -Exec=/usr/local/bin/libreawoo --private-window %U +Exec=/usr/bin/env libreawoo --private-window %U [Desktop Action safe-mode] Name=Start in Safe Mode -Exec=/usr/local/bin/libreawoo --safe-mode +Exec=/usr/bin/env libreawoo --safe-mode [Desktop Action preferences] Name=Show Preferences -Exec=/usr/local/bin/libreawoo --preferences +Exec=/usr/bin/env libreawoo --preferences