dbarron
Can it just be configured to run a command aka 'init 0' or 'shutdown -f -h now'?
No. User Indicator functions for logout, hibernate, shutdown, etc. perform different operations and will almost always prompt a confirmation dialog:
- Hibernate: This calls our Lock Screen function then calls logind_interface.hibernate, which is a dbus call to
/org/freedesktop/login1
and is provided by logind.
- Lock Screen: This calls saver.lock, which is a dbus call to
/org/gnome/ScreenSaver
- Logout: This calls session.Logout, which is a dbus call to
/org/gnome/SessionManager
- Reboot: This performs an async session.Reboot call. See dbus call info for Logout.
- Shutdown: This performs an async session.Shutdown call. See dbus call info for Logout.
- Suspend: This calls our Lock Screen function then calls logind_interface.shutdown, which is a dbus call to
/org/freedesktop/login1
and is provided by logind.
So no, it can't be configured to do that, even if I wanted it to. Which I don't. Your best option is to write your own daemon that handles all of this and doesn't even rely on Budgie.