Ci-dessous, les différences entre deux révisions de la page.
— |
welcome:fedora:small_tricks [2019/09/25 19:37] (Version actuelle) |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | <color # | ||
+ | |||
+ | ====== Connect to a tagged " | ||
+ | ===== Basics ===== | ||
+ | |||
+ | The network connection to a tagged vlan is not working very good on Fedora26 (gnome at least). The configuration per GUI as described into the [[https:// | ||
+ | | ||
+ | Therefore the connection must be configured by hand: \\ | ||
+ | * Go to ''/ | ||
+ | * Create a new file with the name syntax '' | ||
+ | * Enter the parameters into this new file: < | ||
+ | LAN=yes | ||
+ | DEVICE=enp5s0.60 | ||
+ | BOOTPROTO=none | ||
+ | ONBOOT=yes | ||
+ | IPADDR=192.168.XXX.YYY | ||
+ | NETMASK=AAA.BBB.CCC.DDD | ||
+ | GATEWAY=192.168.XXX.YYY | ||
+ | NETWORK=192.168.XXX.0 | ||
+ | DNS1=192.168.XXX.YYY | ||
+ | * restart the networking < | ||
+ | $ sudo systemctl restart network.service </ | ||
+ | |||
+ | The connection into the vlan should be now active (ping should be possible). | ||
+ | |||
+ | ===== Activate and deactivate the VLAN ===== | ||
+ | Going to the NetworkManager, | ||
+ | But it is not possible to enable it again! \\ | ||
+ | The way to re-enable the connection is to go to the connection-editor:< | ||
+ | $ nm-connection-editor</ | ||
+ | Then it is possible to go into the parameters of the vlan connection (e.g. enable or disable its auto-start). Setting for auto-connection and saving the configuration will re-enable the vlan connection and then it is possible to disable it again via the NetworkManager. \\ | ||
+ | For re-enabling, | ||
+ | <note important> | ||
+ | [[http:// | ||
+ | [[https:// | ||
+ | ====== Desactive SElinux ====== | ||
+ | ===== Temparary ===== | ||
+ | < | ||
+ | |||
+ | ===== Durable setting ===== | ||
+ | Edit ''/ | ||
+ | |||
+ | For reactivation, | ||
+ | |||
+ | ====== Desactive the firewall ====== | ||
+ | < | ||
+ | and for a durable setting do in addition: < | ||
+ | |||
+ | ====== Dia for diagrams ====== | ||
+ | Set the resolution for export: \\ | ||
+ | |||
+ | On export, specify the PNG (anti-aliased = **anti-crénelé** in french) (*.png) exporter. When you click Save, it will ask you for the resolution. Change either the X or Y, and it will scale up the other so your image is not distored. Do not use the Cairo or Pixbuf exporters, as they do not ask you. \\ \\ | ||
+ | |||
+ | To specify the PNG exporter, select File-> | ||
+ | |||
+ | ====== Digikam ====== | ||
+ | If the top menu bar is not present (= bar for settings), press " | ||
+ | |||
+ | ====== Driver for wifi interface RTL8821CE ====== | ||
+ | https:// | ||
+ | |||
+ | <note important> | ||
+ | |||
+ | \\ \\ \\ | ||
+ | < | ||
+ | $ sudo dnf install kernel kernel-headers kernel-core kernel-debug kernel-debug-core kernel-debug-devel kernel-debug-modules kernel-debug-modules-extra kernel-devel kernel-modules kernel-modules-extra make automake gcc gcc-c++ kernel-devel git dkms dnf-utils wget unrar | ||
+ | Mot de passe : | ||
+ | Adobe Systems Incorporated | ||
+ | Fedora Modular 30 - x86_64 | ||
+ | Fedora Modular 30 - x86_64 - Updates | ||
+ | Fedora 30 - x86_64 - Updates | ||
+ | Fedora 30 - x86_64 - Updates | ||
+ | Fedora 30 - x86_64 | ||
+ | RPM Fusion for Fedora 30 - Free - Updates | ||
+ | RPM Fusion for Fedora 30 - Free - Updates | ||
+ | RPM Fusion for Fedora 30 - Free 64 kB/s | 11 kB | ||
+ | RPM Fusion for Fedora 30 - Nonfree - Updates | ||
+ | RPM Fusion for Fedora 30 - Nonfree - Updates | ||
+ | RPM Fusion for Fedora 30 - Nonfree | ||
+ | Le paquet kernel-5.2.9-200.fc30.x86_64 est déjà installé. | ||
+ | Le paquet kernel-headers-5.2.9-200.fc30.x86_64 est déjà installé. | ||
+ | Le paquet kernel-core-5.2.9-200.fc30.x86_64 est déjà installé. | ||
+ | Le paquet kernel-modules-5.2.9-200.fc30.x86_64 est déjà installé. | ||
+ | Le paquet make-1: | ||
+ | Le paquet git-2.21.0-1.fc30.x86_64 est déjà installé. | ||
+ | Le paquet wget-1.20.3-1.fc30.x86_64 est déjà installé. | ||
+ | Le paquet unrar-5.7.4-1.fc30.x86_64 est déjà installé. | ||
+ | Dépendances résolues. | ||
+ | ======================================================================================================================================================================================================== | ||
+ | | ||
+ | ======================================================================================================================================================================================================== | ||
+ | Installation: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | Installation des dépendances: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Résumé de la transaction | ||
+ | ======================================================================================================================================================================================================== | ||
+ | Installer | ||
+ | |||
+ | Taille totale des téléchargements : | ||
+ | Taille des paquets installés : | ||
+ | Voulez-vous continuer ? | ||
+ | </ | ||
+ | |||
+ | ====== Driver for wifi interface RTL8723DE ====== | ||
+ | https:// | ||
+ | https:// | ||
+ | < | ||
+ | $ git clone -b extended https:// | ||
+ | |||
+ | $ cd rtlwifi_new/ | ||
+ | |||
+ | |||
+ | |||
+ | sudo dnf install kernel-headers | ||
+ | |||
+ | |||
+ | $ sudo dnf install @development-tools | ||
+ | Mot de passe : | ||
+ | Dernière vérification de l’expiration des métadonnées effectuée il y a 0:09:10 le lun. 02 sept. 2019 20:25:32 CEST. | ||
+ | Dépendances résolues. | ||
+ | ======================================================================================================================================================================================================== | ||
+ | | ||
+ | ======================================================================================================================================================================================================== | ||
+ | Installation des paquets du groupe/ | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | Installation des dépendances: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | Installation des dépendances faibles: | ||
+ | | ||
+ | | ||
+ | | ||
+ | Installation des groupes: | ||
+ | | ||
+ | |||
+ | Résumé de la transaction | ||
+ | ======================================================================================================================================================================================================== | ||
+ | Installer | ||
+ | |||
+ | Taille totale des téléchargements : | ||
+ | Taille des paquets installés : | ||
+ | Voulez-vous continuer ? | ||
+ | |||
+ | |||
+ | |||
+ | $ git checkout origin/ | ||
+ | fatal: Une branche nommée ' | ||
+ | $ sudo make install | ||
+ | $ sudo modprobe rtl8723de | ||
+ | |||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | ====== Enabling / Disabling Wayland ====== | ||
+ | For gdm session manager: | ||
+ | < | ||
+ | and comment / uncomment the line '' | ||
+ | |||
+ | ====== Gparted and Wayland ====== | ||
+ | I noticed some issues between Gparted and Wayland: when Wayland is actived, Gparted refuses to open [[https:// | ||
+ | Solution to open Gparted: < | ||
+ | $ xhost +local:root && sudo gparted && xhost - </ | ||
+ | |||
+ | ====== Installation du pilote proprio Nvidia ====== | ||
+ | Source: https:// | ||
+ | |||
+ | Sur une F30 fraichement installée: | ||
+ | < | ||
+ | suffit! | ||
+ | |||
+ | ====== Kdenlive: paramètres de rendu d'une vidéo | ||
+ | * WebM ou mp4 / H.264/AAC fast | ||
+ | * qualité vidéo: 20 (=> à confirmer!) | ||
+ | * débit audio: 160 (=> à confirmer!) | ||
+ | * si il y a des saccades dans la vidéo: Balayage: " | ||
+ | * dans "plus d' | ||
+ | ====== OpenVPN and SElinux ====== | ||
+ | In order to avoid that SElinux blocks the connection to a server OpenVPN, store the certificates and keys into the folder '' | ||
+ | Finally run as root: ''# | ||
+ | |||
+ | ====== PDF ====== | ||
+ | * to fill out and view filled pdf-files => install '' | ||
+ | * to make sone simple modifications (insert or delete pages, rotations etc...) to pdf files => install '' | ||
+ | * to compress a pdf file: run following command: < | ||
+ | |||
+ | ====== Polices d' | ||
+ | https:// | ||
+ | |||
+ | |||
+ | ====== View the journal of NetworkManager ====== | ||
+ | Logged as root: < | ||
+ | |||
+ | ====== Wayland or Xorg is running?? ====== | ||
+ | < | ||
+ | $ echo $XDG_SESSION_TYPE | ||
+ | x11</ | ||
+ | |||
+ | or < | ||
+ | wayland </ | ||
+ | |||
+ | |||
+ | |||