Switching monitor order

I recently added a second monitor to my hyprland install, and there are a few things that I want to change, but can’t figure out how to:

  1. Switch Monitor order
    I have two monitors, the monitor on the right, is an acer monitor. The one on the left is a onn monitor. Hyprland wants to put the onn monitor on the right instead of the left, and put the acer monitor on the left instead of the right. I think this is because I have the acer monitor plugged into the left port on my computer, and the onn monitor plugged into the right port on my computer. Is there a way I can switch the order?

  2. Remove black space on the left side of my right monitor
    On the acer monitor, there is a black strip on the left side of the monitor, and apps get cut off the screen. It’s like Hyprland took the monitor screen, and shifted it to the right an inch.

  3. Switch which workspaces are assigned to which monitors
    Right now, workspace two is assigned to the onn monitor, and workspace one is assigned to the acer monitor. I want to flip that, so that workspace one is assigned to the onn monitor, and workspace two is assigned to the acer monitor

My monitor config is (~/.config/hypr/hyprland.conf):
monitor=desc:ONN 100002487 0x01010101, preferred, auto-left, 1
monitor=desc:Acer Technologies KC242Y A 1048089463W01, preferred, auto-right, 1

And my workspace config is:
workspace=1, monitor=desc:ONN 100002487 0x01010101
workspace=2, monitor=desc:Acer Technologies KC242Y A 1048089463W01

Thanks much for any and all help

My solution when auto doesnt work would always be to just place them manually with coordinates

You forgot default.

You can always install ngw-displays to make life a little easier.

yay -S nwg-displays

You can then link your nwg-displays settings to your HyprlandDE settings by

nano ~/.config/hypr/custom.d/regular/monitors.conf

whatever options you have for your monitors now delete and paste

source=~/.config/hypr/monitors.conf

1 Like

@vaxry Put default where? At the end of the line? Didn’t fix it

@Franchise2099 I’m running fedora and don’t have yay installed. Couldn’t install either yay or nwg-displays using dnf

ah! My apologies. I didn’t see the distro.

Add the Repo

sudo dnf copr enable szorfein/nwg-panel
sudo dnf update

Install nwg-displays

sudo dnf install nwg-displays

sudo dnf copr enable szorfein/nwg-panel just gives me a bunch of 404 errors. Hyprland came with a program called nwg-panel settings, is that related to what your talking about?

Looks like I got some bad info. It should be available? I only ever used Fedora silver blue. Maybe you can get something from this link if you are on Fedora 42.

I eventually got it installed by installing nwg-shell. That appears to have changed nothing? I noticed that I now have a program called ‘Display Settings’ on my computer, but when I open it, it only allows me to change the settings for the acer monitor. I’ll upload a screenshot of the program. Also, whenever I try to change the position of the acer monitor, it just resets to zero whenever I click outside of the text box

I also replaced my monitor config with this line:

source=~/.config/hypr/monitors.conf

And my workspace config with this line:

source=~/.config/hypr/workspaces.conf

Both of those config files are generated by nwg-displays

Not sure what happened, but it appears to be working now. I told the acer monitor to mirror the onn monitor, then told it to stop mirroring the onn monitor, and now the onn monitor is assigned to workspace one, and the acer monitor is assigned to workspace two. I still have that black strip on the left side of the acer monitor though

Much appreciated on both the display software and the linking.

1 Like