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:45] Slyfox [Logiciels préférés] |
utilisateurs:slyfox:config:configuration-systeme [07/04/2023 19:52] Slyfox [HP ENVY 32] |
||
---|---|---|---|
Ligne 21: | Ligne 21: | ||
- | ===== Logiciels préférés ===== | + | ===== Ajouter user au groupe sudo ===== |
+ | |||
+ | <code root>sudo su | ||
+ | echo "slyfox ALL=(ALL:ALL) ALL" >> /etc/sudoers</code> | ||
+ | |||
+ | ===== Logiciels préférés (paquets deb) ===== | ||
<code root>apt update | <code root>apt update | ||
- | 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> | + | 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> | ||
- | ===== Ajouter user au groupe sudo ===== | ||
- | echo "slyfox ALL=(ALL:ALL) ALL" >> /etc/sudoers | + | ===== Logiciels préférés (logitec) ===== |
+ | * Cemu | ||
+ | * Steam installer | ||
+ | * FreeFileSync | ||
+ | ===== Geany thèmes de couleur ===== | ||
+ | |||
+ | <code user>cd /tmp | ||
+ | git clone https://github.com/geany/geany-themes.git | ||
+ | cp -r /tmp/geany-themes/colorschemes ~/.config/geany/</code> | ||
+ | |||
+ | ===== Login auto ===== | ||
+ | |||
+ | Paramètres --> Utilisateurs --> Déverrouiller --> Connexion automatique | ||
===== HP ENVY 32 ===== | ===== HP ENVY 32 ===== | ||
==== Audio ==== | ==== 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 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> | ||
+ | |||
+ | <code user>echo "#! /bin/bash | ||
+ | |||
+ | mpg123 /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 | ||
+ | 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 88: | Ligne 108: | ||
- | ===== 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 132: | 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 |