wiki-system/xubuntu-XPS-13-7390-2-in-1--.md

98 lines
3.0 KiB
Markdown
Raw Normal View History

2020-06-22 10:47:10 +02:00
# Xubuntu on XPS 13 7390 2 in 1
## sources
2020-06-22 10:36:10 +02:00
* [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))
2020-06-20 19:41:59 +02:00
2020-06-22 10:47:10 +02:00
## Bios setup
2020-06-22 06:47:37 +02:00
* have to disable Raid ... Enable AHCI
2020-06-22 11:08:26 +02:00
* Disable secure boot in bios to permit Hibernate (if you want to use it)
2020-06-21 12:58:45 +02:00
2020-06-22 10:47:10 +02:00
## UHD screen
2020-06-20 19:41:59 +02:00
2020-06-21 14:44:46 +02:00
~~~
!!!
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
~~~
2020-06-20 19:41:59 +02:00
2020-06-22 10:47:10 +02:00
### Changer la taille de police dans les applications Qt sous Xfce
2020-06-20 19:41:59 +02:00
2020-06-22 10:37:12 +02:00
* source : [ezvan.fr - Changer la taille de police dans les applications Qt sous Xfce](https://www.ezvan.fr/taille-police-qt.html)
2020-06-20 19:41:59 +02:00
2020-06-21 14:44:46 +02:00
editer : ~/.Xresources : Ce fichier est utilisé par le serveur X pour configurer ses applications clientes.
2020-06-20 19:41:59 +02:00
2020-06-21 14:44:46 +02:00
~~~{.shell}
!-------------------------------------------------------------------------------
! Xft settings
!-------------------------------------------------------------------------------
2020-06-20 19:41:59 +02:00
2020-06-21 14:44:46 +02:00
Xft.dpi: 240
Xft.antialias: true
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintslight
Xft.autohint: false
Xft.lcdfilter: lcddefault
~~~
2020-06-20 19:41:59 +02:00
2020-06-21 14:44:46 +02:00
Il faut ensuite utiliser la commande xrdb pour appliquer ces paramètres :
2020-06-20 19:41:59 +02:00
2020-06-21 14:44:46 +02:00
~~~{.shell}
$ xrdb -merge ~/.Xresources
~~~
2020-06-20 19:41:59 +02:00
2020-06-22 10:47:10 +02:00
### console grub ...
2020-06-20 19:41:59 +02:00
2020-06-22 06:58:06 +02:00
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):
~~~
2020-06-22 07:06:51 +02:00
GRUB_GFXMODE=1280x1024
2020-06-22 06:58:06 +02:00
~~~
2020-06-21 07:45:35 +02:00
~~~
2020-06-22 06:58:06 +02:00
update-grub
~~~
Splash screen uses too small logo and somewhat too small fonts (Plymouth).
2020-06-20 19:41:59 +02:00
2020-06-24 09:56:59 +02:00
### plymouth boot splash and boot logger
2020-06-22 06:58:06 +02:00
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:
2020-06-20 19:41:59 +02:00
2020-06-22 06:58:06 +02:00
Add to GRUB_CMDLINE_LINUX in /etc/default/grub.
2020-06-20 19:41:59 +02:00
2020-06-22 07:06:51 +02:00
~~~
2020-06-22 06:58:06 +02:00
plymouth.force-scale=3
2020-06-22 07:06:51 +02:00
~~~
2020-06-20 19:41:59 +02:00
2020-06-21 07:51:23 +02:00
~~~
2020-06-22 06:58:06 +02:00
update-grub
~~~
2020-06-24 09:56:59 +02:00
### Console terminal uses too small fonts.
2020-06-22 06:58:06 +02:00
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.
2020-06-20 19:41:59 +02:00
2020-06-22 07:06:51 +02:00
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.
2020-06-22 10:21:43 +02:00
2020-06-22 10:47:10 +02:00
## enable screen rotatation
2020-06-21 07:50:06 +02:00
2020-06-20 19:41:59 +02:00
~~~
apt install iio-sensor-proxy
2020-06-21 07:50:06 +02:00
~~~
2020-06-22 10:49:59 +02:00
install : screen rotator : https://github.com/GuLinux/ScreenRotator