this post was submitted on 14 Oct 2023
14 points (100.0% liked)

Arch Linux

7781 readers
11 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 1 year ago (1 children)

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

[–] [email protected] 0 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

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!