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 [20/06/2021 23:03] Slyfox [HP ENVY 32] |
utilisateurs:slyfox:config:configuration-systeme [12/04/2023 21:56] Slyfox [Installation BCML] |
||
---|---|---|---|
Ligne 16: | Ligne 16: | ||
===== Dépôt ===== | ===== Dépôt ===== | ||
- | |||
- | <code root>pluma /etc/apt/sources.list</code> | ||
- | |||
- | <file apt_sources /etc/apt/sources.list.d> | ||
- | |||
- | # Debian stable dépôt principal + paquets non libres | ||
- | 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") | ||
- | deb http://deb.debian.org/debian/ buster-backports main contrib non-free | ||
- | |||
- | # stable deb-multimedia | ||
- | deb http://www.deb-multimedia.org stable main non-free | ||
- | </file> | ||
- | |||
- | <file apt_sources /etc/apt/sources.list> | ||
- | # sid | ||
- | deb http://deb.debian.org/debian/ sid main contrib non-free | ||
- | |||
- | # sid deb-multimedia | ||
- | deb http://www.deb-multimedia.org sid main non-free | ||
- | </file> | ||
- | |||
- | <code root>pluma /etc/apt/preferences.d/50multimedia</code> | ||
- | |||
- | <file>Package: * | ||
- | Pin: release o=Unofficial Multimedia Packages,a=stable | ||
- | Pin-Priority: 100</file> | ||
- | |||
- | <code root>apt-get update -o Acquire::AllowInsecureRepositories=true | ||
- | apt-get install deb-multimedia-keyring | ||
- | apt update | ||
- | apt full-upgrade</code> | ||
[[https://debian-facile.org/doc:systeme:apt:sources.list:depots-tiers]]\\ | [[https://debian-facile.org/doc:systeme:apt:sources.list:depots-tiers]]\\ | ||
Ligne 60: | Ligne 21: | ||
- | ===== Logiciels préférés ===== | + | ===== Ajouter user au groupe sudo ===== |
- | <code root>apt-get update | + | <code root>sudo su |
- | apt install mate-desktop-environment-extras network-manager hardinfo avidemux thunderbird thunderbird-l10n-fr ffmpeg mpv hardinfo audacious audacity dvdbackup easytag geany geany-plugin* vobcopy yad youtube-dl zenity mplayer picard quodlibet spek gparted handbrake kid3-cli lsdvd mencoder mgba-common mgba-qt mgba-sdl</code> | + | echo "slyfox ALL=(ALL:ALL) ALL" >> /etc/sudoers</code> |
- | ===== Paquets secondaire (à tester) ===== | + | ===== Logiciels préférés (paquets deb) ===== |
<code root>apt update | <code root>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 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> | + | apt upgrade</code> |
+ | ===== Logiciels préférés (logitec) ===== | ||
- | ===== HP ENVY 32 ===== | + | * Cemu |
+ | * Steam installer | ||
+ | * FreeFileSync | ||
+ | * CoreRenamer | ||
+ | * CorePaint | ||
- | <code root>apt update | + | ===== Geany thèmes de couleur ===== |
- | apt install firmware-realtek nvidia-driver alsa-tools</code> | + | |
- | ==== Audio ==== | + | <code user>cd /tmp |
+ | git clone https://github.com/geany/geany-themes.git | ||
+ | cp -r /tmp/geany-themes/colorschemes ~/.config/geany/</code> | ||
- | <code root>echo "options snd_hda_intel model=alc274-dell-aio | + | ===== Login auto ===== |
- | alias snd-card-0 snd-hda-intel | + | |
- | alias sound-slot-0 snd-hda-intel | + | |
- | alias sound-slot-0 snd-card-0 | + | |
- | alias sound-service-0-0 snd-mixer-oss | + | |
- | alias sound-service-0-1 snd-seq-oss | + | |
- | alias sound-service-0-3 snd-pcm-oss | + | |
- | alias sound-service-0-8 snd-seq-oss | + | |
- | alias sound-service-0-12 snd-pcm-oss" > /etc/modprobe.d/hda.conf</code> | + | |
+ | Paramètres --> Utilisateurs --> Déverrouiller --> Connexion automatique | ||
+ | ===== HP ENVY 32 ===== | ||
+ | ==== 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 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</code> | ||
- | <code root>chmod +x /opt/start_hda.txt</code> | ||
- | <code root>echo "slyfox ALL=(ALL:ALL) ALL" >> /etc/sudoers</code> | ||
- | Création d'un fichier muet: | + | Création fichiers muets: |
- | <code root>ffmpeg -f lavfi -i anullsrc -t 10 /opt/silence.mp3</code> | + | <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> | ||
+ | Cliquer sur le lien ci-dessous pour télécharger ce fichier et le placer sur le bureau | ||
+ | <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> | ||
- | __Ligne de commande pour raccourcis :__ | ||
- | Type: Application | + | <code root>sudo chmod +x "/home/slyfox/Bureau/Audio_HD"</code> |
- | Nom: Start_audio | + | |
- | Commande: <code user>mpg123 --loop 10000 /opt/silence.mp3</code> | + | |
- | Type: Application | + | Pour activer l'audio, clic droit sur le fichier "Audio_HD" et choisir "Excuter en tant que programme". |
- | Nom: Start_hda | + | |
- | Commande:<code user>sudo "/opt/start_hda.txt"</code> | + | |
- | ==== Nvidia GPU par défaut ==== | ||
- | <note important>Vérifier que le secureboot est désactiver dans le BIOS !</note> | ||
- | <code root>apt-get install gdm3</code> | ||
- | Choisir gdm3. | ||
- | <code root>pluma /etc/X11/xorg.conf.d/20-nvidia.conf</code> | ||
- | <code user>Section "Module" | ||
- | Load "modesetting" | ||
- | EndSection | ||
- | Section "Device" | ||
- | Identifier "nvidia" | ||
- | Driver "nvidia" | ||
- | BusID "PCI:01:00:0" | ||
- | Option "AllowEmptyInitialConfiguration" | ||
- | EndSection</code> | ||
- | |||
- | <code root>pluma /usr/share/gdm/greeter/autostart/optimus.desktop</code> | ||
- | |||
- | <code user>[Desktop Entry] | ||
- | Type=Application | ||
- | Name=Optimus | ||
- | Exec=sh -c "xrandr --setprovideroutputsource modesetting NVIDIA-0; xrandr --auto" | ||
- | NoDisplay=true | ||
- | X-GNOME-Autostart-Phase=DisplayServer</code> | ||
- | |||
- | <code root>pluma /etc/xdg/autostart/optimus.desktop</code> | ||
- | |||
- | <code user>[Desktop Entry] | ||
- | Type=Application | ||
- | Name=Optimus | ||
- | Exec=sh -c "xrandr --setprovideroutputsource modesetting NVIDIA-0; xrandr --auto" | ||
- | NoDisplay=true | ||
- | X-GNOME-Autostart-Phase=DisplayServer</code> | ||
- | |||
- | <code user>systemctl restart gdm3.service</code> | ||
- | |||
- | [[https://lecrabeinfo.net/installer-pilote-proprietaire-nvidia-sur-debian-linux.html]] | ||
- | |||
- | |||
- | ===== Imac ==== | ||
- | |||
- | <code root>apt update | ||
- | apt install firmware-brcm80211</code> | ||
- | |||
- | [[https://debian-facile.org/doc:materiel:wifi:detecter]] \\ | ||
- | [[https://wiki.debian.org/Firmware]] \\ | ||
- | [[https://wiki.debian.org/Firmware/List]] \\ | ||
===== Liste pilote à installer ===== | ===== Liste pilote à installer ===== | ||
Ligne 180: | Ligne 95: | ||
[[https://lecrabeinfo.net/linux-identifier-carte-graphique-pilote-pc.html]] | [[https://lecrabeinfo.net/linux-identifier-carte-graphique-pilote-pc.html]] | ||
- | ===== 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> | ||
- | |||
- | |||
- | |||
- | ===== 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> | ||
- | |||
- | ===== Configuration bureau par défaut ===== | ||
- | |||
- | <code user>dconf reset -f /</code> | ||
- | |||
- | ===== Sudo ===== | ||
- | <code root>su - | ||
- | adduser slyfox sudo</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 261: | 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> | + | ===== 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: | + | <note warning>Tester si pas d'erreur sinon risque de plantage lors du prochain démarrage !</note> |
+ | <code root>mount --all</code> | ||
- | <code root>apt install steam</code> | + | Donner les droits utilsateur. |
+ | <code root>chown -R slyfox:slyfox /media/slyfox/HDD_STOCKAGE/</code> | ||
- | Installez les pilotes recommandés et les bibliothèques Vulkan 32 bits: | + | ===== Créer un lien ===== |
- | <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 user>ln -s [fichier cible] [Nom de fichier symbolique]</code> |
- | Liens: \\ | + | ===== Installation Cemu ===== |
- | [[https://wiki.debian.org/fr/Steam]] \\ | + | |
- | Si erreur "libGL.so.1" | + | [[https://github.com/cemu-project/Cemu/blob/main/BUILD.md|github]] |
- | <code root>apt install libgl1-nvidia-glvnd-glx:i386</code> | + | <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> | ||
- | ===== Monter automatiquement disque externe ===== | + | Pour lancer Cemu ce mettre dans le dossier "Cemu" |
- | Identifier numéro UUID | + | <code user>./bin/Cemu_release</code> |
- | <code user>lsblk --fs</code> | + | |
- | <code root>pluma /etc/fstab</code> | + | |
- | <code># Disque externe HDD_STOCKAGE | + | ===== Installation BCML ===== |
- | UUID=94f63283-8e6d-49dc-99db-8d0385d1d797 /media/slyfox/HDD_STOCKAGE ext4 defaults 0 2 | + | |
- | </code> | + | |
- | <note warning>Tester si pas d'erreur sinon risque de plantage lors du prochain démarrage !</note> | + | Lien: [[https://github.com/NiceneNerd/BCML]] \\ |
- | <code root>mount --all</code> | + | Lien: [[https://pypi.org/project/bcml/2.0/]] |
+ | |||
+ | <code user>cd | ||
+ | git clone --recursive https://github.com/NiceneNerd/BCML.git | ||
+ | cd ./BCML | ||
+ | python3 setup.py install --user | ||
+ | mkdir "/home/$USER/Cemu/bin/Mod cemu"</code> | ||
+ | |||
+ | Pour lancer BCML | ||
+ | <code user>bcml</code> | ||
+ | |||
+ | Exemple de configuration | ||
+ | |||
+ | <note important>Si les chemins sont incomplets, ouvrir Cemu, fichier, "Install game title, update, DLC", aller dans les dossiers des roms, ouvrir les dossiers Game, uptade et DLC (voir les dossiers code, content, meta) et cliquer sur ouvrir, l'exportation se lance</note> | ||
+ | |||
+ | {{/file-Rad45b8443faa4b3ab562b9ea61d789f6.png?1000}} | ||
- | Donner les droits utilsateur. | ||
- | <code root>chown -R slyfox:slyfox /media/slyfox/HDD_STOCKAGE/</code> | ||