Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyprland-related components not showing up #462

Open
end-4 opened this issue May 2, 2024 · 16 comments
Open

Hyprland-related components not showing up #462

end-4 opened this issue May 2, 2024 · 16 comments

Comments

@end-4
Copy link
Owner

end-4 commented May 2, 2024

          I have had the same problem where changing the wallpaper caused material colors to not generated, and AGS to mess up. But now after clean building all the packages uninstalling and installing and running switchwall.sh. The workspaces on the bar have dissappeared

20240502_10h04m56s_grim
And the workspace view when pressing Super is missing

Originally posted by @JonathanDonald03 in #428 (comment)

@end-4 end-4 changed the title I have had the same problem where changing the wallpaper caused material colors to not generated, and AGS to mess up. But now after clean building all the packages uninstalling and installing and running switchwall.sh. The workspaces on the bar have dissappeared Hyprland-related components not showing up May 2, 2024
@end-4
Copy link
Owner Author

end-4 commented May 2, 2024

can you provide the logs of ags? run pkill ags; ags

@JonathanDonald03
Copy link

pkill ags; ags

(com.github.Aylur.ags:2084): Gjs-WARNING **: 11:18:23.969: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

Gjs-Console-Message: 11:18:24.097: [LOG] Styles loaded

(com.github.Aylur.ags:2084): Gjs-Console-CRITICAL **: 11:18:24.373: Sway is not running
^C⏎

@end-4
Copy link
Owner Author

end-4 commented May 2, 2024

not sway, but is this hyprland? looks like it is, but just to be sure
with this very unclear warning message i'm clueless unfortunately

@JonathanDonald03
Copy link

Yes it is Hyprland on Arch I used your install script on a fresh install of arch. I'm not sure about the Sway error message as I don't even as Sway installed

@thegouhund
Copy link

thegouhund commented May 3, 2024

I have this same issue. Changed my wallpaper yesterday and some problem with color generation, now i reinstalled it. no component is showing up.

this happens when i press SUPER key

getWindow@resource:///com/github/Aylur/ags/app.js:138:27
ToggleWindow@resource:///com/github/Aylur/ags/app.js:281:24
_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:329:38
_wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34```

@TechLionDev
Copy link

I Believe This is Result of #475

20240502_10h04m56s_grim And the workspace view when pressing Super is missing

That Is EXACTLY how it looks after the Hyprland Update
@JonathanDonald03 What Version Of Hyprland Are You Running?

@JonathanDonald03
Copy link

Hyprland, built from branch main at commit 4ed6b69b68a544a81cec583a1ad8aff218f7db5d (socket2: fix empty activewindowv2 events).
Date: Wed May 1 14:57:32 2024
Tag: v0.39.1-119-g4ed6b69b, commits: 4579

@TechLionDev
Copy link

Using The package (downgrade from AUR)[https://aur.archlinux.org/packages/downgrade] try to install hyprland (v0.39.0)[https://github.com/hyprwm/Hyprland/releases/tag/v0.39.0] ik that fixes it temporarily

@thegouhund
Copy link

I solved this by downgrading to hyprland (v0.39.0) and run
./update-ags.sh

@TechLionDev
Copy link

TechLionDev commented May 5, 2024 via email

@JonathanDonald03
Copy link

The downgrade worked for me as well

@emmie-2973
Copy link

I'm having the same issues, but not sure how to downgrade... Do I just get the [v0.39.0.tar.gz] from the github release page and install it using "pacman -U"? Since the aur downgrade package would only work for packages from the official repositories, wouldn't it?

@TechLionDev
Copy link

This is how I Did it:

  1. Install downgrade from AUR, either manually or using yay/paru
  2. Install hyprland v0.39.0 by running sudo downgrade hyprland
  3. Use The Arrow Keys To Navigate To The Desired Version (At The Time Of This Reply its Number 29/35)
    Hope This Helps!

@clsty
Copy link
Collaborator

clsty commented May 7, 2024

This is how I Did it:

1. Install [downgrade](https://aur.archlinux.org/packages/downgrade) from AUR, either manually or using yay/paru

2. Install hyprland v0.39.0 by running `sudo downgrade hyprland`

3. Use The Arrow Keys To Navigate To The Desired Version (At The Time Of This Reply its Number 29/35)
   Hope This Helps!

Wow, that seems much easier than manually downloading PKGBUILD and makepkg -o and git checkout ... which I usually do for downgrading, good to know it.

@emmie-2973
Copy link

This is how I Did it:

  1. Install downgrade from AUR, either manually or using yay/paru
  2. Install hyprland v0.39.0 by running sudo downgrade hyprland
  3. Use The Arrow Keys To Navigate To The Desired Version (At The Time Of This Reply its Number 29/35)
    Hope This Helps!

thanks! that did work...until I rebooted my system, which somehow broke the colors.conf file (only $ placeholder values , e.g. "$onSurface" instead of rgba values), and now I've got only text instead of icons everywhere...

image

tried to reinstall using the script, but hyprland-git fails to build... with this error:

[526/549] Compiling C++ object src/Hyprland.p/protocols_Screencopy.cpp.o ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting... -> error making: hyprland-git-exit status 4 -> Failed to install the following packages. Manual intervention is required: hyprland-git - exit status 4

I'll try uninstalling hyprland and then installing hyprland-git again maybe...

@emmie-2973
Copy link

emmie-2973 commented May 7, 2024

ok, now after doing some research everything seems to be working again... I'll just leave some notes here in case anyone has similar problems:

  1. hyprland-git not installing: according to https://aur.archlinux.org/packages/hyprland-git#comment-970938, in order to build the package, hyprwayland-scanner-git is now required, instead of just hyprwayland-scanner, so uninstall that one & hyprwayland-scanner-debug, then install hyprwayland-scanner-git & build hyprland-git
  2. ags icons not showing/colors not working: see https://github.com/end-4/dots-hyprland/issues/428, TL;DR: clean-build the following packages: python-materialyoucolor-git gradience-git python-libsass python-material-color-utilities & try picking new wallpaper/colors, should work now

I've now got hyprland-git 0.40.0.r23.d3d77ef8-1 installed (i.e. latest git version), initially all ags components were working, but after rebooting, it's back to where I started, workspaces not showing etc., guess at least it's not more broken now than it was before. not sure if I'll try downgrading again considering that mess, but thanks anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants