Skip to content
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

The scale is far too big on Ubuntu 17.04 (Unity) #5

Open
joedborg opened this issue Aug 29, 2017 · 11 comments
Open

The scale is far too big on Ubuntu 17.04 (Unity) #5

joedborg opened this issue Aug 29, 2017 · 11 comments

Comments

@joedborg
Copy link

@joedborg joedborg commented Aug 29, 2017

I've installed Ubuntu 17.04. Install etc. was fine, but once logged in, the scale is way too big. I can't even get to the setting to turn it down.

@nexus511
Copy link
Owner

@nexus511 nexus511 commented Aug 29, 2017

I label this as a enhancement as there is more important stuff to be resolved first. This does not mean that I will not work on this.

I guess that this setting can be changed by the user.

If anyone has a PR on this, please feel free to submit against the current development branch.

@Herst
Copy link

@Herst Herst commented Aug 29, 2017

Using the tweak tool you can change the global scale to 1 (only integers are possible) and then increase the font scale instead (assuming that this is the scrolling method used here).

@nexus511
Copy link
Owner

@nexus511 nexus511 commented Aug 29, 2017

I see this on my device as well. It looks like gnome3 on Ubuntu 17.04. does some fancy auto-scaling stuff. When properly rotated, things are scaled far too much.

For now, I do not know how to disable this properly. On Ubuntu 16.04.3 there is no such problem at all.

@joedborg
Copy link
Author

@joedborg joedborg commented Aug 29, 2017

@Herst doesn't appear to be that unfortunetly. Scale factor is 1 and if I turn that down (<1) only some of the desktop is scaled down

@nexus511
Copy link
Owner

@nexus511 nexus511 commented Aug 29, 2017

@joedborg Yes, I can second that. I think that gnome3 somehow determines the DPI of the display which is actually quite high.

xrandr --output DSI1 --scale 2x2

should help to temporarily bring up usable scaling, but I do not have a clue yet, how to solve this persistently.

@joedborg
Copy link
Author

@joedborg joedborg commented Aug 29, 2017

@nexus511 I think it's unity and gnome, right?

@nexus511
Copy link
Owner

@nexus511 nexus511 commented Aug 29, 2017

@joedborg No idea. I am not an Ubuntu user. Personally I only use Xubuntu with XFCE4 or AwesomeWM.

I see that Ubuntu (as in Unity) detects the display properly as 7'' sized and I would guess that it decides then to just scale it up to match it's DPI.

As the desktop is also ignoring xorg.conf entries, there is not much space for any solutions that will properly work and can be deployed via packages. This looks pretty bad and I guess will require some time digging into it.

@nexus511 nexus511 changed the title The scale is far too big The scale is far too big on Ubuntu 17.04 (Unity) Aug 30, 2017
@omgmog
Copy link

@omgmog omgmog commented Aug 30, 2017

I found the same problem with a clean install of Ubuntu 17.04.

This is due to the dconf key /com/ubuntu/user-interface/scale-factor being set to 32 (which is 4x scale)

The way the values work is that the scale is the value divided by 8:

10: 10/8 = 1.25x
12: 12/8 = 1.5x
16: 16/8 = 2x
24: 24/8 = 3x
32: 32/8 = 4x

Open a terminal (ctrl+alt+T), run the following:

dconf write /com/ubuntu/user-interface/scale-factor "{'DSI1': 12}"

In this case DSI1 is the display in the GPD Pocket.

The scaling change should happen immediately, but if it doesn't you can reboot and it should change.

@nexus511
Copy link
Owner

@nexus511 nexus511 commented Aug 30, 2017

@omgmog Great! Thank you!

That brings up the question, if it is possible to provide the value as a default. I try to look into that tomorrow.

@cawilliamson
Copy link
Contributor

@cawilliamson cawilliamson commented Aug 31, 2017

@nexus511 My ansible playbooks setup some dconf defaults in the xorg folder - may be worth taking a look if that's what you're looking to achieve. 👍

@nexus511
Copy link
Owner

@nexus511 nexus511 commented Sep 17, 2017

I merged a patch from @sagebind to development/India. I will make this available with the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.