You are not logged in.
I am coming from Crunchbang/BunsenLabs. They use https://github.com/v1cont/yad as a frontend to generate a shutdown dialog box using a custom script bl-exit
I'm on my Arch machine for now, so I created this to help illustrate. Of course, this particular example does nothing, but in BunsenLabs, the bl-exit script pipes into the yad stdin to provide the logic behind the buttons.
$ yad --button="Lock" --button="Suspend" --button="Logout" --button="Reboot" --button="Shut Down"
Is there something similar on the official repositories and AUR? Probably something that is already themed (not the usual boring buttons).
I know awesomewm has its own exit screen module. I am on Openbox.
Last edited by bamboo1539 (2022-09-27 19:41:14)
Offline
Quickly looking over the 'bl-exit' script I couldn't find anything that would prevent you from using it on arch given you have 'yad' and 'polkit' installed (make sure whether you really want to have 'polkit' on your system - if you've used it before and didn't care, just go ahead), also set the lockscreen (command) of your choice in line #76 and put the script inside a directory that's in your $PATH (assign a key binding in openbox as well)...
Last edited by dogknowsnx (2022-09-24 16:23:58)
Why look for a ready-made one that meets your exact preferences when it's so easy to make your own exactly as you like it. E.g., mine from 11 years ago.
EDIT: though looking back at it now, there are some really silly bits that could just be completely removed to make it much simpler yet while still working the same.
Last edited by Trilby (2022-09-24 17:02:06)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
So far, it does look like I'll have to roll my own adapted solution. I would have preferred it were something maintained on the official repositories or at least on the AUR (might submit something?). Seeing the longevity of Trilby's solution, it looks like it's the way forward.
Offline
Well oblogout is in the AUR. And the fact that I used what I linked to 11 years ago speaks only to age, not longevity. I probably stopped using it about 10 years ago - just not in favor of an alternative, I just don't use any such tool now. Also note that while I don't know if anyone quietly picked it up and used it, in the course of 11 years, that thread has not had a single comment.
I posted it as one example of what can be done, not realy a proposed option to use (though you are certainly free to try it out). My main point, though, was that there is so incredibly little to such a tool that there hardly seems a point in a package. Just grab some icons you like from an image search and use any one of the on-screen display tools: I used tint2, but really one of the OSD tools would probably be simpler (11 years ago I just happened to be most familiar with tint2).
All this tool needs is a selection of icons, and a selection of actions. Given that you'll want to pick your own icons and write your own actions, what is it the "tool" needs to bring to the table: just the ability to give an on screen display, that's it. So don't search for lock/suspend/logout/etc tools, just search of OSD tools; there are then plenty of options even in the main repos. I'm not familiar with yad, but I'd not be surprised if it had options to display icons - in which case, why not just use that?
Last edited by Trilby (2022-09-25 12:48:21)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
osd ... thanks for the search term tip! I only find notify-osd and xosd for that. I dug in some more in yad's manpage. It does seem to have complex capabilities. I guess I'll start off with BunsenLabs' yad script, then.
Offline