mirror of
https://github.com/phaleixo/after_install_debian_12.git
synced 2025-12-05 21:49:44 -03:00
Compare commits
5 Commits
8c3ff56a33
...
8161f04351
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8161f04351 | ||
|
|
96d3236b7d | ||
|
|
cac0a21418 | ||
|
|
8531586795 | ||
|
|
d3cde30c46 |
142
README.md
142
README.md
@ -1,130 +1,36 @@
|
||||
Post installation script developed for Debian 12 live Gnome base, based on my use of programs, configurations and customizations.
|
||||
Link to download the ISO:
|
||||
https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-12.6.0-amd64-gnome.iso
|
||||
# After Install – Debian Stable (Gnome & XFCE)
|
||||
|
||||
Make all changes (recommend)
|
||||
**After Install Debian** is a post-installation setup designed to improve and simplify the experience after installing **Debian Stable**, whether you're using the **Gnome** or **XFCE** desktop environment.
|
||||
|
||||
```
|
||||
curl -o pos_install_complete.sh https://raw.githubusercontent.com/phaleixo/after_install_debian_12/main/pos_install_complete.sh && chmod +x pos_install_complete.sh && ./pos_install_complete.sh && rm pos_install_complete.sh
|
||||
```
|
||||
This project is based on personal preferences, commonly used applications, system configurations, and desktop customizations — all wrapped into automated scripts for a faster and more complete setup.
|
||||
|
||||
Activating the contrib and non-free repository and install flatpak support and flathub repository:
|
||||
```
|
||||
curl -o activating_repo_apps.sh https://raw.githubusercontent.com/phaleixo/after_install_debian_12/main/activating_repo_apps.sh && chmod +x activating_repo_apps.sh && ./activating_repo_apps.sh && rm activating_repo_apps.sh
|
||||
```
|
||||
Change firefox ESR to Current:
|
||||
## 🎯 Project Goals
|
||||
|
||||
```
|
||||
curl -o change_firefox_esr_to_firefox.sh https://raw.githubusercontent.com/phaleixo/after_install_debian_12/main/change_firefox_esr_to_firefox.sh && chmod +x change_firefox_esr_to_firefox.sh && ./change_firefox_esr_to_firefox.sh && rm change_firefox_esr_to_firefox.sh
|
||||
```
|
||||
Codecs and tweaks installer:
|
||||
`
|
||||
exfat-fuse
|
||||
ffmpeg
|
||||
ffmpegthumbnailer
|
||||
firmware-amd-graphics
|
||||
firmware-linux-nonfree
|
||||
font-manager
|
||||
fonts-croscore
|
||||
fonts-noto
|
||||
fonts-noto-extra
|
||||
fonts-ubuntu
|
||||
gamemode
|
||||
gir1.2-gtop-2.0
|
||||
gnome-browser-connector
|
||||
gnome-firmware
|
||||
gnome-tweaks
|
||||
gstreamer1.0-plugins-ugly
|
||||
gstreamer1.0-vaapi
|
||||
gufw
|
||||
libavcodec-extra
|
||||
ldap-utils
|
||||
libasound2-plugins
|
||||
micro
|
||||
vdpauinfo
|
||||
python3-pip
|
||||
python3
|
||||
gnome-boxes
|
||||
p7zip-rar
|
||||
ntp
|
||||
network-manager-config-connectivity-debian
|
||||
ttf-mscorefonts-installer
|
||||
default-jre
|
||||
default-jdk -y
|
||||
`
|
||||
```
|
||||
curl -o codecs_and_tweaks_installer.sh https://raw.githubusercontent.com/phaleixo/after_install_debian_12/main/codecs_and_tweaks_installer.sh && chmod +x codecs_and_tweaks_installer.sh && ./codecs_and_tweaks_installer.sh && rm codecs_and_tweaks_installer.sh
|
||||
```
|
||||
- Automate essential software installations
|
||||
- Enable additional repositories (contrib/non-free, Flatpak, Flathub)
|
||||
- Install multimedia codecs and fonts
|
||||
- Apply useful system tweaks and remove unnecessary packages
|
||||
- Add productivity and usability-focused GNOME/XFCE extensions
|
||||
- Provide visual customization (fonts & wallpapers)
|
||||
- Offer AMD GPU driver adjustments if needed
|
||||
|
||||
Whether you're a beginner or experienced Debian user, this setup helps save time and delivers a more polished out-of-the-box experience.
|
||||
|
||||
Install Gnome-extensions:''places-status-indicator
|
||||
appindicator-support
|
||||
auto-activities
|
||||
quick-settings-tweaker
|
||||
dash-to-dock
|
||||
tophat
|
||||
tiling-assistant
|
||||
''
|
||||
```
|
||||
curl -o install_extensions.sh https://raw.githubusercontent.com/phaleixo/after_install_debian_12/main/install_extensions.sh && chmod +x install_extensions.sh && ./install_extensions.sh && rm install_extensions.sh
|
||||
```
|
||||
## 🌐 Get Started
|
||||
|
||||
Unnecessary Apps Remover:
|
||||
`
|
||||
fcitx*
|
||||
mozc*
|
||||
xiterm+thai*
|
||||
mlterm*
|
||||
xterm*
|
||||
hdate*
|
||||
kasumi*
|
||||
gnome-games*
|
||||
im*
|
||||
goldendict*
|
||||
hdate*
|
||||
uim*
|
||||
thunderbird*
|
||||
gnome-music
|
||||
gnome-software
|
||||
```
|
||||
curl -o unnecessary_apps_remover.sh https://raw.githubusercontent.com/phaleixo/after_install_debian_12/main/unnecessary_apps_remover.sh && chmod +x unnecessary_apps_remover.sh && ./unnecessary_apps_remover.sh && rm unnecessary_apps_remover.sh
|
||||
```
|
||||
All instructions, scripts, and detailed information are available on the official site:
|
||||
|
||||
Unnecessary Apps Remover:
|
||||
`
|
||||
flatpak:
|
||||
GIMP
|
||||
GIMP.Plugin.Resynthesizer
|
||||
Inkscape
|
||||
Builder
|
||||
Cambalache
|
||||
Workbench
|
||||
DolphinEmu
|
||||
Postman
|
||||
Flatseal
|
||||
bottles
|
||||
bitwarden.desktop
|
||||
Fragments
|
||||
sqlitebrowser
|
||||
)
|
||||
```
|
||||
curl -o install_apps.sh https://raw.githubusercontent.com/phaleixo/after_install_debian_12/main/install_apps.sh && chmod +x install_apps.sh && ./install_apps.sh && rm install_apps.sh
|
||||
```
|
||||
👉 **[https://phaleixo.github.io/after_install_debian_12/index.html](https://phaleixo.github.io/after_install_debian_12/index.html)**
|
||||
|
||||
There you'll find:
|
||||
|
||||
Switch Radeon to Amdgpu on Debian-based distros:
|
||||
- Step-by-step usage guide
|
||||
- Script explanations
|
||||
- Optional enhancements
|
||||
- Visual and system customizations
|
||||
|
||||
Enable amdgpu drive and disable Radeon drive on Linux, tested on Debian 12, but should work on any Debian based distro. Below is a list of all GPU models from the ‘Sea Islands’ and ‘Southern Islands’ families. If your GPU is on this list, then the procedure will probably be necessary.
|
||||
---
|
||||
|
||||
Tahiti, Bonaire, Hawaii, Pitcairn, Cape Verde, Oland.
|
||||
```
|
||||
curl -o radeon_to_amdgpu.sh https://raw.githubusercontent.com/phaleixo/after_install_debian_12/main/radeon_to_amdgpu.sh && chmod +x radeon_to_amdgpu.sh && ./radeon_to_amdgpu.sh && rm radeon_to_amdgpu.sh
|
||||
```
|
||||
install and set fonts:
|
||||
```
|
||||
curl -o fonts.sh https://raw.githubusercontent.com/phaleixo/after_install_debian_12/main/fonts.sh && chmod +x fonts.sh && ./fonts.sh && rm fonts.sh
|
||||
```
|
||||
install and set Wallpapers:
|
||||
```
|
||||
curl -o wallpapers.sh https://raw.githubusercontent.com/phaleixo/after_install_debian_12/main/wallpapers.sh && chmod +x wallpapers.sh && ./wallpapers.sh && rm wallpapers.sh
|
||||
```
|
||||
Feel free to explore, use, and contribute to improve the project!
|
||||
|
||||
Enjoy your Debian experience 🚀🐧
|
||||
|
||||
@ -12,7 +12,7 @@ const translations = {
|
||||
"about.title": "Porque usar os Scripts:",
|
||||
"about.description": "Apesar do Debian ser muito confiável, pode ser trabalhoso deixá-lo pronto para uso pessoal ou para trabalho.Estes scripts ajudam a tornar a pós-instalação com GNOME e Xfce mais simples .Tudo será feito utilizando o terminal, é só copiar e colar no terminal.",
|
||||
"scripts.title": "Scripts de Pós-Instalação",
|
||||
"scripts.complete.title": "Pós-Instalação base para GNOME e Xfce",
|
||||
"scripts.complete.title": "Pós-instalação base para GNOME e Xfce (recomendado)",
|
||||
"scripts.one":"Instalar Scripts individualmente",
|
||||
"scripts.complete.description": "Ativa os repositórios contrib e non-free,instala suporte ao Flatpak com o repositório Flathub, altera o Firefox ESR para a versão de lançamento atual, instala codecs multimídia, firmware, fontes e utilitários úteis e remove aplicativos pré-instalados desnecessários para limpar seu sistema.",
|
||||
"scripts.repos.title": "Ativar Repositórios",
|
||||
@ -21,12 +21,12 @@ const translations = {
|
||||
"scripts.firefox.description": "Mude do Firefox ESR para a versão de lançamento atual.",
|
||||
"scripts.codecs.title": "Codecs & Ajustes",
|
||||
"scripts.codecs.description": "Instale codecs multimídia, firmware, fontes e utilitários úteis.",
|
||||
"scripts.extensions.title": "Extensões GNOME",
|
||||
"scripts.extensions.title": "Extensões GNOME (GNOME)",
|
||||
"scripts.extensions.description": "Instale extensões úteis do GNOME como Dash-to-Dock, Tiling Assistant e mais.",
|
||||
"scripts.remove.title": "Remover Apps Desnecessários",
|
||||
"scripts.remove.description": "Remova aplicativos pré-instalados desnecessários para limpar seu sistema.",
|
||||
"scripts.apps.title": "Instalar Aplicativos",
|
||||
"scripts.look":"Melhorar Aparência",
|
||||
"scripts.look":"Melhorar Aparência (Opcional)",
|
||||
"scripts.plus":"Adicionais",
|
||||
"scripts.apps.description": "Instale aplicativos úteis via Flatpak incluindo GIMP, Inkscape e mais.",
|
||||
"scripts.radeon.title": "Radeon para AMDGPU",
|
||||
@ -61,7 +61,7 @@ const translations = {
|
||||
"about.description": "Aunque Debian es muy fiable, puede ser laborioso dejarlo listo para uso personal o para el trabajo. Estos scripts ayudan a simplificar la post-instalación más sencilla con GNOME y Xfce. Todo se hará usando la terminal; solo tienes que copiar y pegar en la terminal.",
|
||||
"scripts.title": "Scripts de Post-Instalación",
|
||||
"scripts.one":"Instalar Scripts individualmente",
|
||||
"scripts.complete.title": "Post-instalación base para GNOME y Xfce",
|
||||
"scripts.complete.title": "Post-instalación base para GNOME y Xfce (recomendado)",
|
||||
"scripts.complete.description": "Activa los repositorios contrib y non-free, instala soporte para Flatpak con el repositorio Flathub, cambia Firefox ESR por la versión de lanzamiento actual, instala códecs multimedia, firmware, fuentes y utilidades útiles, y elimina aplicaciones preinstaladas innecesarias para limpiar tu sistema.",
|
||||
"scripts.repos.title": "Activar Repositorios",
|
||||
"scripts.repos.description": "Activa los repositorios contrib y non-free e instala soporte para Flatpak con el repositorio Flathub.",
|
||||
@ -69,12 +69,12 @@ const translations = {
|
||||
"scripts.firefox.description": "Cambia de Firefox ESR a la versión de lanzamiento actual.",
|
||||
"scripts.codecs.title": "Códecs & Ajustes",
|
||||
"scripts.codecs.description": "Instala códecs multimedia, firmware, fuentes y utilidades útiles.",
|
||||
"scripts.extensions.title": "Extensiones GNOME",
|
||||
"scripts.extensions.title": "Extensiones GNOME (GNOME)",
|
||||
"scripts.extensions.description": "Instala extensiones útiles de GNOME como Dash-to-Dock, Tiling Assistant y más.",
|
||||
"scripts.remove.title": "Eliminar Apps Innecesarios",
|
||||
"scripts.remove.description": "Elimina aplicaciones preinstaladas innecesarias para limpiar tu sistema.",
|
||||
"scripts.apps.title": "Instalar Aplicaciones",
|
||||
"scripts.look":"Mejorar Apariencia",
|
||||
"scripts.look":"Mejorar Apariencia (opcional)",
|
||||
"scripts.plus":"Adicionales",
|
||||
"scripts.apps.description": "Instala aplicaciones útiles via Flatpak incluyendo GIMP, Inkscape y más.",
|
||||
"scripts.radeon.title": "Radeon a AMDGPU",
|
||||
@ -109,7 +109,7 @@ const translations = {
|
||||
"about.description": "Despite Debian being very reliable, getting it ready for personal or work use can be cumbersome. These scripts help make simpler post-Installation with GNOME and Xfce. Everything will be done using the terminal; just copy and paste into the terminal.",
|
||||
"scripts.title": "Post-Installation Scripts",
|
||||
"scripts.one":"Install Scripts Individually",
|
||||
"scripts.complete.title": "Base Post-Installation for GNOME and Xfce",
|
||||
"scripts.complete.title": "Base Post-Installation for GNOME and Xfce (recommended)",
|
||||
"scripts.complete.description": "Activates the contrib and non-free repositories, installs Flatpak support with the Flathub repository, switches Firefox ESR to the current release version, installs multimedia codecs, firmware, fonts, and useful utilities, and removes unnecessary pre-installed applications to clean up your system.",
|
||||
"scripts.repos.title": "Activate Repositories",
|
||||
"scripts.repos.description": "Activate contrib and non-free repositories and install Flatpak support with Flathub.",
|
||||
@ -117,12 +117,12 @@ const translations = {
|
||||
"scripts.firefox.description": "Change from Firefox ESR to the current release version.",
|
||||
"scripts.codecs.title": "Codecs & Tweaks",
|
||||
"scripts.codecs.description": "Install multimedia codecs, firmware, fonts, and useful utilities.",
|
||||
"scripts.extensions.title": "GNOME Extensions",
|
||||
"scripts.extensions.title": "GNOME Extensions (GNOME)",
|
||||
"scripts.extensions.description": "Install useful GNOME extensions like Dash-to-Dock, Tiling Assistant, and more.",
|
||||
"scripts.remove.title": "Remove Unneeded Apps",
|
||||
"scripts.remove.description": "Remove unnecessary pre-installed applications to clean up your system.",
|
||||
"scripts.apps.title": "Install Apps",
|
||||
"scripts.look":"Improve Appearance",
|
||||
"scripts.look":"Improve Appearance (optional)",
|
||||
"scripts.plus":"additional",
|
||||
"scripts.apps.description": "Install useful applications via Flatpak including GIMP, Inkscape, and more.",
|
||||
"scripts.radeon.title": "Radeon to AMDGPU",
|
||||
|
||||
@ -9,88 +9,75 @@ echo "https://github.com/phaleixo/after_install_debian_12"
|
||||
|
||||
### Confirm script execution
|
||||
read -p "Do you want to proceed? (y/n): " response
|
||||
[[ "$response" != "y" ]] && inform "Operation canceled by the user." && exit 0
|
||||
[[ "$response" != "y" ]] && echo "Operation canceled by the user." && exit 0
|
||||
|
||||
### check if the distribution is compatible
|
||||
if [[ $(lsb_release -cs) = "bookworm" ]]
|
||||
then
|
||||
echo ""
|
||||
echo -e "\e[32;1mDebian 12 Distribution.\e[m"
|
||||
echo ""
|
||||
echo "Continuing with the script..."
|
||||
echo ""
|
||||
### Check if the distribution is compatible
|
||||
if [[ $(lsb_release -cs) = "bookworm" ]]; then
|
||||
echo -e "\n\e[32;1mDebian 12 Distribution.\e[m\n"
|
||||
else
|
||||
echo -e "\e[31;1mDistribution not approved for use with this script.\e[m"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
### check if there is an internet connection.
|
||||
if ping -q -c 3 -W 1 1.1.1.1 >/dev/null;
|
||||
then
|
||||
echo ""
|
||||
echo -e "\e[32;1mInternet connection OK.\e[m"
|
||||
echo ""
|
||||
echo "Continuing with the script..."
|
||||
echo ""
|
||||
### Check internet connection
|
||||
if ping -q -c 3 -W 1 1.1.1.1 >/dev/null; then
|
||||
echo -e "\n\e[32;1mInternet connection OK.\e[m\n"
|
||||
else
|
||||
echo -e "\e[31;1mYou are not connected to the internet. Check your network or Wi-Fi connection before proceeding.\e[m"
|
||||
echo -e "\e[31;1mNo internet connection.\e[m"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
### Prepare environment
|
||||
clear
|
||||
mkdir -p ~/.fonts
|
||||
|
||||
wget --version > /dev/null
|
||||
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "wget not available , installing"
|
||||
command -v wget >/dev/null || {
|
||||
echo "wget not found, installing..."
|
||||
sudo apt update && sudo apt install wget -y
|
||||
fi
|
||||
}
|
||||
|
||||
unzip >> /dev/null
|
||||
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "unzip not available , installing"
|
||||
command -v unzip >/dev/null || {
|
||||
echo "unzip not found, installing..."
|
||||
sudo apt update && sudo apt install unzip -y
|
||||
}
|
||||
|
||||
### Install Inter font (if not already installed)
|
||||
if ! fc-list | grep -iq "Inter"; then
|
||||
echo "Installing Inter font..."
|
||||
sudo apt install fonts-inter -y
|
||||
else
|
||||
echo "Inter font already installed."
|
||||
fi
|
||||
|
||||
|
||||
wget -O fonts.zip "https://github.com/mozilla/Fira/archive/refs/tags/4.202.zip"
|
||||
|
||||
wget -O firacode.zip "https://github.com/tonsky/FiraCode/releases/download/1.204/FiraCode_1.204.zip"
|
||||
|
||||
wget -O FontsForDesign.zip "https://github.com/phaleixo/after_install_debian_12/blob/main/src/Fonts%20for%20design.zip"
|
||||
|
||||
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "Downloading failed , exiting"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
unzip fonts.zip -d ~/.fonts
|
||||
unzip firacode.zip -d ~/.fonts
|
||||
### Download custom fonts for design (optional)
|
||||
wget -O FontsForDesign.zip "https://github.com/phaleixo/after_install_debian_12/blob/main/src/Fonts%20for%20design.zip?raw=true"
|
||||
unzip FontsForDesign.zip -d ~/.fonts
|
||||
|
||||
### Update font cache
|
||||
clear
|
||||
echo "purging fonts cache "
|
||||
sudo fc-cache -v -f
|
||||
clear
|
||||
echo "Done"
|
||||
sleep 2
|
||||
clear
|
||||
echo "Setting default fonts "
|
||||
echo "Purging fonts cache..."
|
||||
fc-cache -v -f
|
||||
|
||||
gsettings set org.gnome.desktop.interface document-font-name 'Fira Sans Regular 11'
|
||||
gsettings set org.gnome.desktop.interface font-name 'Fira Sans Regular 11'
|
||||
gsettings set org.gnome.desktop.interface monospace-font-name 'Fira Code Regular 11'
|
||||
gsettings set org.gnome.nautilus.desktop font 'Fira Sans Regular 11'
|
||||
gsettings set org.gnome.desktop.wm.preferences titlebar-font "Fira Sans SemiBold 12"
|
||||
clear
|
||||
### Set fonts based on DE
|
||||
echo "Setting default fonts..."
|
||||
|
||||
rm -rf fonts.zip
|
||||
rm -rf firacode.zip
|
||||
rm -rf FontsForDesign.zip
|
||||
if [[ $XDG_CURRENT_DESKTOP == *"GNOME"* ]]; then
|
||||
gsettings set org.gnome.desktop.interface document-font-name 'Inter Regular 10'
|
||||
gsettings set org.gnome.desktop.interface font-name 'Inter Regular 10'
|
||||
gsettings set org.gnome.desktop.interface monospace-font-name 'Inter Mono 10'
|
||||
gsettings set org.gnome.nautilus.desktop font 'Inter Regular 10'
|
||||
gsettings set org.gnome.desktop.wm.preferences titlebar-font "Inter SemiBold 11"
|
||||
echo "Fonts set for GNOME"
|
||||
elif [[ $XDG_CURRENT_DESKTOP == *"XFCE"* ]]; then
|
||||
xfconf-query -c xsettings -p /Gtk/FontName -s "Inter 10"
|
||||
xfconf-query -c xsettings -p /Gtk/MonospaceFontName -s "Inter Mono 10"
|
||||
echo "Fonts set for XFCE"
|
||||
else
|
||||
echo "Unknown desktop environment. Set fonts manually if needed."
|
||||
fi
|
||||
|
||||
echo -e "Fonts installed"
|
||||
### Cleanup
|
||||
rm -f FontsForDesign.zip
|
||||
|
||||
echo -e "\nFonts installed and configured successfully.\n"
|
||||
exit 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user