Merge all the Ubuntu configuration to one file

This commit is contained in:
Mylloon 2021-12-28 16:48:40 +01:00
parent 4c9ea5a7a4
commit ca1a455716
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 29 additions and 51 deletions

View file

@ -127,25 +127,9 @@ Mon guide à suivre lors d'une réinstallation d'Ubuntu
wget -q --show-progress https://raw.githubusercontent.com/GaZaTu/x11-emoji-picker/master/install.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
```
- Rajoute les raccourcis clavier
- Met en place quelques configurations que j'utilises sur Ubuntu
```bash
# Attention le script ne gère pas les raccourcis qui sont déjà assignés à certaines touches
wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/createKeyboardsShortcut.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
```
- [Retire la corbeille](https://ubuntuhandbook.org/index.php/2021/10/remove-trash-from-dock-ubuntu/) de la barre des tâches
```bash
gsettings set org.gnome.shell.extensions.dash-to-dock show-trash false
```
- [Déplace le menu des Applications](https://medium.com/@suneel.omrey/move-show-applications-right-to-left-of-the-dock-in-ubuntu-18-04-9592dfd18c9a)
```bash
gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true
```
- [Déplace la barre des tâches](https://askubuntu.com/a/966930)
```bash
gsettings set org.gnome.shell.extensions.dash-to-dock dock-position BOTTOM
wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/ubuntuConfiguration.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
```
- Historique du presse-papier
@ -169,16 +153,6 @@ Mon guide à suivre lors d'une réinstallation d'Ubuntu
wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installMultiMC.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
```
- Permet de réduire une fenêtre ouverte au click dans la barre des tâches
```bash
gsettings set org.gnome.shell.extensions.dash-to-dock click-action minimize
```
- Affiche le pourcentage de batterie
```bash
gsettings set org.gnome.desktop.interface show-battery-percentage true
```
- Installe Signal
```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

View file

@ -77,35 +77,15 @@ then
# Install EmojiPicker and its keyboard shortcut
wget -q --show-progress https://raw.githubusercontent.com/GaZaTu/x11-emoji-picker/master/install.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
# Setup some others keyboard shortcut
bash createKeyboardsShortcut.sh
# Setup Ubuntu configuration
bash ubuntuConfiguration.sh
# Install clipboard history
bash installClipboardHistory.sh
# Remove the Trash icon from the bar
gsettings set org.gnome.shell.extensions.dash-to-dock show-trash false
echo -e "\nTrash icon removed from the dock! 🎉"
# Move the Menu Button to the top of the bar
gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true
echo -e "\nMenu button moved from left to right in the dock! 🎉"
# Move the taskbar to the bottom
gsettings set org.gnome.shell.extensions.dash-to-dock dock-position BOTTOM
echo -e "\nDock moved from the left to the bottom! 🎉"
# Install MultiMC
bash installMultiMC.sh
# Add minimized window on dock click
gsettings set org.gnome.shell.extensions.dash-to-dock click-action minimize
echo -e "\nWindow are now minimized when clicked in te dock! 🎉"
# Show battery pourcentage
gsettings set org.gnome.desktop.interface show-battery-percentage true
echo -e "\nBattery pourcentage now displayed! 🎉"
# Install Signal
bash installSignal.sh

View file

@ -12,4 +12,28 @@ gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "$
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/nautilus-shortcut/ name 'Nautilus' # Set name
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/nautilus-shortcut/ command 'nautilus -w' # Set command
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/nautilus-shortcut/ binding '<Super>E' # Set shortcut
echo -e "\nNautilus shortcut added (Super+E)! 🎉"
echo -e "\nNautilus shortcut added (Super+E)!"
# Desktop modifications
# Remove the Trash icon from the bar
gsettings set org.gnome.shell.extensions.dash-to-dock show-trash false
echo "Trash icon removed from the dock!"
# Move the Menu Button to the top of the bar
gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true
echo "Menu button moved from left to right in the dock!"
# Move the taskbar to the bottom
gsettings set org.gnome.shell.extensions.dash-to-dock dock-position BOTTOM
echo "Dock moved from the left to the bottom!"
# Add minimized window on dock click
gsettings set org.gnome.shell.extensions.dash-to-dock click-action minimize
echo "Window are now minimized when clicked in te dock!"
# Show battery pourcentage
gsettings set org.gnome.desktop.interface show-battery-percentage true
echo "Battery pourcentage now displayed!"
echo -e "\nGlobal Ubuntu modifications applied! 🎉"