dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

[BUG] Problem with AGS Sidebar Hyprland Apps does nothing.

Open PerfMonk opened this issue 1 year ago • 5 comments

When I click on the sidebar "Hyprland app" nothing happens. The 2 other choices are ok (Welcome app and Settings app).

I'm not sure if this a general problem, may be just a config hiccup. If I choose "Hyprland settings" from the welcome app, it doesn't open either.

It's a new installation I made few days ago on Fedora 41. I'm not sure if I may have forgotten any element in the installation process but I have no idea of AGS behavior. So I don't really know where to look in config (other than ~/.config/ags where I didn't found any clue).

PrtScr_20241201115729

PerfMonk avatar Dec 01 '24 17:12 PerfMonk

Adding system info here :

Hyprland, built from branch at commit 4520b30d498daca8079365bdb909a8dea38e8d55 (version: bump to 0.44.1). Date: Wed Oct 9 12:54:39 2024 Tag: v0.44.1, commits: 5309 built against aquamarine 0.4.2

flags: (if any)

System Information: System name: Linux Node name: fido Release: 6.11.10-300.fc41.x86_64 Version: #1 SMP PREEMPT_DYNAMIC Sat Nov 23 00:51:20 UTC 2024

GPU information: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Lucienne [1002:164c] (rev c1) (prog-if 00 [VGA controller])

os-release: NAME="Fedora Linux" VERSION="41 (Workstation Edition)" RELEASE_TYPE=stable ID=fedora VERSION_ID=41 VERSION_CODENAME="" PLATFORM_ID="platform:f41" PRETTY_NAME="Fedora Linux 41 (Workstation Edition)" ANSI_COLOR="0;38;2;60;110;180" LOGO=fedora-logo-icon CPE_NAME="cpe:/o:fedoraproject:fedora:41" DEFAULT_HOSTNAME="fedora" HOME_URL="https://fedoraproject.org/" DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f41/system-administrators-guide/" SUPPORT_URL="https://ask.fedoraproject.org/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Fedora" REDHAT_BUGZILLA_PRODUCT_VERSION=41 REDHAT_SUPPORT_PRODUCT="Fedora" REDHAT_SUPPORT_PRODUCT_VERSION=41 SUPPORT_END=2025-12-15 VARIANT="Workstation Edition" VARIANT_ID=workstation

plugins:

PerfMonk avatar Dec 01 '24 17:12 PerfMonk

@PerfMonk Can you please try to restart the system? Then enter com.ml4w.hyprland.settings into a terminal. Any error messages?

mylinuxforwork avatar Dec 02 '24 22:12 mylinuxforwork

I get some warnings and then a traceback : Here it is :

❯ com.ml4w.hyprland.settings

*(process:70791): Gtk-WARNING **: 21:52:27.587: Theme parser error: gtk.css:7912:18-22: Expected a number(process:70791): Gtk-WARNING **: 21:52:27.587: Theme parser error: gtk.css:7924:18-22: Expected a number(process:70791): Adwaita-WARNING *: 21:52:27.620: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.:: Using configuration in: /home/bt/.config/ml4w-hyprland-settings:: hyprctl.sh updated in /home/bt/.config/ml4w-hyprland-settings:: Using default settings.json in /tmp/.mount_com.ml5t9HC7/usr/binTraceback (most recent call last): File "/tmp/.mount_com.ml5t9HC7/usr/bin/ml4w-hyprland-settings.py", line 86, in do_activate self.initUI() ~~~~~~~~~~~^^ File "/tmp/.mount_com.ml5t9HC7/usr/bin/ml4w-hyprland-settings.py", line 134, in initUI value = self.getKeywordValue(i["keyword"]) File "/tmp/.mount_com.ml5t9HC7/usr/bin/ml4w-hyprland-settings.py", line 367, in getKeywordValue if int_val == "1": ^^^^^^^UnboundLocalError: cannot access local variable 'int_val' where it is not associated with a value

===================================

Le lun. 2 déc. 2024 à 17:29, Stephan Raabe @.***> a écrit :

@PerfMonk https://github.com/PerfMonk Can you please try to restart the system? Then enter com.ml4w.hyprland.settings into a terminal. Any error messages?

— Reply to this email directly, view it on GitHub https://github.com/mylinuxforwork/dotfiles/issues/508#issuecomment-2513096866, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFZAWISERH6ETPC5D7M2QL2DTNMNAVCNFSM6AAAAABSZ34GU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJTGA4TMOBWGY . You are receiving this because you were mentioned.Message ID: @.***>

--

Bernard Tremblay @.*** R: (418) 658-1411 C: (581) 988-1411

Le but de Linux est de gérer vos ressources et faire le travail, le but des OS propriétaire est de vous vendre d'autres licences...

PerfMonk avatar Dec 03 '24 02:12 PerfMonk

And after hitting ctrl-c I got the following messages:

^CTraceback (most recent call last): File "/tmp/.mount_com.ml5t9HC7/usr/bin/ml4w-hyprland-settings.py", line 423, in app.run(sys.argv) ~~~~~~~^^^^^^^^^^ File "/usr/lib64/python3.13/site-packages/gi/overrides/Gio.py", line 40, in run with register_sigint_fallback(self.quit): with wakeup_on_signal(): return Gio.Application.run(self, *args, **kwargs) File "/usr/lib64/python3.13/contextlib.py", line 148, in exit next(self.gen) ~~~~^^^^^^^^^^ File "/usr/lib64/python3.13/site-packages/gi/_ossighelper.py", line 237, in register_sigint_fallback signal.default_int_handler(signal.SIGINT, None) ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ KeyboardInterrupt

Le lun. 2 déc. 2024 à 21:54, Bernard Tremblay @.***> a écrit :

I get some warnings and then a traceback : Here it is :

❯ com.ml4w.hyprland.settings

*(process:70791): Gtk-WARNING **: 21:52:27.587: Theme parser error: gtk.css:7912:18-22: Expected a number(process:70791): Gtk-WARNING **: 21:52:27.587: Theme parser error: gtk.css:7924:18-22: Expected a number(process:70791): Adwaita-WARNING *: 21:52:27.620: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.:: Using configuration in: /home/bt/.config/ml4w-hyprland-settings:: hyprctl.sh updated in /home/bt/.config/ml4w-hyprland-settings:: Using default settings.json in /tmp/.mount_com.ml5t9HC7/usr/binTraceback (most recent call last): File "/tmp/.mount_com.ml5t9HC7/usr/bin/ml4w-hyprland-settings.py", line 86, in do_activate self.initUI() ~~~~~~~~~~~^^ File "/tmp/.mount_com.ml5t9HC7/usr/bin/ml4w-hyprland-settings.py", line 134, in initUI value = self.getKeywordValue(i["keyword"]) File "/tmp/.mount_com.ml5t9HC7/usr/bin/ml4w-hyprland-settings.py", line 367, in getKeywordValue if int_val == "1": ^^^^^^^UnboundLocalError: cannot access local variable 'int_val' where it is not associated with a value

===================================

Le lun. 2 déc. 2024 à 17:29, Stephan Raabe @.***> a écrit :

@PerfMonk https://github.com/PerfMonk Can you please try to restart the system? Then enter com.ml4w.hyprland.settings into a terminal. Any error messages?

— Reply to this email directly, view it on GitHub https://github.com/mylinuxforwork/dotfiles/issues/508#issuecomment-2513096866, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFZAWISERH6ETPC5D7M2QL2DTNMNAVCNFSM6AAAAABSZ34GU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJTGA4TMOBWGY . You are receiving this because you were mentioned.Message ID: @.***>

--

Bernard Tremblay @.*** R: (418) 658-1411 C: (581) 988-1411

Le but de Linux est de gérer vos ressources et faire le travail, le but des OS propriétaire est de vous vendre d'autres licences...

--

Bernard Tremblay @.*** R: (418) 658-1411 C: (581) 988-1411

Le but de Linux est de gérer vos ressources et faire le travail, le but des OS propriétaire est de vous vendre d'autres licences...

PerfMonk avatar Dec 03 '24 02:12 PerfMonk

Found something tonight. The fedora package python3-pyperclip was missing from install. It seems to be needed by Hyprland App. I have installed the package and everything works. So the solution would be to install the package during installation of ML4W for fedora 41.

+1 ;=)

PerfMonk avatar Dec 11 '24 04:12 PerfMonk

This workaround and now that he's moved to Flatpaks vs. AGS this bug should be closed

dwilliam62 avatar Feb 06 '25 16:02 dwilliam62

The Hyprland is not yet available as Flatpak yet. But will come soon.

mylinuxforwork avatar Feb 06 '25 17:02 mylinuxforwork