Higher resolution desktop

[quote=“HulaHoop, post:29, topic:471”]The file at /usr/share/whonix-ws-kde-desktop-conf/share/config/krandrrc
does not override whatever is at ~/.kde/share/config/krandrrc[/quote]
I know. I tried to explain that here:

Is it possible to just ship with a modified ~/.kde/share/config/krandrrc even though its not good practice?
Yes. Would have to be hardcoded to /home/user/.kde/share/config/krandrrc. Why would that be required, what would that be good for?
Yes. Would have to be hardcoded to /home/user/.kde/share/config/krandrrc. Why would that be required, what would that be good for?

Its one option thats about shipping Whonix with a hi-res out of the box, or alternatively the documentation tells people how to adjust this from KDE settings.

Using /usr/share/whonix-gw-kde-desktop-conf/share/config/krandrrc would also ship with hi-res out of the box for new build versions as per Whonix Forum. Not for existing users that upgrade.

OK so we’re all set? Do you have the configuration you need for this? I’m alright with doing a full upgrade :slight_smile:

The question is, does that config work for you?

/usr/share/whonix-ws-kde-desktop-conf/share/config/krandrrc

[Screen_0_Output_default]
Rect=0,0,1366,768

Have you debugged it as per Whonix Forum? Start testing with 1024x768 with user and then see if user2 ends up with changed different resolution thanks to that new config.

The question is, does that config work for you?

No it didn’t work. The way I do it is to change it for my main default user account ‘user’ its easier than creating a new user account and testing it there. Are these instructions relevant to this?

It won’t work because of Whonix Forum.

Yes very much so as per Whonix Forum.

I don’t think I understand how things work.

Alternatively please have Whonix ship the qxl xserver package and I’ll manually set the resolution from the gui after upgrades.

[quote=“HulaHoop, post:37, topic:471”]Whonix Forum

I don’t think I understand how things work.[/quote]
This is unfortunate. I wouldn’t know how to explain better.

I’ve explained the issue on kde user mailing list in slightly different words:
http://lists.kde.org/?l=kde&m=141130406809446&w=2

Hopefully they have suggestions on how to ease debugging.

Will be the case in next release.

There is one important test that needs to be done before shipping such a config so or so…

Set a KVM VM to a higher resolution than 1024x768.

Let’s imagine a user who can set at maximum 1024x768 on its host (or is using this for other reasons such as accessibility)… Please simulate being that user. Shut down the KVM VM. Set your host to 1024x768. Now start the KVM VM.

What happens? Will the KVM VM (that maybe will attempt setting a higher resolution than the host has currently set) still be usable? Or will some weird bug hapen? Screen still readable? Or VM window must be scrolled? With what resolution the KVM VM will start?

What happens?

The guest resolution stays 1024x768 and fills the whole host screen becuase the host is the same lower resolution during the test.

I followed it to the letter this time but same outcome.

I don’t think it changes anything. The only enhancement I can think of is for whonixadvanced setup or whatever you see fit for this, to the range of resolutions qxl supports upon first run for users to select from. If this is too time consuming, forget about it.

Also what would be a good default choice?

Resolution seems quite fragmented.

What do most users use on the host?

Which KVM resolution by default would they most benefit? And would we screw up things for other users by shipping another resolution the default in KVM?

A sane default is the one most widely used, which happens to be 1366x768

Which KVM resolution by default would they most benefit? And would we screw up things for other users by shipping another resolution the default in KVM?

Its easy to switch resolutions from the KDE settings menu. we can make a short note about it in documentation for people unfamiliar with KDE, but I don’t think its needed.

Having 1024x768 as a default annoys pretty much everyone using Whonix as its mostly gone now.

New page https://github.com/Whonix/kde-common-resolution will be installed by default in Whonix 10 and above. It ships a setting to set resolution to 1366x768 in KDE and VirtualBox (the latter won’t work until we sort out the issue with VirtualBox and resolutions without guest additions) in KDE.

Entirely untested!

I don’t really care much for VirtualBox but I want to still help you support this for it.

Does it only work with it using instructions here? If not then this page can be deprecated.

That page will still be required for VirtualBox. The package might at best only set 1366x768 for KVM users and do nothing for VirtualBox users (due to the other issue(s) with VirtualBox). But… When these VBox issues are solved, this package may at best set 1366x768 for KVM as well as for VirtualBox users.

  • Migration status for xserver-xorg-video-qxl (- to 0.1.5+git20200331-3): BLOCKED: Rejected/violates migration policy/introduces a regression
  • Issues preventing migration:
  • ∙ ∙ Updating xserver-xorg-video-qxl would introduce bugs in testing: #1004154

If Debian fixed https://bugs.debian.org/1004154 this Debian testing migration bug might fix itself. But if not, then I don’t know.