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 [11/10/2016 23:04]
Slyfox [Dépôt]
utilisateurs:slyfox:config:configuration-systeme [07/04/2023 08:40]
Slyfox [Steam]
Ligne 3: Ligne 3:
 ===== Graver clé USB live ===== ===== Graver clé USB live =====
  
-<code root>fdisk -l</​code>​ +<code root>lsblk --fs</​code>​
- +
-<code root>​umount /dev/sdx</​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 12: 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> +<code root>​pluma /​etc/​apt/​sources.list</​code>​
-pluma /​etc/​apt/​sources.list</​code>​+
  
-<note warning>​**__Mettre en premier les dépôts de la distribution !__**</note>+<file apt_sources ​/etc/​apt/​sources.list.d>
  
-== Stable (jessie) ==+# Debian stable dépôt principal + paquets non libres 
 +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
  
-<file apt_sources ​/etc/apt/sources.list.d/deb_debian-stable_non-libre.list>​+# Debian stable dépôt de rétroportages ("​backports"​) 
 +deb http://deb.debian.org/debian/ buster-backports main contrib non-free
  
-Debian Jessie, dépôt principal + paquets non libres +stable ​deb-multimedia 
-  ​deb http://​httpredir.debian.org/​debian/​ jessie main contrib non-free +deb http://www.deb-multimedia.org stable ​main non-free 
-   +</file>
-# Debian Jessie, mises-à-jour de sécurité + paquets non libres +
-  ​deb http://security.debian.org/ jessie/​updates main contrib non-free +
-   +
-# Debian Jessie, mises-à-jour "​volatiles"​ + paquets non libres +
-  deb http://​httpredir.debian.org/debian/ jessie-updates ​main contrib ​non-free +
-   +
-# Debian jessie-backports +
-  deb http://​httpredir.debian.org/​debian jessie-backports main contrib non-free+
  
-# Debian Multimedia +<file apt_sources /etc/apt/sources.list> 
-  deb http://www.deb-multimedia.org stable main non-free +sid 
-      +deb http://deb.debian.org/debiansid main contrib non-free
-Steam for Linux +
-  deb [arch=i386] ​http://repo.steampowered.com/steamprecise steam+
  
 +# sid deb-multimedia
 +deb http://​www.deb-multimedia.org sid main non-free
 </​file>​ </​file>​
  
-<code root>apt-get update +<code root>pluma /etc/apt/​preferences.d/​50multimedia</​code>​
-apt-get install deb-multimedia-keyring +
-apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F24AEA9FB05498B7 +
-apt-get update</​code>​+
  
 +<​file>​Package:​ *
 +Pin: release o=Unofficial Multimedia Packages,​a=stable
 +Pin-Priority:​ 100</​file>​
  
-== Sid / unstable== +<code root>​apt-get update ​-o Acquire::​AllowInsecureRepositories=true
- +
-<file apt_sources /​etc/​apt/​sources.list.d/​deb_debian-unstable_non-libre.list>​ +
- +
-# Debian Sid, dépôt principal + paquets non libres +
-  deb http://​httpredir.debian.org/​debian/​ sid main contrib non-free +
- +
-# Debian Multimedia +
-  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 ==+[[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 update 
-Pin: release o=Debian +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>
-Pin-Priority: ​-10 +
-</code>+
  
-Pour installer un paquet d'un autre dépôt:+===== Paquets secondaire (à tester) =====
  
-<code root>apt-get install -t sid nom-du-paquet</​code>​+<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>​
  
-Lien: [[http://​tycale.be/​debian-mixer-stable-testing-et-unstable/​]]+===== HP ENVY 32 ===== 
  
-=== Migration Stable à Sid ===+==== Audio ====
  
-Changer le /etc/apt/sources.list par les dépôts Sid+<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>​
  
-<code root>​apt-get update +Création d'un fichier muet:
-apt-get dist-upgrade</​code>​+
  
-===== Pilote graphique Nvidia =====+<code root>​ffmpeg -f lavfi -i anullsrc -t 10 /​opt/​silence.mp3</​code>​
  
-==== Debian Sid (Predator) ==== 
  
-<code root>​apt-get install nvidia-settings nvidia-xconfig +__Ligne de commande pour raccourcis :__
-nvidia-xconfig +
-reboot</​code>​+
  
-==== Debian 8 stable (Predator) ====+<code user>​Type:​ Application 
 +Nom: Start_audio 
 +Commande: mpg123 --loop 10000 "/​opt/​silence.mp3"</​code>​
  
-Installez les en-têtes Linux pour le noyau que vous utilisez. Si vous utilisez le noyau Linux 3.16 dans Debian Jessie ​:+<code user>​Type:​ Lancer ​dans un terminal 
 +NomStart_hda 
 +Commande:​sudo "/​opt/​start_hda.txt"</​code>​
  
-<code root>​apt-get install linux-headers-$(uname -r|sed '​s,​[^-]*-[^-]*-,,'​)</​code>​ 
  
-On peut donc installer le paquet nvidia-driver issu de ce dépôt :  
  
-<code root>​apt-get update +===== Liste pilote à installer =====
-apt-get install -t jessie-backports nvidia-driver</​code>​+
  
-Créer le fichier de configuration ci-dessus avec ces commandes ​+<code root>​dmesg | grep firmware</​code>​ 
 +https://​debian-facile.org/​doc:materiel:​wifi:​detecter#​etape-4activer-l-interface-reseau
  
-<​code>​mkdir /​etc/​X11/​xorg.conf.d +===== Information système =====
-echo -e '​Section "​Device"​\n\tIdentifier "My GPU"​\n\tDriver "​nvidia"​\nEndSection'​ > /​etc/​X11/​xorg.conf.d/​20-nvidia.conf</​code>​+
  
-Redémarrez votre ordinateur pour activer le blacklistage du module « nouveau »+<code user>​hardinfo &</​code>​ 
 +[[https://​lecrabeinfo.net/​linux-identifier-carte-graphique-pilote-pc.html]]
  
-Redémarrer l'​ordinateur +===== Pyrenamer =====
-<code root>​reboot</​code>​+
  
-Lien 1[[https://​wiki.debian.org/​fr/​NvidiaGraphicsDrivers|debian.org NvidiaGraphicsDrivers]]\\ +Télécharger les dernières versions des paquets disponible ​:
-Lien 2: [[https://​debian-facile.org/​viewtopic.php?​pid=186166#​p186166|DF poste 23]]+
  
 +<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>​
  
  
  
  
-===== Su / sudo ===== 
  
-<code root> +===== Configuration bureau par défaut =====
-adduser slyfox sudo</​code>​+
  
 +<code user>​dconf reset -f /</​code>​
  
  
-===== Paquets préférés ​=====+===== Renommer Desktop en Bureau ​===== 
 +<file config ~/​.config/​user-dirs.dirs>​
  
-<code root> +# This file is written by xdg-user-dirs-update 
-apt-get update && apt-get install build-essential intltool xz-utils fakeroot checkinstall pkg-config libgtk2.0-dev git-core vlc handbrake icedove icedove-l10n-fr 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 gedit gedit-plugins gparted shotwell faenza-icon-theme unrar samba smbclient cifs-utils vlc-plugin-samba mpv python3-tk gnome-calculator shutter fdkaac +# 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 
- +# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an 
-=== gnome (complet) === +# absolute path. No other format is supported. 
- + 
-<code root>​apt-get install gnome</code> +XDG_DESKTOP_DIR="$HOME/OneDrive/Bureau"​ 
- +XDG_DOWNLOAD_DIR="$HOME/OneDrive/​Downloads
-=== yad (stable) === +XDG_TEMPLATES_DIR="$HOME/​Templates
- +XDG_PUBLICSHARE_DIR="$HOME/​Public
-<code root>apt-get install -t sid yad</​code>​ +XDG_DOCUMENTS_DIR="$HOME/OneDrive/Documents"​ 
- +#​XDG_MUSIC_DIR="$HOME/Music" 
-=== yad (Sid) === +#​XDG_PICTURES_DIR="$HOME/Pictures"​ 
- +#XDG_VIDEOS_DIR="$HOME/Videos"​</​file>​
-<code root>apt-get install yad</​code>​ +
- +
-=== Mise à jour paquets === +
- +
-<code root> +
-apt-get upgrade +
-</code> +
- +
- +
- +
- +
- +
-===== MATE ===== +
- +
-==== Installation ==== +
- +
-<code root>​apt-get install mate-desktop-environment-extras<​/code> +
- +
-<code root>​apt-get upgrade</code> +
- +
-==== Installer Mate dépôt unstable ==== +
- +
-<code root>​apt-get install -t unstable mate-desktop-environment-extras<​/code> +
- +
-__**Empêcher une mise à jour**__ +
- +
-Se reloguer sur Mate\\ +
-Aller sur synaptic\\ +
-Faire une recherche avec "mate"​\\ +
-(cliquer 2 fois sur "Version installée")\\ +
-Sélectionner tous les paquets avec une étoile (pouvant être mis à jour)\\ +
-Onglet ​"Paquet" ​--> Bloquer la version +
- +
-==== Ajouter ou enlever des icônes système ==== +
- +
-<code user> dconf-editor<​/code> +
- +
-Puis suivez ce chemin : org/mate/​caja/​desktop +
- +
- +
-===== Gedit greffons et Terminal intégré ​ ===== +
- +
-[[https://​debian-facile.org/​doc:​environnements:​gnome:​gedit:​tp-greffon-terminal]] +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
-===== Personnalisation Bureau ===== +
- +
-==== Wallpapers ==== +
- +
-[[http://​www.superbwallpapers.com/​computers/​debian-logo-27149/​]] \\ +
-[[http://​www.superbwallpapers.com/​computers/​debian-7271/​]]\\ +
-[[http://​mephistope.homegnu.org/​docu/​0000/​img/​fond-ecran/​debian-red-logo1280x720.jpg]] +
- +
-==== Icônes Faenza ==== +
-<code root>​apt-get install faenza-icon-theme</​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. +
- +
-<code root> +
-nano /​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>apt install bash-completion 
-nano /​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 293: Ligne 168:
   fi   fi
 fi</​code>​ fi</​code>​
-===== Installer freshplayerplugin ===== 
  
-[[https://​wiki.debian.org/​fr/​Freshplayerplugin]] 
-===== Activer le plugin Java pour Iceweasel ===== 
  
-<code root>​apt-get install openjdk-7-jre icedtea-7-plugin</​code>​ 
  
-===== Visualiser disques Netgear ===== 
  
-<note warning>​**Ne pas oublier de remplacer les xxx**</​note>​+===== Monter automatiquement disque externe =====
  
-<code root>​apt-get update && apt-get install samba smbclient cifs-utils</​code>​ +Identifier numéro UUID 
- +<code user>lsblk --fs</​code>​ 
-==== Monter disques Netgear graphique ==== +<code root>pluma /​etc/​fstab</​code>​
- +
-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>​ +
- +
-==== Fichier /ect/fstab ==== +
- +
-(Installation HDD interne Predator) +
- +
-<code root>nano /​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/sdb1 /​media/​slyfox/​HDD\040interne 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