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 [15/08/2020 18:27] Slyfox [MATE ajouter ou enlever des icônes système] |
utilisateurs:slyfox:config:configuration-systeme [07/04/2023 10:44] Slyfox [Geany thèmes de couleur] |
||
---|---|---|---|
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 | + | ===== Ajouter user au groupe sudo ===== |
- | 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>sudo su |
- | deb http://deb.debian.org/debian/ buster-backports main contrib non-free | + | echo "slyfox ALL=(ALL:ALL) ALL" >> /etc/sudoers</code> |
- | + | ||
- | # Debian stable deb-multimedia | + | |
- | deb http://www.deb-multimedia.org stable main non-free | + | |
- | </file> | + | ===== Logiciels préférés (paquets deb) ===== |
- | <code root> | + | <code root>apt update |
- | apt update</code> | + | 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 |
- | + | ||
- | <code root>cat > /etc/apt/sources.list.d/10deb-multi.list <<EOF | + | |
- | # stable multimedia | + | |
- | Package: * | + | |
- | Pin: release o=Unofficial Multimedia Packages,a=stable | + | |
- | Pin-Priority: 100 | + | |
- | EOF</code> | + | |
- | + | ||
- | <code root>apt-get update -o Acquire::AllowInsecureRepositories=true | + | |
- | apt install deb-multimedia-keyring | + | |
- | apt update | + | |
apt upgrade</code> | apt upgrade</code> | ||
- | [[https://debian-facile.org/doc:systeme:apt:sources.list:depots-tiers]] | ||
+ | ===== Logiciels préférés (logitec) ===== | ||
+ | * Cemu | ||
+ | * Steam installer | ||
+ | * FreeFileSync | ||
- | ===== Pilote graphique nvidia-detect ===== | + | ===== Geany thèmes de couleur ===== |
- | <note warning>Plus obligatoire depuis Debian stable 10</note> | + | <code user>cd /tmp |
+ | git clone https://github.com/geany/geany-themes.git | ||
+ | cp -r /tmp/geany-themes/colorschemes ~/.config/geany/</code> | ||
- | Le script nvidia-detect (paquet nvidia-detect dans non-free) peut également être utilisé pour identifier le processeur graphique et le pilote adapté. | + | ===== Login auto ===== |
- | <code root>apt update | + | Paramètre --> Utilisateurs --> Déverrouiller --> Connexion automatique |
- | apt install nvidia-detect | + | ===== HP ENVY 32 ===== |
- | nvidia-detect</code> | + | |
- | Lien: [[https://wiki.debian.org/fr/NvidiaGraphicsDrivers#nvidia-detect]] | + | ==== Audio ==== |
+ | <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 0.5 | ||
+ | /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> | ||
+ | Création d'un fichier muet de 0.1s: | ||
- | ===== Wi-fi ===== | + | <code root>ffmpeg -f lavfi -i anullsrc -t 0.1 /opt/silence_0.mp3</code> |
- | ==== Acer Predator G6-710 ==== | + | Création d'un fichier muet de 24h: |
- | <code root> | + | <code root>ffmpeg -f lavfi -i anullsrc -t 10 /opt/silence.mp3</code> |
- | 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]] | ||
- | ==== Packard Bell ==== | + | __Ligne de commande pour raccourcis :__ |
- | <code root> | + | <code user>Type: Application |
- | apt install wireless-tools | + | Nom: Start_audio |
- | apt update | + | Commande: mpg123 --loop 10000 "/opt/silence.mp3"</code> |
- | apt install firmware-iwlwifi | + | |
- | modprobe -r iwlwifi ; modprobe iwlwifi</code> | + | |
- | ===== Su / sudo ===== | + | <code user>Type: Lancer dans un terminal |
+ | Nom: Start_hda | ||
+ | Commande:sudo "/opt/start_hda.txt"</code> | ||
- | <note tip>Code non fonctionnel (04.01.2020)</note> | ||
- | <code root> | ||
- | adduser slyfox sudo</code> | ||
+ | ===== Liste pilote à installer ===== | ||
+ | <code root>dmesg | grep firmware</code> | ||
+ | https://debian-facile.org/doc:materiel:wifi:detecter#etape-4activer-l-interface-reseau | ||
- | ===== Paquets préférés ===== | + | ===== Information système ===== |
- | + | ||
- | <code root>apt update | + | |
- | apt install audacious audacity 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 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 upgrade</code> | + | |
+ | <code user>hardinfo &</code> | ||
+ | [[https://lecrabeinfo.net/linux-identifier-carte-graphique-pilote-pc.html]] | ||
===== Pyrenamer ===== | ===== Pyrenamer ===== | ||
Ligne 118: | Ligne 98: | ||
Télécharger les dernières versions des paquets disponible : | Télécharger les dernières versions des paquets disponible : | ||
- | https://packages.debian.org/stretch/pyrenamer | + | <code user>cd /home/slyfox |
- | https://packages.debian.org/stretch/python-gconf | + | 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> |
- | ===== MATE ajouter ou enlever des icônes système ===== | ||
- | <code user> dconf-editor</code> | ||
- | Puis suivez ce chemin : org/mate/caja/desktop | ||
- | Pour remettre tout par défaut: | ||
- | <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. | ||
- | |||
- | <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 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 174: | Ligne 128: | ||
fi</code> | fi</code> | ||
- | ===== Steam ===== | ||
- | <note important>[[https://wiki.debian.org/fr/Steam#Syst.2BAOg-mes_64_bits_.28amd64.29]]</note> | ||
- | Ajouter si nécessaire ce dépôt: | ||
- | <code>deb http://deb.debian.org/debian/ buster main contrib non-free</code> | + | ===== Monter automatiquement disque externe ===== |
- | Activer Multi-Arch et mettre à jour la liste des paquets disponibles. | + | Identifier numéro UUID |
+ | <code user>lsblk --fs</code> | ||
+ | <code root>gedit /etc/fstab</code> | ||
- | <code root>dpkg --add-architecture i386 | + | <code># Disque externe HDD_STOCKAGE |
- | apt update</code> | + | UUID=94f63283-8e6d-49dc-99db-8d0385d1d797 /media/slyfox/HDD_STOCKAGE ext4 defaults 0 2 |
- | + | </code> | |
- | Installez le paquet steam: | + | |
- | + | ||
- | <code root>apt install steam</code> | + | |
- | + | ||
- | Installez les pilotes recommandés et les bibliothèques Vulkan 32 bits: | + | |
- | + | ||
- | <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: \\ | + | |
- | [[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 ===== | + | |
- | + | ||
- | Installer le paquet gstreamer1.0-tools | + | |
- | + | ||
- | <code root>apt install gstreamer1.0-tools</code> | + | |
- | + | ||
- | ===== Visualiser disques Netgear ===== | + | |
- | + | ||
- | <code root> | + | |
- | 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> | + | <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> | ||