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:38] Slyfox [Imac] |
utilisateurs:slyfox:config:configuration-systeme [12/04/2023 20:49] Slyfox [Installation Cemu] |
||
---|---|---|---|
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 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 |
- | deb http://deb.debian.org/debian/ sid main contrib non-free | + | apt upgrade</code> |
+ | ===== Logiciels préférés (logitec) ===== | ||
- | # sid deb-multimedia | + | * Cemu |
- | deb http://www.deb-multimedia.org sid main non-free | + | * Steam installer |
- | </file> | + | * FreeFileSync |
+ | * CoreRenamer | ||
+ | * CorePaint | ||
- | <code root>pluma /etc/apt/preferences.d/50multimedia</code> | + | ===== Geany thèmes de couleur ===== |
- | <file>Package: * | + | <code user>cd /tmp |
- | Pin: release o=Unofficial Multimedia Packages,a=stable | + | git clone https://github.com/geany/geany-themes.git |
- | Pin-Priority: 100</file> | + | cp -r /tmp/geany-themes/colorschemes ~/.config/geany/</code> |
- | <code root>apt-get update -o Acquire::AllowInsecureRepositories=true | + | ===== Login auto ===== |
- | apt-get install deb-multimedia-keyring | + | |
- | apt update | + | |
- | apt full-upgrade</code> | + | |
- | [[https://debian-facile.org/doc:systeme:apt:sources.list:depots-tiers]]\\ | + | Paramètres --> Utilisateurs --> Déverrouiller --> Connexion automatique |
- | [[https://www.linuxtricks.fr/wiki/debian-installer-ou-migrer-vers-debian-sid|Installer ou Migrer vers Debian sid]] | + | ===== HP ENVY 32 ===== |
+ | ==== Audio ==== | ||
- | ===== Logiciels préférés ===== | ||
- | <code root>apt update | + | Création fichiers muets: |
- | 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>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 root>apt update | + | Cliquer sur le lien ci-dessous pour télécharger ce fichier et le placer sur le bureau |
- | 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 ===== | + | <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> | ||
- | ==== Audio ==== | ||
- | <code root>echo "/usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x0 | + | <code root>sudo chmod +x "/home/slyfox/Bureau/Audio_HD"</code> |
- | /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIRECTION 0x0 | + | |
- | /usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x0 | + | Pour activer l'audio, clic droit sur le fichier "Audio_HD" et choisir "Excuter en tant que programme". |
- | 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: | ||
- | <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 112: | 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 193: | 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 Cemu ===== |
- | 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> | + | [[https://pypi.org/project/bcml/2.0/BCML]] |
- | <code root>mount --all</code> | + | |
- | Donner les droits utilsateur. | ||
- | <code root>chown -R slyfox:slyfox /media/slyfox/HDD_STOCKAGE/</code> | ||