This indicator patches out gala-dependent functions, such as the shutdown dialog, so that it can be used with other window managers.
The first patch changes the "Shut Down..." menu item to immediately shut down the computer (via systemd's dbus).
The second patch changes the "Log Out..." menu item to immediately log out the current user (via gnome-session's dbus).
Neither will ask if you are sure, or wait for anything to finish.
How to build this package (without the aid of an AUR helper):
# git clone https://aur.archlinux.org/wingpanel-git.git
# cd wingpanel-git
# makechrootpkg -c -r $CHROOT
$ pacman -U --asdeps wingpanel-git-r637.15c0ad1-2-x86_64.pkg.tar.zst
# cd ..
# git clone https://aur.archlinux.org/wingpanel-indicator-session-standalone-git.git
# cd wingpanel-indicator-session-standalone-git
# makechrootpkg -c -r $CHROOT -I ../wingpanel-git/wingpanel-git-r637.15c0ad1-2-x86_64.pkg.tar.zst
$ pacman -U wingpanel-indicator-session-standalone-git-2.3.0.r53.g65dc4c1-1-x86_64.pkg.tar.zst
Pinned Comments
quequotion commented on 2021-09-04 17:49 (UTC) (edited on 2022-02-19 20:42 (UTC) by quequotion)
This indicator patches out gala-dependent functions, such as the shutdown dialog, so that it can be used with other window managers.
The first patch changes the "Shut Down..." menu item to immediately shut down the computer (via systemd's dbus).
The second patch changes the "Log Out..." menu item to immediately log out the current user (via gnome-session's dbus).
Neither will ask if you are sure, or wait for anything to finish.
How to build this package (without the aid of an AUR helper):