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 [25/10/2017 10:28] Slyfox [Paquets préférés] |
utilisateurs:slyfox:config:configuration-systeme [28/04/2023 19:49] Slyfox [Cemu] |
||
---|---|---|---|
Ligne 3: | Ligne 3: | ||
===== Graver clé USB live ===== | ===== Graver clé USB live ===== | ||
- | <code root>fdisk -l</code> | + | <code root>sudo lsblk --fs</code> |
- | <code root>umount /dev/sdx</code> | + | <code root>sudo dd if=image.iso of=/dev/sdx bs=4M && sync</code> |
- | + | ||
- | <code root>dd if=image.iso of=/dev/sdx bs=4M && sync</code> | + | |
Problème | Problème | ||
Ligne 13: | Ligne 11: | ||
{{/file-Rfd34724d994d65fb28eaa9bbeeda2c22.png}} | {{/file-Rfd34724d994d65fb28eaa9bbeeda2c22.png}} | ||
- | <code root>fdisk -l</code> | + | <code root>sudo umount /dev/sdx</code> |
- | <code root>umount /dev/sdx</code> | + | <code root>sudo dd if=/dev/zero of=/dev/sdx bs=2048 count=32 </code> |
- | <code root>dd if=/dev/zero of=/dev/sdx bs=2048 count=32 </code> | + | ===== Dépôt ===== |
- | ===== Wi-fi ===== | + | |
- | ==== Acer Predator G6-710 ==== | + | [[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]] | ||
- | <code root> | ||
- | apt-get install firmware-atheros | ||
- | modprobe -r ath10k_pci | ||
- | wget https://github.com/FireWalkerX/ath10k-firmware/blob/master/QCA6174/hw3.0/board-2.bin | ||
- | cp board-2.bin /lib/firmware/ath10k/QCA6174/hw3.0/board.bin | ||
- | </code> | ||
- | Lien du fichier board.bin: [[https://github.com/FireWalkerX/ath10k-firmware/blob/master/QCA6174/hw3.0/board-2.bin]] | + | ===== Ajouter user au groupe sudo ===== |
- | ==== Packard Bell ==== | + | <code root>sudo su |
+ | echo "slyfox ALL=(ALL:ALL) ALL" >> /etc/sudoers</code> | ||
- | <code root> | + | ===== Logiciels préférés (paquets deb) ===== |
- | apt-get install wireless-tools && apt-get update && apt-get install firmware-iwlwifi && modprobe -r iwlwifi ; modprobe iwlwifi</code> | + | |
- | ===== Dépôt ===== | + | <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 drawing pinta | ||
+ | apt upgrade</code> | ||
+ | ===== Logiciels préférés (logitec) ===== | ||
- | <code root> | + | * Cemu |
- | pluma /etc/apt/sources.list</code> | + | * Steam installer |
+ | * FreeFileSync | ||
+ | * CoreRenamer | ||
- | <note warning>**__Mettre en premier les dépôts de la distribution !__**</note> | + | ===== Geany thèmes de couleur ===== |
- | ==== Stable (stretch) ==== | + | <code user>cd /tmp |
+ | git clone https://github.com/geany/geany-themes.git | ||
+ | cp -r /tmp/geany-themes/colorschemes ~/.config/geany/</code> | ||
- | <file apt_sources /etc/apt/sources.list.d/deb_debian-stretch_non-libre.list> | + | ===== Login auto ===== |
- | # Debian stretch, dépôt principal + paquets non libres | + | Paramètres --> Utilisateurs --> Déverrouiller --> Connexion automatique |
- | deb http://httpredir.debian.org/debian/ stretch main contrib non-free | + | ===== HP ENVY 32 ===== |
- | + | ||
- | # Debian stretch, mises-à-jour de sécurité + paquets non libres | + | |
- | deb http://security.debian.org/ stretch/updates main contrib non-free | + | |
- | + | ||
- | # Debian stretch, mises-à-jour "volatiles" + paquets non libres | + | |
- | deb http://httpredir.debian.org/debian/ stretch-updates main contrib non-free | + | |
- | + | ||
- | # Debian stretch-backports | + | |
- | deb http://httpredir.debian.org/debian stretch-backports main contrib non-free | + | |
- | # Debian Multimedia | + | ==== Audio ==== |
- | deb http://www.deb-multimedia.org stable main non-free | + | |
- | + | ||
- | # Steam for Linux | + | |
- | deb [arch=i386] http://repo.steampowered.com/steam/ precise steam | + | |
- | </file> | ||
- | <code root>apt-get update | + | Création fichiers muets: |
- | apt-get install deb-multimedia-keyring | + | |
- | apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F24AEA9FB05498B7 | + | |
- | apt-get update</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> | ||
- | ==== Sid / unstable ==== | + | Cliquer sur le lien ci-dessous pour télécharger ce fichier et le placer sur le bureau |
- | + | ||
- | <file apt_sources /etc/apt/sources.list.d/deb_debian-unstable_non-libre.list> | + | |
- | + | ||
- | #Dépôts sid | + | |
- | deb http://ftp.ch.debian.org/debian/ sid main contrib non-free | + | |
- | deb-src http://ftp.ch.debian.org/debian/ sid main contrib non-free | + | |
- | + | ||
- | # Debian Multimedia | + | |
- | deb http://www.deb-multimedia.org sid main non-free | + | |
- | + | ||
- | # Steam for Linux | + | |
- | deb [arch=i386] http://repo.steampowered.com/steam/ precise steam | + | |
+ | <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> | </file> | ||
- | <code root>apt-get update | ||
- | apt-get install deb-multimedia-keyring | ||
- | apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F24AEA9FB05498B7 | ||
- | apt-get update</code> | ||
- | ==== Priorité sur distribution (si dépôt stretch et Sid) ==== | + | <code root>sudo chmod +x "/home/slyfox/Bureau/Audio_HD"</code> |
- | <code root>pluma /etc/apt/preferences.d/00source</code> | + | Pour activer l'audio, clic droit sur le fichier "Audio_HD" et choisir "Excuter en tant que programme". |
- | <code>Package: * | ||
- | Pin: release a=stable | ||
- | Pin-Priority: 900 | ||
- | Package: * | ||
- | Pin: release o=Debian | ||
- | Pin-Priority: -10 | ||
- | </code> | ||
- | Pour installer un paquet d'un autre dépôt: | ||
- | <code root>apt-get install -t sid nom-du-paquet</code> | ||
- | Lien: [[http://tycale.be/debian-mixer-stable-testing-et-unstable/]] | ||
- | ==== Migration Stable à Sid ==== | ||
- | Changer le /etc/apt/sources.list par les dépôts Sid | ||
- | <code root>apt-get update | ||
- | apt-get upgrade | ||
- | apt-get dist-upgrade</code> | ||
- | ===== Pilote graphique Nvidia GTX 970 (Predator) ===== | + | ===== Liste pilote à installer ===== |
- | <code root>apt-get install nvidia-settings nvidia-xconfig | + | <code root>sudo dmesg | grep firmware</code> |
- | nvidia-xconfig | + | https://debian-facile.org/doc:materiel:wifi:detecter#etape-4activer-l-interface-reseau |
- | reboot</code> | + | |
- | Lien 1: [[https://wiki.debian.org/fr/NvidiaGraphicsDrivers|debian.org NvidiaGraphicsDrivers]]\\ | + | ===== Information système ===== |
- | Lien 2: [[https://debian-facile.org/viewtopic.php?pid=186166#p186166|DF poste 23]] | + | |
+ | <code user>hardinfo &</code> | ||
+ | [[https://lecrabeinfo.net/linux-identifier-carte-graphique-pilote-pc.html]] | ||
+ | ===== Autocomplétion ===== | ||
+ | <code root>sudo gedit /etc/bash.bashrc</code> | ||
- | ===== Su / sudo ===== | + | 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. |
- | <code root> | + | ce qui doit donné au final : |
- | adduser slyfox sudo</code> | + | |
+ | <code># 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</code> | ||
- | ===== Paquets préférés ===== | ||
- | |||
- | <code root>apt-get update && apt-get install firmware-iwlwifi build-essential intltool xz-utils fakeroot checkinstall pkg-config libgtk2.0-dev git-core gconf-editor audacity dconf-editor zenity lsdvd ffmpeg mplayer mencoder dvdbackup genisoimage mkvtoolnix gawk libdca0 libdvdcss2 libdvdnav4 libdvdread4 minidlna caja-open-terminal mkvtoolnix-gui mkvtoolnix avidemux vobcopy youtube-dl pyrenamer zenity gparted shotwell faenza-icon-theme unrar samba smbclient cifs-utils mpv python3-tk gnome-calculator shutter fdkaac audacious qpdfview easytag gstreamer1.0-plugins-base gstreamer1.0-plugins-bad libimobiledevice-dev libimobiledevice-utils libgpod-dev yad mgba-common mgba-sdl mgba-qt quodlibet</code> | ||
- | |||
- | === gnome (complet) === | ||
- | |||
- | <code root>apt-get install gnome</code> | ||
- | |||
- | === Mise à jour paquets === | ||
- | |||
- | <code root>apt-get upgrade</code> | ||
- | |||
- | |||
- | ===== Steam ===== | ||
- | |||
- | Pour l'installation voir: [[https://debian-facile.org/doc:jeux:steam]] | ||
- | |||
- | ---- | ||
- | |||
- | Si problème, essayer cette commande qui indique les paquets manquants et à installer: | ||
- | <code user>STEAM_RUNTIME=0 steam</code> | ||
- | <note important>Attention! Il faut installer les paquets manquants en **32 bits (i386).**</note> | + | ===== Monter automatiquement disque externe ===== |
- | //Paquet installés sur SID (22.01.16)// | + | Identifier numéro UUID |
+ | <code user>lsblk --fs</code> | ||
+ | <code root>sudo gedit /etc/fstab</code> | ||
- | <code root> | + | <code># Disque externe HDD_STOCKAGE |
- | apt-get install libxtst6:i386 libxrandr2:i386 libgl1-mesa-glx:i386 libglib2.0-0:i386 libgtk2.0-0:i386 libpulse0:i386 libgdk-pixbuf2.0-0:i386 libgl1-nvidia-glx:i386 | + | UUID=94f63283-8e6d-49dc-99db-8d0385d1d797 /media/slyfox/HDD_STOCKAGE ext4 defaults 0 2 |
</code> | </code> | ||
- | Si cet avertissement: | + | <note warning>Tester si pas d'erreur sinon risque de plantage lors du prochain démarrage !</note> |
+ | <code root>mount --all</code> | ||
- | <code>Could not load module 'vgui2_s.so'. | + | Donner les droits utilsateur. |
+ | <code root>sudo chown -R slyfox:slyfox /media/slyfox/HDD_STOCKAGE/</code> | ||
- | For more information visit https://support.steampowered.com/kb_article.php?ref=9205-OZVN-0660</code> | + | ===== Créer un lien ===== |
- | Avant d'aller plus loin lancer Steam (normalement) via l’onglet "Jeu" ou \\ | + | <code user>ln -s [fichier cible] [Nom de fichier symbolique]</code> |
- | voir ce lien: [[https://support.steampowered.com/kb_article.php?ref=9205-OZVN-0660]] | + | |
- | <code> | + | ===== Cemu ===== |
- | cd /home/slyfox/.steam/bin32 | + | |
- | LD_LIBRARY_PATH=. ldd vgui2_s.so | + | |
- | </code> | + | |
- | Liens: \\ | + | [[https://github.com/cemu-project/Cemu/blob/main/BUILD.md|github]] |
- | [[http://store.steampowered.com/about/]] \\ | + | |
- | [[https://www.debian-fr.org/t/steam-sous-debian-wheezy-sid/56701/2]] \\ | + | |
- | [[https://forums.archlinux.fr/viewtopic.php?t=18139]] | + | |
+ | <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> | ||
+ | cd | ||
+ | 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</code> | ||
+ | Si tout est OK... | ||
+ | <code user>cmake --build build</code> | ||
+ | Donner le droit de lancer Cemu | ||
+ | <code user>chmod +x /home/$USER/Cemu/bin/Cemu_release</code> | ||
+ | <note warning>**REDAMARRER LE PC**</note> | ||
- | ===== MATE ===== | + | Pour lancer Cemu ce mettre dans le dossier "Cemu" |
- | ==== Installation ==== | + | <code user>home/$USER/Cemu/bin/Cemu_relwithdebinfo</code> |
- | <code root>apt-get install mate-desktop-environment-extras</code> | + | ===== WiiUDownloader-Linux-x86_64 ===== |
- | <code root>apt-get upgrade</code> | + | WiiUDownloader-Linux-x86_64 permet de trouver les roms. |
- | ==== Ajouter ou enlever des icônes système ==== | + | Lien: [[https://testing.agilly1989.xyz/#/WiiU/Tools/Nusdownloaders/WiiUDownloader]] \\ |
+ | Lien (prendre AppImage): [[https://github.com/Xpl0itU/WiiUDownloader/releases]] | ||
- | <code user> dconf-editor</code> | + | <code user>cd |
+ | wget https://github.com/Xpl0itU/WiiUDownloader/releases/download/v1.32/WiiUDownloader-Linux-x86_64.AppImage | ||
+ | chmod +x /home/$USER/WiiUDownloader-Linux-x86_64.AppImage</code> | ||
- | Puis suivez ce chemin : org/mate/caja/desktop | + | Pour lancer WiiUDownloader-Linux-x86_64 |
+ | <code user>/home/$USER/WiiUDownloader-Linux-x86_64.AppImage</code> | ||
- | ===== Gedit / greffons et Terminal intégré ===== | + | Cocher "Decrypt contents" et "Delete encrypted contents after decrytion" |
- | + | ||
- | [[https://debian-facile.org/doc:environnements:gnome:gedit:tp-greffon-terminal]] | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | ===== Personnalisation Bureau ===== | + | |
- | + | ||
- | ==== Wallpapers ==== | + | |
- | + | ||
- | [[http://www.superbwallpapers.com/computers/debian-logo-27149/]] \\ | + | |
- | [[http://www.superbwallpapers.com/computers/debian-7271/]]\\ | + | |
- | [[http://mephistope.homegnu.org/docu/0000/img/fond-ecran/debian-red-logo1280x720.jpg]] | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | ===== 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> | + | |
- | + | ||
- | ===== Autocomplétion ===== | + | |
- | + | ||
- | <code root>apt-get install bash-completion | + | |
- | 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. | + | |
- | + | ||
- | ce qui doit donné au final : | + | |
- | + | ||
- | <code># 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</code> | + | |
- | ===== Installer freshplayerplugin ===== | + | |
- | [[https://wiki.debian.org/fr/Freshplayerplugin]] | + | Sélectionner la rom --> "Add to queue" --> "Download queue" |
- | ===== Activer le plugin Java pour Iceweasel ===== | + | |
- | <code root>apt-get install openjdk-7-jre icedtea-7-plugin</code> | ||
- | ===== Visualiser disques Netgear ===== | ||
- | <note warning>**Ne pas oublier de remplacer les xxx**</note> | ||
- | <code root>apt-get update && apt-get install samba smbclient cifs-utils</code> | ||
- | ==== Monter disques Netgear graphique ==== | + | ===== Installation BCML ===== |
- | Commande ouverture Netgear via caja (Mate). | + | Lien: [[https://github.com/NiceneNerd/BCML]] \\ |
+ | Lien: [[https://pypi.org/project/bcml/2.0/]] \\ | ||
+ | Lien: [[https://gamebanana.com/mods/168235]] \\ | ||
+ | Lien: [[https://gamebanana.com/mods/406768]] | ||
- | <code user>caja smb://192.168.0.xxx</code> | + | <code user>cd |
+ | git clone --recursive https://github.com/NiceneNerd/BCML.git | ||
+ | cd ./BCML | ||
+ | python3 setup.py install --user | ||
+ | mkdir "/home/$USER/Mod ZBOW"</code> | ||
- | Option créer un lanceur... | + | Pour lancer BCML |
+ | <code user>bcml</code> | ||
- | Via terminal | + | Exemple de configuration (cliquer sur l'image pour zommer) |
- | <code user>smbclient //192.168.0.xxx/netgear-disque-interne</code> | + | <note important>**Si les chemins sont incomplets dans le dossier mlc0** \\ |
+ | \\ | ||
+ | Ouvrir Cemu \\ | ||
+ | Fichier --> "Install game title, update, DLC" \\ | ||
+ | Aller dans les dossiers des roms du jeu ZBOW \\ | ||
+ | Ouvrir les dossiers Game, Uptade et DLC (voir les dossiers code, content, meta) \\ | ||
+ | Cliquer sur ouvrir (l'exportation se lance)</note> | ||
- | ==== Fichier /ect/fstab ==== | ||
- | (Installation HDD interne Predator) | + | <note important>Cocher "Use BCML without a Cemu installation" et choisir une langue (agrandir la fenêtre si nécessaire)</note> |
- | <code root>pluma /etc/fstab</code> | + | {{/file-R1ebeee406b8ec6be72adc928fcc36c71.png?1000}} |
- | <code># | + | |
- | # Use 'blkid' to print the universally unique identifier for a | + | |
- | # device; this may be used with UUID= as a more robust way to name devices | + | |
- | # that works even if disks are added and removed. See fstab(5). | + | |
- | # | + | |
- | # <file system> <mount point> <type> <options> <dump> <pass> | + | |
- | # / was on /dev/sda5 during installation | + | |
- | UUID=18a3eaf3-95f4-4eb4-8e8e-da581d81fdc9 / ext4 errors=remount-ro 0 1 | + | |
- | # /boot/efi was on /dev/sda1 during installation | + | |
- | UUID=8606-D934 /boot/efi vfat umask=0077 0 1 | + | |
- | # /home was on /dev/sda6 during installation | + | |
- | UUID=d79875ce-9132-4ade-ad19-b9b5573e03d7 /home ext4 defaults 0 2 | + | |
- | # swap was on /dev/sda7 during installation | + | |
- | UUID=39d0e0ab-8071-4590-9596-e712b5f5c8ba none swap sw 0 0 | + | |
- | /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 | + | |
- | /dev/disk/by-id/wwn-0x50014ee261f11217 /mnt/wwn-0x50014ee261f11217 auto nosuid,nodev,nofail,noauto,x-gvfs-show 0 0 | + | |
- | # HDD interne | + | Si tout est OK une nouvelle fenêrtre s'ouvre, cocher la case dans le rectangle vert d'information. |
- | /dev/sdb1 /media/slyfox/HDD\040interne ntfs-3g auto,users,rw,nls=utf8,uid=1000 0 0</code> | + | |
- | Si problème aller sur Windows est désactiver le mode hibernation de Windows: | + | Ciquer sur "+" (en bas à droite) pour ajouter le paquet mod (bnp, zip...) en ciquant sur "Browse", cliquer sur "Install" |
- | <code>powercfg -h off</code> | ||
- | Lien: [[https://forum.ubuntu-fr.org/viewtopic.php?id=1271791]] | ||
- | Lien: [[https://www.youtube.com/watch?v=-2-A72GDrpY]] | ||