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 [07/04/2023 08:40] Slyfox [Steam] |
utilisateurs:slyfox:config:configuration-systeme [07/04/2023 19:15] Slyfox [HP ENVY 32] |
||
---|---|---|---|
Ligne 17: | 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> | ||
- | # 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> |
- | # stable deb-multimedia | + | ===== Logiciels préférés (paquets deb) ===== |
- | deb http://www.deb-multimedia.org stable main non-free | + | |
- | </file> | + | |
- | <file apt_sources /etc/apt/sources.list> | + | <code root>apt update |
- | # sid | + | 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 |
- | deb http://deb.debian.org/debian/ sid main contrib non-free | + | apt upgrade</code> |
- | # sid deb-multimedia | ||
- | deb http://www.deb-multimedia.org sid main non-free | ||
- | </file> | ||
- | <code root>pluma /etc/apt/preferences.d/50multimedia</code> | + | ===== Logiciels préférés (logitec) ===== |
- | <file>Package: * | + | * Cemu |
- | Pin: release o=Unofficial Multimedia Packages,a=stable | + | * Steam installer |
- | Pin-Priority: 100</file> | + | * FreeFileSync |
- | <code root>apt-get update -o Acquire::AllowInsecureRepositories=true | + | ===== Geany thèmes de couleur ===== |
- | apt-get install deb-multimedia-keyring | + | |
- | apt update | + | |
- | apt full-upgrade</code> | + | |
- | [[https://debian-facile.org/doc:systeme:apt:sources.list:depots-tiers]]\\ | + | <code user>cd /tmp |
- | [[https://www.linuxtricks.fr/wiki/debian-installer-ou-migrer-vers-debian-sid|Installer ou Migrer vers Debian sid]] | + | git clone https://github.com/geany/geany-themes.git |
+ | cp -r /tmp/geany-themes/colorschemes ~/.config/geany/</code> | ||
+ | ===== Login auto ===== | ||
- | ===== Logiciels préférés ===== | + | Paramètres --> Utilisateurs --> Déverrouiller --> Connexion automatique |
+ | ===== HP ENVY 32 ===== | ||
- | <code root>apt update | + | ==== Audio ==== |
- | 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> | + | |
- | ===== Paquets secondaire (à tester) ===== | ||
- | <code root>apt update | + | Création fichiers muets: |
- | 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> | + | |
- | ===== HP ENVY 32 ===== | + | <code root>sudo ffmpeg -f lavfi -i anullsrc -t 0.1 /opt/silence_01.mp3 |
+ | sudo ffmpeg -f lavfi -i anullsrc -t 86400 /opt/silence_86400.mp3</code> | ||
- | ==== Audio ==== | + | <code user>echo "#! /bin/bash |
- | <code root>echo "/usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x0 | + | mpg123 /opt/silence_01.mp3 |
- | /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIRECTION 0x0 | + | sudo /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x0 |
- | /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x0 | + | sudo /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIRECTION 0x0 |
- | sleep 3 | + | sudo /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x0 |
- | /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x04 | + | sleep 1 |
- | /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIRECTION 0x04 | + | sudo /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x04 |
- | /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x04" > /opt/start_hda.txt</code> | + | sudo /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIRECTION 0x04 |
- | <code root>chmod +x /opt/start_hda.txt</code> | + | sudo /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x04 |
- | <code root>echo "slyfox ALL=(ALL:ALL) ALL" >> /etc/sudoers</code> | + | mpg123 /opt/silence_86400.mp3" >> "/home/slyfox/Bureau/Audio_HD.sh"</code> |
+ | |||
+ | |||
+ | |||
+ | <code root>sudo chmod +x "/home/slyfox/Bureau/Audio_HD.sh"</code> | ||
- | Création d'un fichier muet: | ||
- | <code root>ffmpeg -f lavfi -i anullsrc -t 10 /opt/silence.mp3</code> | ||
- | __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> | ||
Ligne 127: | Ligne 107: | ||
- | ===== Configuration bureau par défaut ===== | ||
- | |||
- | <code user>dconf reset -f /</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 ===== | ||
- | <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 176: | Ligne 133: | ||
Identifier numéro UUID | Identifier numéro UUID | ||
<code user>lsblk --fs</code> | <code user>lsblk --fs</code> | ||
- | <code root>pluma /etc/fstab</code> | + | <code root>gedit /etc/fstab</code> |
<code># Disque externe HDD_STOCKAGE | <code># Disque externe HDD_STOCKAGE |