Qubes os resolution issue

994 views
Skip to first unread message

randal...@gmail.com

unread,
Mar 9, 2018, 12:56:25 PM3/9/18
to qubes-users
Hi there so I was finally able to get qubes installed to test if it actually runs on my laptop (Razer stealth 2017) and there's some issue with the display resolution. My resolution is 3200 x 1800 and that's fine, but when I log into qubes everything looks extremely small and hard to read. I assume it's because of how high the resolution is. how can I get the desktop to display a bigger gui while keeping the resolution the same? I need baby tutorials as I'm new to qubes. Thanks in advance!

awokd

unread,
Mar 9, 2018, 1:04:33 PM3/9/18
to randal...@gmail.com, qubes-users
Check out this suggestion and possibly the others in the same issue:
https://github.com/QubesOS/qubes-issues/issues/3108#issuecomment-354256235

Yuraeitha

unread,
Mar 9, 2018, 3:09:19 PM3/9/18
to qubes-users
On Friday, March 9, 2018 at 6:56:25 PM UTC+1, randal...@gmail.com wrote:
> Hi there so I was finally able to get qubes installed to test if it actually runs on my laptop (Razer stealth 2017) and there's some issue with the display resolution. My resolution is 3200 x 1800 and that's fine, but when I log into qubes everything looks extremely small and hard to read. I assume it's because of how high the resolution is. how can I get the desktop to display a bigger gui while keeping the resolution the same? I need baby tutorials as I'm new to qubes. Thanks in advance!

This solution below only partly solves your issue as a temporary solution until you find a way to scale everything up (which is often a pain in other Linux's as well these days, even MS-Windows are facing issues these days...).
You can merge the idea awokd linked, to put it into autostart.

Since Qubes/XFCE4 doesn't remember the resolution or other screen settings, you can use the below to fix it yourself. In addition it also gives you greater screen control beyond just "fixing it".

Below is the script I use my self when I connect my puny little tablet/laptop to my 4k TV. It obviously hates running dual-screen 4k (poor little thing), so I had to lower that resolution. I got two scripts, one for left and right too. Which makes it easy for me to change which side of the TV I put my tablet/laptop.

#!/bin/sh
xrandr --output HDMI1 --mode 1920x1080 --right-of eDP1

For example if your screen is named ur-screens-name, and it's only one screen you want to change settings for, then it should be something like this.

#!/bin/sh
xrandr --output ur-screens-name --mode 1920x1080

Test if the command works first, in dom0 terminal.
You can find your screen name by writing 'xrandr -q' in your dom0 terminal. It'll list all screens currently connected, plus all their possible resolutions and refresh rates, which is also information you will need (don't copy my resolution, find one compatible in your list out-put here).

Now all you need to remember is to put the command in a script file, i.e. use nano or another editor to create the script, and remember to allow script to executable chmod +x /path/to/your-script.sh

Once it is tested working, now type 'xfce4-session-settings' and click on the "Application Autostart" tab in the window that popups. Click add, and add your script to autostart.

Now every time you boot up Qubes, dom0 will change your settings to the specified ones you gave it in the command. Furthermore you can keybind it in a similar way.

Type 'xfce4-keyboard-settings' in dom0, and click on the "Application Shortcuts" tab in the window that popups. Now same as before, simply click add, put path to your script, and add a keybind.

If you just need permanent changes, then the first is enough. If you need to change it once in a while, i.e. switch between resolutions, or move second screen to the left or right, change refresh rates, and things like that, then turn the script into a keybind. You can have multiple of scripts like this.

It doesn't solve the primary issue, but it's also something I need to look into my self when I find the time to play around with Linux/Qubes screen scaling. At least this can work as a temporary solution though.

sevas

unread,
Mar 9, 2018, 3:28:33 PM3/9/18
to qubes-users
May I suggest installing the KDE5 desktop?

In kali, I know that there is an options menu to change the zoom or something.

Its at the very bottom of the settings menu in Kali KDE desktop.

Yuraeitha

unread,
Mar 9, 2018, 4:05:08 PM3/9/18
to qubes-users

Is KDE confirmed working for Qubes 4 yet? The lack of mention of Qubes 4 in the KDE quide makes me a bit nervous, https://www.qubes-os.org/doc/kde/ but perhaps I don't need to be.

Though for example, does the KDE environment have the Qubes 4 widget and Qubes 4 qvm-usb/qvm-block widget?

799

unread,
Mar 9, 2018, 4:27:52 PM3/9/18
to randal...@gmail.com, qubes...@googlegroups.com


Am 09.03.2018 6:56 nachm. schrieb <randal...@gmail.com>:
Hi there so I was finally able to get qubes installed to test if it actually runs on my laptop (Razer stealth 2017) and there's some issue with the display resolution. My resolution is 3200 x 1800 and that's fine, but when I log into qubes everything looks extremely small and hard to read.

I'll install Qubes 4rc5 on my Lenovo W540 which has also a 3K resolution -> 2880x1620 Px.

I had the opposite problem before that my fonts in the terminal windows were to big.

I used the following command to scale down the display fonts:

Fix big font size in AppVM in a HighRes machine:
https://github.com/QubesOS/qubes-issues/issues/1951
qvm-run <APPVM> 'gsettings set org.gnome.desktop.interface scaling-factor 1 && gsettings set org.gnome.desktop.interface text-scaling-factor 1

[799]

sevas

unread,
Mar 9, 2018, 4:36:04 PM3/9/18
to qubes-users
Im thinking about installing it on a test qube soon. I dont entirely understand how kde on a template will make a difference when the desktop is in dom0.

799

unread,
Mar 9, 2018, 4:59:52 PM3/9/18
to randal...@gmail.com, qubes-users
Hello,

Am 09.03.2018 6:56 nachm. schrieb <randal...@gmail.com>:

My resolution is 3200 x 1800 and that's fine, but when I log into qubes everything looks extremely small and hard to read.

I've installed Qubes 4rc5 and I was able to scale the display resolution using the normal system preference panel:

1) Qubes Menu > System Tools > Appearance

2) then go to the "Fonts"-Tab

3) DPI
    [X] Custom DPI setting: 120
    (Default value is 96)

You might of course also try different DPI-settings.

You might need to tweak the scaling in the AppVMs as well, see my last email.

[799]

Unman

unread,
Mar 9, 2018, 5:36:35 PM3/9/18
to sevas, qubes-users
On Fri, Mar 09, 2018 at 01:36:04PM -0800, sevas wrote:
> Im thinking about installing it on a test qube soon. I dont entirely understand how kde on a template will make a difference when the desktop is in dom0.
>

if you run KDE in dom0 with xfce etc in templates, the the windows wont
have KDE feel - they may have the look but that's because they are
essentially (eg) gnome applications rendered in KDE.
To see the difference clone a Template and install KDE in it, and compare
to a non-KDE template.

oak...@gmail.com

unread,
Jun 30, 2019, 9:18:59 PM6/30/19
to qubes-users
On Friday, March 9, 2018 at 12:56:25 PM UTC-5, randal...@gmail.com wrote:
> Hi there so I was finally able to get qubes installed to test if it actually runs on my laptop (Razer stealth 2017) and there's some issue with the display resolution. My resolution is 3200 x 1800 and that's fine, but when I log into qubes everything looks extremely small and hard to read. I assume it's because of how high the resolution is. how can I get the desktop to display a bigger gui while keeping the resolution the same? I need baby tutorials as I'm new to qubes. Thanks in advance!

I have the problem of screen resolution after finally figuring out how to install windows 7 in win7new qube. Other Qubes have option in upper right corner to make fullscreen but the win7new doesn't. Now I saw instructions about it on Qubes site:

If you want to enable full screen mode for select VMs, you can do that by creating the following entry in the /etc/qubes/guid.conf file in Dom0:

Can anyone tell me how to do this? Thanks.

awokd

unread,
Jul 1, 2019, 7:20:34 PM7/1/19
to qubes...@googlegroups.com
oak...@gmail.com:

> If you want to enable full screen mode for select VMs, you can do that by creating the following entry in the /etc/qubes/guid.conf file in Dom0:
>
> Can anyone tell me how to do this? Thanks.
>
Qubes menu>Terminal Emulator> "sudo nano /etc/qubes/guid.conf"?
Reply all
Reply to author
Forward
0 new messages