Open Anik200 opened 3 months ago
most probably some an environment variable issue, but can't really help you without you also sharing the config
most probably some an environment variable issue, but can't really help you without you also sharing the config
https://github.com/mewoocat/NixOS/tree/ags-overhaul here are the config files i am using
I was facing the same issue. For me, it was because sass was installed locally in my home directory, and my Hyprland config didn't have the updated PATH variable I was setting. I installed it system-wide and no longer have the issue
I was facing the same issue. For me, it was because sass was installed locally in my home directory, and my Hyprland config didn't have the updated PATH variable I was setting. I installed it system-wide and no longer have the issue
this is what mine looks like
something interesting happened, when i moved ags to /usr/bin/
it throws this error
@Anik200 what happens when you type the full path to ags in your Hyprland config?
The issue got fixed once i put exec-once=/usr/local/bin/ags
Instead of exec-once=ags
. Thanks everyone for their time :)
The issue got fixed once i put
exec-once=/usr/local/bin/ags
Instead ofexec-once=ags
. Thanks everyone for their time :)
It's strange but providing an absolute path did not work for me. AGS launches fine from the command line but not using exec-once in hyprland.conf. I'm on the just released 0.42 version of hyprland.
Here's part of my hyprland.conf env = XCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 env = QT_QPA_PLATFORM,wayland;xcb env = QT_QPA_PLATFORMTHEME,kde
env = QT_AUTO_SCREEN_SCALE_FACTOR,1 env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland env = XDG_SESSION_DESKTOP,Hyprland env = MOZ_ENABLE_WAYLAND,1 env = OZONE_PLATFORM,wayland
exec-once = hyprpaper & hypridle exec-once = /usr/local/bin/ags
exec-once = /usr/libexec/polkit-kde-authentication-agent-1
exec-once = wl-paste --type text --watch cliphist store #Stores only text data exec-once = wl-paste --type image --watch cliphist store #Stores only image data
The issue got fixed once i put
exec-once=/usr/local/bin/ags
Instead ofexec-once=ags
. Thanks everyone for their time :)It's strange but providing an absolute path did not work for me. AGS launches fine from the command line but not using exec-once in hyprland.conf. I'm on the just released 0.42 version of hyprland.
Here's part of my hyprland.conf env = XCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 env = QT_QPA_PLATFORM,wayland;xcb env = QT_QPA_PLATFORMTHEME,kde
env = QT_STYLE_OVERRIDE,kvantum
env = QT_AUTO_SCREEN_SCALE_FACTOR,1 env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland env = XDG_SESSION_DESKTOP,Hyprland env = MOZ_ENABLE_WAYLAND,1 env = OZONE_PLATFORM,wayland
env GTK_DEBUG=interactive waybar
Hyprland initialization options
exec-once = hyprpaper & hypridle exec-once = /usr/local/bin/ags
exec-once = waybar
exec-once = /usr/libexec/polkit-kde-authentication-agent-1
exec-once = swaync & # start notification demon
exec-once = wl-paste --type text --watch cliphist store #Stores only text data exec-once = wl-paste --type image --watch cliphist store #Stores only image data
forgot to mention you have to add env = ags,/usr/local/bin/ags
into your hyprland config too
same here
I'm still having problems with this. I added the env environment variable plus an absolute path to AGS in my exec-once command.
EDIT: I may have narrowed it down a bit. AGS seems to be launching and running in the background. When I launch ags from the command line, I get a warning that "a system tray is already running". If I comment out the exec-once command and reboot into hyprland, that warning disappears when I launch AGS from the command line. It seems to be related to this issue, but the resolution isn't clear enough. Not sure why AGS would launch with a different bus name.
I did add
exec-once= ags
but it wont start