-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi-resolution problems #3108
Comments
Salt by default do not apply any VM configuration. This automatic scaling is intended feature of GNOME, gnome-settings-daemon namely. See here: https://wiki.gnome.org/HowDoI/HiDpi Interestingly it isn't started automatically in some VMs. Not sure why... |
Anyway, I'd say that better default is to have this automatic scaling working everywhere, instead of requiring some users to use physical magnification glass to setup their system... GNOME team do have UI experts and I'd assume they did this for a reason. FWIW, with this magnification enabled, in default settings (12px font size), fullscreen terminal can fit 176x46 chars, which is slightly more than similar window on non-HiDPI laptop (154x44). |
The magnification is def. too large, but I can see how this is a matter of personal taste, however we still have 2 Qubes-specific (related, but distinct) problems:
|
I see a couple ways to solve point 2:
The first one makes it compatible with other tools (gnome-tweak-tool for example), but require every VM to be started when changing the setting. The second one will work "offline", but will override custom value set by the user, at every VM startup. As for point 1 - this isn't about setting some value or not. It is about gnome-settings-daemon not being started. If you start it, it will automatically calculate scaling factor (if not set manually). It is set to start only in AppVM ( |
Maybe we should do the same in dom0, then propagate this setting into VMs (using approach in point 2)? |
I've tried to set xfce for hidpi (according to https://wiki.archlinux.org/index.php/HiDPI#Xfce) - fonts dpi 192, max icon size 48, and "Default-hidpi" window manager theme (according to https://xfce.org/about/tour).
I don't see a direct equivalent of GNOME's |
If Xfce4 doesn't handle scaling factors well, then I think we should:
An alternative solution is to scale down the resolution to something less than the full 4k (but still larger than HD). This option works really well for me on Qubes 3.2, and it requires all the VMs and GUI domain to consitently use scaling factor=1. |
Hi,
just as an additional data point: I have a 4k display but I don't want any
scaling whatsoever, the display is big enough physically. (I do use ctrl+-
quite a lot.)
This usecase should also be supported.
…--
cheers,
Holger
|
@h01ger the GNOME automatic scaling is about DPI, not resolution itself. So it should be ok. |
Generally I suggest to leave scaling factor = 1... |
@rootkovska If the application is closed and reopened on a HiRes display, the scaling issues fix themselves on 4.0 RC1. At least that is the case on a Surface Book. |
@mex20: no it still sucks, even though admittedly the factor gets smaller then. Yet it is still inconsistent (e.g. templates and e.g. sys-net get scaling factor 1, while other VMs get much larger), and generally looks very messy and ugly :( |
FWIW I experience this issue in fedora-derived AppVMs but not in debian-derived ones (just upgraded to 4.0rc3) |
I can simulate this by starting a disposable fedora VM with firefox (tabs takes up quite a lot of screen area). This is through the qubes menu. I figured those two approaches would be exactly the same? |
I had this problem, and found a solution! Do this in your Fedora TemplateVM, as root:
|
I can confirm that this does the trick on my T470p. 👍 |
After updating my AppVMs to the Fedora 26 template, everything was too small to read for me. I was able to fix it by adding a file
|
@talex5 as you can see in this thread, many people complains about this automatic scaling... |
I am running Q4 on a high resolution screen and I just set I see that in dom0 I set it using the settings manager in: I could probably have set it in etc as well for consistency, I suppose the effect would have been the same. |
Automated announcement from builder-github The component
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The component
|
I appear to be getting this issue again with Fedora-28 templateVM specifically, it's not taking gsettings and gsd-xsettings is running |
For Fedora-28 template set
|
After upgrading from Fedora 26 to Fedora 28 this solved the problem for me: |
This totally fixed it! Thank you!! 😄 |
@andrewdavidwong Should this issue be closed now? The discussion above seems to be related to a Fedora issue, not one specific to Qubes. If users want that specific config, it's up to them. Perhaps we could add some documentation on resolving DPI / HI-resolution issues (ie change the config described above from the one @marmarek has done) -- but tracking this could be done in a separate issue since it's not a critical bug. |
Yes, feel free to close
…On Thu, Nov 22, 2018, 5:41 PM Esote ***@***.***> wrote:
@andrewdavidwong <https://github.com/andrewdavidwong> Should this issue
be closed now? The discussion above seems to be related to a Fedora issue,
not one specific to Qubes.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3108 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHmbklI0MZoUcga9q9W7x4KGMAszJh-kks5uxuHMgaJpZM4PfXMl>
.
|
On hires display, All AppVMs have incorrectly set "magnification", making them display super-large fonts and other UI elements. Surprisingly this is not the case for the actual template. This can be observed e.g. on gnome-terminal or Firefox.
Interestingly the sys-net has correct scaling, but sys-usb does not. This might be related to #3107? Perhaps this is a result of Salt stack not applying some configuration to some of the VMs?
The text was updated successfully, but these errors were encountered: