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 [03/01/2020 16:40] Slyfox [Steam] |
utilisateurs:slyfox:config:configuration-systeme [07/04/2023 08:40] Slyfox [Dépôt] |
||
---|---|---|---|
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 19: | Ligne 17: | ||
===== Dépôt ===== | ===== Dépôt ===== | ||
- | <code root>pluma /etc/apt/sources.list</code> | + | [[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]] | ||
- | <file apt_sources /etc/apt/sources.list.d/deb_debian-stable_non-libre.list> | ||
- | # Debian stable dépôt principal + paquets non libres | + | ===== Logiciels préférés ===== |
- | 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") | + | <code root>apt update |
- | deb http://deb.debian.org/debian/ buster-backports main contrib non-free | + | apt install hardinfo ffmpeg mpv audacious audacity dvdbackup geany geany-plugin* vobcopy yad youtube-dl zenity mplayer picard quodlibet gparted handbrake kid3-cli lsdvd mencoder hardinfo alsa-tools bash-completion/code> |
- | + | ||
- | # Debian stable deb-multimedia | + | |
- | deb http://www.deb-multimedia.org stable main non-free | + | |
- | </file> | + | ===== Paquets secondaire (à tester) ===== |
- | <code root> | + | <code root>apt update |
- | 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 install deb-multimedia-keyring | + | |
- | apt update | + | |
apt upgrade</code> | apt upgrade</code> | ||
+ | ===== HP ENVY 32 ===== | ||
+ | ==== Audio ==== | ||
- | ===== Pilote graphique nvidia-detect ===== | + | <code root>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</code> | ||
+ | <code root>chmod +x /opt/start_hda.txt</code> | ||
+ | <code root>echo "slyfox ALL=(ALL:ALL) ALL" >> /etc/sudoers</code> | ||
- | <note warning>Plus obligatoire depuis Debian stable 10</note> | + | Création d'un fichier muet: |
- | 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>ffmpeg -f lavfi -i anullsrc -t 10 /opt/silence.mp3</code> |
- | <code root>apt update | ||
- | apt install nvidia-detect | ||
- | nvidia-detect</code> | ||
- | Lien: [[https://wiki.debian.org/fr/NvidiaGraphicsDrivers#nvidia-detect]] | + | __Ligne de commande pour raccourcis :__ |
+ | <code user>Type: Application | ||
+ | Nom: Start_audio | ||
+ | Commande: mpg123 --loop 10000 "/opt/silence.mp3"</code> | ||
+ | <code user>Type: Lancer dans un terminal | ||
+ | Nom: Start_hda | ||
+ | Commande:sudo "/opt/start_hda.txt"</code> | ||
- | ===== Wi-fi ===== | + | ===== Liste pilote à installer ===== |
- | ==== Acer Predator G6-710 ==== | + | <code root>dmesg | grep firmware</code> |
+ | https://debian-facile.org/doc:materiel:wifi:detecter#etape-4activer-l-interface-reseau | ||
- | <code root> | + | ===== Information système ===== |
- | 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> | + | |
- | Lien du fichier board.bin: [[https://github.com/FireWalkerX/ath10k-firmware/blob/master/QCA6174/hw3.0/board-2.bin]] | + | <code user>hardinfo &</code> |
+ | [[https://lecrabeinfo.net/linux-identifier-carte-graphique-pilote-pc.html]] | ||
- | ==== Packard Bell ==== | + | ===== Pyrenamer ===== |
- | <code root> | + | Télécharger les dernières versions des paquets disponible : |
- | apt install wireless-tools | + | |
- | apt update | + | |
- | apt install firmware-iwlwifi | + | |
- | modprobe -r iwlwifi ; modprobe iwlwifi</code> | + | |
- | ===== Su / sudo ===== | + | <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> | + | <code root>apt install /home/slyfox/python-gconf_2.28.1+dfsg-1.2_amd64.deb |
- | adduser slyfox sudo</code> | + | apt install /home/slyfox/pyrenamer_0.6.0-1.2_all.deb</code> |
- | + | ||
- | ===== Paquets préférés ===== | + | |
- | + | ||
- | <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 upgrade</code> | + | |
- | ===== MATE ajouter ou enlever des icônes système ===== | ||
- | <code user> dconf-editor</code> | ||
- | Puis suivez ce chemin : org/mate/caja/desktop | + | ===== Configuration bureau par défaut ===== |
- | Pour remettre tout par défaut: | ||
<code user>dconf reset -f /</code> | <code user>dconf reset -f /</code> | ||
- | ===== Autologin Mate ===== | ||
- | 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. | + | ===== Renommer Desktop en Bureau ===== |
+ | <file config ~/.config/user-dirs.dirs> | ||
- | <code root> | + | # This file is written by xdg-user-dirs-update |
- | pluma /usr/share/lightdm/lightdm.conf.d/01_debian.conf | + | # If you want to change or add directories, just edit the line you're |
- | </code> | + | # 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 | |
- | <file config /usr/share/lightdm/lightdm.conf.d/01_debian.conf> | + | # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an |
- | # Debian specific defaults | + | # absolute path. No other format is supported. |
- | # | + | # |
- | # - use lightdm-greeter session greeter, points to the etc-alternatives managed | + | XDG_DESKTOP_DIR="$HOME/OneDrive/Bureau" |
- | # greeter | + | XDG_DOWNLOAD_DIR="$HOME/OneDrive/Downloads" |
- | # - hide users list by default, we don't want to expose them | + | XDG_TEMPLATES_DIR="$HOME/Templates" |
- | # - use Debian specific session wrapper, to gain support for | + | XDG_PUBLICSHARE_DIR="$HOME/Public" |
- | # /etc/X11/Xsession.d scripts | + | XDG_DOCUMENTS_DIR="$HOME/OneDrive/Documents" |
- | + | #XDG_MUSIC_DIR="$HOME/Music" | |
- | [SeatDefaults] | + | #XDG_PICTURES_DIR="$HOME/Pictures" |
- | greeter-session=lightdm-greeter | + | #XDG_VIDEOS_DIR="$HOME/Videos"</file> |
- | greeter-hide-users=true | + | |
- | session-wrapper=/etc/X11/Xsession | + | |
- | autologin-user=slyfox</file> | + | |
===== Autocomplétion ===== | ===== Autocomplétion ===== | ||
Ligne 149: | Ligne 130: | ||
fi</code> | fi</code> | ||
- | ===== Steam ===== | ||
- | <note>Vérifier si encore valable avec Debian 10 stable</note> | ||
- | Remarque: Depuis Debian 10 il semble qui faut télécharger le paquet "steam_latest.deb" sur: [[http://store.steampowered.com/about/]] \\ | ||
- | Lien forum: [[https://debian-facile.org/atelier:chantier:steam-debian-stretch-stable-backports|steam-debian-stretch-stable-backports]] | + | ===== Monter automatiquement disque externe ===== |
- | <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 | + | Identifier numéro UUID |
- | dpkg --add-architecture i386 | + | <code user>lsblk --fs</code> |
- | apt update | + | <code root>pluma /etc/fstab</code> |
- | apt -t stretch-backports install steam | + | |
- | apt -t stretch-backports install libgl1-nvidia-glx:i386</code> | + | <code># Disque externe HDD_STOCKAGE |
+ | UUID=94f63283-8e6d-49dc-99db-8d0385d1d797 /media/slyfox/HDD_STOCKAGE ext4 defaults 0 2 | ||
+ | </code> | ||
- | Liens: \\ | + | <note warning>Tester si pas d'erreur sinon risque de plantage lors du prochain démarrage !</note> |
- | [[https://wiki.debian.org/fr/Steam]] \\ | + | <code root>mount --all</code> |
- | [[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]] | + | |
+ | Donner les droits utilsateur. | ||
+ | <code root>chown -R slyfox:slyfox /media/slyfox/HDD_STOCKAGE/</code> | ||