prasanthrangan / hyprdots

// Aesthetic, dynamic and minimal dots for Arch hyprland
GNU General Public License v3.0
6.86k stars 815 forks source link

[Bug]: Not working properly with external monitor #700

Closed tushargoyalofficial closed 2 months ago

tushargoyalofficial commented 9 months ago

Bug Report

Description

I really like the rice and installed it on my work laptop. Now I usually connect to external monitor when working on something. Issues are as follows:

  1. Fonts for waybar/topbar is very small
  2. Tried to make them big by changing scale but becomes jiggered.
  3. Normally if we press WIn+p, a menu comes where you select modes like mirror, laptop only, external only ... , instead of that screen start getting fade on every press.
  4. Not able to use one monitor at a time
  5. While connected to external monitor, if I try to sleep it and resume, system hangs.

Steps to Reproduce

  1. Install on laptop
  2. Connect external monitor
  3. It's detecting resolution, but fonts are way too small.
  4. My monitor is 2k LG Ultragear 27GN800

Expected Behavior

[What did you expect to happen?]

Actual Behavior

  1. Fonts should get auto adjusted as per the monitor resolution.
  2. Should be able to select the display output
  3. System should resume properly from sleep if connected to external monitor
kRHYME7 commented 9 months ago

Simply this is not a bug as this is not yet implemented yet on hyprdots and what do we expect on a bare Window Manager. Nonetheless I am willing to write a PR specifically for this as I think the owner is not using a laptop( Also I badly needed the features above too).

For now this might help.

Fonts for waybar/topbar is very small

Run : Hyprdots waybar control then the control file for waybar will open by default in vscode, also the daemon that waits for changes on the config file will start. On the editor, find the 1st column that has a value of 1, that's the active configuration, on its 2nd column change it is the Scaling of the waybar config, so please modify it to your preferred scale, as you save the file the waybar will automatically refresh.

Tried to make them big by changing scale but becomes jiggered.

Where did you change the scaling?

Normally if we press WIn+p, a menu comes where you select modes like mirror, laptop only, external only ... , instead of that screen start getting fade on every press.

Not able to use one monitor at a time

Try some packages like wdisplays, hdisplays and nwg-displays. The latter is the one left being maintained. Also with a bare WM, these features are not yet implemented. You can check out https://wiki.hyprland.org/Configuring/Monitors/ for some $user specific configuration.

While connected to external monitor, if I try to sleep it and resume, system hangs.

will try to test soon.

Fonts should get auto adjusted as per the monitor resolution. Should be able to select the display output System should resume properly from sleep if connected to external monitor

We can try to use kanshi or any package to save monitor configuration. I'll try to test nwg-displays first as it is actively maintained.

tushargoyalofficial commented 9 months ago

I tried to change scaling in this file .config/hypr/hyprland.conf file's monitor to example : eDP-1,1920x1080@60,0x0,2 @kRHYME7

tushargoyalofficial commented 9 months ago

I also tried on my workstation too, still top waybar fonts are very small. I have used openbox (archcraft) in past. It able to detect the correct resolution and set the font size accordingly. I was thinking might be some issue with the ricing. Thanks for detailed help @kRHYME7 . Will try to follow the steps you mentioned

mahaveergurjar commented 9 months ago

only font is small or icons and waybar all things are small can you send a screenshot

tushargoyalofficial commented 9 months ago

Everything is small. Fonts and icons both.

On Sun, Dec 31, 2023, 09:50 Mahaveer Gurjar @.***> wrote:

only font is small or icons and waybar all things are small can you send a screenshot

— Reply to this email directly, view it on GitHub https://github.com/prasanthrangan/hyprdots/issues/700#issuecomment-1872666758, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFZJ436RS45AOFUS6UYTFMLYMDRZZAVCNFSM6AAAAABBFHQJMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGY3DMNZVHA . You are receiving this because you authored the thread.Message ID: @.***>

mahaveergurjar commented 9 months ago

Can you attach a screenshot of the waybar

mahaveergurjar commented 9 months ago

You can try to change the waybar size in the file ~/.config/waybar/config.ctl 231231_18h51m34s_screenshot

The orange color arrow direction that is shows the position of waybar and the green color arrow direction shows the waybar size so you can try to change the size of waybar

mahaveergurjar commented 9 months ago

231231_18h57m09s_screenshot 231231_18h56m38s_screenshot

You can see the difference

tushargoyalofficial commented 8 months ago

whole system fonts are small, not only topbar. If this dot files only for specific user/machine, please mention that. I really appreciate the work done to configure hyprland over here. If it is for everyone running Arch, then please make it in that way, so as we don't open issues unnecessary.

kRHYME7 commented 8 months ago

please mention that.

https://github.com/prasanthrangan/hyprdots/wiki/FAQ#known-issues

Fonts should get auto adjusted as per the monitor resolution.

It was strange why changing the monitors in $HOME/.config/hypr/hyprland.conf became jiggered. Normally hyprland will handle the default scaling. Normally monitor = ,preferred,auto,auto should determine the best resolution for you. For hidpi maybe change the last value to 2 or anything that is supported on your system. (see hyprctl monitors to see some supported reso). If some apps are jiggered either check some of your GPU support (related to Nvidia)

System should resume properly from sleep if connected to external monitor

Also, the dotfiles do not support yet some more changes on the system like setting up systemwide configuration.(Almost all of the scripts here are for $USER only. IMO, in this way, it will not cause confusion and unexpected results to individual systems)

https://wiki.archlinux.org/

Some user prefs solutions

You mentioned earlier that you used openbox so therefore you might need to adjust some of your expectations on Wayland for now (wlroots and hyprland).

Please let us know if it works and what solutions you've done. A screenshot will also help.

tushargoyalofficial commented 8 months ago

My monitor is of 2K resolution, but fonts set for 4K resolution, appearing very small. Tried to make them bigger, fonts and icons are not looking smooth, as in they were stretched (jiggered).

kRHYME7 commented 8 months ago

Does this issue occur even if not using this dot files?

mahaveergurjar commented 8 months ago

My monitor is of 2K resolution, but fonts set for 4K resolution, appearing very small. Tried to make them bigger, fonts and icons are not looking smooth, as in they were stretched (jiggered).

Hyprland auto set the monitor scale display but I don't know what the problem is in your case you can set the manual you can read the hypland wiki see this link https://wiki.hyprland.org/Configuring/Monitors/ https://wiki.hyprland.org/Configuring/Monitors/#:~:text=for%20a%20focus%20on%20resolution%20this%3A

mahaveergurjar commented 8 months ago

Can you send you monitor config screen shot of hyprland file & monitor file

like this type, i am also manually 240124_11h24m46s_screenshot config screen resolution

kRHYME7 commented 2 months ago

Answers according to the wiki will close this as a stale issue