This commit is contained in:
Michel Le Cocq 2020-06-26 08:13:34 +02:00
parent 02cd51cef7
commit 1173fb7d81

View File

@ -1,107 +1,110 @@
<<<<<<< HEAD <<<<<<< HEAD
# Xubuntu on XPS 13 7390 2 in 1 # Xubuntu on XPS 13 7390 2 in 1
## sources ## sources
* [Gentoo wiki - Dell XPS 13 2-in-1 (7390)](https://wiki.gentoo.org/wiki/Dell_XPS_13_2-in-1_(7390)) * [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) * [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)) * [Arch Linux - Dell XPS 13 2-in-1 (7390)](https://wiki.archlinux.org/index.php/Dell_XPS_13_2-in-1_(7390))
## Bios setup ## Bios setup
* have to disable Raid ... Enable AHCI * have to disable Raid ... Enable AHCI
* Disable secure boot in bios to permit Hibernate (if you want to use it) * Disable secure boot in bios to permit Hibernate (if you want to use it)
## 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 a essayer : xfconf-query -c xsettings -p /Gdk/WindowScalingFactor -s 2
xfconf-query -c xsettings -p /Gdk/WindowScalingFactor -s 2 xfconf-query -c xsettings -p /Gdk/WindowScalingFactor -s 2
~~~ ~~~
### taille de police GTK2 ### taille de police GTK2
to do to do
### taille des police applis ### 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 * 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] * 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 * spotify : modify menu launche like this : spotify --force-device-scale-factor=1.8 %U
* blender : Menu -> edit -> Prefereences -> Resolution Scale : 1.8 * blender : Menu -> edit -> Prefereences -> Resolution Scale : 1.8
### Changer la taille de police dans les applications Qt sous Xfce ### 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) #### source
editer : ~/.Xresources : Ce fichier est utilisé par le serveur X pour configurer ses applications clientes. * [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)
~~~{.shell}
!------------------------------------------------------------------------------- editer : ~/.Xresources : Ce fichier est utilisé par le serveur X pour configurer ses applications clientes.
! Xft settings
!------------------------------------------------------------------------------- ~~~{.shell}
!-------------------------------------------------------------------------------
Xft.dpi: 240 ! Xft settings
Xft.antialias: true !-------------------------------------------------------------------------------
Xft.rgba: rgb
Xft.hinting: true Xft.dpi: 240
Xft.hintstyle: hintslight Xft.antialias: true
Xft.autohint: false Xft.rgba: rgb
Xft.lcdfilter: lcddefault Xft.hinting: true
~~~ Xft.hintstyle: hintslight
Xft.autohint: false
Il faut ensuite utiliser la commande xrdb pour appliquer ces paramètres : Xft.lcdfilter: lcddefault
~~~
~~~{.shell}
$ xrdb -merge ~/.Xresources Il faut ensuite utiliser la commande xrdb pour appliquer ces paramètres :
~~~
~~~{.shell}
### console grub ... $ xrdb -merge ~/.Xresources
~~~
Boot menu uses a tiny font (GRUB menu).
### console grub ...
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.
Boot menu uses a tiny font (GRUB menu).
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):
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.
~~~
GRUB_GFXMODE=1280x1024 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). update-grub
~~~
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:
Splash screen uses too small logo and somewhat too small fonts (Plymouth).
Add to GRUB_CMDLINE_LINUX in /etc/default/grub.
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:
~~~
plymouth.force-scale=3 Add to GRUB_CMDLINE_LINUX in /etc/default/grub.
~~~
~~~
~~~ plymouth.force-scale=3
update-grub ~~~
~~~
~~~
Console terminal uses too small fonts. update-grub
~~~
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.
Console terminal uses too small fonts.
Change the font by running :
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.
~~~
dpkg-reconfigure console-setup Change the font by running :
~~~
~~~
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. dpkg-reconfigure console-setup
~~~
## enable screen rotatation 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.
~~~
apt install iio-sensor-proxy ## enable screen rotatation
~~~
~~~
install : screen rotator : https://github.com/GuLinux/ScreenRotator apt install iio-sensor-proxy
~~~
install : screen rotator : https://github.com/GuLinux/ScreenRotator