You are not logged in.
I'm on a phone, quoting is a pain... no EFI needed on the CD (you had asked that earlier, too. Sorry for the silence!)
Yes, include libreoffice-gtk in the standard ISO and leave the CD pipemenu alone for now. We can move that Tip to Getting Started for better visibility.
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
re: bl-exit, minus 480 from screen width... will that work with an 800px wide netbook?
Last edited by hhh (2017-03-27 06:09:53)
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
^No. That would only leave 320px for the box - it needs at least 540.
https://forums.bunsenlabs.org/viewtopic … 818#p47818
Meanwhile, can we assume that the minimum screen width a BL user is likely to have would be 1024px?
800px netbooks wasn't something I thought of at all. But, do they have CD drives?
...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
Lol, no! Good catch, let's go with that bl-exit config.
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
I had an Acer netbook as my main rig for a year, and others here use them, but it shouldn't be many people. It's not hard to exit the config at all.
8G slow SSD, I do not miss you.
Last edited by hhh (2017-03-27 06:53:50)
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
I'd vote yes on adding hard-info unless there's something more useful we could add. What did Imbecil request many months ago?
I've done some some searching, but couldn't track it down.
No-one objects if I add hardinfo to the various package lists and add a menu entry under "Accessories"?
...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
No objection here. I'd take silence for approval right now, everyone is either busy or distracted, I guess.
iMBeCil suggested make, brought in by bl-welcome dev tools if needed, and bash-completion.
"Ass face", not my proudest moment and yet completely satisfying. Hot-head Has, I love me.
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
OK
I fixed the linebreak in welcome-live-cd and will add some bl-exit config and build CD10 in a moment...
...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
Was there any change to the volume config? My multimedia volume-up isn't doing anything, but the keyboard is nearly shot so that might be it.
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
^No haven't touched volume recently. I'll do a check with the laptop I've installed the CD on.
It'll take a few min, this box has a MOBO issue and takes ~5min to wake up...
EDIT: volume keys working OK here. It must be your keyboard I guess.
...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
My clumsy python coding has managed to get bl-exit to use screen width percentage, and stops it getting too small and causing the icons to overlap. I will try and tidy it up and post the relevant section here.
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
CD10 built but not tested. Have to go, and away for 3 days so just putting it up here for now.
Should have memtest boot entry, bl-exit smaller and linebreaks fixed.
https://drive.google.com/file/d/0B7BNzo … sp=sharing
sha256: 8bc898e6d9a1c99e3bc5065aff18a2f135c527cd5a970bac8393eef06ab41880
live-image-i386-CD10.hybrid.iso
...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
My clumsy python coding has managed to get bl-exit to use screen width percentage, and stops it getting too small and causing the icons to overlap. I will try and tidy it up and post the relevant section here.
OK, so this works on screen width and height percentage. Max values can't exceed screen size, min values can't go below icon size.
In class BlexitMerlin(Blexit)
def construct_ui(self):
# get width of the monitor where the cursor is
try:
display=gtk.gdk.Display(gtk.gdk.get_display())
screen, x, y, flags=display.get_pointer()
curmon = screen.get_monitor_at_point(x, y)
_, _, screen_width, screen_height = screen.get_monitor_geometry(curmon)
except:
self.bl_exit.on_error('Error in construct_ui: Not running under X')
finally:
del x, y, display, screen, curmon
try:
_width_adjustment = int(self.configured_theme.settings.get('windowWidthPercent', 0))
width = (screen_width * _width_adjustment)/100
if width > screen_width:
width = screen_width
if width < 0:
width = -1
except:
self.on_debug('Problem with windowWidthPercent')
try:
_height_adjustment = int(self.configured_theme.settings.get('windowHeightPercent', 0))
height = (screen_height * _height_adjustment)/100
if height > screen_height:
height = screen_height
if height < 0:
height = -1
except:
self.on_debug('Problem with windowHeightPercent')
# self.icon_heights is initialized here, and appended to in add_button
# Delay setting window dimensions until after building self.bva
try:
self.icon_heights = [int(self.configured_theme.settings.get('windowHeightPercent'))]
self.icon_ht = []
except:
self.on_debug("windowHeightPercent is not set or is not an int")
self.icon_heights = []
pass
# Cancel key (Escape)
accelgroup = gtk.AccelGroup()
key, mod = gtk.accelerator_parse('Escape')
accelgroup.connect_group(key, mod, gtk.ACCEL_VISIBLE, gtk.main_quit)
self.window.add_accel_group(accelgroup)
self.button_box = gtk.HBox()
self.button_box.set_spacing(0)
try:
self.button_box.set_size_request(-1, int(self.configured_theme.settings.get('windowHeightPercent', -1)))
except:
self.on_debug("windowHeightPercent is not set or is not an int")
pass
try:
self.button_box.set_spacing(int(self.configured_theme.settings.get('buttonSpacing', 0)))
except:
self.on_debug("windowHeightPercent is not set or is not an int")
pass
self.build_button_visibility_array()
num_buttons = 0
for button in self.bva:
(action, label, actionfunc, method, show, onError) = button
if not show == 0:
self.add_button(show, actionfunc, label=label, btype=actionToMethod[action])
num_buttons +=1
self.status = gtk.Label()
if len(self.icon_heights) > 0:
self.windowHeightPercent = max(self.icon_heights)
min_width = max(self.icon_ht) * num_buttons
min_height = max(self.icon_ht)
else:
self.windowHeightPercent = -1
spaces = self.configured_theme.settings.get('buttonSpacing') * (num_buttons + 1)
if min_width + spaces > width:
width = min_width + spaces
if min_height > height:
height = min_height
self.window.set_size_request(width, height)
vbox = gtk.VBox()
vbox.pack_start(self.button_box)
self.window.add(vbox)
self.window.set_opacity(0)
self.window.show_all()
try:
for o in range(1, int(self.configured_theme.settings.get('overallOpacity'))):
sleep(float(self.configured_theme.settings.get('sleepDelay')))
while gtk.events_pending():
gtk.main_iteration(False)
self.window.set_opacity(float(o)/100.0)
except:
self.on_debug("Opacity is not fully configured")
pass
self.window.set_keep_above(True)
In bl-exitrc I have changed "dialogHeight" to "windowHeightPercent", and "windowWidthAdjustment" to "windowWidthPercent"
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
@damo, yet again I have to shut down and go elsewhere, so too brief, but I'm wavering on whether to do an immediate upgrade of bunsen-utilities (containing your bl-exit code) for the isos right now, or not...
Of course the closer we can get the new-user experience to perfection, without requiring a post-install upgrade, the better, and I'm in two minds myself. One small point: backwards compatibility for users who are already using the old "dialogHeight" and "windowWidthAdjustment" settings... (not many probably)
Percentage sizing would certainly be a big improvement in appearance for users with very wide/narrow screens.
---
OTOH with pipemenus, I think I've got a fix (bit of work while I was offline last 3 days) for the "Mirage Image Viewer" menu thing that frees us from having to update the code later. It looks possible to have whatever app the user has chosen as "bl-image-viewer" marked in that way, and put at the top of the menu. Likewise for "bl-media-player"...
---
Has, how long before the new isos are slipping into Too Late territory?
...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
@damo I'm getting some errors with that code. I pasted it into bl-exit to replace
def construct_ui(self)
Right?
In my bl-exitrc I have 'windowHeightPercent=20'
but it's reporting: 'DEBUG bl-exit windowHeightPercent is not set or is not an int'
john@bunsen1:~$ bl-exit
DEBUG bl-exit theme config option windowWidthAdjustment is not set for theme dark
DEBUG bl-exit theme config option dialogHeight is not set for theme dark
Loading theme 'Dark Theme' by MerlinElMago
DEBUG bl-exit windowHeightPercent is not set or is not an int
DEBUG bl-exit config section default not present
DEBUG bl-exit config section cancel show=1
DEBUG bl-exit config section cancel onerror=0
DEBUG bl-exit config section default not present
DEBUG bl-exit config section logout show=1
DEBUG bl-exit config section logout onerror=0
DEBUG bl-exit config section default not present
DEBUG bl-exit config section suspend show=1
DEBUG bl-exit config section suspend onerror=0
DEBUG bl-exit config section default not present
DEBUG bl-exit config section hibernate show=0
DEBUG bl-exit config section hibernate onerror=0
DEBUG bl-exit config section default not present
DEBUG bl-exit config section hybridsleep show=0
DEBUG bl-exit config section hybridsleep onerror=0
DEBUG bl-exit config section default not present
DEBUG bl-exit config section reboot show=1
DEBUG bl-exit config section reboot onerror=0
DEBUG bl-exit config section default not present
DEBUG bl-exit config section poweroff show=1
DEBUG bl-exit config section poweroff onerror=0
Traceback (most recent call last):
File "/usr/bin/bl-exit", line 868, in <module>
sys.exit(main())
File "/usr/bin/bl-exit", line 865, in main
return blexit.main()
File "/usr/bin/bl-exit", line 703, in main
self.construct_ui()
File "/usr/bin/bl-exit", line 674, in construct_ui
min_width = max(self.icon_ht) * num_buttons
AttributeError: 'BlexitMerlin' object has no attribute 'icon_ht'
And here's $HOME/config/bl-exit/bl-exitrc (minus comments):
# DEFAULT BUTTON CONFIGURATION FOR bl-exit
### BUTTONS ############################################################
[cancel]
show = always
onerror = novisual
[logout]
show = always
onerror = novisual
[suspend]
show = always
onerror = novisual
[sleep]
show = always
onerror = novisual
[hibernate]
show = never
onerror = novisual
[hybridsleep]
show = never
onerror = novisual
[reboot]
show = always
onerror = novisual
[poweroff]
show = always
onerror = novisual
[style]
dir = styles
rcfile = grey.rc
### THEME to be used ###################################################
# When the [theme] section is not present or commented out
# or the [theme] section is present and the 'theme' entry is set to
# 'classic', use the 'classic' ButtonBox layout.
[theme]
# set the theme
theme = dark
### THEME settings #####################################################
[bunsen-small]
name = Default small Bunsen theme
author = BunsenLabs
#Overall height of the dialog.
dialogHeight=130
#Delay for the fade in counter
sleepDelay=0.001
#OverallOpacity of the dialog (0-100)
overallOpacity=80
#Space between Buttons
buttonSpacing=0
# path to icon files
iconpath=/usr/share/images/bunsen/exit/dark
#Button textures (i.e. the images on them)
buttonImageCancel=cancel.png
buttonImagePowerOff=poweroff.png
buttonImageReboot=reboot.png
buttonImageSuspend=sleep.png
buttonImageLogout=logout.png
buttonImageHybridSleep=hibernate.png
buttonImageHibernate=hibernate.png
# windowWidthAdjustment - subtract this number (px) from monitor width to get window width
windowWidthAdjustment=0
windowHeightPercent=20
windowWidthPercent=40
[dark]
name=Dark Theme
author=MerlinElMago
#Overall height of the dialog.
#dialogHeight=150
#Delay for the fade in counter
sleepDelay=0.003
#OverallOpacity of the dialog (0-100)
overallOpacity=100
#Space between Buttons
buttonSpacing=5
# path to icon files
iconpath=/usr/share/images/bunsen/exit/dark
#Button textures (i.e. the images on them)
buttonImageCancel=cancel.png
buttonImagePoweroff=poweroff.png
buttonImageReboot=reboot.png
buttonImageSuspend=sleep.png
buttonImageLogout=logout.png
buttonImageHybridSleep=hibernate.png
buttonImageHibernate=hibernate.png
# windowWidthAdjustment - subtract this number (px) from monitor width to get window width
#windowWidthAdjustment=0
windowHeightPercent=20
windowWidthPercent=40
[light]
name=Light Theme
author=BunsenLabs
#Overall height of the dialog.
dialogHeight=150
#Delay for the fade in counter
sleepDelay=0.003
#OverallOpacity of the dialog (0-100)
overallOpacity=100
#Space between Buttons
buttonSpacing=5
# path to icon files
iconpath=/usr/share/images/bunsen/exit/light
#Button textures (i.e. the images on them)
buttonImageCancel=cancel.png
buttonImagePoweroff=poweroff.png
buttonImageReboot=reboot.png
buttonImageSuspend=sleep.png
buttonImageLogout=logout.png
buttonImageHybridSleep=hibernate.png
buttonImageHibernate=hibernate.png
# windowWidthAdjustment - subtract this number (px) from monitor width to get window width
windowWidthAdjustment=
[minimal]
name = Minimal working theme
author = BunsenLabs
#Delay for the fade in counter
sleepDelay=0.003
#OverallOpacity of the dialog (0-100)
overallOpacity=75
# path to icon files
iconpath=/usr/share/images/bunsen/exit/light
#Button textures (i.e. the images on them)
buttonImageCancel=cancel.png
buttonImagePowerOff=poweroff.png
buttonImageReboot=reboot.png
buttonImageSuspend=sleep.png
buttonImageLogout=logout.png
buttonImageHybridSleep=hibernate.png
buttonImageHibernate=hibernate.png
# windowWidthAdjustment - subtract this number (px) from monitor width to get window width
windowWidthAdjustment=
...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
@John, let's follow Debian policy again and release, more or less, when it's ready. I think the pipemenu fix would be good to have.
I'll try and carve out some time to do some forum re-organizing. The EFI ISOs that you've posted just need to be in a more prominenet place until the "Official" ones are out.
If we could release before or on April 29th, our Hydrogen 1 year anniversary, that would be great. But again, not critical. More damage can be done by fixing a broken release than by delaying it, IMO, and since this is about EFI support and a few niggles, let's get the niggles right.
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
@john, that code is nowhere near good enough to go in bl-exit - it was just as a proof-of-concept, and anyway I have seen several errors in it! Some of the original vars don't do what I thought they did, so it is a happy accident that the dialog resizes reasonably 8o
FWIW you still have 'windowWidthAdjustment' and 'dialogHeight' uncommented in your bl-exitrc.
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
I, not being a coder, have to agree with hhh: Release when it's ready!
BL should be about quality not quantity. Quantity being programmed release dates, ready or not. Look at the problems with Ubuntu releases. (Well, I'm going back to the time when I used Ubuntu and Xubuntu).
And if there needs to be a public statement to that affect I'm willing to post one and field the "But I want it now!" garbage and assure the people that it is "actively" being developed.
Last edited by johnraff-admin (2022-07-03 04:13:55)
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Regarding bl-exit, the fancy python gui is very nice and all, but seems like a remarkably complex process. Wouldn't a simple yad-based dialog be more in keeping with BL, and put the python BLexit one in bunsen-extras?
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
Regarding bl-exit, the fancy python gui is very nice and all, but seems like a remarkably complex process. Wouldn't a simple yad-based dialog be more in keeping with BL, and put the python BLexit one in bunsen-extras?
+1.
I've been playing with it and agree that it's complex. We really just need to execute openbox --exit and systemctl poweroff/reboot/suspend/hibernate, don't we?
@damo and The Team, I remember during the discussion about divulging the live-build configs that John raised the point that everything that could be discussed in public, should be. I suggest that we adopt that by raising new proposals in the Development forum and discussing them there. If the noise level gets too high, we can bring the discussion here. If it's an issue where one is not sure if it should be private, open it here first.
How does that sound?
BTW, this was a good one to raise here first, I have a feeling there will be a flood of input from our members before John even has time to respond.
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline