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 →
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
utilisateurs:slyfox:config:configuration-systeme [31/07/2019 16:33] Slyfox [MATE 1.20 - Debian stretch (stable)] |
utilisateurs:slyfox:config:configuration-systeme [01/11/2020 01:04] Slyfox [Monter automatiquement disque externe] |
||
---|---|---|---|
Ligne 3: | Ligne 3: | ||
===== Graver clé USB live ===== | ===== Graver clé USB live ===== | ||
- | <code root>fdisk -l</code> | + | <code root>lsblk --fs</code> |
<code root>dd if=image.iso of=/dev/sdx bs=4M && sync</code> | <code root>dd if=image.iso of=/dev/sdx bs=4M && sync</code> | ||
Ligne 10: | Ligne 10: | ||
{{/file-Rfd34724d994d65fb28eaa9bbeeda2c22.png}} | {{/file-Rfd34724d994d65fb28eaa9bbeeda2c22.png}} | ||
- | |||
- | <code root>fdisk -l</code> | ||
<code root>umount /dev/sdx</code> | <code root>umount /dev/sdx</code> | ||
Ligne 34: | Ligne 32: | ||
# Debian stable dépôt de rétroportages ("backports") | # Debian stable dépôt de rétroportages ("backports") | ||
deb http://deb.debian.org/debian/ buster-backports main contrib non-free | deb http://deb.debian.org/debian/ buster-backports main contrib non-free | ||
- | | ||
- | # Debian stable deb-multimedia | ||
- | deb http://www.deb-multimedia.org stable main non-free | ||
</file> | </file> | ||
<code root> | <code root> | ||
- | apt update | ||
- | apt install deb-multimedia-keyring | ||
apt update | apt update | ||
apt upgrade</code> | apt upgrade</code> | ||
+ | [[https://debian-facile.org/doc:systeme:apt:sources.list:depots-tiers]] | ||
+ | ===== Dépôt multimedia ===== | ||
- | ===== Pilote graphique nvidia-detect ===== | + | <code root>pluma /etc/apt/sources.list</code> |
- | <note warning>Plus obligatoire depuis Debian stable 10</note> | + | <file apt_sources /etc/apt/sources.list.d/deb_debian-stable_non-libre.list> |
+ | # Debian stable deb-multimedia | ||
+ | deb http://www.deb-multimedia.org stable main non-free | ||
+ | </file> | ||
- | Le script nvidia-detect (paquet nvidia-detect dans non-free) peut également être utilisé pour identifier le processeur graphique et le pilote adapté. | + | <code root>pluma /etc/apt/preferences.d/50multimedia</code> |
- | <code root>apt update | + | <file>Package: * |
- | apt install nvidia-detect | + | Pin: release o=Unofficial Multimedia Packages,a=stable |
- | nvidia-detect</code> | + | Pin-Priority: 100</file> |
- | Lien: [[https://wiki.debian.org/fr/NvidiaGraphicsDrivers#nvidia-detect]] | + | <code root>apt-get update -o Acquire::AllowInsecureRepositories=true |
+ | apt-get install deb-multimedia-keyring</code> | ||
+ | <note important>Installation paquet par exemple avidemux:</note> | ||
- | ===== Pilote graphique Nvidia GTX 970 (Predator) - Stretch ===== | + | <code root>apt-get -t stable install avidemux*</code> |
- | <code root>apt install linux-headers-$(uname -r) | ||
- | apt install -t stretch-backports nvidia-driver | ||
- | reboot</code> | ||
- | Lien 1: [[https://wiki.debian.org/fr/NvidiaGraphicsDrivers|debian.org NvidiaGraphicsDrivers]]\\ | ||
- | Lien 2: [[https://debian-facile.org/viewtopic.php?pid=186166#p186166|DF poste 23]] | ||
Ligne 77: | Ligne 72: | ||
<code root> | <code root> | ||
apt install firmware-atheros | apt install firmware-atheros | ||
- | modprobe -r ath10k_pci | ||
- | wget https://github.com/FireWalkerX/ath10k-firmware/blob/master/QCA6174/hw3.0/board-2.bin | ||
- | cp board-2.bin /lib/firmware/ath10k/QCA6174/hw3.0/board.bin | ||
</code> | </code> | ||
Ligne 92: | Ligne 84: | ||
modprobe -r iwlwifi ; modprobe iwlwifi</code> | modprobe -r iwlwifi ; modprobe iwlwifi</code> | ||
- | ===== Su / sudo ===== | ||
- | <code root> | + | |
- | adduser slyfox sudo</code> | + | |
===== Paquets préférés ===== | ===== Paquets préférés ===== | ||
<code root>apt update | <code root>apt update | ||
- | apt install audacious audacity avidemux build-essential caja-open-terminal checkinstall cifs-utils dconf-editor dvdbackup easytag fakeroot fdkaac ffmpeg firmware-iwlwifi flac gawk gconf-editor geany geany-plugin* genisoimage git-core gnome-calculator gparted gstreamer1.0-plugins-bad gstreamer1.0-plugins-base intltool kid3-cli libdca0 libdvdcss2 libdvdnav4 libdvdread4 libgpod-dev libgtk2.0-dev libimobiledevice-dev libimobiledevice-utils lsdvd mate-desktop-environment-extras mencoder mgba-common mgba-qt mgba-sdl minidlna mkvtoolnix mkvtoolnix-gui mplayer mpv pkg-config python3-tk qpdfview quodlibet samba shotwell smbclient thunderbird thunderbird-l10n-fr tor torbrowser-launcher unrar vobcopy vorbis-tools xz-utils yad youtube-dl zenity | + | apt install audacious audacity build-essential caja-open-terminal checkinstall cifs-utils dconf-editor dvdbackup fakeroot fdkaac ffmpeg firmware-atheros firmware-iwlwifi flac gawk gconf-editor geany geany-plugin* genisoimage git-core gnome-calculator gparted gstreamer1.0-plugins-bad gstreamer1.0-plugins-base handbrake intltool kid3-cli libdca0 libdvdcss2 libdvdnav4 libdvdread4 libgpod-dev libgtk2.0-dev libimobiledevice-dev libimobiledevice-utils lsdvd mate-desktop-environment-extras mencoder mgba-common mgba-qt mgba-sdl minidlna mkvtoolnix mkvtoolnix-gui mplayer mpv network-manager picard pkg-config python3-tk qpdfview quodlibet samba shotwell smbclient thunderbird thunderbird-l10n-fr tor torbrowser-launcher unison unrar vobcopy vorbis-tools xz-utils yad youtube-dl zenity |
apt upgrade</code> | apt upgrade</code> | ||
- | ===== MATE ajouter ou enlever des icônes système ===== | + | ===== Pyrenamer ===== |
- | <code user> dconf-editor</code> | + | Télécharger les dernières versions des paquets disponible : |
+ | |||
+ | <code user>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</code> | ||
+ | |||
+ | <code root>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</code> | ||
- | Puis suivez ce chemin : org/mate/caja/desktop | ||
- | Pour remettre tout par défaut: | ||
- | <code user>dconf reset -f /</code> | ||
===== Autologin Mate ===== | ===== Autologin Mate ===== | ||
Ligne 137: | Ligne 130: | ||
session-wrapper=/etc/X11/Xsession | session-wrapper=/etc/X11/Xsession | ||
autologin-user=slyfox</file> | autologin-user=slyfox</file> | ||
+ | |||
+ | ===== Configuration bureau par défaut ===== | ||
+ | |||
+ | <code user>dconf reset -f /</code> | ||
+ | |||
+ | ===== Renommer Desktop en Bureau ===== | ||
+ | <file config ~/.config/user-dirs.dirs> | ||
+ | |||
+ | # 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"</file> | ||
===== Autocomplétion ===== | ===== Autocomplétion ===== | ||
Ligne 158: | Ligne 174: | ||
===== Steam ===== | ===== Steam ===== | ||
- | Lien forum: [[https://debian-facile.org/atelier:chantier:steam-debian-stretch-stable-backports|steam-debian-stretch-stable-backports]] | + | <note important>[[https://wiki.debian.org/fr/Steam#Syst.2BAOg-mes_64_bits_.28amd64.29]]</note> |
- | <code root>echo -e "\n# Debian stretch (stable) backports\ndeb http://deb.debian.org/debian/ stretch-backports main contrib non-free" >> /etc/apt/sources.list | + | Ajouter si nécessaire ce dépôt: |
- | dpkg --add-architecture i386 | + | |
- | apt update | + | |
- | apt -t stretch-backports install steam | + | |
- | apt -t stretch-backports install libgl1-nvidia-glx:i386</code> | + | |
- | Liens: \\ | + | <code>deb http://deb.debian.org/debian/ buster main contrib non-free</code> |
- | [[https://wiki.debian.org/fr/Steam]] \\ | + | |
- | [[http://store.steampowered.com/about/]] \\ | + | |
- | [[https://www.debian-fr.org/t/steam-sous-debian-wheezy-sid/56701/2]] \\ | + | |
- | [[https://forums.archlinux.fr/viewtopic.php?t=18139]] | + | |
- | ===== Visualiser disques Netgear ===== | + | Activer Multi-Arch et mettre à jour la liste des paquets disponibles. |
- | <note warning>**Ne pas oublier de remplacer les xxx**</note> | + | <code root>dpkg --add-architecture i386 |
+ | apt update</code> | ||
- | <code root>apt update | + | Installez le paquet steam: |
- | apt install samba smbclient cifs-utils</code> | + | |
- | ===== Monter disques Netgear graphique ===== | + | <code root>apt install steam</code> |
- | Commande ouverture Netgear via caja (Mate). | + | Installez les pilotes recommandés et les bibliothèques Vulkan 32 bits: |
- | <code user>caja smb://192.168.0.xxx</code> | + | <note warning>Lorsque vous installez des bibliothèques 32 bits, assurez-vous qu'elles ne rentrent pas en conflit avec leur variante 64 bits en surveillant les **suppressions suggérées par Apt** lors de ces opérations.</note> |
- | Option créer un lanceur... | + | Liens: \\ |
+ | [[https://wiki.debian.org/fr/Steam]] \\ | ||
- | Via terminal | ||
- | <code user>smbclient //192.168.0.xxx/netgear-disque-interne</code> | + | ===== Lecture automatique fichier audio ===== |
- | ===== Fichier /ect/fstab ===== | + | Installer le paquet gstreamer1.0-tools |
- | (Installation HDD interne Predator) | + | <code root>apt install gstreamer1.0-tools</code> |
+ | ===== Monter automatiquement disque externe ===== | ||
+ | |||
+ | Identifier numéro UUID | ||
+ | <code user>lsblk --fs</code> | ||
<code root>pluma /etc/fstab</code> | <code root>pluma /etc/fstab</code> | ||
- | <code># | ||
- | # Use 'blkid' to print the universally unique identifier for a | ||
- | # device; this may be used with UUID= as a more robust way to name devices | ||
- | # that works even if disks are added and removed. See fstab(5). | ||
- | # | ||
- | # <file system> <mount point> <type> <options> <dump> <pass> | ||
- | # / was on /dev/sda5 during installation | ||
- | UUID=18a3eaf3-95f4-4eb4-8e8e-da581d81fdc9 / ext4 errors=remount-ro 0 1 | ||
- | # /boot/efi was on /dev/sda1 during installation | ||
- | UUID=8606-D934 /boot/efi vfat umask=0077 0 1 | ||
- | # /home was on /dev/sda6 during installation | ||
- | UUID=d79875ce-9132-4ade-ad19-b9b5573e03d7 /home ext4 defaults 0 2 | ||
- | # swap was on /dev/sda7 during installation | ||
- | UUID=39d0e0ab-8071-4590-9596-e712b5f5c8ba none swap sw 0 0 | ||
- | /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 | ||
- | /dev/disk/by-id/wwn-0x50014ee261f11217 /mnt/wwn-0x50014ee261f11217 auto nosuid,nodev,nofail,noauto,x-gvfs-show 0 0 | ||
- | # HDD interne | + | <code># Disque externe HDD_STOCKAGE |
- | #/dev/sdc2 /media/slyfox/HDD\040SAUVEGARDE ntfs-3g auto,users,rw,nls=utf8,uid=1000 0 0</code> | + | UUID=94f63283-8e6d-49dc-99db-8d0385d1d797 /media/slyfox/HDD_STOCKAGE ext4 defaults 0 2 |
+ | </code> | ||
- | Si problème aller sur Windows est désactiver le mode hibernation de Windows: | + | <note warning>Tester si pas d'erreur sinon risque de plantage lors du prochain démarrage !</note> |
+ | <code root>su --command 'mount --all'</code> | ||
+ | ===== Visualiser disques Netgear ===== | ||
+ | <code root> | ||
+ | apt update | ||
+ | apt install samba smbclient cifs-utils</code> | ||
- | <code>powercfg -h off</code> | + | Monter disques Netgear graphique |
- | Lien: [[https://forum.ubuntu-fr.org/viewtopic.php?id=1271791]] | + | Commande ouverture Netgear via caja (Mate). |
- | Lien: [[https://www.youtube.com/watch?v=-2-A72GDrpY]] | + | |
+ | <code user>caja smb://192.168.0.xxx</code> | ||
+ | Option créer un lanceur… | ||
+ | |||
+ | Via terminal | ||
+ | |||
+ | <code user>smbclient //192.168.0.xxx/netgear-disque-interne</code> | ||