DEBIAN Desktop
:info:
Voir la dernière version Buster
Télécharger : https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/
Je conseille la version Debian gnome non-free car elle contient des firmware pour cartes WIFI non libres, et c'est toujours compliqué si on a pas un câble ethernet à portée de main
En partant d'une installation Debian STABLE serveur et qu'il vous manque le bureau graphique alors :
sudo apt install task-gnome-desktop # DEBIAN GNOME-SHELL
Log as root
sudo -i
Fresh Install
- install debian-9.x.x-gnome-nonfree #yes I know, however it helps having wireless chip properly detected
- root password ⇒ empty !
- pavé tactile :
- clic ON
- défilement naturel OFF
partitions
- / 30G
- swap = RAM, ex: 4G
- /home le reste
Debian repositories
sudo -icd /etc/apt/preferences.d
cat <<EOF > stable.pref Package: * Pin: release a=stable Pin-Priority: 800 EOF
cat <<EOF > testing.pref Package: * Pin: release a=testing Pin-Priority: 400 EOF
cat <<EOF > unstable.pref Package: * Pin: release a=unstable Pin-Priority: 50 EOF
rm /etc/apt/sources.listrm /etc/apt/sources.list.d/base.list
cat <<EOF > /etc/apt/sources.list deb http://security.debian.org/ stretch/updates contrib non-free main deb http://security.debian.org/ testing/updates main contrib non-free deb http://ftp.fr.debian.org/debian/ stretch-updates contrib non-free main deb http://ftp.fr.debian.org/debian/ testing-updates contrib non-free main deb http://ftp.fr.debian.org/debian/ stretch main contrib non-free deb http://ftp.fr.debian.org/debian/ testing main contrib non-free deb http://ftp.fr.debian.org/debian/ unstable main contrib non-free EOF
apt update && apt dist-upgrade -yapt install -y bash-completion htop nethogs vim curl wget git gir1.2-gtop-2.0 gir1.2-networkmanager-1.0 samba nautilus-share
firefox
apt install -yt unstable firefoxapt remove firefox-esr
addons
cd /usr/lib/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/rm * -rfwget https://addons.mozilla.org/firefox/downloads/file/1086463 -O uBlock0@raymondhill.net.xpicd
flash
- snippet.bash
apt install -y flashplugin-nonfree wget `curl 'https://get.adobe.com/flashplayer/download/?installer=FP_32.0_for_Linux_64-bit_(.tar.gz)_-_NPAPI&sType=7564&standalone=1' | grep location\.href | cut -d "'" -f2` tar xvf flash_player_npapi_linux.x86_64.tar.gz cp libflashplayer.so /usr/lib/flashplugin-nonfree/libflashplayer.so chmod 644 /usr/lib/flashplugin-nonfree/libflashplayer.so chown root:root /usr/lib/flashplugin-nonfree/libflashplayer.so update-alternatives --quiet --install /usr/lib/mozilla/plugins/flash-mozilla.so flash-mozilla.so /usr/lib/flashplugin-nonfree/libflashplayer.so 50
apps & favorites
[ `whoami` != 'root' ] || exitgsettings set org.gnome.shell favorite-apps "['org.gnome.Nautilus.desktop','firefox.desktop','org.gnome.Software.desktop']"gsettings set org.gnome.settings-daemon.peripherals.keyboard remember-numlock-state truegsettings set org.gnome.desktop.interface clock-show-date truegsettings set org.gnome.nautilus.preferences click-policy 'single'
automated extensions
[ `whoami` != 'root' ] || exit- # DEAL with gnome-shell-extensions, normal user
mkdir ~/.binecho 'PATH=$HOME/.bin:$PATH' >> ~/.bashrcsource ~/.bashrccd ~/.binwget https://github.com/brunelli/gnome-shell-extension-installer/raw/master/gnome-shell-extension-installerchmod +x gnome-shell-extension-installersudo rm -rf /usr/share/gnome-shell/extensions/*gnome-shell-extension-installer 104 111 112 120 277 307 --yessudo cp ~/.local/share/gnome-shell/extensions/*@*/schemas/org.gnome.shell.extensions.*.gschema.xml /usr/share/glib-2.0/schemas/ && sudo glib-compile-schemas /usr/share/glib-2.0/schemas/- # configuration
gsettings set org.gnome.shell.extensions.dash-to-dock apply-custom-theme truegsettings set org.gnome.shell.extensions.dash-to-dock autohide truegsettings set org.gnome.shell.extensions.dash-to-dock autohide-in-fullscreen falsegsettings set org.gnome.shell.extensions.dash-to-dock require-pressure-to-show truegsettings set org.gnome.shell.extensions.dash-to-dock animation-time 0.10gsettings set org.gnome.shell.extensions.dash-to-dock hide-delay 0.10gsettings set org.gnome.shell.extensions.dash-to-dock show-delay 0.15gsettings set org.gnome.shell.extensions.net.gfxmonk.impatience speed-factor 0.25gsettings set org.gnome.shell.extensions.system-monitor show-tooltip truegsettings set org.gnome.shell.extensions.system-monitor cpu-show-text falsegsettings set org.gnome.shell.extensions.system-monitor cpu-graph-width 60gsettings set org.gnome.shell.extensions.system-monitor memory-display falsegsettings set org.gnome.shell.extensions.system-monitor net-display falsegsettings set org.gnome.shell.extensions.system-monitor icon-display falsegsettings set org.gnome.shell.extensions.netspeed show-sum truegsettings set org.gnome.shell.overrides dynamic-workspaces falsegsettings set org.gnome.desktop.wm.preferences num-workspaces 1gsettings set org.gnome.mutter overlay-key 'Super_L'gnome-shell --replace &
pretty boot
allow-hotplug en0
sudo sed -i 's/auto eth0/allow-hotplug eth0/' /etc/network/interfaces.d/setup
boot F2 to hide all..
- # silent boot
sudo nano /etc/default/grub
[...] # remplacer les lignes par : GRUB_TIMEOUT=1 GRUB_CMDLINE_LINUX_DEFAULT="quiet splash console=tty3 earlyprintk=tty3"
sudo update-grub
optional: DVD
sudo echo "\ndeb https://download.videolan.org/pub/debian/stable/ /" >> /etc/apt/sources.listwget -O - https://download.videolan.org/pub/debian/videolan-apt.asc | sudo apt-key add -sudo apt install apt-transport-httpssudo apt update && sudo apt install libdvdcss2 libdvdread4
