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 [13/05/2018 20:18] Slyfox [Dépôt] |
utilisateurs:slyfox:config:configuration-systeme [06/05/2021 22:20] Slyfox [Wifi Imac] |
||
---|---|---|---|
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> | ||
<code root>dd if=/dev/zero of=/dev/sdx bs=2048 count=32 </code> | <code root>dd if=/dev/zero of=/dev/sdx bs=2048 count=32 </code> | ||
- | ===== Wi-fi ===== | ||
- | |||
- | ==== Acer Predator G6-710 ==== | ||
- | |||
- | <code root> | ||
- | apt-get 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> | ||
- | |||
- | Lien du fichier board.bin: [[https://github.com/FireWalkerX/ath10k-firmware/blob/master/QCA6174/hw3.0/board-2.bin]] | ||
- | |||
- | ==== Packard Bell ==== | ||
- | |||
- | <code root> | ||
- | apt-get install wireless-tools && apt-get update && apt-get install firmware-iwlwifi && modprobe -r iwlwifi ; modprobe iwlwifi</code> | ||
===== Dépôt ===== | ===== Dépôt ===== | ||
- | <code root> apt-get install curl wget apt-transport-https dirmngr </code> | + | <code root>pluma /etc/apt/sources.list</code> |
- | <code root> | + | <file apt_sources /etc/apt/sources.list.d> |
- | nano /etc/apt/sources.list</code> | + | |
- | + | ||
- | <note warning>**__Mettre en premier les dépôts de la distribution de base !__**</note> | + | |
- | + | ||
- | ==== Stable (stretch) ==== | + | |
- | + | ||
- | <file apt_sources /etc/apt/sources.list.d/deb_debian-stable_non-libre.list> | + | |
- | # Debian stable, dépôt principal + paquets non libres | + | # Debian stable dépôt principal + paquets non libres |
- | deb http://deb.debian.org/debian/ stable main contrib non-free | + | deb http://deb.debian.org/debian/ stable main contrib non-free |
| | ||
- | # Debian stable, mises à jour de sécurité + paquets non libres | + | # Debian stable mises à jour de sécurité + paquets non libres |
- | deb http://security.debian.org/ stable/updates main contrib non-free | + | deb http://security.debian.org/ stable/updates main contrib non-free |
| | ||
- | # Debian Stretch, mises à jour "volatiles" + paquets non libres | + | # Debian stable mises à jour "volatiles" + paquets non libres |
- | deb http://deb.debian.org/debian/ stable-updates main contrib non-free | + | deb http://deb.debian.org/debian/ stable-updates main contrib non-free |
- | + | ||
- | # Debian Stretch, dépôt de rétroportages ("backports") | + | |
- | deb http://deb.debian.org/debian/ stretch-backports 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 | ||
+ | </file> | ||
+ | <file apt_sources /etc/apt/sources.list> | ||
+ | # sid | ||
+ | deb http://deb.debian.org/debian/ sid main contrib non-free | ||
- | ==== Sid / unstable ==== | + | # sid deb-multimedia |
+ | deb http://www.deb-multimedia.org sid main non-free | ||
+ | </file> | ||
- | <file apt_sources /etc/apt/sources.list.d/deb_debian-unstable_non-libre.list> | + | <code root>pluma /etc/apt/preferences.d/50multimedia</code> |
- | #Dépôts sid | + | <file>Package: * |
- | deb http://ftp.ch.debian.org/debian/ sid main contrib non-free | + | Pin: release o=Unofficial Multimedia Packages,a=stable |
- | deb-src http://ftp.ch.debian.org/debian/ sid main contrib non-free | + | Pin-Priority: 100</file> |
- | # Debian Multimedia | + | <code root>apt-get update -o Acquire::AllowInsecureRepositories=true |
- | deb http://www.deb-multimedia.org sid main non-free | + | |
- | + | ||
- | # Steam for Linux | + | |
- | deb [arch=i386] http://repo.steampowered.com/steam/ precise steam | + | |
- | + | ||
- | </file> | + | |
- | + | ||
- | <code root>apt-get update | + | |
apt-get install deb-multimedia-keyring | apt-get install deb-multimedia-keyring | ||
- | apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F24AEA9FB05498B7 | + | apt update |
- | apt-get update</code> | + | apt full-upgrade</code> |
- | ==== Priorité sur distribution (si dépôt stretch et Sid) ==== | + | [[https://debian-facile.org/doc:systeme:apt:sources.list:depots-tiers]]\\ |
+ | [[https://www.linuxtricks.fr/wiki/debian-installer-ou-migrer-vers-debian-sid|Installer ou Migrer vers Debian sid]] | ||
- | <code root>pluma /etc/apt/preferences.d/00source</code> | ||
- | <code>Package: * | + | ===== Logiciels préférés ===== |
- | Pin: release a=stable | + | |
- | Pin-Priority: 900 | + | |
- | Package: * | + | <code root>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</code> |
- | Pin: release o=Debian | + | |
- | Pin-Priority: -10 | + | |
- | </code> | + | |
- | Pour installer un paquet d'un autre dépôt: | + | ===== Paquets divers |
- | <code root>apt-get install -t sid nom-du-paquet</code> | ||
- | Lien: [[http://tycale.be/debian-mixer-stable-testing-et-unstable/]] | + | <code root>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 | ||
- | ==== Migration Stable à Sid ==== | ||
- | Changer le /etc/apt/sources.list par les dépôts Sid | ||
- | <code root>apt-get update | + | apt upgrade</code> |
- | apt-get upgrade | + | |
- | apt-get dist-upgrade</code> | + | |
- | ===== Pilote graphique Nvidia GTX 970 (Predator) - Stretch ===== | + | ===== HP ENVY 32 ===== |
- | + | ||
- | <code root>apt-get install linux-headers-$(uname -r) | + | |
- | apt-get install -t stretch-backports nvidia-settings | + | |
- | apt-get install nvidia-persistenced | + | |
- | apt-get 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]] | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | ===== Su / sudo ===== | + | |
- | + | ||
- | <code root> | + | |
- | adduser slyfox sudo</code> | + | |
- | + | ||
- | + | ||
- | + | ||
- | ===== Paquets préférés ===== | + | |
- | + | ||
- | <code root>apt-get update | + | |
- | apt-get install mate-desktop-environment-extras firmware-iwlwifi build-essential intltool xz-utils fakeroot checkinstall pkg-config libgtk2.0-dev git-core gconf-editor audacity dconf-editor zenity lsdvd ffmpeg mplayer mencoder dvdbackup genisoimage mkvtoolnix gawk libdca0 libdvdcss2 libdvdnav4 libdvdread4 minidlna caja-open-terminal mkvtoolnix-gui mkvtoolnix avidemux vobcopy youtube-dl pyrenamer zenity gparted shotwell faenza-icon-theme unrar samba smbclient cifs-utils mpv python3-tk gnome-calculator shutter fdkaac audacious qpdfview easytag gstreamer1.0-plugins-base gstreamer1.0-plugins-bad libimobiledevice-dev libimobiledevice-utils libgpod-dev yad mgba-common mgba-sdl mgba-qt quodlibet geany geany-plugin* thunderbird thunderbird-l10n-fr | + | |
- | apt-get upgrade</code> | + | |
- | + | ||
- | ===== Steam ===== | + | |
- | + | ||
- | <code root>dpkg --add-architecture i386 | + | |
- | apt-get update | + | |
- | apt-get upgrade | + | |
- | apt-get install -t stretch-backports libgl1-nvidia-glx:i386 | + | |
- | apt-get update | + | |
- | apt-get install -t stretch-backports libxtst6:i386 libxrandr2:i386 libgl1-mesa-glx:i386 libglib2.0-0:i386 libgtk2.0-0:i386 libpulse0:i386 libgdk-pixbuf2.0-0:i386 libgl1-nvidia-glx:i386 | + | |
- | apt-get install steam</code> | + | |
- | + | ||
- | Lien: [[https://debian-facile.org/doc:jeux:steam]] | + | |
- | + | ||
- | ---- | + | |
- | + | ||
- | Si problème, essayer cette commande qui indique les paquets manquants et à installer: | + | |
- | + | ||
- | <code user>STEAM_RUNTIME=0 steam</code> | + | |
- | + | ||
- | <note important>Attention! Il faut installer les paquets manquants en **32 bits (i386).**</note> | + | |
- | + | ||
- | Si cet avertissement: | + | |
- | + | ||
- | <code>Could not load module 'vgui2_s.so'. | + | |
- | + | ||
- | For more information visit https://support.steampowered.com/kb_article.php?ref=9205-OZVN-0660</code> | + | |
- | + | ||
- | Avant d'aller plus loin lancer Steam (normalement) via l’onglet "Jeu" ou \\ | + | |
- | voir ce lien: [[https://support.steampowered.com/kb_article.php?ref=9205-OZVN-0660]] | + | |
- | + | ||
- | <code> | + | |
- | cd /home/slyfox/.steam/bin32 | + | |
- | LD_LIBRARY_PATH=. ldd vgui2_s.so | + | |
- | </code> | + | |
- | + | ||
- | Liens: \\ | + | |
- | [[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]] | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | ===== MATE ajouter ou enlever des icônes système ==== | + | |
- | + | ||
- | <code user> dconf-editor</code> | + | |
- | + | ||
- | Puis suivez ce chemin : org/mate/caja/desktop | + | |
+ | === WIFI === | ||
+ | <code root>apt update & apt install firmware-realtek </code> | ||
+ | ===== Imac ==== | ||
+ | === WIFI === | ||
+ | <code root>apt update & apt install firmware-brcm80211</code> | ||
+ | [[https://debian-facile.org/doc:materiel:wifi:detecter]] \\ | ||
+ | [[https://wiki.debian.org/Firmware]] \\ | ||
+ | [[https://wiki.debian.org/Firmware/List]] \\ | ||
+ | ===== Liste pilote à installer ===== | ||
+ | <code root>dmesg | grep firmware</code> | ||
+ | https://debian-facile.org/doc:materiel:wifi:detecter#etape-4activer-l-interface-reseau | ||
+ | ===== Information système ===== | ||
+ | <code user>hardinfo &</code> | ||
+ | [[https://lecrabeinfo.net/linux-identifier-carte-graphique-pilote-pc.html]] | ||
+ | ===== Pyrenamer ===== | ||
+ | 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> | ||
Ligne 227: | Ligne 134: | ||
greeter-hide-users=true | greeter-hide-users=true | ||
session-wrapper=/etc/X11/Xsession | session-wrapper=/etc/X11/Xsession | ||
- | autologin-user=slyfox | + | autologin-user=slyfox</file> |
- | </file> | + | ===== Configuration bureau par défaut ===== |
+ | |||
+ | <code user>dconf reset -f /</code> | ||
+ | |||
+ | ===== Sudo ===== | ||
+ | <code root>su - | ||
+ | adduser slyfox sudo</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 ===== | ||
- | <code root>apt-get install bash-completion | + | <code root>apt install bash-completion |
pluma /etc/bash.bashrc</code> | pluma /etc/bash.bashrc</code> | ||
Ligne 249: | Ligne 181: | ||
fi</code> | fi</code> | ||
+ | ===== Steam ===== | ||
- | ===== Visualiser disques Netgear ===== | + | <note important>[[https://wiki.debian.org/fr/Steam#Syst.2BAOg-mes_64_bits_.28amd64.29]]</note> |
- | <note warning>**Ne pas oublier de remplacer les xxx**</note> | + | Ajouter si nécessaire ce dépôt: |
- | <code root>apt-get update && apt-get install samba smbclient cifs-utils</code> | + | <code>deb http://deb.debian.org/debian/ buster main contrib non-free</code> |
- | ==== Monter disques Netgear graphique ==== | + | Activer Multi-Arch et mettre à jour la liste des paquets disponibles. |
- | Commande ouverture Netgear via caja (Mate). | + | <code root>dpkg --add-architecture i386 |
+ | apt update</code> | ||
- | <code user>caja smb://192.168.0.xxx</code> | + | Installez le paquet steam: |
- | Option créer un lanceur... | + | <code root>apt install steam</code> |
- | Via terminal | + | Installez les pilotes recommandés et les bibliothèques Vulkan 32 bits: |
- | <code user>smbclient //192.168.0.xxx/netgear-disque-interne</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> |
- | ==== Fichier /ect/fstab ==== | + | Liens: \\ |
+ | [[https://wiki.debian.org/fr/Steam]] \\ | ||
- | (Installation HDD interne Predator) | ||
- | <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 | + | ===== Monter automatiquement disque externe ===== |
- | #/dev/sdc2 /media/slyfox/HDD\040SAUVEGARDE ntfs-3g auto,users,rw,nls=utf8,uid=1000 0 0</code> | + | |
- | Si problème aller sur Windows est désactiver le mode hibernation de Windows: | + | Identifier numéro UUID |
- | + | <code user>lsblk --fs</code> | |
- | <code>powercfg -h off</code> | + | <code root>pluma /etc/fstab</code> |
- | + | ||
- | Lien: [[https://forum.ubuntu-fr.org/viewtopic.php?id=1271791]] | + | |
- | Lien: [[https://www.youtube.com/watch?v=-2-A72GDrpY]] | + | |
+ | <code># Disque externe HDD_STOCKAGE | ||
+ | UUID=94f63283-8e6d-49dc-99db-8d0385d1d797 /media/slyfox/HDD_STOCKAGE ext4 defaults 0 2 | ||
+ | </code> | ||
+ | <note warning>Tester si pas d'erreur sinon risque de plantage lors du prochain démarrage !</note> | ||
+ | <code root>mount --all</code> | ||
+ | Donner les droits utilsateur. | ||
+ | <code root>chown -R slyfox:slyfox /media/slyfox/HDD_STOCKAGE/</code> | ||