You are not logged in.

#121 2016-07-12 20:17:33

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

Re: [OBSOLETE] The bunsenlabs 'exit' menu entry

Thanks! I'm in the middle of something, I'll test it in the next hour or so though.


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#122 2016-07-12 21:27:10

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

Re: [OBSOLETE] The bunsenlabs 'exit' menu entry

'bl-exit' doesn't seem to reading my '~/.config/bl-exitrc' - edits aren't appearing in the exit gui (same for all values)

'bl-exit' version:

__version__ = '2.0.1'

Copied '/etc/bl-exit/bl-exitrc' to '$HOME/.config/bl-exitrc', and added:

[cancel]
show = always
onerror = novisual

Am I doing something noobish?


EDIT:  Not such a noob after all - the path is wrong in the comments, as @hhh says (next post)

Path should be

$HOME/.config/bl-exit/bl-exitrc

Now it's working wink

Last edited by damo (2016-07-12 22:17:04)


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

#123 2016-07-12 21:38:57

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

Re: [OBSOLETE] The bunsenlabs 'exit' menu entry

Doc, she's beautiful!

Screenshot-07122016-052613PM.md.png

One more request... with a minimal option setup as shown above, the window Title gets garbled on a default BL install. I suggest changing lines #166 and #167 to...

            self.set_title("Log out " + getpass.getuser()
                           + "?")

The "Choose an option:" seems self-evident...

Screenshot-07122016-052800PM.md.png

Also maybe set a minimum window width in case someone just wants one button craziness, or has a username like kklglgeeootttjudududmszzzzhhkyee. smile

Thanks for the great work here!


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#124 2016-07-12 21:57:04

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

Re: [OBSOLETE] The bunsenlabs 'exit' menu entry

In case you haven't followed this thread, here's how to update before the commit gets added...

As root, open /usr/bin/bl-exit in a text editor and replace the existing file with the content shown here...

https://raw.githubusercontent.com/xaosf … in/bl-exit

As user, create the folder and file ~/.config/bl-exit/bl-exitrc with the content shown here...

https://raw.githubusercontent.com/xaosf … /bl-exitrc

@xaos52, the file location in the comment is wrong, it should say...

# CONFIGURATION:
#   To configure bl-exit buttons, copy this file to
#      $HOME/.config/bl-exit/bl-exitrc

Then show or hide buttons by setting them to "always" or "never" in the rc file.


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#125 2016-07-13 11:48:22

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: [OBSOLETE] The bunsenlabs 'exit' menu entry

Created new PR with requested changes.
Please test.

Have you seen this, hhh?

I know Damo has.

Your thoughts?
Any one?

Personally, I think it is an excellent option for smallish screen sizes.
Should we go for something like this for the default?
I am OK for implementing this (configurable, of course), but it would need a graphics guru - which I am not - to set up different themes and/or images.

Offline

#126 2016-07-13 12:39:32

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

Re: [OBSOLETE] The bunsenlabs 'exit' menu entry

^ I think that setup of @MerlinElMago looks great, and it is going to be the next thing I start playing with wink


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

#127 2016-07-13 19:27:01

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

Re: [OBSOLETE] The bunsenlabs 'exit' menu entry

OK, I've tried out the script, and there is an issue that needs resolving, IMO.

There is a "placeholder" image, 'None.png', which is used for Hibernate/HybridSleep when set to "always/maybe".
There is no indication in the gui that this is what will happen if you click on the buttons, which are (almost) blank! Ooops.

Apart from that, it looks great visually, especially with some transparency smile

Last edited by damo (2016-07-13 20:09:50)


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

#128 2016-07-13 20:55:23

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

Re: [OBSOLETE] The bunsenlabs 'exit' menu entry

@Doc, I hadn't seen that, that's gorgeous!

@damo, ditto!


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#129 2016-07-13 21:30:47

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

Re: [OBSOLETE] The bunsenlabs 'exit' menu entry

I'll look for that when I test it later. Is his scripting solid/can that be fixed?


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#130 2016-07-13 21:34:20

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

Re: [OBSOLETE] The bunsenlabs 'exit' menu entry

hhh wrote:

I'll look for that when I test it later. Is his scripting solid/can that be fixed?

The only thing that needs doing is having an appropriate image, instead of a 1px dot in the middle of a 100px square!


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

#131 2016-07-13 21:50:00

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

Re: [OBSOLETE] The bunsenlabs 'exit' menu entry

Ah, easy peasy lemon squeezy. smile


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#132 2016-07-13 21:56:29

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: [OBSOLETE] The bunsenlabs 'exit' menu entry

xaos52 wrote:

Created new PR with requested changes.
Please test.

Have you seen this, hhh?

I know Damo has.

Your thoughts?
Any one?

I'm an "anyone" ...  That's awesome ... I want it!
Must test ...

EDIT:  Errrrrr where is the code and images?


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#133 2016-07-13 22:26:12

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

Re: [OBSOLETE] The bunsenlabs 'exit' menu entry

Sector11 wrote:

...

EDIT:  Errrrrr where is the code and images?

In that thread...Dropbox link


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

#134 2016-07-14 03:05:07

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

Re: [OBSOLETE] The bunsenlabs 'exit' menu entry

Another 'anyone' with another +1 for that wizard's suggested GUI. Very nice.  cool

Go xaos and damo!!


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

#135 2016-07-14 09:01:22

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: [OBSOLETE] The bunsenlabs 'exit' menu entry

The  goal is to integrate his coding into the existing bl-exit and allow the user to choose a theme in the bl-exitrc config file. Absence of a [theme] section would then mean using the buttonbox that we are using now.

Offline

#136 2016-07-14 11:53:55

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: [OBSOLETE] The bunsenlabs 'exit' menu entry

Added another (cosmetic) commit to the deuterium branch.
Please test it.
More info in the PR log on github.

Thanks for the heads up, johnraff smile

Will now start on the integration of Merlin's code and images into bl-exit.
Will create a 'merlin' branch for it, if that is OK for everyone wink

Offline

#137 2016-07-14 14:20:16

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

Re: [OBSOLETE] The bunsenlabs 'exit' menu entry

xaos52 wrote:

The  goal is to integrate his coding into the existing bl-exit and allow the user to choose a theme in the bl-exitrc config file. Absence of a [theme] section would then mean using the buttonbox that we are using now.

I've been thinking about that. Would it mean shipping icons in the Bunsen icon themes?

The whole png set is only about 50kB, so it would be easy to include dark/light/tinted sets in a bunsen-exit theme package.

If they were svgs it allows the possibility that the tint could be scripted on a per-theme basis, which would only need to happen whenever the theme was changed.


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

#138 2016-07-14 16:44:52

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: [OBSOLETE] The bunsenlabs 'exit' menu entry

The script expects one png file per possible action in the directory containing the config file.
We could make the default config file (shipped with package bunsen-utilities) a combination of button configs (old style) commented out and an active [theme] section.

The presence of the [theme] section will trigger bl-exit to use the new UI with that default theme and the necessary png files shipped with bunsen-utilities.

Then we could offer a new optional bunsen-exit-themes package with different themes.
If we decide on using one svg file per theme, we will need a 'theme setter' script which allows the user to:

1. Present previews of the shipped themes, et the user choose one of the shipped themes and generate a new config file in the users home directory  $HOME/.config/bl-exit/bl-exitrc

2. generate the necessary png files from the shipped svg for the chosen theme file and copy them to the script dir.

Could this be done with yad?
If you think it can, I would suggest you do that part.

If not, I will create a new python script for it. In that case I will need the commands to generate the png's from the svg.

Your thoughts?
Anyone's thoughts?
Don't feel excluded.
Just jump in with suggestions.

Offline

#139 2016-07-14 18:43:06

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: [OBSOLETE] The bunsenlabs 'exit' menu entry

A first version is available at https://github.com/xaosfiftytwo/bunsen- … ree/merlin

clone the repo, copy the png images and bl-exitrc to ~/.config/bl-exit/ and test by cd-ing into dir bl-exit and running

bin/bl-exit

Known problem:
When using 2 monitors, configured for xinerama next to each other, the 'buttons' are spread over the combined width of both monitors.

PLease test.
Remarks are welcome.

Offline

#140 2016-07-14 18:48:25

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

Re: [OBSOLETE] The bunsenlabs 'exit' menu entry

^^ Isn't this getting unecessarily complicated for a briefly-visible exit panel?

How about just shipping 2 themes, with 2 sets of pngs: Dark and Light? And a selection of commented-out background colour hexcodes.

Anything more fancy can then be left to the user to play with.


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

Board footer

Powered by FluxBB