Hey everyone.
Basically I need to do what the title says. I did have xfce4-power-manager installed and had it set there (had the setting disabled so that it wouldn’t suspend after inactive), but xfce4-notifyd was creating problems with dunst which I installed and setup last night, so I removed xfce4-power-manager and xfce4-logind.
However now after a few minutes of not doing anything my PC sleeps. There must be a setting somewhere I can edit which is the same thing xfce4 uses to implement this, no? Either a file or another power manager software which will not cause problems with my dunst.
Thanks in advance for all your help and suggestions!
Arch Wiki has a bunch you can try to dig through https://wiki.archlinux.org/title/Power_management However if it were me I’d just reinstall the power manager if that was easy for you to manage. You can turn off the xfce-4 notifier at that point since they both won’t be able to access the dbus at the same time. Look at /usr/share/dbus-1/services/org.xfce.xfce4-notityd.Notifications.service Then change Name=org.freedesktop.Notifications to Name=org.freedesktop.NotificationsNone and reboot.
OK Im ready now :) If I install the xfce4-power-manager, how can I turn off the notifier and keep dunst as my notifier? Thanks
Open /usr/share/dbus-1/services/org.xfce.xfce4-notityd.Notifications.service in a text editor, like nano, vim, etc. For instance, in terminal type nano /usr/share/dbus-1/services/org.xfce.xfce4-notityd.Notifications.service This will open the file org.xfce.xfce4-notityd.Notifications.service In that file, find the line Name=org.freedesktop.Notifications Change that line to read Name=org.freedesktop.NotificationsNone Save the file, in nano it’s ctrl+x it will ask if you want to modify file,type y for yes. Next it will ask if you want to keep file the same name, just hit enter. Then reboot your computer.
Thanks, will install xfce4-power-manager to try this and report back :)
Edit: This seems to work. I have both a power manager and dunst working. Thanks!
Ill try that, but I’ll probably need some clarification about what exactly you mean. I read the wiki page and thats where I initially decided to use xfce4 power manager from. As for the rest could you please explain a bit deeper? Im relatively new to arch so I need steps broken down :)
What DE/WM are you using right now?
Im on bspwm
Caffeine works good for me on i3
From what Ive read caffeine seems to be for temporarily disabling suspend functionality in a specific context. e.g. when running a certain task. It doesn’t disable the automatic suspend functionality in general, which is what I want. I have a “sleep” key on my keyboard which I use when I need to, but all other times I need my PC to be awake.
It stops the auto sleep function for me when enabled, it has the option to be “on” and “on when x app is running”
You could even tell it to never let your system sleep when your wm is running
Ah ok cool. Ill try it out if disabling xfce4-notifyd doesn’t work out. Thanks