diff --git a/README.md b/README.md index 4feecff..66d4e3e 100644 --- a/README.md +++ b/README.md @@ -157,14 +157,3 @@ Mon guide à suivre lors d'une réinstallation d'Ubuntu ```bash wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installSignal.sh -O tmp.sh && bash tmp.sh; rm tmp.sh ``` - -
- Mémo de commande utile peu de temps après une réinstallation/mise à jour - - - - - Désactive des éléments du "Bureau" dans Ubuntu - ```bash - sudo mv /usr/share/applications/debian-xterm.desktop /usr/share/applications/debian-xterm.desktop.bak - sudo mv /usr/share/applications/debian-uxterm.desktop usr/share/applications/debian-uxterm.desktop.bak - ``` -
diff --git a/ubuntuConfiguration.sh b/ubuntuConfiguration.sh index 6203aae..6cae6a9 100644 --- a/ubuntuConfiguration.sh +++ b/ubuntuConfiguration.sh @@ -35,5 +35,19 @@ echo "Window are now minimized when clicked in te dock!" gsettings set org.gnome.desktop.interface show-battery-percentage true echo "Battery pourcentage now displayed!" +# Icons +# Path where icons are saved +pathicons='/usr/share/applications' +apps=("debian-xterm" "debian-uxterm") + +# We remove the Ubuntu desktop shortcut only if it already exists +for app in ${apps[@]} +do + if [ -f $pathicons/$app.desktop ] + then + sudo mv $pathicons/$app.desktop $pathicons/$app.desktop.bak + echo "$app's icon removed!" + fi +done echo -e "\nGlobal Ubuntu modifications applied! 🎉"