#i3 windows problem 3 monitor [SOLVED]

51 messages · Page 1 of 1 (latest)

stone bison
#

I have Arch Linux and I have installed i3, managing to configure it a bit. I have 3 screens and I'm having trouble setting up the layout in i3. Now it works correctly, or at least the left and right screens are set up correctly, but the middle screen is right but can't take up half the space because the left screen is reflecting what is on its screen. For example, the black bar is tied to the fact that it is also on the other screen because they are showing the same page.
and in my HDMI1 the heigh of my half page is half..

How can I fix this? Also, while I'm at it, how do I change the theme because it's straining my eyes? I tried using arandr, and I actually saved my configuration from the normal Gnome session and then put it into the i3 config

ive changed from windows only today im diying already.

this is the arandr coming from gnome
#!/bin/sh
xrandr --output DP-1 --mode 1920x1080 --pos 3000x52 --rotate left --output DP-2 --mode 1920x1080 --pos 0x0 --rotate right --output HDMI-1 --primary --mode 1920x1080 --pos 1080x458 --rotate normal

gloomy nova
# stone bison I have Arch Linux and I have installed i3, managing to configure it a bit. I hav...

What are your monitor dimensions and refresh rates?

Use xrandr by itself to list your monitors, then put something along these lines in your i3 config:


exec xrandr —primary —output DP-2 —mode 1920x1080 —rate 60 —right-of DP-1

exec xrandr —output HDMI-1 —mode 1920x1080 —rate 60 —right-of DP-2```

I’ve never done 3 monitors before but this is how I’d try it. Keep in mind that “mode” is your resolution and “rate” is your refresh rate. Use “—primary” on whichever you want to be primary, obviously. Replace these values with your own
#

Then log out and back in

stone bison
#

[learner@MindfulLearner ~]$ xrandr
Screen 0: minimum 16 x 16, current 4080 x 1972, maximum 32767 x 32767
DP-1 connected 1080x1920+3000+52 left (normal left inverted right x axis y axis) 480mm x 270mm
1920x1080 59.96*+
1440x1080 59.99
1400x1050 59.98
1280x1024 59.89
1280x960 59.94
1152x864 59.96
1024x768 59.92
800x600 59.86
640x480 59.38
320x240 59.52
1680x1050 59.95
1440x900 59.89
1280x800 59.81
1152x720 59.97
960x600 59.63
928x580 59.88
800x500 59.50
768x480 59.90

DP-2 connected 1080x1920+0+0 right (normal left inverted right x axis y axis) 480mm x 270mm
1920x1080 74.91*+
1440x1080 74.92
1400x1050 74.87
1280x1024 74.90
1280x960 74.86
1152x864 74.82
1024x768 74.67
800x600 74.91
640x480 74.77
320x240 73.82
1680x1050 74.89
1440x900 74.85
1280x800 74.76
1152x720 74.72
960x600 74.84
928x580 74.58
800x500 74.87
768x480 74.71
720x480 74.51
640x400 74.23
320x200 73.70
1600x900 74.89
1368x768 74.73
1280x720 74.78
1024x576 74.80
864x486 74.45
720x400 74.23
640x350 74.53
HDMI-1 connected primary 1920x1080+1080+458 (normal left inverted right x axis y axis) 530mm x 300mm
1920x1080 143.80*+
1440x1080 143.80
1400x1050 143.89
1280x1024 143.79
1280x960 143.86
1152x864 143.75
1024x768 143.66
800x600 143.83
640x480 143.85
320x240 142.05
1680x1050 143.88
1440x900 143.86
1280x800 143.67
1152x720 143.77
960x600 143.72
928x580 143.50
800x500 143.68
768x4

stone bison
gloomy nova
gloomy nova
stone bison
#

Hdmi-1 should be center

#

exec xrandr —output DP-1 —mode 1920x1080 —rate 60 —left-of DP-2

exec xrandr ——output DP-2 —mode 1920x1080 —rate 60——right-of DP-1

exec xrandr —primary -- output HDMI-1 —mode 1920x1080 —rrate 144 —right-of DP-2

#

i think like that

#

is good

gloomy nova
# stone bison Hdmi-1 should be center

Alright, let me see if I can get it right

Add

exec xrandr --output HDMI-1 --primary --mode 1920x1080 --rate 144 --right-of DP-2 --left-of DP-1
exec xrandr --output DP-1 --mode 1920x1080 --rate 60 --rotate left --right-of HDMI-1```
to `~/.config/i3/config`
Then log out and back in
#

You may need to change "left" to "right," I've never rotated a monitor

stone bison
#

The right one is right the center is like they re mirroring themself

#

And it dont take all the screen

gloomy nova
#

Hmmm

stone bison
#

Wait i try to remove primary

gloomy nova
#

Perhaps try running these commands separately in a terminal so you don't have to keep logging out and back in

xrandr --output HDMI-1 --auto --right-of DP-2 --primary
xrandr --output DP-1 --auto --right-of HDMI-1 --rotate-left```
stone bison
#

We did it

gloomy nova
stone bison
#

Now i only have to rotate the Dp 2

#

You dit it*

#

Hahaha

gloomy nova
#

Yayyyy

stone bison
#

I remove primary things

gloomy nova
#

Don't forget to add them as exec's in the config

stone bison
#

Why+

#

Its working

gloomy nova
#

It won't be autosaved, so i3 needs to do it every time you start

stone bison
#

Colors? *

#

I dontwnloaded alacceity

#

Alacritty is that one? That i have to change?

gloomy nova
#

Open your configuration file and find a line that mentions "i3-sensible-terminal", then change it to say alacritty instead

#

Then save the file and press Win+Shift+R to reload i3 without having to log out and back in

#

Then try opening a new terminal and see if it's changed

stone bison
#

okok ty

#

Is it important primary? In i3 btw thank you.!

jaunty rootBOT
#

maybe_matty received a thank you cookie!

gloomy nova
#

No problem, enjoy i3 (:

glossy harness
#

... solved

fast fableBOT
#

#9742 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.

  • You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
  • You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".

Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you

stone bison
#

thanks guys

glossy harness
#

can you put [SOLVED] tag to title please?

#

@stone bison

stone bison
#

i3 windows problem 3 monitor [SOLVED]