You are not logged in.
It's only a tiny niggle, and probably irrelevent if bl-exit is going away, but I would like it if the highlighted entry 'wrapped around' when using the arrow keys.
Told you it was tiny.
Offline
It's only a tiny niggle, and probably irrelevent if bl-exit is going away, but I would like it if the highlighted entry 'wrapped around' when using the arrow keys.
Told you it was tiny.
bl-exit isn't going away: the new default version uses yad as the frontend for a bash script, instead of gtk buttons for a python script. It should be possible to get the behaviour you want, but it would entail a lot of scripting to achieve, AFAICS.
You are welcome to have a go!
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Good afternoon, I don't have internet to give a better answer and contribute, but I found the topic interesting. With everything I saw, I think that the most logical and that will work in the future is to make a basic script zenity, yad(like those on page 2) that fulfills its function. so it's easy, nice, configurable and long term in case you have to modify something, plus it can work in any distro without giving problems. It would be perfect to maintain the simplicity of what was crunchbang, to look beautiful, modern and workable and above all light. When I get home I get on the wave to see what I can contribute, I'm excited. Greetings!
Last edited by d33vliter (2019-08-10 18:07:05)
Offline
Icons only; Horizontal text only; Vertical aligned...
bb-exit.sh -mi & bb-exit.sh -m & bb-exit.sh -v &
the v is perfect
Offline
FWIW here's the yad script I use in bspwm (I'm thinking of using on my BunsenLabs (Lithium) MX19 build.
#! /bin/bash
action=$(yad --width 300 --entry --title "System Logout" \
--image=gnome-shutdown \
--button="Switch User:2" \
--button="gtk-ok:0" --button="gtk-close:1" \
--text "Choose action:" \
--entry-text \
"Power Off" "Reboot" "Suspend" "Logout")
ret=$?
[[ $ret -eq 1 ]] && exit 0
if [[ $ret -eq 2 ]]; then
gdmflexiserver --startnew &
exit 0
fi
case $action in
Power*) cmd="sudo /sbin/poweroff" ;;
Reboot*) cmd="sudo /sbin/reboot" ;;
Suspend*) cmd="sudo pm-suspend" ;;
Logout*)
case $(wmctrl -m | grep Name) in
*Openbox) cmd="openbox --exit" ;;
*bspwm) cmd="bspc quit" ;;
*Metacity) cmd="gnome-save-session --kill" ;;
*) exit 1 ;;
esac
;;
*) exit 1 ;;
esac
eval exec $cmd
Pax vobiscum,
Mark Rabideau - https://many-roads.com https:/eirenicon.org
i3wm, dwm, hlwm on sid/ arch ~ Reg. Linux User #449130
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
Offline
The default bl-exit menu in Lithium is looking really good, and fits well into the general default theme scheme.
One thing it needs though in my opinion, is a stronger marking of which button is active when moving from one to another with the arrow keys. A strong easily recognizable contrast that leaves the user without doubt of which of the buttons that is chosen. Just a small suggestion.
Last edited by dolly (2019-11-06 18:14:04)
Offline
The default bl-exit menu in Lithium is looking really good, and fits well into the general default theme scheme.
One thing it needs though in my opinion, is a stronger marking of which button is active when moving from one to another with the arrow keys. A strong easily recognizable contrast that leaves the user without doubt of which of the buttons that is chosen. Just a small suggestion.
I second that!
"Kaum macht [Mensch]* es richtig, funktioniert es sofort!"
BL-Kitchen Codeberg
Offline
a stronger marking of which button is active when moving from one to another with the arrow keys. A strong easily recognizable contrast that leaves the user without doubt of which of the buttons that is chosen.
Agree. I'm not sure how easy it will be to fix though. Maybe @hhh can tweak the GTK theme a bit?
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
^Ok, I just noticed one thing that might help with this. I am not sure but will try to explain. The problem is that the small dots that kind of mark the choice is nearly invisible. At the least to me.
I have just been editing a couple of documents in Libre Office that were originally saved as docx files. When I were finished with editing and wanted to save them, Libre wanted to know if I wanted them as odf or docx files. To choose one over the other I had to move between them with the arrow keys. The dots were clearly visible there, no problem to recognize them at all. The difference were that the dots were more in the center of the button, and not so close to the margin of the button. Maybe they were a tiny wee bit bigger too.
Could that be a possible tweak to bl-exit?
Offline
The yad styling options are limited, as far as I can tell. Just use the shortcuts. Enter for logout, Alt+S for suspend, Alt+b for reboot, Alt+P for Power Off. Pressing Alt when the exit dialog opens shows you the letter highlights. I remap bl-exit to Alt+X so I'm already over the Alt key for the next input.
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
@hhh; Ok styling options are what they are, so no point in wasting time on it. Thank you for the shortcuts tip! Will definetely try that next time I am on Lithium.
Am eeeeh... visiting another Debian Openbox atm.
Edit; aaaaah, yes of course. That yad thing. I am :8 as usual.
Last edited by dolly (2019-11-30 15:40:48)
Offline
Am eeeeh... visiting another Debian Openbox atm.
Do tell... :-)
8bit