From 20049e40931523750697b3aad6c962ae5b635c21 Mon Sep 17 00:00:00 2001 From: "nomad@wund" Date: Fri, 26 Jun 2020 07:58:03 +0200 Subject: [PATCH 01/14] xubuntu-XPS-13-7390-2-in-1--.md --- xubuntu-XPS-13-7390-2-in-1--.md | 199 +++++++++++++++++--------------- 1 file changed, 105 insertions(+), 94 deletions(-) diff --git a/xubuntu-XPS-13-7390-2-in-1--.md b/xubuntu-XPS-13-7390-2-in-1--.md index 5f858cf..35f5d4e 100644 --- a/xubuntu-XPS-13-7390-2-in-1--.md +++ b/xubuntu-XPS-13-7390-2-in-1--.md @@ -1,95 +1,106 @@ -# Xubuntu on XPS 13 7390 2 in 1 -## sources -* [Gentoo wiki - Dell XPS 13 2-in-1 (7390)](https://wiki.gentoo.org/wiki/Dell_XPS_13_2-in-1_(7390)) -* [Ubuntu wiki - Dell XPS 13 2-in-1 (7390)](https://wiki.ubuntu.com/Dell/XPS/XPS-13-7390-2-in-1) -* [Arch Linux - Dell XPS 13 2-in-1 (7390)](https://wiki.archlinux.org/index.php/Dell_XPS_13_2-in-1_(7390)) - -## Bios setup -* have to disable Raid ... Enable AHCI -* Disable secure boot in bios to permit Hibernate (if you want to use it) - -## 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 -~~~ - -### Changer la taille de police dans les applications Qt sous Xfce - -* source : [ezvan.fr - Changer la taille de police dans les applications Qt sous Xfce](https://www.ezvan.fr/taille-police-qt.html) - -editer : ~/.Xresources : Ce fichier est utilisé par le serveur X pour configurer ses applications clientes. - -~~~{.shell} -!------------------------------------------------------------------------------- -! Xft settings -!------------------------------------------------------------------------------- - -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 : - -~~~{.shell} -$ xrdb -merge ~/.Xresources -~~~ - - ### console grub ... - -Boot menu uses a tiny font (GRUB menu). - -Best way to address this would be to have GRUB automatically select the right font, but GRUB is kept small on purpose, or to install a larger GRUB font when installing Ubuntu. - -Workaround: let the default GRUB terminal driver, gfxterm, switch to a supported mode such as 1600x1200 (NB to list video modes, disable secure mode in the BIOS and run the videoinfo command in the GRUB shell accessed by pressing "c" from the GRUB menu): - -~~~ -GRUB_GFXMODE=1280x1024 -~~~ - -~~~ -update-grub -~~~ - -Splash screen uses too small logo and somewhat too small fonts (Plymouth). - -Plymouth has logic to detect the proper scaling to apply, but it's still too small; workaround by forcing the scale on the kernel cmdline: - -Add to GRUB_CMDLINE_LINUX in /etc/default/grub. - -~~~ -plymouth.force-scale=3 -~~~ - -~~~ -update-grub -~~~ - -Console terminal uses too small fonts. - -Note that the package shipping the Ubuntu Monospace font for the terminal, fonts-ubuntu-console, is not installed by default and only ships 8x16 fonts. - -Change the font by running : - -~~~ -dpkg-reconfigure console-setup -~~~ - -select a font face that supports a larger font size, for instance the Terminus font, and select a large font size such as 16x32; you need to reboot for the new font to be set. - - -## enable screen rotatation - -~~~ -apt install iio-sensor-proxy -~~~ - +# Xubuntu on XPS 13 7390 2 in 1 +## sources +* [Gentoo wiki - Dell XPS 13 2-in-1 (7390)](https://wiki.gentoo.org/wiki/Dell_XPS_13_2-in-1_(7390)) +* [Ubuntu wiki - Dell XPS 13 2-in-1 (7390)](https://wiki.ubuntu.com/Dell/XPS/XPS-13-7390-2-in-1) +* [Arch Linux - Dell XPS 13 2-in-1 (7390)](https://wiki.archlinux.org/index.php/Dell_XPS_13_2-in-1_(7390)) + +## Bios setup +* have to disable Raid ... Enable AHCI +* Disable secure boot in bios to permit Hibernate (if you want to use it) + +## 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 +~~~ + +### taille de police GTK2 + +to do + +### taille des police applis + +* inkscape : add official repository : *deb http://ppa.launchpad.net/inkscape.dev/stable/ubuntu focal main* to have last stable release 1.0+r73+1 which support UHD display +* gimp : not completly solve : Menu -> Edition -> Preferences -> Interface -> Icon Theme -> [here at the bottom : choose Custom Icon Size : Hudge] +* spotify +* blender + +### Changer la taille de police dans les applications Qt sous Xfce + +* source : [ezvan.fr - Changer la taille de police dans les applications Qt sous Xfce](https://www.ezvan.fr/taille-police-qt.html) + +editer : ~/.Xresources : Ce fichier est utilisé par le serveur X pour configurer ses applications clientes. + +~~~{.shell} +!------------------------------------------------------------------------------- +! Xft settings +!------------------------------------------------------------------------------- + +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 : + +~~~{.shell} +$ xrdb -merge ~/.Xresources +~~~ + + ### console grub ... + +Boot menu uses a tiny font (GRUB menu). + +Best way to address this would be to have GRUB automatically select the right font, but GRUB is kept small on purpose, or to install a larger GRUB font when installing Ubuntu. + +Workaround: let the default GRUB terminal driver, gfxterm, switch to a supported mode such as 1600x1200 (NB to list video modes, disable secure mode in the BIOS and run the videoinfo command in the GRUB shell accessed by pressing "c" from the GRUB menu): + +~~~ +GRUB_GFXMODE=1280x1024 +~~~ + +~~~ +update-grub +~~~ + +Splash screen uses too small logo and somewhat too small fonts (Plymouth). + +Plymouth has logic to detect the proper scaling to apply, but it's still too small; workaround by forcing the scale on the kernel cmdline: + +Add to GRUB_CMDLINE_LINUX in /etc/default/grub. + +~~~ +plymouth.force-scale=3 +~~~ + +~~~ +update-grub +~~~ + +Console terminal uses too small fonts. + +Note that the package shipping the Ubuntu Monospace font for the terminal, fonts-ubuntu-console, is not installed by default and only ships 8x16 fonts. + +Change the font by running : + +~~~ +dpkg-reconfigure console-setup +~~~ + +select a font face that supports a larger font size, for instance the Terminus font, and select a large font size such as 16x32; you need to reboot for the new font to be set. + + +## enable screen rotatation + +~~~ +apt install iio-sensor-proxy +~~~ + install : screen rotator : https://github.com/GuLinux/ScreenRotator \ No newline at end of file From 02cd51cef75ec0dc45fe649604f65ab34543953f Mon Sep 17 00:00:00 2001 From: "nomad@wund" Date: Fri, 26 Jun 2020 08:08:26 +0200 Subject: [PATCH 02/14] add setting pour blender/spotify --- xubuntu-XPS-13-7390-2-in-1--.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xubuntu-XPS-13-7390-2-in-1--.md b/xubuntu-XPS-13-7390-2-in-1--.md index 53088c7..5978a70 100644 --- a/xubuntu-XPS-13-7390-2-in-1--.md +++ b/xubuntu-XPS-13-7390-2-in-1--.md @@ -26,8 +26,8 @@ to do * inkscape : add official repository : *deb http://ppa.launchpad.net/inkscape.dev/stable/ubuntu focal main* to have last stable release 1.0+r73+1 which support UHD display * gimp : not completly solve : Menu -> Edition -> Preferences -> Interface -> Icon Theme -> [here at the bottom : choose Custom Icon Size : Hudge] -* spotify -* blender +* spotify : modify menu launche like this : spotify --force-device-scale-factor=1.8 %U +* blender : Menu -> edit -> Prefereences -> Resolution Scale : 1.8 ### Changer la taille de police dans les applications Qt sous Xfce From 1173fb7d81f5b6b0c9bd5fb23570d95afe148ad4 Mon Sep 17 00:00:00 2001 From: Michel Le Cocq Date: Fri, 26 Jun 2020 08:13:34 +0200 Subject: [PATCH 03/14] --- xubuntu-XPS-13-7390-2-in-1--.md | 217 ++++++++++++++++---------------- 1 file changed, 110 insertions(+), 107 deletions(-) diff --git a/xubuntu-XPS-13-7390-2-in-1--.md b/xubuntu-XPS-13-7390-2-in-1--.md index 5978a70..5ceb518 100644 --- a/xubuntu-XPS-13-7390-2-in-1--.md +++ b/xubuntu-XPS-13-7390-2-in-1--.md @@ -1,107 +1,110 @@ -<<<<<<< HEAD -# Xubuntu on XPS 13 7390 2 in 1 -## sources -* [Gentoo wiki - Dell XPS 13 2-in-1 (7390)](https://wiki.gentoo.org/wiki/Dell_XPS_13_2-in-1_(7390)) -* [Ubuntu wiki - Dell XPS 13 2-in-1 (7390)](https://wiki.ubuntu.com/Dell/XPS/XPS-13-7390-2-in-1) -* [Arch Linux - Dell XPS 13 2-in-1 (7390)](https://wiki.archlinux.org/index.php/Dell_XPS_13_2-in-1_(7390)) - -## Bios setup -* have to disable Raid ... Enable AHCI -* Disable secure boot in bios to permit Hibernate (if you want to use it) - -## 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 -~~~ - -### taille de police GTK2 - -to do - -### taille des police applis - -* inkscape : add official repository : *deb http://ppa.launchpad.net/inkscape.dev/stable/ubuntu focal main* to have last stable release 1.0+r73+1 which support UHD display -* gimp : not completly solve : Menu -> Edition -> Preferences -> Interface -> Icon Theme -> [here at the bottom : choose Custom Icon Size : Hudge] -* spotify : modify menu launche like this : spotify --force-device-scale-factor=1.8 %U -* blender : Menu -> edit -> Prefereences -> Resolution Scale : 1.8 - -### Changer la taille de police dans les applications Qt sous Xfce - -* source : [ezvan.fr - Changer la taille de police dans les applications Qt sous Xfce](https://www.ezvan.fr/taille-police-qt.html) - -editer : ~/.Xresources : Ce fichier est utilisé par le serveur X pour configurer ses applications clientes. - -~~~{.shell} -!------------------------------------------------------------------------------- -! Xft settings -!------------------------------------------------------------------------------- - -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 : - -~~~{.shell} -$ xrdb -merge ~/.Xresources -~~~ - - ### console grub ... - -Boot menu uses a tiny font (GRUB menu). - -Best way to address this would be to have GRUB automatically select the right font, but GRUB is kept small on purpose, or to install a larger GRUB font when installing Ubuntu. - -Workaround: let the default GRUB terminal driver, gfxterm, switch to a supported mode such as 1600x1200 (NB to list video modes, disable secure mode in the BIOS and run the videoinfo command in the GRUB shell accessed by pressing "c" from the GRUB menu): - -~~~ -GRUB_GFXMODE=1280x1024 -~~~ - -~~~ -update-grub -~~~ - -Splash screen uses too small logo and somewhat too small fonts (Plymouth). - -Plymouth has logic to detect the proper scaling to apply, but it's still too small; workaround by forcing the scale on the kernel cmdline: - -Add to GRUB_CMDLINE_LINUX in /etc/default/grub. - -~~~ -plymouth.force-scale=3 -~~~ - -~~~ -update-grub -~~~ - -Console terminal uses too small fonts. - -Note that the package shipping the Ubuntu Monospace font for the terminal, fonts-ubuntu-console, is not installed by default and only ships 8x16 fonts. - -Change the font by running : - -~~~ -dpkg-reconfigure console-setup -~~~ - -select a font face that supports a larger font size, for instance the Terminus font, and select a large font size such as 16x32; you need to reboot for the new font to be set. - - -## enable screen rotatation - -~~~ -apt install iio-sensor-proxy -~~~ - -install : screen rotator : https://github.com/GuLinux/ScreenRotator +<<<<<<< HEAD +# Xubuntu on XPS 13 7390 2 in 1 +## sources +* [Gentoo wiki - Dell XPS 13 2-in-1 (7390)](https://wiki.gentoo.org/wiki/Dell_XPS_13_2-in-1_(7390)) +* [Ubuntu wiki - Dell XPS 13 2-in-1 (7390)](https://wiki.ubuntu.com/Dell/XPS/XPS-13-7390-2-in-1) +* [Arch Linux - Dell XPS 13 2-in-1 (7390)](https://wiki.archlinux.org/index.php/Dell_XPS_13_2-in-1_(7390)) + +## Bios setup +* have to disable Raid ... Enable AHCI +* Disable secure boot in bios to permit Hibernate (if you want to use it) + +## 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 +~~~ + +### taille de police GTK2 + +to do + +### taille des police applis + +* inkscape : add official repository : *deb http://ppa.launchpad.net/inkscape.dev/stable/ubuntu focal main* to have last stable release 1.0+r73+1 which support UHD display +* gimp : not completly solve : Menu -> Edition -> Preferences -> Interface -> Icon Theme -> [here at the bottom : choose Custom Icon Size : Hudge] +* spotify : modify menu launche like this : spotify --force-device-scale-factor=1.8 %U +* blender : Menu -> edit -> Prefereences -> Resolution Scale : 1.8 + +### Changer la taille de police dans les applications Qt sous Xfce + +#### source + +* [ezvan.fr - Changer la taille de police dans les applications Qt sous Xfce](https://www.ezvan.fr/taille-police-qt.html) +* [wiki.archlinux.org - X resources](https://wiki.archlinux.org/index.php/x_resources) + +editer : ~/.Xresources : Ce fichier est utilisé par le serveur X pour configurer ses applications clientes. + +~~~{.shell} +!------------------------------------------------------------------------------- +! Xft settings +!------------------------------------------------------------------------------- + +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 : + +~~~{.shell} +$ xrdb -merge ~/.Xresources +~~~ + + ### console grub ... + +Boot menu uses a tiny font (GRUB menu). + +Best way to address this would be to have GRUB automatically select the right font, but GRUB is kept small on purpose, or to install a larger GRUB font when installing Ubuntu. + +Workaround: let the default GRUB terminal driver, gfxterm, switch to a supported mode such as 1600x1200 (NB to list video modes, disable secure mode in the BIOS and run the videoinfo command in the GRUB shell accessed by pressing "c" from the GRUB menu): + +~~~ +GRUB_GFXMODE=1280x1024 +~~~ + +~~~ +update-grub +~~~ + +Splash screen uses too small logo and somewhat too small fonts (Plymouth). + +Plymouth has logic to detect the proper scaling to apply, but it's still too small; workaround by forcing the scale on the kernel cmdline: + +Add to GRUB_CMDLINE_LINUX in /etc/default/grub. + +~~~ +plymouth.force-scale=3 +~~~ + +~~~ +update-grub +~~~ + +Console terminal uses too small fonts. + +Note that the package shipping the Ubuntu Monospace font for the terminal, fonts-ubuntu-console, is not installed by default and only ships 8x16 fonts. + +Change the font by running : + +~~~ +dpkg-reconfigure console-setup +~~~ + +select a font face that supports a larger font size, for instance the Terminus font, and select a large font size such as 16x32; you need to reboot for the new font to be set. + + +## enable screen rotatation + +~~~ +apt install iio-sensor-proxy +~~~ + +install : screen rotator : https://github.com/GuLinux/ScreenRotator From 1e214282a0433e81080d92fb94406507ad625529 Mon Sep 17 00:00:00 2001 From: Michel Le Cocq Date: Fri, 26 Jun 2020 08:49:28 +0200 Subject: [PATCH 04/14] --- xubuntu-XPS-13-7390-2-in-1--.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/xubuntu-XPS-13-7390-2-in-1--.md b/xubuntu-XPS-13-7390-2-in-1--.md index 5ceb518..8c681be 100644 --- a/xubuntu-XPS-13-7390-2-in-1--.md +++ b/xubuntu-XPS-13-7390-2-in-1--.md @@ -58,7 +58,13 @@ Il faut ensuite utiliser la commande xrdb pour appliquer ces paramètres : $ xrdb -merge ~/.Xresources ~~~ - ### console grub ... +You can add this in your auto-start application list: + +~~~ +/usr/bin/xrdb -merge /home/nomad/.Xresources +~~~ + +### console grub ... Boot menu uses a tiny font (GRUB menu). From a0be49c9927b5df1f8d2dcdceb658fc385d6b0ee Mon Sep 17 00:00:00 2001 From: Michel Le Cocq Date: Fri, 26 Jun 2020 08:50:45 +0200 Subject: [PATCH 05/14] --- xubuntu-XPS-13-7390-2-in-1--.md | 98 --------------------------------- 1 file changed, 98 deletions(-) diff --git a/xubuntu-XPS-13-7390-2-in-1--.md b/xubuntu-XPS-13-7390-2-in-1--.md index 8c681be..3e08bf6 100644 --- a/xubuntu-XPS-13-7390-2-in-1--.md +++ b/xubuntu-XPS-13-7390-2-in-1--.md @@ -9,104 +9,6 @@ * have to disable Raid ... Enable AHCI * Disable secure boot in bios to permit Hibernate (if you want to use it) -## 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 -~~~ - -### taille de police GTK2 - -to do - -### taille des police applis - -* inkscape : add official repository : *deb http://ppa.launchpad.net/inkscape.dev/stable/ubuntu focal main* to have last stable release 1.0+r73+1 which support UHD display -* gimp : not completly solve : Menu -> Edition -> Preferences -> Interface -> Icon Theme -> [here at the bottom : choose Custom Icon Size : Hudge] -* spotify : modify menu launche like this : spotify --force-device-scale-factor=1.8 %U -* blender : Menu -> edit -> Prefereences -> Resolution Scale : 1.8 - -### Changer la taille de police dans les applications Qt sous Xfce - -#### source - -* [ezvan.fr - Changer la taille de police dans les applications Qt sous Xfce](https://www.ezvan.fr/taille-police-qt.html) -* [wiki.archlinux.org - X resources](https://wiki.archlinux.org/index.php/x_resources) - -editer : ~/.Xresources : Ce fichier est utilisé par le serveur X pour configurer ses applications clientes. - -~~~{.shell} -!------------------------------------------------------------------------------- -! Xft settings -!------------------------------------------------------------------------------- - -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 : - -~~~{.shell} -$ xrdb -merge ~/.Xresources -~~~ - -You can add this in your auto-start application list: - -~~~ -/usr/bin/xrdb -merge /home/nomad/.Xresources -~~~ - -### console grub ... - -Boot menu uses a tiny font (GRUB menu). - -Best way to address this would be to have GRUB automatically select the right font, but GRUB is kept small on purpose, or to install a larger GRUB font when installing Ubuntu. - -Workaround: let the default GRUB terminal driver, gfxterm, switch to a supported mode such as 1600x1200 (NB to list video modes, disable secure mode in the BIOS and run the videoinfo command in the GRUB shell accessed by pressing "c" from the GRUB menu): - -~~~ -GRUB_GFXMODE=1280x1024 -~~~ - -~~~ -update-grub -~~~ - -Splash screen uses too small logo and somewhat too small fonts (Plymouth). - -Plymouth has logic to detect the proper scaling to apply, but it's still too small; workaround by forcing the scale on the kernel cmdline: - -Add to GRUB_CMDLINE_LINUX in /etc/default/grub. - -~~~ -plymouth.force-scale=3 -~~~ - -~~~ -update-grub -~~~ - -Console terminal uses too small fonts. - -Note that the package shipping the Ubuntu Monospace font for the terminal, fonts-ubuntu-console, is not installed by default and only ships 8x16 fonts. - -Change the font by running : - -~~~ -dpkg-reconfigure console-setup -~~~ - -select a font face that supports a larger font size, for instance the Terminus font, and select a large font size such as 16x32; you need to reboot for the new font to be set. - - ## enable screen rotatation ~~~ From ad7c69075926e424e1adfad23137bf05aef41100 Mon Sep 17 00:00:00 2001 From: Michel Le Cocq Date: Fri, 26 Jun 2020 08:51:07 +0200 Subject: [PATCH 06/14] --- Xubuntu-UHD-display.md | 97 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 Xubuntu-UHD-display.md diff --git a/Xubuntu-UHD-display.md b/Xubuntu-UHD-display.md new file mode 100644 index 0000000..3356d0a --- /dev/null +++ b/Xubuntu-UHD-display.md @@ -0,0 +1,97 @@ +Bienvenue sur le Wiki.## 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 +~~~ + +### taille de police GTK2 + +to do + +### taille des police applis + +* inkscape : add official repository : *deb http://ppa.launchpad.net/inkscape.dev/stable/ubuntu focal main* to have last stable release 1.0+r73+1 which support UHD display +* gimp : not completly solve : Menu -> Edition -> Preferences -> Interface -> Icon Theme -> [here at the bottom : choose Custom Icon Size : Hudge] +* spotify : modify menu launche like this : spotify --force-device-scale-factor=1.8 %U +* blender : Menu -> edit -> Prefereences -> Resolution Scale : 1.8 + +### Changer la taille de police dans les applications Qt sous Xfce + +#### source + +* [ezvan.fr - Changer la taille de police dans les applications Qt sous Xfce](https://www.ezvan.fr/taille-police-qt.html) +* [wiki.archlinux.org - X resources](https://wiki.archlinux.org/index.php/x_resources) + +editer : ~/.Xresources : Ce fichier est utilisé par le serveur X pour configurer ses applications clientes. + +~~~{.shell} +!------------------------------------------------------------------------------- +! Xft settings +!------------------------------------------------------------------------------- + +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 : + +~~~{.shell} +$ xrdb -merge ~/.Xresources +~~~ + +You can add this in your auto-start application list: + +~~~ +/usr/bin/xrdb -merge /home/nomad/.Xresources +~~~ + +### console grub ... + +Boot menu uses a tiny font (GRUB menu). + +Best way to address this would be to have GRUB automatically select the right font, but GRUB is kept small on purpose, or to install a larger GRUB font when installing Ubuntu. + +Workaround: let the default GRUB terminal driver, gfxterm, switch to a supported mode such as 1600x1200 (NB to list video modes, disable secure mode in the BIOS and run the videoinfo command in the GRUB shell accessed by pressing "c" from the GRUB menu): + +~~~ +GRUB_GFXMODE=1280x1024 +~~~ + +~~~ +update-grub +~~~ + +Splash screen uses too small logo and somewhat too small fonts (Plymouth). + +Plymouth has logic to detect the proper scaling to apply, but it's still too small; workaround by forcing the scale on the kernel cmdline: + +Add to GRUB_CMDLINE_LINUX in /etc/default/grub. + +~~~ +plymouth.force-scale=3 +~~~ + +~~~ +update-grub +~~~ + +Console terminal uses too small fonts. + +Note that the package shipping the Ubuntu Monospace font for the terminal, fonts-ubuntu-console, is not installed by default and only ships 8x16 fonts. + +Change the font by running : + +~~~ +dpkg-reconfigure console-setup +~~~ + +select a font face that supports a larger font size, for instance the Terminus font, and select a large font size such as 16x32; you need to reboot for the new font to be set. + From 93b0d47581aa780f8d80762eaf5a2cc2288389fb Mon Sep 17 00:00:00 2001 From: Michel Le Cocq Date: Fri, 26 Jun 2020 08:51:30 +0200 Subject: [PATCH 07/14] --- Xubuntu-UHD-display.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xubuntu-UHD-display.md b/Xubuntu-UHD-display.md index 3356d0a..616abac 100644 --- a/Xubuntu-UHD-display.md +++ b/Xubuntu-UHD-display.md @@ -1,4 +1,4 @@ -Bienvenue sur le Wiki.## UHD screen +## UHD screen ~~~ !!! From c17c82cb987b39f5d1ade77be37185da8c30733c Mon Sep 17 00:00:00 2001 From: Michel Le Cocq Date: Fri, 26 Jun 2020 08:53:43 +0200 Subject: [PATCH 08/14] --- xubuntu-XPS-13-7390-2-in-1--.md | 1 - 1 file changed, 1 deletion(-) diff --git a/xubuntu-XPS-13-7390-2-in-1--.md b/xubuntu-XPS-13-7390-2-in-1--.md index 3e08bf6..f212005 100644 --- a/xubuntu-XPS-13-7390-2-in-1--.md +++ b/xubuntu-XPS-13-7390-2-in-1--.md @@ -1,4 +1,3 @@ -<<<<<<< HEAD # Xubuntu on XPS 13 7390 2 in 1 ## sources * [Gentoo wiki - Dell XPS 13 2-in-1 (7390)](https://wiki.gentoo.org/wiki/Dell_XPS_13_2-in-1_(7390)) From 2060fbe02ca2ea773a107176bbf05dfdbf5ff3e7 Mon Sep 17 00:00:00 2001 From: Michel Le Cocq Date: Fri, 26 Jun 2020 08:54:00 +0200 Subject: [PATCH 09/14] From 92a9c06abd0e80f4ab4161e497217d8a63b0d57f Mon Sep 17 00:00:00 2001 From: Michel Le Cocq Date: Fri, 26 Jun 2020 08:54:52 +0200 Subject: [PATCH 10/14] --- ....md => Ubuntu-20.04-encrypt-ZFS-install.md | 154 +++++++++--------- 1 file changed, 77 insertions(+), 77 deletions(-) rename Unbuntu-20.04-encrypt-ZFS-install.md => Ubuntu-20.04-encrypt-ZFS-install.md (97%) diff --git a/Unbuntu-20.04-encrypt-ZFS-install.md b/Ubuntu-20.04-encrypt-ZFS-install.md similarity index 97% rename from Unbuntu-20.04-encrypt-ZFS-install.md rename to Ubuntu-20.04-encrypt-ZFS-install.md index 22f8102..32077fb 100644 --- a/Unbuntu-20.04-encrypt-ZFS-install.md +++ b/Ubuntu-20.04-encrypt-ZFS-install.md @@ -1,77 +1,77 @@ -source : [Linsomniac's Articles - Encrypting ZFS on Ubuntu 20.04](https://linsomniac.gitlab.io/post/2020-04-09-ubuntu-2004-encrypted-zfs/) -# encrypt - Unbuntu 20.04 full ZFS install -Here we are going to install Ubuntu 20.04 in **almost** full zfs updating **zsys-setup** to permit **zfs encryption**. Read bellow articles to understand why 2 differerent pools and full implementation. - -* [ZFS focus on Ubuntu 20.04 LTS: what’s new?](https://didrocks.fr/2020/05/21/zfs-focus-on-ubuntu-20.04-lts-whats-new/) -* [ZFS focus on Ubuntu 20.04 LTS: ZSys general presentation](https://didrocks.fr/2020/05/26/zfs-focus-on-ubuntu-20.04-lts-zsys-general-presentation/) -* [ZFS focus on Ubuntu 20.04 LTS: ZSys sate management](https://didrocks.fr/2020/05/28/zfs-focus-on-ubuntu-20.04-lts-zsys-general-principle-on-state-management/) -* [ZFS focus on Ubuntu 20.04 LTS: ZSys commands for state management](https://didrocks.fr/2020/06/02/zfs-focus-on-ubuntu-20.04-lts-zsys-commands-for-state-management/) -* [ZFS focus on Ubuntu 20.04 LTS: ZSys state collection](https://didrocks.fr/2020/06/04/zfs-focus-on-ubuntu-20.04-lts-zsys-state-collection/) -* [ZFS focus on Ubuntu 20.04 LTS: ZSys for system administrators](https://didrocks.fr/2020/06/09/zfs-focus-on-ubuntu-20.04-lts-zsys-for-system-administrators/) -* [ZFS focus on Ubuntu 20.04 LTS: ZSys partition layout](https://didrocks.fr/2020/06/11/zfs-focus-on-ubuntu-20.04-lts-zsys-partition-layout/) -* [ZFS focus on Ubuntu 20.04 LTS: ZSys dataset layout](https://didrocks.fr/2020/06/16/zfs-focus-on-ubuntu-20.04-lts-zsys-dataset-layout/) -* [ZFS focus on Ubuntu 20.04 LTS: ZSys properties on ZFS datasets](https://didrocks.fr/2020/06/19/zfs-focus-on-ubuntu-20.04-lts-zsys-properties-on-zfs-datasets/) - -## initial boot and ssh -Boot the Ubuntu 20.04 Desktop installer/live CD. -Click the “Try Ubuntu” button. -launch a terminal. - -set a passwd to root to permit remote ssh - -~~~ -$ sudo su -## passwd -New password : -Retype new passord : -passwd: password updated successfully -~~~ - -Install ssh to simplfy configuration edit. - -~~~ -## apt install ssh -~~~ - -Edit **/etc/ssh/sshd_config** to **Enable PermitRootLogin** change *prohibit-password* to *yes* like bellow. - -~~~{.shell} -#PermitRootLogin prohibit-password -PermitRootLogin yes -~~~ - -~~~ -service ssh restart -~~~ - -find yout IP with : *ip a* - -then connect remotely with : *ssh* - -## update zsys-setup to enable zfs encyption on rpool - -bpool remain unencrypt. - -Search for “zpool create”, and make sure you have found the create command that has “rpool” on the last line. -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 \ --O keyformat=passphrase \ -~~~ - -## swap - -you may be interrested if you are on a laptop in : [right fit swap for laptop hibernation Ubuntu 20.04 full ZFS install](right-fit-swap-for-laptop-hibernation-Ubuntu-20.04-full-ZFS-install) - -## start installation - -Run ubiquity to start the installer and install as normal, selecting “Use entire disk” and the option to use ZFS. - -## questions to be solves - -* what happen if zpool passwd is not given at boot shutdown ? -* find a way to shut it down pass a delay +source : [Linsomniac's Articles - Encrypting ZFS on Ubuntu 20.04](https://linsomniac.gitlab.io/post/2020-04-09-ubuntu-2004-encrypted-zfs/) +# encrypt - Unbuntu 20.04 full ZFS install +Here we are going to install Ubuntu 20.04 in **almost** full zfs updating **zsys-setup** to permit **zfs encryption**. Read bellow articles to understand why 2 differerent pools and full implementation. + +* [ZFS focus on Ubuntu 20.04 LTS: what’s new?](https://didrocks.fr/2020/05/21/zfs-focus-on-ubuntu-20.04-lts-whats-new/) +* [ZFS focus on Ubuntu 20.04 LTS: ZSys general presentation](https://didrocks.fr/2020/05/26/zfs-focus-on-ubuntu-20.04-lts-zsys-general-presentation/) +* [ZFS focus on Ubuntu 20.04 LTS: ZSys sate management](https://didrocks.fr/2020/05/28/zfs-focus-on-ubuntu-20.04-lts-zsys-general-principle-on-state-management/) +* [ZFS focus on Ubuntu 20.04 LTS: ZSys commands for state management](https://didrocks.fr/2020/06/02/zfs-focus-on-ubuntu-20.04-lts-zsys-commands-for-state-management/) +* [ZFS focus on Ubuntu 20.04 LTS: ZSys state collection](https://didrocks.fr/2020/06/04/zfs-focus-on-ubuntu-20.04-lts-zsys-state-collection/) +* [ZFS focus on Ubuntu 20.04 LTS: ZSys for system administrators](https://didrocks.fr/2020/06/09/zfs-focus-on-ubuntu-20.04-lts-zsys-for-system-administrators/) +* [ZFS focus on Ubuntu 20.04 LTS: ZSys partition layout](https://didrocks.fr/2020/06/11/zfs-focus-on-ubuntu-20.04-lts-zsys-partition-layout/) +* [ZFS focus on Ubuntu 20.04 LTS: ZSys dataset layout](https://didrocks.fr/2020/06/16/zfs-focus-on-ubuntu-20.04-lts-zsys-dataset-layout/) +* [ZFS focus on Ubuntu 20.04 LTS: ZSys properties on ZFS datasets](https://didrocks.fr/2020/06/19/zfs-focus-on-ubuntu-20.04-lts-zsys-properties-on-zfs-datasets/) + +## initial boot and ssh +Boot the Ubuntu 20.04 Desktop installer/live CD. +Click the “Try Ubuntu” button. +launch a terminal. + +set a passwd to root to permit remote ssh + +~~~ +$ sudo su +## passwd +New password : +Retype new passord : +passwd: password updated successfully +~~~ + +Install ssh to simplfy configuration edit. + +~~~ +## apt install ssh +~~~ + +Edit **/etc/ssh/sshd_config** to **Enable PermitRootLogin** change *prohibit-password* to *yes* like bellow. + +~~~{.shell} +#PermitRootLogin prohibit-password +PermitRootLogin yes +~~~ + +~~~ +service ssh restart +~~~ + +find yout IP with : *ip a* + +then connect remotely with : *ssh* + +## update zsys-setup to enable zfs encyption on rpool + +bpool remain unencrypt. + +Search for “zpool create”, and make sure you have found the create command that has “rpool” on the last line. +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 \ +-O keyformat=passphrase \ +~~~ + +## swap + +you may be interrested if you are on a laptop in : [right fit swap for laptop hibernation Ubuntu 20.04 full ZFS install](right-fit-swap-for-laptop-hibernation-Ubuntu-20.04-full-ZFS-install) + +## start installation + +Run ubiquity to start the installer and install as normal, selecting “Use entire disk” and the option to use ZFS. + +## questions to be solves + +* what happen if zpool passwd is not given at boot shutdown ? +* find a way to shut it down pass a delay From 7273380669df476058d631453a68e9688e27b214 Mon Sep 17 00:00:00 2001 From: Michel Le Cocq Date: Sat, 27 Jun 2020 15:59:43 +0200 Subject: [PATCH 11/14] --- Xubuntu-UHD-display.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Xubuntu-UHD-display.md b/Xubuntu-UHD-display.md index 616abac..94fcdd7 100644 --- a/Xubuntu-UHD-display.md +++ b/Xubuntu-UHD-display.md @@ -95,3 +95,4 @@ dpkg-reconfigure console-setup select a font face that supports a larger font size, for instance the Terminus font, and select a large font size such as 16x32; you need to reboot for the new font to be set. +https://vincent.bernat.ch/fr/blog/2018-double-ecran-4k-linux \ No newline at end of file From fe5bbf1d9343b9b53d9c72fc3053d6e51643c45c Mon Sep 17 00:00:00 2001 From: Michel Le Cocq Date: Tue, 30 Jun 2020 08:12:36 +0200 Subject: [PATCH 12/14] --- ...wap-for-laptop-hibernation-Ubuntu-20.04-full-ZFS-install.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/right-fit-swap-for-laptop-hibernation-Ubuntu-20.04-full-ZFS-install.md b/right-fit-swap-for-laptop-hibernation-Ubuntu-20.04-full-ZFS-install.md index 8789a92..88f7e80 100644 --- a/right-fit-swap-for-laptop-hibernation-Ubuntu-20.04-full-ZFS-install.md +++ b/right-fit-swap-for-laptop-hibernation-Ubuntu-20.04-full-ZFS-install.md @@ -110,6 +110,9 @@ Because it's not possible to configure suspend-then-hibernate for Lid close insi xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -n -t bool -s true ~~~ +Be carrefull this setup may be remove if you do some modification in Control Panel. + + If you want everything time related, then you can set them with settings in /etc/systemd : **sleep.conf** and **logind.conf** ## What is our suspend Hibernate comportement with above configuration From 5ca8f363c8ab751ab0e899ac84d37e6509fcc44f Mon Sep 17 00:00:00 2001 From: "nomad@wund" Date: Fri, 4 Sep 2020 15:29:27 +0200 Subject: [PATCH 13/14] creation du fichier --- preseed-ubuntu-zfs.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 preseed-ubuntu-zfs.md diff --git a/preseed-ubuntu-zfs.md b/preseed-ubuntu-zfs.md new file mode 100644 index 0000000..1cf543f --- /dev/null +++ b/preseed-ubuntu-zfs.md @@ -0,0 +1,40 @@ +source : [Instalación desatendida de Ubuntu 20.04 sobre OpenZFS](https://elpuig.xeill.net/Members/vcarceler/articulos/instalacion-desatendida-de-ubuntu-20-04-sobre-openzfs) + +Traduction Google French : + +Script de préparation du disque avec OpenZFS. + +Heureusement, il est très pratique que la version de bureau vous permette de tester le système avant de lancer le programme d'installation. De cette façon, il est possible d'explorer le système de fichiers de l'image .iso et de trouver dans / usr / share / ubiquity / zsys-setup le script bash qui s'occupe de la préparation du disque. Ce n'est pas un script court mais il semble faire assez bien son travail. + +Là par exemple vous pouvez voir: + +- Comment les partitions sont créées selon qu'il s'agit d'un ordinateur avec BIOS (utilisant des partitions étendues) ou UEFI (utilisant des partitions GPT et une partition ESP). +- Comment la partition est définie pour le swap. +- La création des zpools bpool et rpool. +- La création des différents jeux de données. + +Options pour le fichier préconfiguré + +Mais c'est une chose de savoir quel script le programme d'installation utilise et une autre est de découvrir l'option appropriée dans le fichier préconfiguré pour effectuer une installation sans assistance sur OpenZFS. + +Heureusement, Gonzalo Collado a tiré le fil jusqu'à ce qu'il trouve l'option: + +~~~ +d-i ubiquity/use_zfs boolean true +~~~ + +Mais l'installateur a également besoin des options de partitionnement habituelles pour considérer qu'il n'y a pas d'erreurs. Ainsi le bloc dédié au partitionnement finit par être: + +~~~ +# Partitioning +d-i ubiquity/use_zfs boolean true +d-i partman-auto/disk string /dev/sda +d-i partman-auto/method string regular +d-i partman-auto/choose_recipe select atomic +d-i partman-partitioning/confirm_write_new_label boolean true +d-i partman/choose_partition select finish +d-i partman/confirm boolean true +d-i partman/confirm_nooverwrite boolean true +d-i partman-lvm/device_remove_lvm boolean true +d-i preseed/early_command string umount /media +~~~ From fe961a0913074808b784c09088ed47e41f2043f7 Mon Sep 17 00:00:00 2001 From: "nomad@wund" Date: Fri, 11 Sep 2020 16:06:37 +0200 Subject: [PATCH 14/14] situe le script a modifier --- Ubuntu-20.04-encrypt-ZFS-install.md | 158 ++++++++++++++-------------- 1 file changed, 81 insertions(+), 77 deletions(-) diff --git a/Ubuntu-20.04-encrypt-ZFS-install.md b/Ubuntu-20.04-encrypt-ZFS-install.md index 32077fb..3196b39 100644 --- a/Ubuntu-20.04-encrypt-ZFS-install.md +++ b/Ubuntu-20.04-encrypt-ZFS-install.md @@ -1,77 +1,81 @@ -source : [Linsomniac's Articles - Encrypting ZFS on Ubuntu 20.04](https://linsomniac.gitlab.io/post/2020-04-09-ubuntu-2004-encrypted-zfs/) -# encrypt - Unbuntu 20.04 full ZFS install -Here we are going to install Ubuntu 20.04 in **almost** full zfs updating **zsys-setup** to permit **zfs encryption**. Read bellow articles to understand why 2 differerent pools and full implementation. - -* [ZFS focus on Ubuntu 20.04 LTS: what’s new?](https://didrocks.fr/2020/05/21/zfs-focus-on-ubuntu-20.04-lts-whats-new/) -* [ZFS focus on Ubuntu 20.04 LTS: ZSys general presentation](https://didrocks.fr/2020/05/26/zfs-focus-on-ubuntu-20.04-lts-zsys-general-presentation/) -* [ZFS focus on Ubuntu 20.04 LTS: ZSys sate management](https://didrocks.fr/2020/05/28/zfs-focus-on-ubuntu-20.04-lts-zsys-general-principle-on-state-management/) -* [ZFS focus on Ubuntu 20.04 LTS: ZSys commands for state management](https://didrocks.fr/2020/06/02/zfs-focus-on-ubuntu-20.04-lts-zsys-commands-for-state-management/) -* [ZFS focus on Ubuntu 20.04 LTS: ZSys state collection](https://didrocks.fr/2020/06/04/zfs-focus-on-ubuntu-20.04-lts-zsys-state-collection/) -* [ZFS focus on Ubuntu 20.04 LTS: ZSys for system administrators](https://didrocks.fr/2020/06/09/zfs-focus-on-ubuntu-20.04-lts-zsys-for-system-administrators/) -* [ZFS focus on Ubuntu 20.04 LTS: ZSys partition layout](https://didrocks.fr/2020/06/11/zfs-focus-on-ubuntu-20.04-lts-zsys-partition-layout/) -* [ZFS focus on Ubuntu 20.04 LTS: ZSys dataset layout](https://didrocks.fr/2020/06/16/zfs-focus-on-ubuntu-20.04-lts-zsys-dataset-layout/) -* [ZFS focus on Ubuntu 20.04 LTS: ZSys properties on ZFS datasets](https://didrocks.fr/2020/06/19/zfs-focus-on-ubuntu-20.04-lts-zsys-properties-on-zfs-datasets/) - -## initial boot and ssh -Boot the Ubuntu 20.04 Desktop installer/live CD. -Click the “Try Ubuntu” button. -launch a terminal. - -set a passwd to root to permit remote ssh - -~~~ -$ sudo su -## passwd -New password : -Retype new passord : -passwd: password updated successfully -~~~ - -Install ssh to simplfy configuration edit. - -~~~ -## apt install ssh -~~~ - -Edit **/etc/ssh/sshd_config** to **Enable PermitRootLogin** change *prohibit-password* to *yes* like bellow. - -~~~{.shell} -#PermitRootLogin prohibit-password -PermitRootLogin yes -~~~ - -~~~ -service ssh restart -~~~ - -find yout IP with : *ip a* - -then connect remotely with : *ssh* - -## update zsys-setup to enable zfs encyption on rpool - -bpool remain unencrypt. - -Search for “zpool create”, and make sure you have found the create command that has “rpool” on the last line. -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 \ --O keyformat=passphrase \ -~~~ - -## swap - -you may be interrested if you are on a laptop in : [right fit swap for laptop hibernation Ubuntu 20.04 full ZFS install](right-fit-swap-for-laptop-hibernation-Ubuntu-20.04-full-ZFS-install) - -## start installation - -Run ubiquity to start the installer and install as normal, selecting “Use entire disk” and the option to use ZFS. - -## questions to be solves - -* what happen if zpool passwd is not given at boot shutdown ? -* find a way to shut it down pass a delay +source : [Linsomniac's Articles - Encrypting ZFS on Ubuntu 20.04](https://linsomniac.gitlab.io/post/2020-04-09-ubuntu-2004-encrypted-zfs/) +# encrypt - Unbuntu 20.04 full ZFS install +Here we are going to install Ubuntu 20.04 in **almost** full zfs updating **zsys-setup** to permit **zfs encryption**. Read bellow articles to understand why 2 differerent pools and full implementation. + +* [ZFS focus on Ubuntu 20.04 LTS: what’s new?](https://didrocks.fr/2020/05/21/zfs-focus-on-ubuntu-20.04-lts-whats-new/) +* [ZFS focus on Ubuntu 20.04 LTS: ZSys general presentation](https://didrocks.fr/2020/05/26/zfs-focus-on-ubuntu-20.04-lts-zsys-general-presentation/) +* [ZFS focus on Ubuntu 20.04 LTS: ZSys sate management](https://didrocks.fr/2020/05/28/zfs-focus-on-ubuntu-20.04-lts-zsys-general-principle-on-state-management/) +* [ZFS focus on Ubuntu 20.04 LTS: ZSys commands for state management](https://didrocks.fr/2020/06/02/zfs-focus-on-ubuntu-20.04-lts-zsys-commands-for-state-management/) +* [ZFS focus on Ubuntu 20.04 LTS: ZSys state collection](https://didrocks.fr/2020/06/04/zfs-focus-on-ubuntu-20.04-lts-zsys-state-collection/) +* [ZFS focus on Ubuntu 20.04 LTS: ZSys for system administrators](https://didrocks.fr/2020/06/09/zfs-focus-on-ubuntu-20.04-lts-zsys-for-system-administrators/) +* [ZFS focus on Ubuntu 20.04 LTS: ZSys partition layout](https://didrocks.fr/2020/06/11/zfs-focus-on-ubuntu-20.04-lts-zsys-partition-layout/) +* [ZFS focus on Ubuntu 20.04 LTS: ZSys dataset layout](https://didrocks.fr/2020/06/16/zfs-focus-on-ubuntu-20.04-lts-zsys-dataset-layout/) +* [ZFS focus on Ubuntu 20.04 LTS: ZSys properties on ZFS datasets](https://didrocks.fr/2020/06/19/zfs-focus-on-ubuntu-20.04-lts-zsys-properties-on-zfs-datasets/) + +## initial boot and ssh +Boot the Ubuntu 20.04 Desktop installer/live CD. +Click the “Try Ubuntu” button. +launch a terminal. + +set a passwd to root to permit remote ssh + +~~~ +$ sudo su +## passwd +New password : +Retype new passord : +passwd: password updated successfully +~~~ + +Install ssh to simplfy configuration edit. + +~~~ +## apt install ssh +~~~ + +Edit **/etc/ssh/sshd_config** to **Enable PermitRootLogin** change *prohibit-password* to *yes* like bellow. + +~~~{.shell} +#PermitRootLogin prohibit-password +PermitRootLogin yes +~~~ + +~~~ +service ssh restart +~~~ + +find yout IP with : *ip a* + +then connect remotely with : *ssh* + +## update zsys-setup to enable zfs encryption on rpool + +The zsys-setup script is here : /usr/share/ubiquity/zsys-setup + +bpool remain unencrypt. + +Search for “zpool create”, and make sure you have found the create command that has “rpool” on the last line. + +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 \ +-O keyformat=passphrase \ +~~~ + +## swap + +you may be interrested if you are on a laptop in : [right fit swap for laptop hibernation Ubuntu 20.04 full ZFS install](right-fit-swap-for-laptop-hibernation-Ubuntu-20.04-full-ZFS-install) + +## start installation + +Run ubiquity to start the installer and install as normal, selecting “Use entire disk” and the option to use ZFS. + +## questions to be solves + +* what happen if zpool passwd is not given at boot shutdown ? +* find a way to shut it down pass a delay