You are not logged in.
Hopefully live-build for Bullseye will be corrected so that it won't depend on LILO which is now being orphaned as referenced in this bug report: https://bugs.debian.org/cgi-bin/bugrepo … bug=973850.
Real Men Use Linux
Offline
Thanks for replying. At the moment I haven't got / made the room on my hard drive to install it, but I expect I will soon.
From what I've seen of the live disk though, it looks quite dark but classy - it's not drab in the way a lot of the darker-themed distros are.
Thank you!
Hopefully live-build for Bullseye will be corrected so that it won't depend on LILO which is now being orphaned as referenced in this bug report: https://bugs.debian.org/cgi-bin/bugrepo … bug=973850.
Yes! Saw somewhere that it was being taken care of, but didn't read the particulars on why. Thanks for posting the link!
Offline
Colonel Panic wrote:Thanks for replying. At the moment I haven't got / made the room on my hard drive to install it, but I expect I will soon.
From what I've seen of the live disk though, it looks quite dark but classy - it's not drab in the way a lot of the darker-themed distros are.
Thank you!
DeepDayze wrote:Hopefully live-build for Bullseye will be corrected so that it won't depend on LILO which is now being orphaned as referenced in this bug report: https://bugs.debian.org/cgi-bin/bugrepo … bug=973850.
Yes! Saw somewhere that it was being taken care of, but didn't read the particulars on why. Thanks for posting the link!
No problem and LILO is pretty damn old anyway with hardly any distros still offering it. GRUB/GRUB2 do a much better job nowadays.
Anyhow, some of your work ought to be in BL in some way shape or form. Your work's pretty darn good!
Last edited by DeepDayze (2021-03-07 02:20:05)
Real Men Use Linux
Offline
Here is my new minimal Lilidog-Sid build) Grab it Here: https://sourceforge.net/projects/lilido … /Releases/
This will also be the theme I will use for bullseye when that occurs.
Like my other Minimal build, you basically get Pcmanfm, Geany, Mousepad, and Urxvt. Then extras like conky,compton, dunst, etc... This leaves the user to install web browsers, office programs, media players, and other extra programs in order to get only the items they want. This also means updating ~/.config/openbox/menu.xml in an editor, as Obmenu is no longer available is sid. This is easy to do. Or, as an alternative, open items through the Debian Menu at the cost of your sanity. (There are also three other lightweight WM's to choose from through the Lightdm login screen.
This build comes in at 826MB after download.
A few notes about sid, and/or this build.
Conky does not display ram usage or net up/down speeds correctly in Sid at the present moment. There is already a patch, so should be fixed soon. Middle-Click the battery for htop.
The LWA Hotcorners script only works correctly in Openbox. In the other WM's another window must be opened first, so I've left it off the menu. Maybe an easy script fix for this?
I actually really liked the bounceback of the CB-Hotcorners script if anybody has updated it for Bullseye/Sid?
No more OBmenu in sid. Was hoping to find a patch or another program. Anyway, will be looking at options here, but may leave it go. There are obvious alternatives like jgmenu I need to look into.
I'm still using my old theme in the installer itself for a bit longer. Kinda gotta theme it blind so it takes a minute or five.
Lots of changes as I learn more. Hopefully my full build will have a few more needed additions along with the usual assortment of upgraded packages and scripts.
Let me know how it goes! Guessing this theme may suit people better than the dark theme.
I only have 4/5 wallpapers in /Pictures/wallpapers for now. Right-click to "Set as Wallpaper". I need to add a few nice ones to the collection to be sure.
Offline
Can't go wrong with jgmenu and I am sure it can be used in WM's other than openbox in Sid considering OBmenu is gone. Maybe @Malm can help in that regard.
Nice theme btw!
Last edited by DeepDayze (2021-03-17 00:30:15)
Real Men Use Linux
Offline
I actually really liked the bounceback of the CB-Hotcorners script if anybody has updated it for Bullseye/Sid?
I haven't tried it on Bullseye, but here is my Python3 version of the script. It uses bl-xinerama-prop for screen dimensions btw.
#!/usr/bin/env python3
#
# bl-hotcorners: a script for adding hot corners to Openbox.
# Copyright (C) 2012 Philip Newborough <corenominal@corenominal.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Renamed for BunsenLabs
# Converted to Python3, and more config options added by damo
from Xlib import display
from Xlib.ext.xtest import fake_input
from Xlib import X
from subprocess import Popen, PIPE, STDOUT
import sys, time, os, configparser, re
import argparse
ap = argparse.ArgumentParser(description="Hotcorners")
ap.add_argument("-k", "--kill", help="attempt to kill any running instances",
action="store_true")
ap.add_argument("-d", "--daemon", help="run daemon and listen for cursor triggers",
action="store_true")
opts = ap.parse_args(sys.argv[1:])
# p = Popen(['xdotool','getdisplaygeometry'], stdout=PIPE, stderr=STDOUT)
# use bl helper script to get screen dimensions where the cursor is
p = Popen(['bl-xinerama-prop'], stdout=PIPE, stderr=STDOUT)
Dimensions = p.communicate()
Dimensions = Dimensions[0].decode('utf8').replace('\n', '')
Dimensions = Dimensions.split(' ')
width = int(Dimensions[0])
height = int(Dimensions[1])
#print('width= ',width,' height= ',height)
hw = width / 2
rt = width - 1
bt = height - 1
if opts.kill:
print("Attempting to kill any running instances...")
os.system('pkill -9 -f bl-hotcorners')
exit()
elif opts.daemon:
Config = configparser.ConfigParser()
cfgdir = os.getenv("HOME")+"/.config/bl-hotcorners"
rcfile = cfgdir+"/bl-hotcornersrc"
bounce = 100
disp = display.Display()
root=display.Display().screen().root
def mousepos():
data = root.query_pointer()._data
return data["root_x"], data["root_y"], data["mask"]
def mousemove(x, y):
fake_input(disp, X.MotionNotify, x=x, y=y)
disp.sync()
try:
cfgfile = open(rcfile)
except IOError as e:
if not os.path.exists(cfgdir):
os.makedirs(cfgdir)
cfgfile = open(rcfile,'w')
Config.add_section('Hot Corners')
Config.set('Hot Corners','top_left_corner_command', 'gmrun')
Config.set('Hot Corners','top_right_corner_command', '')
Config.set('Hot Corners','bottom_left_corner_command', '')
Config.set('Hot Corners','bottom_right_corner_command', '')
Config.set('Hot Corners','polling_interval', '0.2')
Config.set('Hot Corners','corner_delay', '0.2')
Config.set('Hot Corners','bounce_distance', '50')
Config.write(cfgfile)
cfgfile.close()
while True:
Config.read(rcfile)
if Config.get('Hot Corners','polling_interval') != '':
check_intervall = Config.getfloat('Hot Corners','polling_interval')
if Config.get('Hot Corners','bounce_distance') != '':
bounce = Config.getint('Hot Corners','bounce_distance')
if Config.get('Hot Corners','corner_delay') != '':
delay = Config.getfloat('Hot Corners','corner_delay')
time.sleep(check_intervall)
pos = mousepos()
if pos[0] == 0 and pos[1] == 0:
if Config.get('Hot Corners','top_left_corner_command') != '':
time.sleep(delay)
pos = mousepos()
if pos[0] == 0 and pos[1] == 0:
mousemove(pos[0] + bounce, pos[1] + bounce)
os.system('(' + Config.get('Hot Corners','top_left_corner_command') + ') &')
mousemove(pos[0] + bounce, pos[1] + bounce)
time.sleep(2)
elif pos[0] == rt and pos[1] == 0:
if Config.get('Hot Corners','top_right_corner_command') != '':
time.sleep(delay)
pos = mousepos()
if pos[0] == rt and pos[1] == 0 :
mousemove(pos[0] - bounce, pos[1] + bounce)
os.system('(' + Config.get('Hot Corners','top_right_corner_command') + ') &')
mousemove(pos[0] - bounce, pos[1] + bounce)
time.sleep(2)
elif pos[0] == 0 and pos[1] == bt:
if Config.get('Hot Corners','bottom_left_corner_command') != '':
time.sleep(delay)
pos = mousepos()
if pos[0] == 0 and pos[1] == bt:
mousemove(pos[0] + bounce, pos[1] - bounce)
os.system('(' + Config.get('Hot Corners','bottom_left_corner_command') + ') &')
mousemove(pos[0] + bounce, pos[1] - bounce)
time.sleep(2)
elif pos[0] == rt and pos[1] == bt:
if Config.get('Hot Corners','bottom_right_corner_command') != '':
time.sleep(delay)
pos = mousepos()
if pos[0] == rt and pos[1] == bt:
mousemove(pos[0] - bounce, pos[1] - bounce)
os.system('(' + Config.get('Hot Corners','bottom_right_corner_command') + ') &')
mousemove(pos[0] - bounce, pos[1] - bounce)
time.sleep(2)
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
Conky does not display ram usage or net up/down speeds correctly in Sid at the present moment. There is already a patch, so should be fixed soon. Middle-Click the battery for htop.
^obtaining or incorporating the patch is certainly more complicated than @Nili's simple ram code.
If you remember, the bug with network speed in sid I had noticed on systems that were switched to networkd and I saw the real cause here.
In the meantime I found out by accident that this is not the case.
I can not (yet) explain a solution.
Last edited by unklar (2021-03-17 12:14:37)
Offline
Can't go wrong with jgmenu and I am sure it can be used in WM's other than openbox in Sid considering OBmenu is gone. Maybe @Malm can help in that regard.
Nice theme btw!
---
Thank you!
It certainly seems that Malm's excellent work is the defacto replacement for the menu issue. Looking forward to checking it out!
Still hoping for an obmenu update from a disgruntled programmer on github somewhere.
Offline
I actually really liked the bounceback of the CB-Hotcorners script if anybody has updated it for Bullseye/Sid?
I haven't tried it on Bullseye, but here is my Python3 version of the script. It uses bl-xinerama-prop for screen dimensions btw.
#!/usr/bin/env python3 # # bl-hotcorners: a script for adding hot corners to Openbox. # Copyright (C) 2012 Philip Newborough <corenominal@corenominal.org> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # # Renamed for BunsenLabs # Converted to Python3, and more config options added by damo from Xlib import display from Xlib.ext.xtest import fake_input from Xlib import X from subprocess import Popen, PIPE, STDOUT import sys, time, os, configparser, re import argparse ap = argparse.ArgumentParser(description="Hotcorners") ap.add_argument("-k", "--kill", help="attempt to kill any running instances", action="store_true") ap.add_argument("-d", "--daemon", help="run daemon and listen for cursor triggers", action="store_true") opts = ap.parse_args(sys.argv[1:]) # p = Popen(['xdotool','getdisplaygeometry'], stdout=PIPE, stderr=STDOUT) # use bl helper script to get screen dimensions where the cursor is p = Popen(['bl-xinerama-prop'], stdout=PIPE, stderr=STDOUT) Dimensions = p.communicate() Dimensions = Dimensions[0].decode('utf8').replace('\n', '') Dimensions = Dimensions.split(' ') width = int(Dimensions[0]) height = int(Dimensions[1]) #print('width= ',width,' height= ',height) hw = width / 2 rt = width - 1 bt = height - 1 if opts.kill: print("Attempting to kill any running instances...") os.system('pkill -9 -f bl-hotcorners') exit() elif opts.daemon: Config = configparser.ConfigParser() cfgdir = os.getenv("HOME")+"/.config/bl-hotcorners" rcfile = cfgdir+"/bl-hotcornersrc" bounce = 100 disp = display.Display() root=display.Display().screen().root def mousepos(): data = root.query_pointer()._data return data["root_x"], data["root_y"], data["mask"] def mousemove(x, y): fake_input(disp, X.MotionNotify, x=x, y=y) disp.sync() try: cfgfile = open(rcfile) except IOError as e: if not os.path.exists(cfgdir): os.makedirs(cfgdir) cfgfile = open(rcfile,'w') Config.add_section('Hot Corners') Config.set('Hot Corners','top_left_corner_command', 'gmrun') Config.set('Hot Corners','top_right_corner_command', '') Config.set('Hot Corners','bottom_left_corner_command', '') Config.set('Hot Corners','bottom_right_corner_command', '') Config.set('Hot Corners','polling_interval', '0.2') Config.set('Hot Corners','corner_delay', '0.2') Config.set('Hot Corners','bounce_distance', '50') Config.write(cfgfile) cfgfile.close() while True: Config.read(rcfile) if Config.get('Hot Corners','polling_interval') != '': check_intervall = Config.getfloat('Hot Corners','polling_interval') if Config.get('Hot Corners','bounce_distance') != '': bounce = Config.getint('Hot Corners','bounce_distance') if Config.get('Hot Corners','corner_delay') != '': delay = Config.getfloat('Hot Corners','corner_delay') time.sleep(check_intervall) pos = mousepos() if pos[0] == 0 and pos[1] == 0: if Config.get('Hot Corners','top_left_corner_command') != '': time.sleep(delay) pos = mousepos() if pos[0] == 0 and pos[1] == 0: mousemove(pos[0] + bounce, pos[1] + bounce) os.system('(' + Config.get('Hot Corners','top_left_corner_command') + ') &') mousemove(pos[0] + bounce, pos[1] + bounce) time.sleep(2) elif pos[0] == rt and pos[1] == 0: if Config.get('Hot Corners','top_right_corner_command') != '': time.sleep(delay) pos = mousepos() if pos[0] == rt and pos[1] == 0 : mousemove(pos[0] - bounce, pos[1] + bounce) os.system('(' + Config.get('Hot Corners','top_right_corner_command') + ') &') mousemove(pos[0] - bounce, pos[1] + bounce) time.sleep(2) elif pos[0] == 0 and pos[1] == bt: if Config.get('Hot Corners','bottom_left_corner_command') != '': time.sleep(delay) pos = mousepos() if pos[0] == 0 and pos[1] == bt: mousemove(pos[0] + bounce, pos[1] - bounce) os.system('(' + Config.get('Hot Corners','bottom_left_corner_command') + ') &') mousemove(pos[0] + bounce, pos[1] - bounce) time.sleep(2) elif pos[0] == rt and pos[1] == bt: if Config.get('Hot Corners','bottom_right_corner_command') != '': time.sleep(delay) pos = mousepos() if pos[0] == rt and pos[1] == bt: mousemove(pos[0] - bounce, pos[1] - bounce) os.system('(' + Config.get('Hot Corners','bottom_right_corner_command') + ') &') mousemove(pos[0] - bounce, pos[1] - bounce) time.sleep(2)
---
Yes! Awesome:)
Making a "full" build sid install on this computer right now to try this out:) I haven't tried to build against Bullseye yet. Figured I would work with sid to get everything organized first. Should be simple back the other direction.
Will have to grab the "bl-xinerama-prop" package as well.
"resistance is futile" Ha! Continuously pulled back into the fold:) Cracks me up to no end. Wouldn't have it any other way. BL rocks. Always a saving grace when none are to be found.
Offline
sleekmason wrote:Conky does not display ram usage or net up/down speeds correctly in Sid at the present moment. There is already a patch, so should be fixed soon. Middle-Click the battery for htop.
^obtaining or incorporating the patch is certainly more complicated than @Nili's simple ram code.
![]()
If you remember, the bug with network speed in sid I had noticed on systems that were switched to networkd and I saw the real cause here.
In the meantime I found out by accident that this is not the case.I can not (yet) explain a solution.
---
Looks like systemd may well be the culprit. If you "downgrade" Conky to the stable version in sid you will still have this and the ram problem.
So, not a Conky problem at first/all. Don't know why they made changes to the way values are read.
Offline
Looks like systemd may well be the culprit.
No.
The culprit is NOT systemd.
The culprit is convert.lua AND my inattention.
Offline
sleekmason wrote:Looks like systemd may well be the culprit.
No.
The culprit is NOT systemd.
The culprit is convert.lua AND my inattention.![]()
Convert.lua script is not perfect and usually have to do a bit of manual cleanup to get the converted conky working correctly in some cases.
Last edited by DeepDayze (2021-03-17 18:21:15)
Real Men Use Linux
Offline
Still hoping for an obmenu update from a disgruntled programmer on github somewhere.
You know, of course, that "obmenu" does not provide the openbox menu? It's just a GUI for editing openbox's menu.xml ...or was - apart from needing an upgrade to use python3, it seems to have been abandoned by the developer.
...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
sleekmason wrote:Still hoping for an obmenu update from a disgruntled programmer on github somewhere.
You know, of course, that "obmenu" does not provide the openbox menu? It's just a GUI for editing openbox's menu.xml ...or was - apart from needing an upgrade to use python3, it seems to have been abandoned by the developer.
---
Yes:) I don't use it myself because I add icons to the entries and Obmenu doesn't. (Not that I am aware anyway). Easy enough to grab a section and paste it back, but I can see where people might get confused.
Just seems like folks should have an easy way to edit the menu on the fly.
I think there were two or three dependencies for Obmenu that were no longer going to be available in Bullseye.
Go figure. You would think as popular as it is, Openbox would have a couple of different menu editors available.
Last edited by sleekmason (2021-03-18 02:27:31)
Offline
Python2 will be gone from Bullseye as I understand it, so obmenu might need a lot of rewriting - by the Debian maintainer since upstream have dropped it. Understandable if he didn't feel like taking it on.
Openbox is still somewhat popular, but doesn't have much of a long-term future IMO. Even if Wayland fails, X is still a mess that will have to be replaced with something else eventually.
...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
You would think as popular as it is, Openbox would have a couple of different menu editors available.
Most of openbox' popularity stems from LXDE/LXQt, where it is used solely as a window manager - the root menu is not used at all (at least not by default).
That said, I completely switched over to obmenu-generator which allows for creating a fixed or dynamic menu, with your own entries and an XDG menu as well. And menu items to regenerate it: fixed or dynamic, with or without icons etc. Powerful.
Editing its schema.pl file is definitely easier than editing openbox' menu.xml.
Offline
Python2 will be gone from Bullseye as I understand it, so obmenu might need a lot of rewriting - by the Debian maintainer since upstream have dropped it. Understandable if he didn't feel like taking it on.
Openbox is still somewhat popular, but doesn't have much of a long-term future IMO. Even if Wayland fails, X is still a mess that will have to be replaced with something else eventually.
---
Been reading up a bit on Wayland. It looks like a workaround for X using Xwayland exists but things like this are never ideal.
I remember you writing about all this a while back as being the instigation for the change to Jgmenu in BL, due to the upcoming WM change that would be required when switching to Wayland?
Honestly looks like quite a mess for all of the smaller WM's. Have you all decided on a future replacement yet?
Further reading for those interested.
https://wiki.archlinux.org/index.php/wayland
Wayland-Wiki
Last edited by sleekmason (2021-03-18 15:43:17)
Offline
sleekmason wrote:You would think as popular as it is, Openbox would have a couple of different menu editors available.
Most of openbox' popularity stems from LXDE/LXQt, where it is used solely as a window manager - the root menu is not used at all (at least not by default).
That said, I completely switched over to obmenu-generator which allows for creating a fixed or dynamic menu, with your own entries and an XDG menu as well. And menu items to regenerate it: fixed or dynamic, with or without icons etc. Powerful.
Editing its schema.pl file is definitely easier than editing openbox' menu.xml.
---
I saw obmenu-generator a while back, but it either wasn't available in Buster at the time, or I just couldn't figure it out. Looks like a new view is in order:)
All sorts of changes coming down the pike for the full build. New theme, Losing the toggles between the wm's except for JWM, and Openbox, and switching back to using pcmanfm for wallpaper control with desktop icons now available are just a few of them. Good stuff.
*Edit - Obmenu-generator is looking like a real possibility now! Thanks:)
Last edited by sleekmason (2021-03-18 14:13:58)
Offline
sleekmason wrote:You would think as popular as it is, Openbox would have a couple of different menu editors available.
Most of openbox' popularity stems from LXDE/LXQt, where it is used solely as a window manager - the root menu is not used at all (at least not by default).
That said, I completely switched over to obmenu-generator which allows for creating a fixed or dynamic menu, with your own entries and an XDG menu as well. And menu items to regenerate it: fixed or dynamic, with or without icons etc. Powerful.
Editing its schema.pl file is definitely easier than editing openbox' menu.xml.
Obmenu-generator has been around a while and looks like not much development in a while. Does it still work for you and wondering if it will still work in bullseye/sid?
Maybe this can be an alternative for obmenu editor for those who prefer using the OB session rather than the BL/jgmenu session.
Real Men Use Linux
Offline