From 9eef8c42581b5fa11d76d2895602bf1b6b8260a8 Mon Sep 17 00:00:00 2001 From: dr460nf1r3 Date: Wed, 17 Feb 2021 12:45:27 +0100 Subject: [PATCH] Add TryExec to autostart items to not use them if app is not installed --- etc/skel/.config/autostart/conky.desktop | 1 + .../.config/autostart/garuda-welcome.desktop | 37 +++--- .../autostart/org.flameshot.Flameshot.desktop | 75 ++++++------ .../.config/autostart/org.ksnip.ksnip.desktop | 17 +-- .../autostart/paleofetch-recache.desktop | 1 + .../.config/autostart/redshift-gtk.desktop | 113 +++++++++--------- etc/skel/.config/autostart/variety.desktop | 5 +- etc/skel/.config/autostart/xdman.desktop | 11 +- 8 files changed, 134 insertions(+), 126 deletions(-) diff --git a/etc/skel/.config/autostart/conky.desktop b/etc/skel/.config/autostart/conky.desktop index b82d3dc..c53e42c 100755 --- a/etc/skel/.config/autostart/conky.desktop +++ b/etc/skel/.config/autostart/conky.desktop @@ -13,6 +13,7 @@ Path= StartupNotify=false Terminal=false TerminalOptions= +TryExec=conky Type=Application X-DBUS-ServiceName= X-DBUS-StartupType= diff --git a/etc/skel/.config/autostart/garuda-welcome.desktop b/etc/skel/.config/autostart/garuda-welcome.desktop index 6ef6748..cffdc50 100755 --- a/etc/skel/.config/autostart/garuda-welcome.desktop +++ b/etc/skel/.config/autostart/garuda-welcome.desktop @@ -1,19 +1,5 @@ [Desktop Entry] -Encoding=UTF-8 -Name=Garuda Welcome -Name[ca]=Garuda Welcome -Name[cs]=Garuda Vítejte -Name[de]=Garuda Willkommen -Name[el]=Garuda Welcome -Name[es]=Garuda Bienvenida -Name[fr]=Garuda Bienvenue -Name[it]=Garuda Benvenuto -Name[ja]=Garuda Welcome -Name[lt]=Garuda Pasveikinimas -Name[nl]=Garuda Welkom -Name[pt]=Garuda_Boas-vindas do Garuda -Name[ru]=Garuda Приветствие -Name[sv]=Garuda Välkommen +Categories=GNOME;GTK;System;Garuda-Setup; Comment=Display welcome message Comment[ca]=Mostra un missatge de benvinguda Comment[cs]=Zobrazuje uvítací obrazovku @@ -28,9 +14,24 @@ Comment[nl]=Laat welkomstbericht zien Comment[pt]=Mostra uma messagem de boas-vindas Comment[ru]=Показ приветственного сообщения Comment[sv]=Visa välkomstmeddelande +Encoding=UTF-8 Exec=garuda-welcome -Terminal=false -Type=Application Icon=garuda-welcome -Categories=GNOME;GTK;System;Garuda-Setup; +Name=Garuda Welcome +Name[ca]=Garuda Welcome +Name[cs]=Garuda Vítejte +Name[de]=Garuda Willkommen +Name[el]=Garuda Welcome +Name[es]=Garuda Bienvenida +Name[fr]=Garuda Bienvenue +Name[it]=Garuda Benvenuto +Name[ja]=Garuda Welcome +Name[lt]=Garuda Pasveikinimas +Name[nl]=Garuda Welkom +Name[pt]=Garuda_Boas-vindas do Garuda +Name[ru]=Garuda Приветствие +Name[sv]=Garuda Välkommen NoDisplay=false +Terminal=false +TryExec=garuda-welcome +Type=Application diff --git a/etc/skel/.config/autostart/org.flameshot.Flameshot.desktop b/etc/skel/.config/autostart/org.flameshot.Flameshot.desktop index 9d7b18d..7dd70c8 100755 --- a/etc/skel/.config/autostart/org.flameshot.Flameshot.desktop +++ b/etc/skel/.config/autostart/org.flameshot.Flameshot.desktop @@ -1,76 +1,77 @@ #!/usr/bin/env xdg-open [Desktop Entry] -Name=Flameshot -Name[zh_CN]=火焰截图 -GenericName=Screenshot tool -GenericName[zh_CN]=屏幕截图工具 -GenericName[pl]=Zrzuty ekranu -GenericName[fr]=Outil de capture d'écran -GenericName[ja]=スクリーンショットツール -GenericName[ru]=Создание скриншотов -GenericName[sk]=Nástroj na zachytávanie obrazovky -GenericName[sr]=Снимач екрана -GenericName[uk]=Інструмент скриншотів -GenericName[es]=Herramienta de captura de pantalla +Actions=Configure;Capture;Launcher; +Categories=Graphics; Comment=Powerful yet simple to use screenshot software. -Comment[zh_CN]=强大又易用的屏幕截图软件 -Comment[pl]=Proste w użyciu narzędzie do zrzutów ekranu +Comment[de]=Schlichte, leistungsstarke Screenshot-Software +Comment[es]=Software de captura de pantalla potente y fácil de usar. Comment[fr]=Logiciel de capture d'écran puissant et simple d'utilisation. Comment[ja]=パワフルで使いやすいスクリーンショットソフトウェア。 +Comment[pl]=Proste w użyciu narzędzie do zrzutów ekranu Comment[ru]=Простой и функциональный инструмент для создания скриншотов Comment[sk]=Mocný, no tiež jednoduchý softvér na zachytávanie obrazovky. Comment[sr]=Једноставан, а моћан алат за снимање екрана Comment[uk]=Потужний простий у використанні додаток для створення знімків екрану. -Comment[es]=Software de captura de pantalla potente y fácil de usar. -Comment[de]=Schlichte, leistungsstarke Screenshot-Software +Comment[zh_CN]=强大又易用的屏幕截图软件 +Exec=flameshot +GenericName=Screenshot tool +GenericName[es]=Herramienta de captura de pantalla +GenericName[fr]=Outil de capture d'écran +GenericName[ja]=スクリーンショットツール +GenericName[pl]=Zrzuty ekranu +GenericName[ru]=Создание скриншотов +GenericName[sk]=Nástroj na zachytávanie obrazovky +GenericName[sr]=Снимач екрана +GenericName[uk]=Інструмент скриншотів +GenericName[zh_CN]=屏幕截图工具 +Icon=org.flameshot.Flameshot Keywords=flameshot;screenshot;capture;shutter; -Keywords[zh_CN]=flameshot;screenshot;capture;shutter;截图;屏幕; +Keywords[de]=flameshot;screenshot;Bildschirmfoto;Aufnahme; +Keywords[es]=flameshot;screenshot;capture;shutter;captura; Keywords[fr]=flameshot;capture d'écran;capter;shutter; Keywords[ja]=flameshot;screenshot;capture;shutter;スクリーンショット;キャプチャー; -Keywords[es]=flameshot;screenshot;capture;shutter;captura; -Keywords[de]=flameshot;screenshot;Bildschirmfoto;Aufnahme; -Exec=flameshot -Icon=org.flameshot.Flameshot -Terminal=false -Type=Application -Categories=Graphics; +Keywords[zh_CN]=flameshot;screenshot;capture;shutter;截图;屏幕; +Name=Flameshot +Name[zh_CN]=火焰截图 StartupNotify=false -Actions=Configure;Capture;Launcher; -X-DBUS-StartupType=Unique +Terminal=false +TryExec=flameshot +Type=Application X-DBUS-ServiceName=org.flameshot.Flameshot +X-DBUS-StartupType=Unique X-KDE-DBUS-Restricted-Interfaces=org_kde_kwin_effect-screenshot [Desktop Action Configure] +Exec=flameshot config Name=Configure -Name[zh_CN]=配置 -Name[pl]=Konfiguruj +Name[de]=Einstellungen +Name[es]=Configurar Name[fr]=Configurer Name[ja]=設定 +Name[pl]=Konfiguruj Name[ru]=Настройки Name[sk]=Nastaviť Name[sr]=Подешавања Name[uk]=Налаштувати -Name[es]=Configurar -Name[de]=Einstellungen -Exec=flameshot config +Name[zh_CN]=配置 [Desktop Action Capture] +Exec=flameshot gui --delay 500 Name=Take screenshot -Name[zh_CN]=进行截图 -Name[pl]=Zrzut ekranu +Name[de]=Bildschirmfoto aufnehmen +Name[es]=Tomar captura de pantalla Name[fr]=Prendre une capture d'écran Name[ja]=スクリーンショットを撮る +Name[pl]=Zrzut ekranu Name[ru]=Сделать скриншот Name[sk]=Zachytiť obrazovku Name[sr]=Сними екран Name[uk]=Зробити знімок -Name[es]=Tomar captura de pantalla -Name[de]=Bildschirmfoto aufnehmen -Exec=flameshot gui --delay 500 +Name[zh_CN]=进行截图 [Desktop Action Launcher] +Exec=flameshot launcher Name=Open launcher Name[de]=Starter öffnen Name[sk]=Otvoriť spúšťač Name[zh_CN]=打开启动器 -Exec=flameshot launcher diff --git a/etc/skel/.config/autostart/org.ksnip.ksnip.desktop b/etc/skel/.config/autostart/org.ksnip.ksnip.desktop index e69a34d..4c32ea0 100755 --- a/etc/skel/.config/autostart/org.ksnip.ksnip.desktop +++ b/etc/skel/.config/autostart/org.ksnip.ksnip.desktop @@ -1,10 +1,11 @@ [Desktop Entry] -Type=Application -Exec=ksnip -Icon=ksnip -Terminal=false -StartupNotify=false -Name=ksnip -GenericName=ksnip Screenshot Tool -Comment=Cross-platform screenshot tool that provides many annotation features for your screenshots. Categories=Utility; +Comment=Cross-platform screenshot tool that provides many annotation features for your screenshots. +Exec=ksnip +GenericName=ksnip Screenshot Tool +Icon=ksnip +Name=ksnip +StartupNotify=false +Terminal=false +TryExec=ksnip +Type=Application diff --git a/etc/skel/.config/autostart/paleofetch-recache.desktop b/etc/skel/.config/autostart/paleofetch-recache.desktop index de4d96f..4923431 100755 --- a/etc/skel/.config/autostart/paleofetch-recache.desktop +++ b/etc/skel/.config/autostart/paleofetch-recache.desktop @@ -6,4 +6,5 @@ Icon=system-upgrade Name=Paleofetch recache StartupNotify=false Terminal=false +TryExec=paleofetch Type=Application diff --git a/etc/skel/.config/autostart/redshift-gtk.desktop b/etc/skel/.config/autostart/redshift-gtk.desktop index ca022eb..d543a0a 100755 --- a/etc/skel/.config/autostart/redshift-gtk.desktop +++ b/etc/skel/.config/autostart/redshift-gtk.desktop @@ -1,56 +1,6 @@ [Desktop Entry] Version=1.0 -Name=Redshift -Name[be]=Redshift -Name[ca]=Redshift -Name[cs]=Redshift -Name[da]=Redshift -Name[de]=Redshift -Name[en_GB]=Redshift -Name[es]=Redshift -Name[fr]=Redshift -Name[he]=Redshift -Name[hu]=Redshift -Name[it]=Redshift -Name[ja]=Redshift -Name[lt]=Redshift -Name[nb]=Rødskift -Name[pl]=Redshift -Name[pt]=Redshift -Name[pt_BR]=Redshift -Name[ro]=Redshift -Name[ru]=Redshift -Name[sr]=Редшифт -Name[sv]=Redshift -Name[tr]=Redshift -Name[uk]=Redshift -Name[zh_CN]=红移 -Name[zh_TW]=Redshift -GenericName=Color temperature adjustment -GenericName[be]=Рэгуляванне каляровай тэмпературы -GenericName[ca]=Ajust de la temperatura de color -GenericName[cs]=Nastavení teploty barev -GenericName[da]=Justering af farvetemperatur -GenericName[de]=Farbtemperaturanpassung -GenericName[en_GB]=Colour temperature adjustment -GenericName[es]=Ajuste de la temperatura de color -GenericName[fr]=Réglage de la température de couleur -GenericName[he]=התאמת טמפרטורת צבע -GenericName[hu]=Színhőmérséklet beállítása -GenericName[it]=Regolazione della temperatura del colore -GenericName[ja]=色温度の調整 -GenericName[lt]=Spalvos temperatūros reguliavimas -GenericName[nb]=Justering av fargetemperatur -GenericName[nl]=Bijstelling van kleurtemperatuur -GenericName[pl]=Dostosowanie temperatury barwowej -GenericName[pt_BR]=Ajuste de temperatura de cor -GenericName[ru]=Настройка цветовой температуры -GenericName[sr]=Прилагођавање температуре боје -GenericName[sv]=Färgtemperaturjustering -GenericName[tr]=Renk sıcaklığı ayarı -GenericName[uk]=Налаштування колірної температури -GenericName[zh_CN]=色温调节 -GenericName[zh_TW]=色溫調整 +Categories=Utility; Comment=Color temperature adjustment tool Comment[be]=Інструмент рэгулявання каляровай тэмпературы Comment[ca]=Eina per a l'ajust de la temperatura de color @@ -77,11 +27,62 @@ Comment[uk]=Знаряддя налаштувань колірної темпе Comment[zh_CN]=色温调节工具 Comment[zh_TW]=色溫調整工具 Exec=redshift-gtk -Icon=redshift -Terminal=false -Type=Application -Categories=Utility; -StartupNotify=true +GenericName=Color temperature adjustment +GenericName[be]=Рэгуляванне каляровай тэмпературы +GenericName[ca]=Ajust de la temperatura de color +GenericName[cs]=Nastavení teploty barev +GenericName[da]=Justering af farvetemperatur +GenericName[de]=Farbtemperaturanpassung +GenericName[en_GB]=Colour temperature adjustment +GenericName[es]=Ajuste de la temperatura de color +GenericName[fr]=Réglage de la température de couleur +GenericName[he]=התאמת טמפרטורת צבע +GenericName[hu]=Színhőmérséklet beállítása +GenericName[it]=Regolazione della temperatura del colore +GenericName[ja]=色温度の調整 +GenericName[lt]=Spalvos temperatūros reguliavimas +GenericName[nb]=Justering av fargetemperatur +GenericName[nl]=Bijstelling van kleurtemperatuur +GenericName[pl]=Dostosowanie temperatury barwowej +GenericName[pt_BR]=Ajuste de temperatura de cor +GenericName[ru]=Настройка цветовой температуры +GenericName[sr]=Прилагођавање температуре боје +GenericName[sv]=Färgtemperaturjustering +GenericName[tr]=Renk sıcaklığı ayarı +GenericName[uk]=Налаштування колірної температури +GenericName[zh_CN]=色温调节 +GenericName[zh_TW]=色溫調整 Hidden=false +Icon=redshift +Name=Redshift +Name[be]=Redshift +Name[ca]=Redshift +Name[cs]=Redshift +Name[da]=Redshift +Name[de]=Redshift +Name[en_GB]=Redshift +Name[es]=Redshift +Name[fr]=Redshift +Name[he]=Redshift +Name[hu]=Redshift +Name[it]=Redshift +Name[ja]=Redshift +Name[lt]=Redshift +Name[nb]=Rødskift +Name[pl]=Redshift +Name[pt]=Redshift +Name[pt_BR]=Redshift +Name[ro]=Redshift +Name[ru]=Redshift +Name[sr]=Редшифт +Name[sv]=Redshift +Name[tr]=Redshift +Name[uk]=Redshift +Name[zh_CN]=红移 +Name[zh_TW]=Redshift +StartupNotify=true +Terminal=false +TryExec=redshift-gtk +Type=Application X-GNOME-Autostart-enabled=true diff --git a/etc/skel/.config/autostart/variety.desktop b/etc/skel/.config/autostart/variety.desktop index 63ce464..f88b524 100755 --- a/etc/skel/.config/autostart/variety.desktop +++ b/etc/skel/.config/autostart/variety.desktop @@ -1,8 +1,9 @@ [Desktop Entry] -Name=Variety Comment=Variety Wallpaper Changer -Icon=variety Exec=variety +Icon=variety +Name=Variety Terminal=false +TryExec=variety Type=Application X-GNOME-Autostart-Delay=20 diff --git a/etc/skel/.config/autostart/xdman.desktop b/etc/skel/.config/autostart/xdman.desktop index 2ab0ef6..e1d0eb0 100755 --- a/etc/skel/.config/autostart/xdman.desktop +++ b/etc/skel/.config/autostart/xdman.desktop @@ -1,10 +1,11 @@ [Desktop Entry] Encoding=UTF-8 Version=1.0 -Type=Application -Terminal=false -Exec=java -Xmx1024m -jar "/opt/xdman/xdman.jar" -m -Name=Xtreme Download Manager -Comment=Xtreme Download Manager Categories=Network; +Comment=Xtreme Download Manager +Exec=java -Xmx1024m -jar "/opt/xdman/xdman.jar" -m Icon=/opt/xdman/icon.png +Name=Xtreme Download Manager +Terminal=false +TryExec=java +Type=Application