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 [13/05/2018 20:19]
Slyfox [Dépôt]
utilisateurs:slyfox:config:configuration-systeme [07/04/2023 23:06]
Slyfox [HP ENVY 32]
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>+[[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> 
-nano /​etc/​apt/​sources.list</​code>​ 
  
-<note warning>​**__Mettre en premier les dépôts de la distribution de base !__**</​note>​+===== Ajouter user au groupe sudo =====
  
-==== Stable ​(stretch====+<code root>​sudo su 
 +echo "​slyfox ​   ALL=(ALL:ALLALL" >> /​etc/​sudoers</​code>​
  
-<file apt_sources /​etc/​apt/​sources.list.d/​deb_debian-stable_non-libre.list>​+===== Logiciels préférés (paquets deb) =====
  
-# Debian stable, dépôt principal + paquets non libres +<code root>apt update 
-    deb http://​deb.debian.org/​debian/​ stable main contrib non-free +apt install hardinfo ffmpeg mpv audacious audacity dvdbackup geany geany-plugin* vobcopy kdenlive yad youtube-dl zenity mplayer picard quodlibet gparted handbrake kid3-cli lsdvd mencoder hardinfo alsa-tools bash-completion mpg321 
-     +apt upgrade</code>
-# Debian stable, mises à jour de sécurité + paquets non libres +
-    deb http://​security.debian.org/​ stable/​updates main contrib non-free +
-     +
-# Debian Stretch, mises à jour "​volatiles"​ + paquets non libres +
-    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</file>+
  
-<code root>​apt-get update 
-apt-get install deb-multimedia-keyring 
-apt-get update</​code>​ 
  
 +===== Logiciels préférés (logitec) =====
  
 +  * Cemu
 +  * Steam installer
 +  * FreeFileSync
  
-===== Pilote graphique Nvidia GTX 970 (Predator) - Stretch ​=====+===== Geany thèmes de couleur ​=====
  
-<​code ​root>apt-get install linux-headers-$(uname -r) +<​code ​user>cd /tmp 
-apt-get install -t stretch-backports nvidia-settings +git clone https://​github.com/​geany/​geany-themes.git 
-apt-get install nvidia-persistenced +cp -r /tmp/geany-themes/​colorschemes ~/​.config/​geany/​</​code>​
-apt-get install -t stretch-backports nvidia-driver +
-reboot</​code>​+
  
-Lien 1: [[https://​wiki.debian.org/​fr/​NvidiaGraphicsDrivers|debian.org NvidiaGraphicsDrivers]]\\ +===== Login auto =====
-Lien 2: [[https://​debian-facile.org/​viewtopic.php?​pid=186166#​p186166|DF poste 23]]+
  
 +Paramètres --> Utilisateurs --> Déverrouiller --> Connexion automatique
 +===== HP ENVY 32 ===== 
  
 +==== Audio ====
  
  
 +Création fichiers muets:
  
 +<code root>​sudo ffmpeg -f lavfi -i anullsrc -t 1 /​opt/​silence_01.mp3
 +sudo ffmpeg -f lavfi -i anullsrc -t 86400 /​opt/​silence_86400.mp3</​code>​
  
-===== Su / sudo ===== 
  
-<code root+<file text /​home/​slyfox/​Bureau/​Audio_HD.sh
-adduser slyfox ​sudo</code>+gnome-terminal -- bash -c "​ffplay -nodisp -autoexit /​opt/​silence_01.mp3 
 +sudo /​usr/​bin/​hda-verb /​dev/​snd/​hwC0D0 0x01 SET_GPIO_MASK 0x0 
 +sudo /​usr/​bin/​hda-verb /​dev/​snd/​hwC0D0 0x01 SET_GPIO_DIRECTION 0x0 
 +sudo /​usr/​bin/​hda-verb /​dev/​snd/​hwC0D0 0x01 SET_GPIO_DATA 0x0 
 +sleep 1 
 +sudo /​usr/​bin/​hda-verb /​dev/​snd/​hwC0D0 0x01 SET_GPIO_MASK 0x04 
 +sudo /​usr/​bin/​hda-verb /​dev/​snd/​hwC0D0 0x01 SET_GPIO_DIRECTION 0x04 
 +sudo /​usr/​bin/​hda-verb /​dev/​snd/​hwC0D0 0x01 SET_GPIO_DATA 0x04 
 +ffplay -nodisp -autoexit /​opt/​silence_86400.mp3"​ 
 +</file>
  
  
 +<code root>​sudo chmod +x "/​home/​slyfox/​Bureau/​Audio_HD.sh"</​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>​+===== Liste pilote à installer ​=====
  
-Si cet avertissement:+<code root>​dmesg | grep firmware</​code>​ 
 +https://​debian-facile.org/​doc:​materiel:​wifi:​detecter#​etape-4activer-l-interface-reseau
  
-<​code>​Could not load module '​vgui2_s.so'​.+===== Information système =====
  
-For more information visit https://support.steampowered.com/kb_article.php?​ref=9205-OZVN-0660</​code>​+<code user>​hardinfo &</​code>​ 
 +[[https://lecrabeinfo.net/linux-identifier-carte-graphique-pilote-pc.html]]
  
-Avant d'​aller plus loin lancer Steam (normalement) via l’onglet "​Jeu"​ ou \\ +===== Pyrenamer =====
-voir ce lien: [[https://​support.steampowered.com/​kb_article.php?​ref=9205-OZVN-0660]]+
  
-<​code>​ +Télécharger les dernières versions des paquets disponible :
-cd /​home/​slyfox/​.steam/​bin32 +
-LD_LIBRARY_PATH=. ldd vgui2_s.so +
-</​code>​+
  
-Liens: \\ +<code user>cd /​home/​slyfox 
-[[http://store.steampowered.com/about/]] \\ +wget http://ftp.ch.debian.org/debian/pool/​main/​p/​pyrenamer/​pyrenamer_0.6.0-1.2_all.deb 
-[[https://www.debian-fr.org/t/​steam-sous-debian-wheezy-sid/56701/2]] \\ +wget http://ftp.ch.debian.org/​debian/​pool/main/g/gnome-python/​python-gconf_2.28.1+dfsg-1.2_amd64.deb</​code>​
-[[https://forums.archlinux.fr/​viewtopic.php?​t=18139]]+
  
 +<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 139: Ligne 108:
  
  
-===== MATE ajouter ou enlever des icônes système ==== 
- 
-<code user> dconf-editor</​code>​ 
- 
-Puis suivez ce chemin : org/​mate/​caja/​desktop 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
-===== 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. 
- 
-<code root> 
-pluma /​usr/​share/​lightdm/​lightdm.conf.d/​01_debian.conf 
-</​code>​ 
- 
-<file config /​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 
- 
-</​file>​ 
  
 ===== Autocomplétion ===== ===== Autocomplétion =====
  
-<code root>apt-get install bash-completion +<code root>gedit /​etc/​bash.bashrc</​code>​
-pluma /​etc/​bash.bashrc</​code>​+
  
 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. 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.
Ligne 205: Ligne 127:
  
  
-===== Visualiser disques Netgear ===== 
  
-<note warning>​**Ne pas oublier de remplacer les xxx**</​note>​ 
  
-<code root>​apt-get update && apt-get install samba smbclient cifs-utils</​code>​+===== Monter automatiquement disque externe =====
  
-==== Monter disques Netgear graphique ==== +Identifier numéro UUID 
- +<code user>lsblk --fs</​code>​ 
-Commande ouverture Netgear via caja (Mate). +<code root>gedit /​etc/​fstab</​code>​
- +
-<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>​ +
- +
-==== Fichier /ect/fstab ==== +
- +
-(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 +
-#/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: +
- +
-<​code>​powercfg -h off</​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>​
  
utilisateurs/slyfox/config/configuration-systeme.txt · Dernière modification: 06/01/2024 20:01 par Slyfox

Pied de page des forums

Propulsé par FluxBB