Peppermint OS Community Forum

Support => Installation => Topic started by: rlandersen on June 14, 2017, 03:42:26 pm

Title: High DPI Scaling in Peppermint OS 8
Post by: rlandersen on June 14, 2017, 03:42:26 pm
Hi guys,

I like Peppermint very much and I would like to install it in my notebook, but it has a 4K screen.
I tried to make it handle scaling in native resolution, but with no luck.
It would be nice to scale everything on screen to 2x its size when using 4K resolution.

Is it possible to do it with Peppermint?

Thank you!

Title: Re: High DPI Scaling in Peppermint OS 8
Post by: PCNetSpec on June 15, 2017, 11:06:27 am
Can you define what you're trying to "scale" .. do you mean fonts, icons, windows ?
Title: Re: High DPI Scaling in Peppermint OS 8
Post by: zebedeeboss on June 15, 2017, 12:11:01 pm
They Probably mean the screen as a "whole" - Desktop icons txt windows "everything" ...

Unless you have a "Huge" monitor 4K is almost unuseable on say 24-28k

Windows 10 will by default inflate everything 300% when it detects 4k, until you tame it.

Regards Zeb...
Title: Re: High DPI Scaling in Peppermint OS 8
Post by: PCNetSpec on June 15, 2017, 12:17:25 pm
So why use 4k if it's "unusable" ?

"scaling" (as opposed to resizing) everything would loose definition anyway, so you may as well use a lower resolution :-\

Anyway I'm assuming the OP knows how to resize things like windows and the whiskermenu .. I'm just after clarification on which items he/she does need help with.

Usually people just mean the font/icon size .. but that would be a guess here without clarification.
Title: Re: High DPI Scaling in Peppermint OS 8
Post by: zebedeeboss on June 15, 2017, 12:22:44 pm
Hi PCNetSPec

I use 4k as I have a 43" monitor and its fine.  I am just providing anecdotal information I have read and seen in blogs etc.

But your right if 4k is too small use HD

Regards Zeb...
Title: Re: High DPI Scaling in Peppermint OS 8
Post by: murraymint on June 15, 2017, 12:24:33 pm
I'm guessing it's to do with selling laptops more expensively with features you not only don't need but are actually going to be a problem.
Title: Re: High DPI Scaling in Peppermint OS 8
Post by: PCNetSpec on June 15, 2017, 12:37:39 pm
Let's wait and see what the OP actually means .. kinda pointless spending ages typing up what might turn out to be the wrong info ;)
Title: Re: High DPI Scaling in Peppermint OS 8
Post by: rlandersen on June 15, 2017, 05:48:27 pm
Can you define what you're trying to "scale" .. do you mean fonts, icons, windows ?

As zebedeeboss said, Windows 10 can "inflate" everything 300% so that it is readable on a 15.6 inches 4k screen.
I just wanted to know if there is some configuration in Peppermint that does the same thing.
Ubuntu does have it.

About why using 4k, I actually regret buying this laptop because of this kind of headaches.
I chose this model because of the processor, memory, etc.

This is problably an issue that is going to be faced frequently in the near future, if not today.
I donīt think Iīm alone here.


Title: Re: High DPI Scaling in Peppermint OS 8
Post by: PCNetSpec on June 15, 2017, 06:47:44 pm
See if this helps
https://forum.peppermintos.com/index.php/topic,4431.msg44249.html#msg44249
Title: Re: High DPI Scaling in Peppermint OS 8
Post by: rlandersen on June 15, 2017, 09:11:46 pm
Creating .Xresources and restarting lightdm did not work for me. No effect.

I found some more information here:
http://blog.mlindgren.ca/entry/2015/02/21/configuring-dpi-in-lubuntu-slash-lxde/

Adding xerver-command=X -core -dpi 300 to file /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf I was able to resize text in some menus and Chromium look nice.

On the other hand, many applications, icons and menus look ugly.
In Nemo, for example, only title bar font was resized. Everthing else is tiny as before.


Title: Re: High DPI Scaling in Peppermint OS 8
Post by: PCNetSpec on June 16, 2017, 01:18:27 pm
Quote
Creating .Xresources and restarting lightdm did not work for me. No effect.

weird, that works on every machine I've tried it on :-\
Title: Re: High DPI Scaling in Peppermint OS 8
Post by: rlandersen on June 16, 2017, 03:59:13 pm
You are right.

I just realized that I did something wrong.
Problably forgot capital letter in Xft.dpi: 300 when editing .Xresources.

Now it reproduces the same result as editing 50-xserver-command.conf.
But many things still donīt fit properly.

How can i increase size of windows title bars and fonts?
Title: Re: High DPI Scaling in Peppermint OS 8
Post by: PCNetSpec on February 13, 2018, 07:38:24 pm
Window titlebars are set by the xfwm4 theme .. try going to

Menu > Preferences > Peppermint Control Canter > Window Manager (tab)

and changing to say...

Theme: Default-hdpi

or

Theme: Default-xhdpi