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 [17/04/2021 00:50] Slyfox [Paquets préférés] |
utilisateurs:slyfox:config:configuration-systeme [10/04/2023 10:56] Slyfox [Créer un lien] |
||
---|---|---|---|
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/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> |
- | # stable deb-multimedia | + | ===== Logiciels préférés (paquets deb) ===== |
- | deb http://www.deb-multimedia.org stable main non-free | + | |
- | </file> | + | |
- | <code root>pluma /etc/apt/preferences.d/50multimedia</code> | + | <code root>apt update |
+ | 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 gnome-tweaks cmake ninja-build bison cmake curl freeglut3-dev git libgcrypt20-dev libgtk-3-dev libpulse-dev libsecret-1-dev libsystemd-dev nasm ninja-build | ||
+ | apt upgrade</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 |
+ | * CoreRenamer | ||
+ | * CorePaint | ||
- | <code root>apt-get update -o Acquire::AllowInsecureRepositories=true | + | ===== Geany thèmes de couleur ===== |
- | apt-get install deb-multimedia-keyring | + | |
- | apt update | + | |
- | apt upgrade</code> | + | |
- | [[https://debian-facile.org/doc:systeme:apt:sources.list:depots-tiers]] | + | <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 ===== | ||
+ | ==== Audio ==== | ||
+ | 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> | ||
- | ===== Paquets préférés ===== | + | Cliquer sur le lien ci-dessous pour télécharger ce fichier et le placer sur le bureau |
- | <code root>apt update | + | <file text Audio_HD> |
+ | gnome-terminal -- bash -c "ffplay -nodisp -autoexit /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 | ||
+ | ffplay -nodisp -autoexit /opt/silence_86400.mp3" | ||
+ | </file> | ||
- | apt install mate-desktop-environment-extras build-essential cifs-utils dconf-editor fakeroot fdkaac flac gawk gconf-editor genisoimage git-core gstreamer1.0-plugins-bad gstreamer1.0-plugins-base intltool libdca0 libdvdcss2 libdvdnav4 libdvdread4 libgpod-dev libgtk2.0-dev libimobiledevice-dev libimobiledevice-utils mtp-tools network-manager pkg-config python3-tk qpdfview samba smbclient vorbis-tools xz-utils checkinstall firmware-atheros firmware-iwlwifi unrar firmware-b43-installer | ||
- | |||
- | apt install audacious audacity caja-open-terminal dvdbackup easytag geany geany-plugin* gnome-calculator gparted handbrake kid3-cli lsdvd mencoder mgba-common mgba-qt mgba-sdl minidlna mkvtoolnix mkvtoolnix-gui mplayer picard quodlibet spek thunderbird thunderbird-l10n-fr unison vobcopy yad youtube-dl zenity | ||
- | apt-get -t stable install avidemux ffmpeg mpv | + | <code root>sudo chmod +x "/home/slyfox/Bureau/Audio_HD"</code> |
- | apt upgrade</code> | + | Pour activer l'audio, clic droit sur le fichier "Audio_HD" et choisir "Excuter en tant que programme". |
- | ===== Pyrenamer ===== | ||
- | Télécharger les dernières versions des paquets disponible : | ||
- | <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> | ||
+ | ===== Liste pilote à installer ===== | ||
- | ===== Autologin Mate ===== | + | <code root>dmesg | grep firmware</code> |
+ | https://debian-facile.org/doc:materiel:wifi:detecter#etape-4activer-l-interface-reseau | ||
- | 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. | + | ===== Information système ===== |
- | <code root> | + | <code user>hardinfo &</code> |
- | pluma /usr/share/lightdm/lightdm.conf.d/01_debian.conf | + | [[https://lecrabeinfo.net/linux-identifier-carte-graphique-pilote-pc.html]] |
- | </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> | + | |
- | + | ||
- | ===== 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 148: | Ligne 114: | ||
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> | ||
- | |||
- | Activer Multi-Arch et mettre à jour la liste des paquets disponibles. | ||
- | |||
- | <code root>dpkg --add-architecture i386 | ||
- | apt update</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> | ||
- | |||
- | Liens: \\ | ||
- | [[https://wiki.debian.org/fr/Steam]] \\ | ||
- | |||
- | |||
- | ===== Lecture automatique fichier audio ===== | ||
- | |||
- | Installer le paquet gstreamer1.0-tools | ||
- | |||
- | <code root>apt install gstreamer1.0-tools</code> | ||
===== Monter automatiquement disque externe ===== | ===== Monter automatiquement disque externe ===== | ||
Ligne 183: | Ligne 121: | ||
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 | ||
Ligne 194: | Ligne 132: | ||
Donner les droits utilsateur. | Donner les droits utilsateur. | ||
<code root>chown -R slyfox:slyfox /media/slyfox/HDD_STOCKAGE/</code> | <code root>chown -R slyfox:slyfox /media/slyfox/HDD_STOCKAGE/</code> | ||
+ | |||
+ | ===== Créer un lien ===== | ||
+ | |||
+ | <code user>ln -s [fichier cible] [Nom de fichier symbolique]</code> | ||
+ | |||
+ | ===== Installation Cemu ===== | ||
+ | |||
+ | [[https://github.com/cemu-project/Cemu/blob/main/BUILD.md|github]] | ||
+ | |||
+ | <code root>sudo apt install -y cmake curl freeglut3-dev git libgcrypt20-dev libgtk-3-dev libpulse-dev libsecret-1-dev libsystemd-dev nasm ninja-build clang-12 g++</code> | ||
+ | <code user> | ||
+ | git clone --recursive https://github.com/cemu-project/Cemu | ||
+ | cd Cemu | ||
+ | cmake -S . -B build -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ -G Ninja | ||
+ | cmake --build build</code> | ||
+ | |||
+ | <note warning>Redémarrer le PC</note> | ||
+ | |||
+ | Pour lancer Cemu ce mettre dans le dossier "Cemu" | ||
+ | |||
+ | <code user>./bin/Cemu_release</code> | ||
+ | |||