end-4 / dots-hyprland

Modern, feature-rich and accessible desktop configuration.
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
3.16k stars 204 forks source link

Hyprland-related components not showing up #462

Open end-4 opened 2 months ago

end-4 commented 2 months ago
          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 https://github.com/end-4/dots-hyprland/issues/428#issuecomment-2089860108

end-4 commented 2 months ago

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

JonathanDonald03 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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

TechLionDev commented 2 months ago

Just The Downgrade Worked For me

On Sun, May 5, 2024 at 1:15 PM thegouhund @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/end-4/dots-hyprland/issues/462#issuecomment-2094882431, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYP25PHGSEWCLHKG6B4WXUDZAZSLJAVCNFSM6AAAAABHDJXK3SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUHA4DENBTGE . You are receiving this because you commented.Message ID: @.***>

-- [image: avatar]

Jeremiah Ihab Samuel

CEO & Founder / TechLion Dev

Website: www.techlion.dev

Email: @.***

Phone: +1 (732) 862-7627 <+1+(732)+862-7627>

[image: social-icon-youtube] @.***>

[image: social-icon-github] https://github.com/JeremiahISDev

[image: social-icon-whatsapp] https://wa.me/+17328627627

[image: social-icon-discord] https://discordapp.com/users/852760353297137664

JonathanDonald03 commented 2 months ago

The downgrade worked for me as well

emmie-2973 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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.