Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
debian:desktop [2018/11/28 10:52] pvincent [Desktop] |
debian:desktop [2020/03/03 11:04] (current) pvincent [DEBIAN Desktop] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| DEBIAN Desktop | DEBIAN Desktop | ||
| ======= | ======= | ||
| + | |||
| + | :info: | ||
| + | |||
| + | Voir la dernière version [Buster](./buster) | ||
| + | |||
| + | ---- | ||
| Télécharger : | Télécharger : | ||
| Line 12: | Line 18: | ||
| `sudo apt install task-gnome-desktop # DEBIAN GNOME-SHELL` | `sudo apt install task-gnome-desktop # DEBIAN GNOME-SHELL` | ||
| + | |||
| + | ===== Log as root ===== | ||
| + | |||
| + | |||
| + | `sudo -i` | ||
| Fresh Install | Fresh Install | ||
| ------------- | ------------- | ||
| - | * install debian-9.0.4-gnome-nonfree #yes I know, however it helps having wireless chip properly detected | + | * install debian-9.x.x-gnome-nonfree #yes I know, however it helps having wireless chip properly detected |
| * root password => empty ! | * root password => empty ! | ||
| * pavé tactile : | * pavé tactile : | ||
| Line 23: | Line 34: | ||
| ### partitions | ### partitions | ||
| - | * / 30G | + | * **/ 30G** |
| * swap = RAM, ex: 4G | * swap = RAM, ex: 4G | ||
| * /home le reste | * /home le reste | ||
| Line 32: | Line 43: | ||
| * `sudo -i` | * `sudo -i` | ||
| * `cd /etc/apt/preferences.d` | * `cd /etc/apt/preferences.d` | ||
| - | * `cat <<EOF > stable.pref | + | |
| + | ``` | ||
| + | cat <<EOF > stable.pref | ||
| Package: * | Package: * | ||
| Pin: release a=stable | Pin: release a=stable | ||
| Pin-Priority: 800 | Pin-Priority: 800 | ||
| - | EOF` | + | EOF |
| - | * `cat <<EOF > testing.pref | + | ``` |
| + | |||
| + | ``` | ||
| + | cat <<EOF > testing.pref | ||
| Package: * | Package: * | ||
| Pin: release a=testing | Pin: release a=testing | ||
| Pin-Priority: 400 | Pin-Priority: 400 | ||
| - | EOF` | + | EOF |
| - | * `cat <<EOF > unstable.pref | + | ``` |
| + | |||
| + | ``` | ||
| + | cat <<EOF > unstable.pref | ||
| Package: * | Package: * | ||
| Pin: release a=unstable | Pin: release a=unstable | ||
| Pin-Priority: 50 | Pin-Priority: 50 | ||
| - | EOF` | + | EOF |
| + | ``` | ||
| * `rm /etc/apt/sources.list` | * `rm /etc/apt/sources.list` | ||
| - | * `cat <<EOF > /etc/apt/sources.list | + | * `rm /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/ stretch/updates contrib non-free main | ||
| deb http://security.debian.org/ testing/updates main contrib non-free | deb http://security.debian.org/ testing/updates main contrib non-free | ||
| Line 58: | Line 82: | ||
| deb http://ftp.fr.debian.org/debian/ testing 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 | deb http://ftp.fr.debian.org/debian/ unstable main contrib non-free | ||
| - | EOF` | + | EOF |
| + | ``` | ||
| * `apt update && apt dist-upgrade -y` | * `apt update && apt dist-upgrade -y` | ||
| * `apt install -y bash-completion htop nethogs vim curl wget git gir1.2-gtop-2.0 gir1.2-networkmanager-1.0 samba nautilus-share` | * `apt install -y bash-completion htop nethogs vim curl wget git gir1.2-gtop-2.0 gir1.2-networkmanager-1.0 samba nautilus-share` | ||
| - | |||
| - | |||
| ## firefox | ## firefox | ||
| - | * `apt install -t unstable firefox` | + | * `apt install -yt unstable firefox` |
| * `apt remove firefox-esr` | * `apt remove firefox-esr` | ||
| Line 79: | Line 103: | ||
| ### flash | ### flash | ||
| - | * `apt install flashplugin-nonfree` | + | ```bash |
| - | * `wget https://fpdownload.adobe.com/get/flashplayer/pdc/31.0.0.122/flash_player_npapi_linux.x86_64.tar.gz` | + | apt install -y flashplugin-nonfree |
| - | * `tar xvf flash_player_npapi_linux.x86_64.tar.gz` | + | 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` |
| - | * `cp libflashplayer.so /usr/lib/flashplugin-nonfree/libflashplayer.so` | + | tar xvf flash_player_npapi_linux.x86_64.tar.gz |
| - | * `chmod 644 /usr/lib/flashplugin-nonfree/libflashplayer.so` | + | cp libflashplayer.so /usr/lib/flashplugin-nonfree/libflashplayer.so |
| - | * `chown root:root /usr/lib/flashplugin-nonfree/libflashplayer.so` | + | chmod 644 /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` | + | 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 | ||
| + | |||
| + | ``` | ||
| Line 110: | Line 138: | ||
| * `chmod +x gnome-shell-extension-installer` | * `chmod +x gnome-shell-extension-installer` | ||
| * `sudo rm -rf /usr/share/gnome-shell/extensions/*` | * `sudo rm -rf /usr/share/gnome-shell/extensions/*` | ||
| - | * `gnome-shell-extension-installer 104 #netspeed` | + | * `gnome-shell-extension-installer 104 111 112 120 277 307 --yes` |
| - | * `gnome-shell-extension-installer 111 3.12 #calculator` | + | |
| - | * `gnome-shell-extension-installer 112 #accessibility turn off` | + | |
| - | * `gnome-shell-extension-installer 120 3.18 #system-monitor` | + | |
| - | * `gnome-shell-extension-installer 277 #impatience` | + | |
| - | * `gnome-shell-extension-installer 307 #dash-to-dock` | + | |
| * `sudo 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/` | * `sudo 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 | * # configuration | ||
| Line 133: | Line 156: | ||
| * `gsettings set org.gnome.shell.extensions.system-monitor icon-display false` | * `gsettings set org.gnome.shell.extensions.system-monitor icon-display false` | ||
| * `gsettings set org.gnome.shell.extensions.netspeed show-sum true` | * `gsettings set org.gnome.shell.extensions.netspeed show-sum true` | ||
| + | * `gsettings set org.gnome.shell.overrides dynamic-workspaces false` | ||
| + | * `gsettings set org.gnome.desktop.wm.preferences num-workspaces 1` | ||
| * `gsettings set org.gnome.mutter overlay-key 'Super_L'` | * `gsettings set org.gnome.mutter overlay-key 'Super_L'` | ||
| * `gnome-shell --replace &` | * `gnome-shell --replace &` | ||
| Line 152: | Line 177: | ||
| <file> | <file> | ||
| + | [...] # remplacer les lignes par : | ||
| GRUB_TIMEOUT=1 | GRUB_TIMEOUT=1 | ||
| GRUB_CMDLINE_LINUX_DEFAULT="quiet splash console=tty3 earlyprintk=tty3" | GRUB_CMDLINE_LINUX_DEFAULT="quiet splash console=tty3 earlyprintk=tty3" | ||
| Line 158: | Line 184: | ||
| * `sudo update-grub` | * `sudo update-grub` | ||
| + | ### optional: DVD | ||
| + | * `sudo echo "\ndeb https://download.videolan.org/pub/debian/stable/ /" >> /etc/apt/sources.list` | ||
| + | * `wget -O - https://download.videolan.org/pub/debian/videolan-apt.asc | sudo apt-key add -` | ||
| + | * `sudo apt install apt-transport-https` | ||
| + | * `sudo apt update && sudo apt install libdvdcss2 libdvdread4` | ||
