Re: [qubes-users] Inconsistent Screen Resolution for Fedora VMs

2017-01-20 Thread Jeremy Rand
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Jeremy Rand:
> xmee...@gmail.com:
>> I just did a clean install of Qubes 3.2. For some reason the
>> resolution off apps in Fedora VMs is wildly inconsistent. The
>> borders of the windows, dom0, and the Debian VMs are correct but
>> the apps in Fedora VMs range from consistent with the others to
>> so low as to be almost unusable. I can't figure out what causes
>> them to change and xrandr outputs the same thing no matter what
>> the displayed resolution is.
> 
> I think this occurred for me a few weeks ago.  If I recall
> correctly, the HiDPI settings in GNOME had somehow been set to 0.
> No magnification is 1, double magnification is 2.  0 gets
> interpreted as 2, for reasons that only the GNOME people are likely
> to understand.  The standard GNOME procedures for changing HiDPI
> settings fixed it for me (I restored it to 1).
> 
> Sorry I don't have more details for you, I don't believe I wrote
> down the fix at the time.
> 
> -Jeremy

For future reference of anyone stumbling across this thread, you can
disable HiDPI in your Fedora VM's by running this terminal command in
each of your Fedora VM's and then rebooting those VM's:

gsettings set org.gnome.desktop.interface scaling-factor 1

Until you reboot those VM's, their GUI will have weird glitches.

Hope this helps anyone who runs into this.

- -Jeremy
-BEGIN PGP SIGNATURE-

iQIcBAEBCgAGBQJYgvO2AAoJELPy0WV4bWVwCtcQAIAGPsjKZzgKeisa67AHaYtE
kd21Ham1w6WNDQnweDmjOSPsalJfgA+vQ6jaTUJZoW6FAmgui91PDF0bTDjQYuIe
fVv4LzZNFFSbNAbnaySHdU3fZMOqV5qN1jZpYkC8tyExUfCUTzTNGdudZLIrqtYz
0bsPNAzC0zLoGZorqki52qMFR81Z4oztmAd2RMQRBUgxQF6f6YzZIUUIWCU7KLwx
ZuSL+kyw6wvVWUsEA5XesdGbguG8KzREyLr1YsZM02ARLf5aH+uWpuhWtey2ERGp
t+2ZbviKtHyeVKcrASfxaPCzYhlcIDLCS9y3v6Cp9G4CCy5RBnpa366WwXBpKn0l
flmswfXmtrfLSDlTgzi37huKOH0upMEb1CHfeVVUHm9ZfvSzySEvVu4KDJcc5rFr
RlgZ0HzPeNTtVvbpdIugj/isWwaQU6mmSLe96zmG9aeMt1vqYDqnjoNqnZaQ7/0Y
uBA+ukN91YRoG9RTMmJzfT3AVJvasyyt4giCKWRI/HmJkqrqAh1N6DcvlzNGfrZ7
2s7Rn5V1fJtQe3AsVeMVxgPqrqZ4fyXtW1poVHTp4dK9NNfngjj2tuVnNH3udwxP
xPX7GZQDve5G3M+1wzX+QtQnVYAUshxothhPVTRVciySJcNtZcpohAeFYSgI/u46
UJmSLOlXGYgMKBYnQGoX
=YBlP
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/cb80c92b-79cd-2923-d2cd-840ff4d1f48f%40airmail.cc.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Inconsistent Screen Resolution for Fedora VMs

2016-10-24 Thread xmeehan
Thanks! I'm without a computer right now but I will look into soon to see if I 
can figure out exactly where it's messing up.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/051dacf3-4e6c-42bc-bc27-8fc25df9edbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Inconsistent Screen Resolution for Fedora VMs

2016-10-22 Thread Marek Marczykowski-Górecki
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Sat, Oct 22, 2016 at 07:15:16AM +, Jeremy Rand wrote:
> xmee...@gmail.com:
> > I just did a clean install of Qubes 3.2. For some reason the resolution off 
> > apps in Fedora VMs is wildly inconsistent. The borders of the windows, 
> > dom0, and the Debian VMs are correct but the apps in Fedora VMs range from 
> > consistent with the others to so low as to be almost unusable. I can't 
> > figure out what causes them to change and xrandr outputs the same thing no 
> > matter what the displayed resolution is.
> 
> I think this occurred for me a few weeks ago.  If I recall correctly,
> the HiDPI settings in GNOME had somehow been set to 0.  No magnification
> is 1, double magnification is 2.  0 gets interpreted as 2, for reasons
> that only the GNOME people are likely to understand.

I've looked at gnome-settings-daemon code and AFAIR those reasons are:
1. Have DPI at least 192, and
2. Have vertical resolution at least 1200.

Relevant code:
https://github.com/GNOME/gnome-settings-daemon/blob/master/plugins/xsettings/gsd-xsettings-manager.c#L233-L241

#define DPI_FALLBACK 96

/* The minimum resolution at which we turn on a window-scale of 2 */
#define HIDPI_LIMIT (DPI_FALLBACK * 2)

/* The minimum screen height at which we turn on a window-scale of 2;
 * below this there just isn't enough vertical real estate for GNOME
 * apps to work, and it's better to just be tiny */
#define HIDPI_MIN_HEIGHT 1200

There is also lengthy comment about it.
Anyway the above looks reasonable for me for automatically turning HiDPI
mode on. So, if it was incorrect, I'd guess something gone wrong with
retrieving input values (DPI, vertical resolution).

- -- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJYC8bcAAoJENuP0xzK19csryMH/11HnOzPwr1vQPfeWlmhymk6
uAMti9FHkTZEK4IWJWZDGaahd+Pos4Rav+wSmloV54n96AOrComKkz/LKk8t1VKl
mQIwPSbyDvoW3jJMz6Izd9+QK5fEEp7rP2ekhE2Me8sCENu/yRR2tx9zHbJQ7bza
yU1tLuuR6g334qMlTkdTX/6rRxJD6cpED9zjTJ3ZvFnAbCmuk10s57PKU6KTXogy
LaOTConyMeRSPBc2S6C9avMoylcR2YQ9suXEVo/nE8uQv7GuOS6eaTNIoXkUXuEf
3RfyhrVLAGBxu1i6S3WCOrzt+9X9PuXqpyLkq0WZ8Gxlh1+onoo35+si7ohiHiE=
=X8f7
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20161022200652.GI1136%40mail-itl.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Inconsistent Screen Resolution for Fedora VMs

2016-10-22 Thread Jeremy Rand
xmee...@gmail.com:
> I just did a clean install of Qubes 3.2. For some reason the resolution off 
> apps in Fedora VMs is wildly inconsistent. The borders of the windows, dom0, 
> and the Debian VMs are correct but the apps in Fedora VMs range from 
> consistent with the others to so low as to be almost unusable. I can't figure 
> out what causes them to change and xrandr outputs the same thing no matter 
> what the displayed resolution is.

I think this occurred for me a few weeks ago.  If I recall correctly,
the HiDPI settings in GNOME had somehow been set to 0.  No magnification
is 1, double magnification is 2.  0 gets interpreted as 2, for reasons
that only the GNOME people are likely to understand.  The standard GNOME
procedures for changing HiDPI settings fixed it for me (I restored it to 1).

Sorry I don't have more details for you, I don't believe I wrote down
the fix at the time.

-Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/a60c47f9-0a8e-e671-8abf-77f034a3ae25%40airmail.cc.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


[qubes-users] Inconsistent Screen Resolution for Fedora VMs

2016-10-17 Thread xmeehan
I just did a clean install of Qubes 3.2. For some reason the resolution off 
apps in Fedora VMs is wildly inconsistent. The borders of the windows, dom0, 
and the Debian VMs are correct but the apps in Fedora VMs range from consistent 
with the others to so low as to be almost unusable. I can't figure out what 
causes them to change and xrandr outputs the same thing no matter what the 
displayed resolution is.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/7ee13d48-ff24-4f0d-95ce-c132a5eb5bb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.