You are not logged in.
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
'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
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
Doc, she's beautiful!
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...
Also maybe set a minimum window width in case someone just wants one button craziness, or has a username like kklglgeeootttjudududmszzzzhhkyee.
Thanks for the great work here!
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
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
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
^ I think that setup of @MerlinElMago looks great, and it is going to be the next thing I start playing 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
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
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
@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
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
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
Ah, easy peasy lemon squeezy.
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
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
...
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
Another 'anyone' with another +1 for that wizard's suggested GUI. Very nice.
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 )
Offline
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
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
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
Offline
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
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
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
^^ 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