this post was submitted on 17 May 2024
47 points (98.0% liked)

PC Master Race

14921 readers
1 users here now

A community for PC Master Race.

Rules:

  1. No bigotry: Including racism, sexism, homophobia, transphobia, or xenophobia. Code of Conduct.
  2. Be respectful. Everyone should feel welcome here.
  3. No NSFW content.
  4. No Ads / Spamming.
  5. Be thoughtful and helpful: even with ‘stupid’ questions. The world won’t be made better or worse by snarky comments schooling naive newcomers on Lemmy.

Notes:

founded 1 year ago
MODERATORS
 

I have a triple monitor setup right now, but am thinking of trying a single ultrawide monitor. What is your preference?

you are viewing a single comment's thread
view the rest of the comments
[–] velxundussa@sh.itjust.works 2 points 5 months ago (1 children)

Could you share the method you used to divide a single monitor from the OS perspective?

If you got the script or wiki page somewhere..

I'm curious

[–] Nibodhika@lemmy.world 2 points 5 months ago* (last edited 5 months ago)

Sure, it's quite simple:

xrandr --setmonitor LEFT 1720/1x1440/1+0+0 DP-0
xrandr --setmonitor RIGHT 1720/1x1440/1+1720+0 none
i3-msg reload

Essentially the first like tells it to only use a 1720x1440 starting at 0,0 area from the DP-0 screen. The second line creates a virtual monitor also with 1720x1440 but starting on 1720,0. The third line just reloads my WM so that it shows the bar at the top nicely.

Edit: obviously this only works if you're running X11, but I'm sure that Wayland has something similar