logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

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 → ODT PDF Export

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

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 [16/08/2020 20:54]
Slyfox [Pyrenamer]
utilisateurs:slyfox:config:configuration-systeme [20/06/2021 23:06]
Slyfox [HP ENVY 32]
Ligne 19: Ligne 19:
 <code root>​pluma /​etc/​apt/​sources.list</​code>​ <code root>​pluma /​etc/​apt/​sources.list</​code>​
  
-<file apt_sources /​etc/​apt/​sources.list.d/​deb_debian-stable_non-libre.list>+<file apt_sources /​etc/​apt/​sources.list.d>​
  
 # Debian stable dépôt principal + paquets non libres # Debian stable dépôt principal + paquets non libres
Ligne 32: 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 +# stable deb-multimedia 
-deb http://​www.deb-multimedia.org stable main non-free+deb http://​www.deb-multimedia.org stable main non-free
 </​file>​ </​file>​
  
-<code root>+<file apt_sources /​etc/​apt/​sources.list>​ 
 +# 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 
 +</​file>​ 
 + 
 +<code root>​pluma /​etc/​apt/​preferences.d/​50multimedia</​code>​ 
 + 
 +<​file>​Package:​ * 
 +Pin: release o=Unofficial Multimedia Packages,​a=stable 
 +Pin-Priority:​ 100</​file>​ 
 + 
 +<code root>apt-get update -o Acquire::​AllowInsecureRepositories=true 
 +apt-get install deb-multimedia-keyring
 apt update apt update
 +apt full-upgrade</​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]]
 +
 +
 +===== Logiciels préférés =====
 +
 +<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>​
 +
 +===== Paquets secondaire (à tester) =====
 +
 +<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
 apt upgrade</​code>​ apt upgrade</​code>​
  
-FIXME Voir si programmes installables sans dépôt deb-multimedia.+===== HP ENVY 32 ===== 
  
-[[https://​debian-facile.org/​doc:​systeme:​apt:​sources.list:​depots-tiers]]+<code root>apt update 
 +apt install firmware-realtek nvidia-driver alsa-tools</​code>​
  
 +==== Audio ====
  
 +<code root>​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</​code>​
  
  
  
 +<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>​
  
 +Création d'un fichier muet:
  
 +<code root>​ffmpeg -f lavfi -i anullsrc -t 10 /​opt/​silence.mp3</​code>​
  
  
-===== Wi-fi ===== 
  
-==== Acer Predator G6-710 ====+__Ligne de commande pour raccourcis :__
  
-<​code ​root+<​code ​user>Type: Application 
-apt install firmware-atheros +Nom: Start_audio 
-</​code>​+Commande: mpg123 --loop 10000 /​opt/​silence.mp3"​</​code>​
  
-Lien du fichier board.bin[[https://github.com/FireWalkerX/​ath10k-firmware/​blob/​master/​QCA6174/​hw3.0/​board-2.bin]]+<code user>​TypeApplication 
 +NomStart_hda 
 +Commande:​sudo "/opt/start_hda.txt"<​/code>
  
-==== Packard Bell ====+==== Nvidia GPU par défaut ​====
  
-<code root> 
-apt install wireless-tools 
-apt update 
-apt install firmware-iwlwifi 
-modprobe -r iwlwifi ; modprobe iwlwifi</​code>​ 
  
 +<note important>​Vérifier que le secureboot est désactiver dans le BIOS !</​note>​
 +
 +<code root>​apt-get install gdm3</​code>​
 +
 +Choisir gdm3.
 +
 +<code root>​pluma /​etc/​X11/​xorg.conf.d/​20-nvidia.conf</​code>​
 +
 +<code user>​Section "​Module"​
 +    Load "​modesetting"​
 +EndSection
 +
 +Section "​Device"​
 +    Identifier "​nvidia"​
 +    Driver "​nvidia"​
 +    BusID "​PCI:​01:​00:​0"​
 +    Option "​AllowEmptyInitialConfiguration"​
 +EndSection</​code>​
 +
 +<code root>​pluma /​usr/​share/​gdm/​greeter/​autostart/​optimus.desktop</​code>​
 +
 +<code user>​[Desktop Entry]
 +Type=Application
 +Name=Optimus
 +Exec=sh -c "​xrandr --setprovideroutputsource modesetting NVIDIA-0; xrandr --auto"​
 +NoDisplay=true
 +X-GNOME-Autostart-Phase=DisplayServer</​code>​
 +
 +<code root>​pluma /​etc/​xdg/​autostart/​optimus.desktop</​code>​
 +
 +<code user>​[Desktop Entry]
 +Type=Application
 +Name=Optimus
 +Exec=sh -c "​xrandr --setprovideroutputsource modesetting NVIDIA-0; xrandr --auto"​
 +NoDisplay=true
 +X-GNOME-Autostart-Phase=DisplayServer</​code>​
 +
 +<code user>​systemctl restart gdm3.service</​code>​
  
 +[[https://​lecrabeinfo.net/​installer-pilote-proprietaire-nvidia-sur-debian-linux.html]]
  
  
-===== Paquets préférés =====+===== Imac ====
  
 <code root>apt update <code root>apt update
-apt install ​audacious audacity build-essential caja-open-terminal checkinstall cifs-utils dconf-editor dvdbackup easytag 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 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 picard 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 firmware-brcm80211</​code>​ 
-apt upgrade</​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 ===== ===== Pyrenamer =====
Ligne 86: Ligne 184:
 Télécharger les dernières versions des paquets disponible : Télécharger les dernières versions des paquets disponible :
  
-<code user>​wget http://​ftp.ch.debian.org/​debian/​pool/​main/​p/​pyrenamer/​pyrenamer_0.6.0-1.2_all.deb +<code user>cd /​home/​slyfox 
-wget https://packages.debian.org/​stretch/python-gconf</​code>​+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 ​-s python-gconf_2.28.1+dfsg-1.2_amd64.deb +<code root>apt install ​/​home/​slyfox/​python-gconf_2.28.1+dfsg-1.2_amd64.deb 
-apt install ​-s pyrenamer_0.6.0-1.2_all.deb</​code>​+apt install ​/​home/​slyfox/​pyrenamer_0.6.0-1.2_all.deb</​code>​
  
  
Ligne 116: Ligne 215:
 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>​
 +
 +===== 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 =====
Ligne 155: Ligne 281:
  
 <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>​ <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>​
- 
-<code root>apt install nvidia-driver nvidia-driver-libs-i386 nvidia-vulkan-icd nvidia-vulkan-icd:​i386 libgl1-mesa-glx:​i386</​code>​ 
  
 Liens: \\ Liens: \\
 [[https://​wiki.debian.org/​fr/​Steam]] \\ [[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]] 
  
-===== Lecture automatique fichier audio =====+Si erreur "​libGL.so.1"​
  
-Installer le paquet gstreamer1.0-tools+<code root>apt install libgl1-nvidia-glvnd-glx:​i386</​code>​
  
-<code root>apt install gstreamer1.0-tools</​code>​ 
  
 ===== Monter automatiquement disque externe ===== ===== Monter automatiquement disque externe =====
Ligne 176: Ligne 296:
 <code root>​pluma /​etc/​fstab</​code>​ <code root>​pluma /​etc/​fstab</​code>​
  
-<​code>#​ Disque externe ​HDD +<​code>#​ Disque externe ​HDD_STOCKAGE 
-UUID=28e45d84-9ab0-4f4e-b4f5-ffba6f4a90a9 ​/media/HDD          ​ext4 ​   defaults ​          ​0 ​      ​2 ​+UUID=94f63283-8e6d-49dc-99db-8d0385d1d797 ​/media/slyfox/​HDD_STOCKAGE ​         ​ext4 ​   defaults ​          ​0 ​      ​2 ​
 </​code>​ </​code>​
  
-===== Visualiser disques Netgear ===== +<note warning>Tester si pas d'​erreur sinon risque de plantage lors du prochain démarrage !</note
-<code root> +<​code ​root>mount --all</​code>​
-apt update +
-apt install samba smbclient cifs-utils</code> +
- +
-Monter disques Netgear graphique +
- +
-Commande ouverture Netgear via caja (Mate). +
- +
-<​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>​+
  
 +Donner les droits utilsateur.
 +<code root>​chown -R slyfox:​slyfox /​media/​slyfox/​HDD_STOCKAGE/</​code>​
  
utilisateurs/slyfox/config/configuration-systeme.txt · Dernière modification: 06/01/2024 20:01 par Slyfox

Pied de page des forums

Propulsé par FluxBB