aboutsummaryrefslogtreecommitdiff
path: root/src/usr/share/doc
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-03-10 21:18:03 -0400
committerB Stack <bgstack15@gmail.com>2020-03-10 21:18:03 -0400
commitd118309b08c28c7ef7656828fe092d6c85a2e344 (patch)
tree37dd8d76da6d50fdbd5fa7fb2ab1d00738738bba /src/usr/share/doc
parentadd desktop file, some readme contents (diff)
downloadlogout-manager-d118309b08c28c7ef7656828fe092d6c85a2e344.tar.gz
logout-manager-d118309b08c28c7ef7656828fe092d6c85a2e344.tar.bz2
logout-manager-d118309b08c28c7ef7656828fe092d6c85a2e344.zip
WIP: add lm-helper
lm-helper has most functionality there. needs work on logout, and bash_completion function.
Diffstat (limited to 'src/usr/share/doc')
-rw-r--r--src/usr/share/doc/logout-manager/README.md9
-rw-r--r--src/usr/share/doc/logout-manager/logout-manager.conf.example16
2 files changed, 25 insertions, 0 deletions
diff --git a/src/usr/share/doc/logout-manager/README.md b/src/usr/share/doc/logout-manager/README.md
index baa6aeb..7b8ed3d 100644
--- a/src/usr/share/doc/logout-manager/README.md
+++ b/src/usr/share/doc/logout-manager/README.md
@@ -7,6 +7,15 @@ Logout Manager is a python3 utility that provides a simple menu for logout-type
* Shutdown
* Reboot
+## Customization
+The `lm-helper` logout command needs to be customized for every desktop environment. Some may need extra configurationon the window manager/desktop environment side.
+### Fluxbox
+For Fluxbox, you need to set a value in ~/.fluxbox/init
+
+ session.screen0.allowRemoteActions: true
+
+Be aware that this is insecure. See man `fluxbox-remote(1)`.
+
## Alternatives
[oblogout](https://launchpad.net/oblogout) looks really old so I did not investigate personally, but it sounds like it does the same thing I am trying to do.
`apt-cache search logout` shows [lxsession-logout](http://manpages.ubuntu.com/manpages/precise/en/man1/lxsession-logout.1.html) which was compiled, as well as does not provide configurable options for changing executed commands or icons.
diff --git a/src/usr/share/doc/logout-manager/logout-manager.conf.example b/src/usr/share/doc/logout-manager/logout-manager.conf.example
new file mode 100644
index 0000000..1a14909
--- /dev/null
+++ b/src/usr/share/doc/logout-manager/logout-manager.conf.example
@@ -0,0 +1,16 @@
+[logout-manager]
+hibernate_command="printf 'disk' | sudo tee /sys/power/state"
+lock_command="xscreensaver --locknow"
+logout_command="logout from something"
+reboot_command="sudo shutdown -r now"
+shutdown_command="sudo shutdown -h now"
+
+[icons]
+size = 24
+#theme = default
+# use names as used by the icon theme, or give a full path here
+hibernate = system-hibernate
+lock = system-lock-screen
+logout = system-log-out
+reboot = system-reboot
+shutdown = system-shutdown
bgstack15