This commit is contained in:
Michel Le Cocq 2020-06-21 14:44:46 +02:00
parent 060cb02c74
commit 48d436c3af

View File

@ -24,7 +24,7 @@ passwd: password updated successfully
edit */etc/ssh/sshd_config* to Enable PermitRootLogin edit */etc/ssh/sshd_config* to Enable PermitRootLogin
~~~ ~~~{.shell}
#PermitRootLogin prohibit-password #PermitRootLogin prohibit-password
PermitRootLogin yes 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 “zpool create” insert: echo MYPASSWORD |
Before the last line of the command insert these lines: Before the last line of the command insert these lines:
~~~ ~~~{.cpp}
-O recordsize=1M \ -O recordsize=1M \
-O encryption=aes-256-gcm \ -O encryption=aes-256-gcm \
-O keylocation=prompt \ -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 ## in case you wanted to change zpool passwd
~~~ ~~~{.shell}
zfs change-key rpool $ zfs change-key rpool
~~~ ~~~
## create swap partition to permit Hibernate ## create swap partition to permit Hibernate
add theses 2 lines in : */usr/share/ubiquity/zsys-setup* add theses 2 lines in : */usr/share/ubiquity/zsys-setup*
~~~ ~~~{.shell}
MEMSIZE=$(cat /proc/meminfo | grep MemTotal | awk -F' ' '{print $2}') MEMSIZE=$(cat /proc/meminfo | grep MemTotal | awk -F' ' '{print $2}')
SWAPVOLSIZE=$(( MEMSIZE / 1024 )) SWAPVOLSIZE=$(( MEMSIZE / 1024 ))
~~~ ~~~
like bellow : like bellow :
~~~ ~~~{.shell}
# Convert to MiB to align the size on the size of a block # Convert to MiB to align the size on the size of a block
SWAPVOLSIZE=$(( SWAPSIZE / 1024 / 1024 )) SWAPVOLSIZE=$(( SWAPSIZE / 1024 / 1024 ))
@ -95,42 +95,38 @@ have to disable Raid ... Enable AHCI
# UHD screen # UHD screen
~~~ ~~~
!!! !!!
https://forum.xfce.org/viewtopic.php?id=13617
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
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 ## 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.
~~~ ~~~{.shell}
!------------------------------------------------------------------------------- !-------------------------------------------------------------------------------
! Xft settings ! Xft settings
!------------------------------------------------------------------------------- !-------------------------------------------------------------------------------
Xft.dpi: 240 Xft.dpi: 240
Xft.antialias: true Xft.antialias: true
Xft.rgba: rgb Xft.rgba: rgb
Xft.hinting: true Xft.hinting: true
Xft.hintstyle: hintslight Xft.hintstyle: hintslight
Xft.autohint: false Xft.autohint: false
Xft.lcdfilter: lcddefault 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 :
~~~ ~~~{.shell}
xrdb -merge ~/.Xresources $ xrdb -merge ~/.Xresources
~~~ ~~~
## console grub ... ## console grub ...