GithubHelp home page GithubHelp logo

HiDPI scaling about mons HOT 6 CLOSED

ventto avatar ventto commented on July 30, 2024
HiDPI scaling

from mons.

Comments (6)

Ventto avatar Ventto commented on July 30, 2024

Hello @pkhamutou. Thanks for the feedback.

Please, do you confirm the xrandr command line above is meant to display the second monitor only ?
If I understand this correctly, you use that command line because of your configuration on startup ?

I suspect the xrandr --auto (in mons) before performing the -s option.
I am investigating.

from mons.

pkhamutou avatar pkhamutou commented on July 30, 2024

Hello @Ventto !

  1. Yes, this xrandr command is only to display the second (FHD) monitor. I disable the laptop's display with --output eDP1 --off.
  2. No, I run it manually just to connect an external monitor (there is no any other purpose).

Thank you!

from mons.

Ventto avatar Ventto commented on July 30, 2024

Regarding your configuration, mons -s runs the following commands:

$ xrandr --output eDP1 --off
$ xrandr --output DP1 --auto --dpi 96

I tried to reproduce your configuration.
But I do not understand why you need to rescale your DP1 monitor to fit the eDP1 resolution:

--fb 3200x1800 [...] --scale-from 3200x1800 --pos 0x0 --panning 3200x1800+0+0

Turning off eDP1 and displaying DP1 with its own 1920x1080 resolution, is it what you want ?

from mons.

Ventto avatar Ventto commented on July 30, 2024

up.

from mons.

pkhamutou avatar pkhamutou commented on July 30, 2024

Hey @Ventto !
Check out Multiple displays section from https://wiki.archlinux.org/index.php/HiDPI

And yes, I want to turn eDP1 off and use only external display.

from mons.

Ventto avatar Ventto commented on July 30, 2024

but is there a possibility to make the same with mons ?

I am trying to keep mons as simple as possible (#21)
After some search, it can not make it without becoming partial copy of xrandr using xrandr itself.

So I recommend to keep using your custom command.

from mons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.