dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Hyprland 0.53.0 Update issues: Please install the ML4W Rolling Release

Open IllestRat opened this issue 11 months ago • 39 comments

hyprgraphics (0.4.0-2 -> 0.5.0-1) hyprtoolkit (0.4.1-2 -> 0.4.1-3) hyprland-guiutils (0.2.0-2 -> 0.2.0-3) hyprlock (0.9.2-7 -> 0.9.2-8) hyprpaper (0.7.6-4 -> 0.7.6-5) hyprland (0.52.2-3 -> 0.53.0-1) hyprpaper (0.7.6-5 -> 0.8.0-1) hyprpaper (0.7.6-5 -> 0.8.0-1)

Packages updated, With Hyprland 0.53.0 came new Window Rules syntax - https://wiki.hypr.land/Configuring/Window-Rules/

Image

IllestRat avatar Dec 29 '25 19:12 IllestRat

same thing here. for now downgraded until get the update.

rtalis avatar Dec 29 '25 20:12 rtalis

same thing here. for now downgraded until get the update.

Having the same config erros. Can you please tell me the command you used to downgrade?

snzsnz avatar Dec 29 '25 20:12 snzsnz

./config/hypr/conf/ml4w.conf

#    __  _____  _____      __  _____          ___
#   /  |/  / / / / / | /| / / / ___/__  ___  / _/
#  / /|_/ / /_/_  _/ |/ |/ / / /__/ _ \/ _ \/ _/
# /_/  /_/____//_/ |__/|__/  \___/\___/_//_/_/
#

# Pavucontrol floating
windowrule {
  name = pavucontrol
  match:class = .*org\.pulseaudio\.pavucontrol.*

  float = true
  pin = true
  size = 700 600
  center = true
}

# OpenAI ChatGPT floating
windowrule {
  name = chatgpt
  match:title = ChatGPT.*
  match:title = .*chat\.openai\.com.*
}

# Waypaper
windowrule {
  name = waypaper
  match:class = .*waypaper.*

  float = true
  pin = true
  size = 900 700
  center = true
}

# SwayNC
layerrule2 = blur, swaync-control-center
layerrule2 = blur, swaync-notification-window
layerrule2 = ignorezero, swaync-control-center
layerrule2 = ignorezero, swaync-notification-window
layerrule2 = ignorealpha 0.5, swaync-control-center
layerrule2 = ignorealpha 0.5, swaync-notification-window

# Newelle
windowrule {
  name = newelle
  match:class = ^io\.github\.qwersyk\.Newelle$

  float = true
  pin = true
  size = 1000 700
  center = true
}

# ML4W Calendar floating
windowrule {
  name = ml4w-calendar
  match:class = ^com\.ml4w\.calendar$

  float = true
  pin = true
  size = 400 400
  move = 50%-200 85
}

# ML4W Sidebar floating
windowrule {
  name = ml4w-sidebar
  match:class = ^com\.ml4w\.sidebar$

  float = true
  pin = true
  size = 400 660
  move = 100%-w-18 91
}

# ML4W Welcome App floating
windowrule {
  name = ml4w-welcome
  match:class = ^com\.ml4w\.welcome$

  float = true
  pin = true
  size = 700 600
  center = true
}

# ML4W Settings App floating
windowrule {
  name = ml4w-settings
  match:class = ^com\.ml4w\.settings$

  float = true
  size = 800 600
  move = 10% 20%
}

# Blueman Manager
windowrule {
  name = blueman-manager
  match:class = ^blueman-manager$

  float = true
  size = 800 600
  center = true
}

# nwg-look
windowrule {
  name = nwg-look
  match:class = ^nwg-look$

  float = true
  pin = true
  size = 700 600
  move = 10% 20%
}

# nwg-displays
windowrule {
  name = nwg-displays
  match:class = ^nwg-displays$

  float = true
  pin = true
  size = 900 600
  move = 10% 20%
}

# System Mission Center
windowrule {
  name = mission-center
  match:class = ^io\.missioncenter\.MissionCenter$

  float = true
  pin = true
  size = 900 600
  center = true
}

# System Mission Center Preference Window
windowrule {
  name = mission-center-preferences
  match:class = ^missioncenter$
  match:title = ^Preferences$

  float = true
  pin = true
  center = true
}

# Gnome Calculator
windowrule {
  name = gnome-calculator
  match:class = ^org\.gnome\.Calculator$

  float = true
  size = 700 600
  center = true
}

# Hyprland Share Picker
windowrule {
  name = hyprland-share-picker
  match:class = ^hyprland-share-picker$

  float = true
  pin = true
  size = 600 400
  center = true
}

# General floating
windowrule {
  name = dotfiles-floating
  match:class = ^dotfiles-floating$

  float = true
  size = 1000 700
  center = true
}

# Dotfiles Sidepad
windowrule {
  name = dotfiles-sidepad
  match:class = ^dotfiles-sidepad$

  float = true
  pin = true
  size = 1000 700
  center = true
}

# Float and center file pickers
windowrule {
  name = xdg-file-picker
  match:class = ^xdg-desktop-portal-gtk$
  match:title = ^(Open.*Files?|Save.*Files?|All Files|Save)$

  float = true
  center = true
}

# XDG Desktop Portal
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland

# QT
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_QPA_PLATFORMTHEME,qt6ct
env = QT_QPA_PLATFORMTHEME,qt5ct
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_AUTO_SCREEN_SCALE_FACTOR,1

# GDK
env = GDK_SCALE,1

# Toolkit Backend
env = GDK_BACKEND,wayland,x11,*
env = CLUTTER_BACKEND,wayland

# Mozilla
env = MOZ_ENABLE_WAYLAND,1

# Set the cursor size for xcursor
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24

# Ozone
env = OZONE_PLATFORM,wayland
env = ELECTRON_OZONE_PLATFORM_HINT,wayland

# XWayland
xwayland {
  force_zero_scaling = true
}

./config/hypr/conf/windowrules/default.conf

# -----------------------------------------------------
# Window rules
# -----------------------------------------------------

windowrule {
  name = pavucontrol
  match:title = ^pavucontrol$

  float = true
}

windowrule {
  name = blueman-manager
  match:title = ^blueman-manager$

  float = true
}

windowrule {
  name = nm-connection-editor
  match:title = ^nm-connection-editor$

  float = true
}

windowrule {
  name = qalculate-gtk
  match:title = ^qalculate-gtk$

  float = true
}

# Browser Picture in Picture
windowrule {
  name = picture-in-picture
  match:title = ^Picture-in-Picture$

  float = true
  pin = true
  move = 69.5% 4%
}

# idleinhibit
windowrule2 = idleinhibit fullscreen,class:([window]) # Available modes: none, always, focus, fullscreen

#xwayland related rules
# when moving objects in resolve a large border is produced 
# This rule prevents that and serves as a template for any problematic xwayland apps
windowrule2 = noblur, class:^(\bresolve\b)$, xwayland:1

# This is a general rule for xwayland apps but can have other consequences 
# for one user it impacted EMACs so it's disabled by default 
# It's here as a reference or for quick triage of xwayland ap
#windowrule2 = noblur, xwayland:1

The annoying messages are gone. My waypaper is still semi-broken. I still didn't found the reason. It opens but won't set the background. Working on it atm.

vjeko2404 avatar Dec 29 '25 20:12 vjeko2404

Thanks for testing. I will update as soon as possible.

mylinuxforwork avatar Dec 29 '25 21:12 mylinuxforwork

Quick fix to get back on the road if you don't ever use effects and prefer basic and square windows like I do:

  • comment out import line in ~/.config/hypr/conf/windowrule.conf
  • delete all windowrule lines in ml4w.conf
  • comment out #layerrule = blur, waybar in decorations/default.conf

centifanto avatar Dec 29 '25 21:12 centifanto

This is really a significant change. I will provide an update very soon.

mylinuxforwork avatar Dec 29 '25 21:12 mylinuxforwork

It's not that big of a deal. Only the syntax changed but most stayed the same. No need to comment out, transforming syntax is easy enough of just copy above pasted if they match (could use some tweaking for the floating windows)

I can't figure out what's wrong with the hyprpaper. Still didn't hunt down the reason why it fails silently. Do others have the same issue? Wallpaper not showing?

vjeko2404 avatar Dec 29 '25 21:12 vjeko2404

yeah wallpaper is gone for me too

centifanto avatar Dec 29 '25 22:12 centifanto

Setting the wallpaper statically via hyprctl hyprpaper wallpaper ',PATH/TO/WALLPAPER' works, but it forgets it at reboot. I had to go

exec-once=hyprpaper
exec-once=sleep 2 && hyprctl hyprpaper wallpaper ',PATH/TO/WALLPAPER'

in my .config/hypr/hyprland.conf.

Bit annoyed at this … just my luck that I update in a rush today of all days when they drop a new major version of Hyprland.

It also seems like some dependency for hyprpaper is broken at the moment:

error: failed to prepare transaction (could not satisfy dependencies)
:: installing hyprtoolkit (0.5.0-1) breaks dependency 'libhyprtoolkit.so=4-64' required by hyprpaper

Edits: Typos …

monobasicity avatar Dec 29 '25 22:12 monobasicity

I didn't have to add exec-once=hyprpaper to my configuration. The wallpaper appeared when I changed the .config/hypr/hyprpaper.conf to:

wallpaper {
  monitor = DP-1
  path = /home/user/Pictures/wallpaper/default.jpg
}

wallpaper {
  monitor = DP-2
  path = /home/user/Pictures/wallpaper/default.jpg
}

(I have two monitors).

Here too, the syntax has changed according to the documentation. This is ofc. only a temporary solution until the fix is applied. The old "preload" and "wallpaper" syntax won't work anymore.

vjeko2404 avatar Dec 29 '25 22:12 vjeko2404

Ah, my bad! Going to have another look and fix my changes tomorrow.

monobasicity avatar Dec 29 '25 22:12 monobasicity

I didn't have to add exec-once=hyprpaper to my configuration. The wallpaper appeared when I changed the .config/hypr/hyprpaper.conf to:

wallpaper {
  monitor = DP-1
  path = /home/user/Pictures/wallpaper/default.jpg
}

wallpaper {
  monitor = DP-2
  path = /home/user/Pictures/wallpaper/default.jpg
}

~~hmm this did not work for me, even after running hyprctl reload. double checked my image path and monitor names~~

EDIT: I need more coffee.....running silent hyprpaper >/dev/null 2>&1 & loaded the the wallpaper, but that means I have to keep the terminal open

centifanto avatar Dec 29 '25 22:12 centifanto

I didn't have to add exec-once=hyprpaper to my configuration. The wallpaper appeared when I changed the .config/hypr/hyprpaper.conf to:

wallpaper {
  monitor = DP-1
  path = /home/user/Pictures/wallpaper/default.jpg
}

wallpaper {
  monitor = DP-2
  path = /home/user/Pictures/wallpaper/default.jpg
}

~hmm this did not work for me, even after running hyprctl reload. double checked my image path and monitor names~

EDIT: I need more coffee.....running silent hyprpaper >/dev/null 2>&1 & loaded the the wallpaper, but that means I have to keep the terminal open

Did you try to restart pc? That is how it worked for me.

vjeko2404 avatar Dec 29 '25 22:12 vjeko2404

Did you try to restart pc? That is how it worked for me.

That worked 👍

My autostart programs are now not starting in the right workspace either, but maybe a separate issue? .config/hypr/conf/autostart.conf

centifanto avatar Dec 29 '25 23:12 centifanto

I used swaybg instead of hyprpaper for fixing issue with black screen.

r-chul avatar Dec 30 '25 00:12 r-chul

@IllestRat @vjeko2404 Just pushed an update to the Rolling Release including the new windowrule syntax for Hyprland 0.53.x

mylinuxforwork avatar Dec 30 '25 10:12 mylinuxforwork

For wallpaper, I suggest to install swww with sudo pacman -S swww open Waypaper and select swww as the new wallpaper engine. Works on my system.

mylinuxforwork avatar Dec 30 '25 10:12 mylinuxforwork

Error messages are all gone but the ml4w apps are currently not opening in floating mode.

mylinuxforwork avatar Dec 30 '25 10:12 mylinuxforwork

Since I run 4K resolution, I tweaked the position like this (example):

# ML4W Sidebar floating
windowrule {
  name = ml4w-sidebar
  match:class = ^com\.ml4w\.sidebar$

  float = true
  pin = true
  size = 400 660
  move = 3420 60
}

I have no problem opening ml4w apps in floating mode.

vjeko2404 avatar Dec 30 '25 10:12 vjeko2404

Since I run 4K resolution, I tweaked the position like this (example):

# ML4W Sidebar floating
windowrule {
  name = ml4w-sidebar
  match:class = ^com\.ml4w\.sidebar$

  float = true
  pin = true
  size = 400 660
  move = 3420 60
}

I have no problem opening ml4w apps in floating mode.

OK. Need to update the syntax again.

mylinuxforwork avatar Dec 30 '25 10:12 mylinuxforwork