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

  • velxundussa@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 months ago

    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
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      6 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