Choose style:

Author Topic: High DPI Scaling in Peppermint OS 8  (Read 3071 times)

0 Members and 1 Guest are viewing this topic.

Offline rlandersen

  • nOOb
  • *
  • Posts: 4
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8
High DPI Scaling in Peppermint OS 8
« 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!


Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2885
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: High DPI Scaling in Peppermint OS 8
« Reply #1 on: June 15, 2017, 11:06:27 am »
Can you define what you're trying to "scale" .. do you mean fonts, icons, windows ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3221
  • Karma: 598
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: High DPI Scaling in Peppermint OS 8
« Reply #2 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...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

P10r x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2885
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: High DPI Scaling in Peppermint OS 8
« Reply #3 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.
« Last Edit: June 15, 2017, 12:19:19 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3221
  • Karma: 598
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: High DPI Scaling in Peppermint OS 8
« Reply #4 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...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

P10r x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2039
  • Karma: 356
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: High DPI Scaling in Peppermint OS 8
« Reply #5 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.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2885
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: High DPI Scaling in Peppermint OS 8
« Reply #6 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 ;)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline rlandersen

  • nOOb
  • *
  • Posts: 4
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8
Re: High DPI Scaling in Peppermint OS 8
« Reply #7 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.



Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2885
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline rlandersen

  • nOOb
  • *
  • Posts: 4
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8
Re: High DPI Scaling in Peppermint OS 8
« Reply #9 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.


« Last Edit: June 16, 2017, 09:22:36 am by rlandersen »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2885
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: High DPI Scaling in Peppermint OS 8
« Reply #10 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 :-\
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline rlandersen

  • nOOb
  • *
  • Posts: 4
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8
Re: High DPI Scaling in Peppermint OS 8
« Reply #11 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?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2885
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: High DPI Scaling in Peppermint OS 8
« Reply #12 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
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec