order
This commit is contained in:
parent
b40264ecbe
commit
db1c60095e
1 changed files with 26 additions and 58 deletions
|
@ -5,74 +5,19 @@ this guide is made around the assumption that you are using
|
||||||
one of those. However, this could also be used as a reference
|
one of those. However, this could also be used as a reference
|
||||||
for general tweaks & tips for any desktop environment.
|
for general tweaks & tips for any desktop environment.
|
||||||
|
|
||||||
## Script
|
|
||||||
|
|
||||||
I made a simple script that you can run on a debian install
|
|
||||||
to customize some basic features like locale, non-free
|
|
||||||
software for nvidia drivers or Steam, it basically automates
|
|
||||||
the steps detailed in this guide for a quicker setup.
|
|
||||||
|
|
||||||
### Script functionality"
|
|
||||||
|
|
||||||
You can select any option by pressing 'y' or skip by pressing
|
|
||||||
anything else or leaving it blank. It currently supports:
|
|
||||||
|
|
||||||
- De-bloat by removing games, default torrent program, etc.
|
|
||||||
- Add non-free repositories (e.g. for Steam)
|
|
||||||
- Setup custom locales.
|
|
||||||
- Install non-free codecs & fonts (e.g. Arial)
|
|
||||||
- Install Steam
|
|
||||||
- Install flatpak (e.g. for Discord)
|
|
||||||
|
|
||||||
In order to run this script, type:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
wget -qO extrasel.sh "https://gitlab.com/tavo-wasd/guides/-/raw/main/awesome-software/debian-gnu-linux/extrasel.sh?ref_type=heads" && sudo sh extrasel.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
## Manual steps
|
|
||||||
|
|
||||||
### Manual update
|
### Manual update
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
sudo apt update && apt upgrade -y
|
sudo apt update && apt upgrade -y
|
||||||
```
|
```
|
||||||
|
|
||||||
### De-bloat
|
### Non-free repositories (for Valve's Steam, Microsoft Fonts, etc)
|
||||||
|
|
||||||
```shell
|
|
||||||
sudo apt purge gnome-games gnome-music synaptic transmission-gtk evolution shotwell -y
|
|
||||||
sudo apt autoremove -y
|
|
||||||
```
|
|
||||||
|
|
||||||
### Non-free repositories
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
sudo apt-add-repository contrib non-free -y
|
sudo apt-add-repository contrib non-free -y
|
||||||
```
|
```
|
||||||
### Custom locales.
|
|
||||||
|
|
||||||
First, look for your preferred locale in
|
### Non-free codecs & Microsoft Fonts
|
||||||
the available locales with this command:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
cat /usr/share/i18n/SUPPORTED
|
|
||||||
```
|
|
||||||
|
|
||||||
Choose the locale you prefer, and run:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
echo "CHOSENLOCALE" | sudo tee -a '/etc/locale.gen'
|
|
||||||
# For EXAMPLE: echo "es_CR.UTF-8 UTF-8" | su...
|
|
||||||
```
|
|
||||||
|
|
||||||
You can add as many locales as you want.
|
|
||||||
Then, generate the locales selected by running:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
sudo locale-gen
|
|
||||||
```
|
|
||||||
### Non-free codecs & fonts
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
sudo apt install vlc libavcodec-extra ttf-mscorefonts-installer
|
sudo apt install vlc libavcodec-extra ttf-mscorefonts-installer
|
||||||
|
@ -89,7 +34,6 @@ sudo apt install nvidia-driver
|
||||||
```shell
|
```shell
|
||||||
sudo dpkg --add-architecture i386 # Add 32bit packages
|
sudo dpkg --add-architecture i386 # Add 32bit packages
|
||||||
sudo apt update # Apply changes
|
sudo apt update # Apply changes
|
||||||
sudo apt install mesa-vulkan-drivers libglx-mesa0:i386 mesa-vulkan-drivers:i386 libgl1-mesa-dri:i386
|
|
||||||
sudo apt install steam-installer
|
sudo apt install steam-installer
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -111,6 +55,30 @@ You can add the 'flathub' repository this way:
|
||||||
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Custom locales.
|
||||||
|
|
||||||
|
First, look for your preferred locale in
|
||||||
|
the available locales with this command:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
cat /usr/share/i18n/SUPPORTED
|
||||||
|
```
|
||||||
|
|
||||||
|
Choose the locale you prefer, and run:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
locale="CHOSENLOCALE" ; ! grep -q "^$locale" /etc/locale.gen && echo "$locale" | sudo tee -a '/etc/locale.gen'
|
||||||
|
# For EXAMPLE:
|
||||||
|
#locale="es_CR.UTF-8 UTF-8" ; ! grep -q "^$locale" /etc/locale.gen && echo "$locale" | sudo tee -a '/etc/locale.gen'
|
||||||
|
```
|
||||||
|
|
||||||
|
You can add as many locales as you want.
|
||||||
|
Then, generate the locales selected by running:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
sudo locale-gen
|
||||||
|
```
|
||||||
|
|
||||||
### Restart
|
### Restart
|
||||||
|
|
||||||
You should restart your computer after applying this changes,
|
You should restart your computer after applying this changes,
|
||||||
|
|
Loading…
Reference in a new issue