You are not logged in.

#141 2019-08-07 19:06:35

brogild
Member
Registered: 2019-07-04
Posts: 59

Re: bl-exit replacement suggestions

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

#142 2019-08-07 21:22:31

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: bl-exit replacement suggestions

brogild wrote:

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

#143 2019-08-10 18:04:58

d33vliter
New Member
Registered: 2019-08-10
Posts: 4

Re: bl-exit replacement suggestions

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

#144 2019-08-11 06:41:51

d33vliter
New Member
Registered: 2019-08-10
Posts: 4

Re: bl-exit replacement suggestions

damo wrote:

Icons only; Horizontal text only; Vertical aligned...

bb-exit.sh -mi &
bb-exit.sh -m &
bb-exit.sh -v &

https://cdn.scrot.moe/images/2019/03/03/exit.th.jpg

the v is perfect

Offline

#145 2019-10-08 16:56:38

manyroads
Member
From: around here, somewhere
Registered: 2019-04-16
Posts: 158
Website

Re: bl-exit replacement suggestions

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

123884634_yad-logout-2.png 123884685_yad-logout-1.png


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

#146 2019-11-06 18:09:55

dolly
Miss Mixunderstand
From: /lab701
Registered: 2015-10-03
Posts: 490

Re: bl-exit replacement suggestions

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. smile

Last edited by dolly (2019-11-06 18:14:04)

Offline

#147 2019-11-06 20:47:53

Naik
Member
From: the edge of insanity
Registered: 2015-10-03
Posts: 328

Re: bl-exit replacement suggestions

dolly wrote:

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. smile

I second that!


"Kaum macht [Mensch]* es richtig, funktioniert es sofort!"
BL-Kitchen Codeberg

Offline

#148 2019-11-07 04:21:35

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,557
Website

Re: bl-exit replacement suggestions

dolly wrote:

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 )

Introduction to the Bunsenlabs Boron Desktop

Offline

#149 2019-11-29 16:16:48

dolly
Miss Mixunderstand
From: /lab701
Registered: 2015-10-03
Posts: 490

Re: bl-exit replacement suggestions

^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? smile

Offline

#150 2019-11-29 16:45:32

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,032
Website

Re: bl-exit replacement suggestions

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

#151 2019-11-29 18:22:27

dolly
Miss Mixunderstand
From: /lab701
Registered: 2015-10-03
Posts: 490

Re: bl-exit replacement suggestions

@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.  wink


Edit; aaaaah, yes of course. That yad thing. I am :8 as usual.  roll

Last edited by dolly (2019-11-30 15:40:48)

Offline

#152 2019-11-29 18:28:04

deleted0
Guest

Re: bl-exit replacement suggestions

dolly wrote:

Am eeeeh... visiting another Debian Openbox atm.  wink

Do tell... :-)

8bit

Board footer

Powered by FluxBB