Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT →
Ceci est une ancienne révision du document !
lsblk --fs
dd if=image.iso of=/dev/sdx bs=4M && sync
Problème
umount /dev/sdx
dd if=/dev/zero of=/dev/sdx bs=2048 count=32
pluma /etc/apt/sources.list
# Debian stable dépôt principal + paquets non libres deb http://deb.debian.org/debian/ stable main contrib non-free # Debian stable mises à jour de sécurité + paquets non libres deb http://security.debian.org/ stable/updates main contrib non-free # Debian stable mises à jour "volatiles" + paquets non libres deb http://deb.debian.org/debian/ stable-updates main contrib non-free # Debian stable dépôt de rétroportages ("backports") deb http://deb.debian.org/debian/ buster-backports main contrib non-free # stable deb-multimedia deb http://www.deb-multimedia.org stable main non-free
# sid deb http://deb.debian.org/debian/ sid main contrib non-free # sid deb-multimedia deb http://www.deb-multimedia.org sid main non-free
pluma /etc/apt/preferences.d/50multimedia
Package: * Pin: release o=Unofficial Multimedia Packages,a=stable Pin-Priority: 100
apt-get update -o Acquire::AllowInsecureRepositories=true apt-get install deb-multimedia-keyring apt update apt full-upgrade
https://debian-facile.org/doc:systeme:apt:sources.list:depots-tiers
Installer ou Migrer vers Debian sid
apt-get update apt install mate-desktop-environment-extras network-manager hardinfo avidemux thunderbird thunderbird-l10n-fr ffmpeg mpv hardinfo audacious audacity dvdbackup easytag geany geany-plugin* vobcopy yad youtube-dl zenity mplayer picard quodlibet spek gparted handbrake kid3-cli lsdvd mencoder mgba-common mgba-qt mgba-sdl
apt update apt install build-essential cifs-utils dconf-editor fakeroot fdkaac flac gawk gconf-editor genisoimage git gstreamer1.0-plugins-bad gstreamer1.0-plugins-base intltool libdca0 libdvdcss2 libdvdnav4 libdvdread8 libgpod-dev libgtk2.0-dev libimobiledevice-dev libimobiledevice-utils mtp-tools pkg-config python3-tk qpdfview samba smbclient vorbis-tools xz-utils checkinstall firmware-atheros firmware-iwlwifi unrar firmware-b43-installer caja-open-terminal gnome-calculator minidlna mkvtoolnix mkvtoolnix-gui firmware-brcm80211 firmware-linux firmware-linux-free firmware-linux-nonfree amd64-microcode intel-microcode nvidia-detect nvidia-driver pulseaudio pavucontrol firmware-intel-sound firmware-realtek build-essential firmware-b43-installer apt upgrade
apt update apt install firmware-realtek nvidia-driver alsa-tools
echo "options snd_hda_intel model=alc274-dell-aio alias snd-card-0 snd-hda-intel alias sound-slot-0 snd-hda-intel alias sound-slot-0 snd-card-0 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-oss" > /etc/modprobe.d/hda.conf
echo "/usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x0 /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIRECTION 0x0 /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x0 sleep 3 /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x04 /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIRECTION 0x04 /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x04" > /opt/start_hda.txt
chmod +x /opt/start_hda.txt
echo "slyfox ALL=(ALL:ALL) ALL" >> /etc/sudoers
Création d'un fichier muet:
ffmpeg -f lavfi -i anullsrc -t 10 /opt/silence.mp3
Ligne de commande pour raccourcis :
Type: Application Nom: Start_audio Commande: mpg123 --loop 10000 /opt/silence.mp3"
Type: Application Nom: Start_hda Commande:sudo "/opt/start_hda.txt"
apt-get install gdm3
Choisir gdm3.
pluma /etc/X11/xorg.conf.d/20-nvidia.conf
Section "Module" Load "modesetting" EndSection Section "Device" Identifier "nvidia" Driver "nvidia" BusID "PCI:01:00:0" Option "AllowEmptyInitialConfiguration" EndSection
pluma /usr/share/gdm/greeter/autostart/optimus.desktop
[Desktop Entry] Type=Application Name=Optimus Exec=sh -c "xrandr --setprovideroutputsource modesetting NVIDIA-0; xrandr --auto" NoDisplay=true X-GNOME-Autostart-Phase=DisplayServer
pluma /etc/xdg/autostart/optimus.desktop
[Desktop Entry] Type=Application Name=Optimus Exec=sh -c "xrandr --setprovideroutputsource modesetting NVIDIA-0; xrandr --auto" NoDisplay=true X-GNOME-Autostart-Phase=DisplayServer
systemctl restart gdm3.service
https://lecrabeinfo.net/installer-pilote-proprietaire-nvidia-sur-debian-linux.html
apt update apt install firmware-brcm80211
https://debian-facile.org/doc:materiel:wifi:detecter
https://wiki.debian.org/Firmware
https://wiki.debian.org/Firmware/List
dmesg | grep firmware
https://debian-facile.org/doc:materiel:wifi:detecter#etape-4activer-l-interface-reseau
Télécharger les dernières versions des paquets disponible :
cd /home/slyfox wget http://ftp.ch.debian.org/debian/pool/main/p/pyrenamer/pyrenamer_0.6.0-1.2_all.deb wget http://ftp.ch.debian.org/debian/pool/main/g/gnome-python/python-gconf_2.28.1+dfsg-1.2_amd64.deb
apt install /home/slyfox/python-gconf_2.28.1+dfsg-1.2_amd64.deb apt install /home/slyfox/pyrenamer_0.6.0-1.2_all.deb
Ajouter une ligne autologin-utilisateur spécifiant votre nom d'utilisateur dans le fichier /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf.
pluma /usr/share/lightdm/lightdm.conf.d/01_debian.conf
# Debian specific defaults # # - use lightdm-greeter session greeter, points to the etc-alternatives managed # greeter # - hide users list by default, we don't want to expose them # - use Debian specific session wrapper, to gain support for # /etc/X11/Xsession.d scripts [SeatDefaults] greeter-session=lightdm-greeter greeter-hide-users=true session-wrapper=/etc/X11/Xsession autologin-user=slyfox
dconf reset -f /
su - adduser slyfox sudo
# This file is written by xdg-user-dirs-update # If you want to change or add directories, just edit the line you're # interested in. All local changes will be retained on the next run. # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an # absolute path. No other format is supported. # XDG_DESKTOP_DIR="$HOME/OneDrive/Bureau" XDG_DOWNLOAD_DIR="$HOME/OneDrive/Downloads" XDG_TEMPLATES_DIR="$HOME/Templates" XDG_PUBLICSHARE_DIR="$HOME/Public" XDG_DOCUMENTS_DIR="$HOME/OneDrive/Documents" #XDG_MUSIC_DIR="$HOME/Music" #XDG_PICTURES_DIR="$HOME/Pictures" #XDG_VIDEOS_DIR="$HOME/Videos"
apt install bash-completion pluma /etc/bash.bashrc
Rechercher la ligne # enable bash completion in interactive shell et supprimer les dièses (#) sur la portion de code après cette ligne jusqu'au dernier fi.
ce qui doit donné au final :
# enable bash completion in interactive shells if ! shopt -oq posix; then if [ -f /usr/share/bash-completion/bash_completion ]; then . /usr/share/bash-completion/bash_completion elif [ -f /etc/bash_completion ]; then . /etc/bash_completion fi fi
Ajouter si nécessaire ce dépôt:
deb http://deb.debian.org/debian/ buster main contrib non-free
Activer Multi-Arch et mettre à jour la liste des paquets disponibles.
dpkg --add-architecture i386 apt update
Installez le paquet steam:
apt install steam
Installez les pilotes recommandés et les bibliothèques Vulkan 32 bits:
Liens:
https://wiki.debian.org/fr/Steam
Si erreur “libGL.so.1”
apt install libgl1-nvidia-glvnd-glx:i386
Identifier numéro UUID
lsblk --fs
pluma /etc/fstab
# Disque externe HDD_STOCKAGE UUID=94f63283-8e6d-49dc-99db-8d0385d1d797 /media/slyfox/HDD_STOCKAGE ext4 defaults 0 2
mount --all
Donner les droits utilsateur.
chown -R slyfox:slyfox /media/slyfox/HDD_STOCKAGE/