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

Ceci est une ancienne révision du document !


Configuration Système

Graver clé USB live

lsblk --fs
dd if=image.iso of=/dev/sdx bs=4M && sync

Problème

umount /dev/sdx
dd if=/dev/zero of=/dev/sdx bs=2048 count=32 

Dépôt

Logiciels préférés

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

Paquets secondaire (à tester)

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

HP ENVY 32

Audio

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
chmod +x /opt/start_hda.txt
echo "slyfox    ALL=(ALL:ALL) ALL" >> /etc/sudoers

Création d'un fichier muet:

ffmpeg -f lavfi -i anullsrc -t 10 /opt/silence.mp3

Ligne de commande pour raccourcis :

Type: Application
Nom: Start_audio
Commande: mpg123 --loop 10000 "/opt/silence.mp3"
Type: Lancer dans un terminal
Nom: Start_hda
Commande:sudo "/opt/start_hda.txt"

Liste pilote à installer

Information système

Pyrenamer

Télécharger les dernières versions des paquets disponible :

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
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

Configuration bureau par défaut

dconf reset -f /

Renommer Desktop en Bureau

~/.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"

Autocomplétion

apt install bash-completion
pluma /etc/bash.bashrc

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.

ce qui doit donné au final :

# enable bash completion in interactive shells
if ! shopt -oq posix; then
  if [ -f /usr/share/bash-completion/bash_completion ]; then
    . /usr/share/bash-completion/bash_completion
  elif [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
  fi
fi

Monter automatiquement disque externe

Identifier numéro UUID

lsblk --fs
pluma /etc/fstab
# Disque externe HDD_STOCKAGE
UUID=94f63283-8e6d-49dc-99db-8d0385d1d797 /media/slyfox/HDD_STOCKAGE          ext4    defaults           0       2 
Tester si pas d'erreur sinon risque de plantage lors du prochain démarrage !
mount --all

Donner les droits utilsateur.

chown -R slyfox:slyfox /media/slyfox/HDD_STOCKAGE/
utilisateurs/slyfox/config/configuration-systeme.1680849686.txt.gz · Dernière modification: 07/04/2023 08:41 par Slyfox

Pied de page des forums

Propulsé par FluxBB