diff --git a/XPS-13-7390-2-in-1--.md b/XPS-13-7390-2-in-1--.md index 3d7c6c9..a46d4db 100644 --- a/XPS-13-7390-2-in-1--.md +++ b/XPS-13-7390-2-in-1--.md @@ -24,7 +24,7 @@ passwd: password updated successfully edit */etc/ssh/sshd_config* to Enable PermitRootLogin -~~~ +~~~{.shell} #PermitRootLogin prohibit-password PermitRootLogin yes ~~~ @@ -47,7 +47,7 @@ Search for “zpool create”, and make sure you have found the create command t Before the “zpool create” insert: echo MYPASSWORD | Before the last line of the command insert these lines: -~~~ +~~~{.cpp} -O recordsize=1M \ -O encryption=aes-256-gcm \ -O keylocation=prompt \ @@ -56,22 +56,22 @@ Before the last line of the command insert these lines: ## in case you wanted to change zpool passwd -~~~ -zfs change-key rpool +~~~{.shell} +$ zfs change-key rpool ~~~ ## create swap partition to permit Hibernate add theses 2 lines in : */usr/share/ubiquity/zsys-setup* -~~~ +~~~{.shell} MEMSIZE=$(cat /proc/meminfo | grep MemTotal | awk -F' ' '{print $2}') SWAPVOLSIZE=$(( MEMSIZE / 1024 )) ~~~ like bellow : -~~~ +~~~{.shell} # Convert to MiB to align the size on the size of a block SWAPVOLSIZE=$(( SWAPSIZE / 1024 / 1024 )) @@ -95,42 +95,38 @@ have to disable Raid ... Enable AHCI # UHD screen - ~~~ - !!! - - https://forum.xfce.org/viewtopic.php?id=13617 - - a essayer : xfconf-query -c xsettings -p /Gdk/WindowScalingFactor -s 2 - - xfconf-query -c xsettings -p /Gdk/WindowScalingFactor -s 2 - - ~~~ +~~~ +!!! +https://forum.xfce.org/viewtopic.php?id=13617 +a essayer : xfconf-query -c xsettings -p /Gdk/WindowScalingFactor -s 2 +xfconf-query -c xsettings -p /Gdk/WindowScalingFactor -s 2 +~~~ ## Changer la taille de police dans les applications Qt sous Xfce - voir source : [https://www.ezvan.fr/taille-police-qt.html]() +voir source : [https://www.ezvan.fr/taille-police-qt.html]() - editer : ~/.Xresources : Ce fichier est utilisé par le serveur X pour configurer ses applications clientes. +editer : ~/.Xresources : Ce fichier est utilisé par le serveur X pour configurer ses applications clientes. - ~~~ - !------------------------------------------------------------------------------- - ! Xft settings - !------------------------------------------------------------------------------- +~~~{.shell} +!------------------------------------------------------------------------------- +! Xft settings +!------------------------------------------------------------------------------- - Xft.dpi: 240 - Xft.antialias: true - Xft.rgba: rgb - Xft.hinting: true - Xft.hintstyle: hintslight - Xft.autohint: false - Xft.lcdfilter: lcddefault - ~~~ +Xft.dpi: 240 +Xft.antialias: true +Xft.rgba: rgb +Xft.hinting: true +Xft.hintstyle: hintslight +Xft.autohint: false +Xft.lcdfilter: lcddefault +~~~ - Il faut ensuite utiliser la commande xrdb pour appliquer ces paramètres : +Il faut ensuite utiliser la commande xrdb pour appliquer ces paramètres : - ~~~ - xrdb -merge ~/.Xresources - ~~~ +~~~{.shell} +$ xrdb -merge ~/.Xresources +~~~ ## console grub ...