top | item 45246862

(no title)

ikurei | 5 months ago

The main thing keeping me from trying out Omarchy is the pain of setting up multiple displays. I haven't tried Hyprland, but whenever I've tried a non-mainstream desktop/wm in Linux that was the worst, especially if your setup changes often (as in, you have a laptop and move around and plug it in different places).

May be that just means I'm not enough of a tinkerer for these setups.

Is it a hard problem to remember more than one configuration and link them to the displays connected to your computer? Or is it just that Omarchy users really don't mind editing monitor.conf[1] often?

[1]: https://learn.omacom.io/books/2/pages/86

discuss

order

michielr|5 months ago

The community has written a TUI for this: https://github.com/erans/hyprmon

I don't really need it, but maybe my setup is too simple. I set my laptop monitor to auto-right, external display to auto-left and that's it. Set it and forget it for me.

nickjj|5 months ago

If your external display isn't connected, what happens? Does Hyprland ignore that line from the config without an error and everything works normally?

jchw|5 months ago

Since Hyprland still supports wlr-output-management (AFAIK) you can use tools like wlr-randr and nwg-displays. I don't use Hyprland but I used Sway for many years and support for multiple outputs was top notch. You did have to edit your text-based Sway config file, since a major part of the draw for Sway was an i3-like mantra, but you could do declarative configuration for both output and input devices, and it worked well with hot plugging. Combined with handling mixed DPI setups better, the general situation feels a lot better for using multiple monitors with Linux these days.

Editing a text file to configure displays is definitely an acquired taste, though. Maybe Omarchy needs some utilities to provide a UI around those config files.

charlie-83|5 months ago

I just have a bash script that runs on startup which just greps the output of xrandr to determine if I am connected to home/office/no monitors and then runs the appropriate xrandr commands to config them.

On the occasion when I (dis)connect monitors without restarting the laptop, I just have some command line aliases (home/office/laptop) which run the appropriate config

quibono|5 months ago

Correct me if I'm wrong but Hyprland is Wayland so xrandr is no go.

There are some utilities for this though. nwg-displays comes to mind

OGWhales|5 months ago

I was worried about that too but switching from one monitor to multiple ended up being plug and play for me. I installed hypermon before thinking I would need it, but I didn't as I got lucky that the monitors positioned themselves correctly and there was nothing else that needed to be changed otherwise.

johntash|5 months ago

When's the last time you tried this?

I used to have this issue too but was pleasantly surprised I don't have this issue with my new machine using EndeavourOS w/ wayland. I switch displays a couple times per day and it's been fine.

culopatin|5 months ago

I simply have an NVIDIA card and I’m afraid of Hyprland because of that

theYipster|5 months ago

OP here. It's seamless whether you go the Omarchy route or CachyOS route. In fact, I have an RTX 4090 and have no issues whatsoever.