The officially official Devuan Forum!

You are not logged in.

#1 2017-05-31 19:30:53

spartrekus
Member
Registered: 2017-04-30
Posts: 132  

Is Blackbox still today a recommended or outdated WM ?

Hello,

The Blackbox WM is today still available on the repositories. Blackbox has always been a reliable WM. Since some years, there are less developments, and it may look a bit old, maybe

Small, stable, WM is no longer fashion, compared to modern, high features, heavy, comfortable, WMs and environment/desktop.

herewith the not so much maintained website:
http://blackboxwm.sourceforge.net/AboutBlackbox

Compiling didn't work much actually.

Image.cc: In member function 'void bt::Image::hgradient(const bt::Color&, const bt::Color&, bool)':
Image.cc:1350:42: error: 'memcpy' was not declared in this scope
       memcpy(p, data, width * sizeof(RGB));
                                          ^
Makefile:374: recipe for target 'Image.lo' failed
make[2]: *** [Image.lo] Error 1
make[2]: Leaving directory '/tmp/blackbox-0.70.1.orig/lib'
Makefile:285: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/blackbox-0.70.1.orig'
Makefile:212: recipe for target 'all' failed
make: *** [all] Error 2
linux@acer:/tmp/blackbox-0.70.1.orig$

Last edited by spartrekus (2017-05-31 19:35:19)

Offline

#2 2017-06-01 09:06:53

FOSSuser
Member
From: Surrey/Hants border UK
Registered: 2016-12-11
Posts: 167  

Re: Is Blackbox still today a recommended or outdated WM ?

If I remember, I switched to Fluxbox because it wasn't being maintained, but there are a lot of people who like & use Openbox nowadays, maybe you would like to give it a try.

Offline

#3 2017-06-02 20:03:47

spartrekus
Member
Registered: 2017-04-30
Posts: 132  

Re: Is Blackbox still today a recommended or outdated WM ?

FOSSuser wrote:

If I remember, I switched to Fluxbox because it wasn't being maintained, but there are a lot of people who like & use Openbox nowadays, maybe you would like to give it a try.

With Linux, it is always the same. When a software is good, stable, efficiently ugly and having low memory footprint, the project will be abandoned.
Always same story wink

I will miss blackbox when Wayland will come up !

Offline

#4 2017-06-02 21:02:53

greenjeans
Member
Registered: 2017-04-07
Posts: 541  
Website

Re: Is Blackbox still today a recommended or outdated WM ?

spartrekus wrote:
FOSSuser wrote:

If I remember, I switched to Fluxbox because it wasn't being maintained, but there are a lot of people who like & use Openbox nowadays, maybe you would like to give it a try.

With Linux, it is always the same. When a software is good, stable, efficiently ugly and having low memory footprint, the project will be abandoned.
Always same story wink

Isn't that the dang truth? Ya know people were telling me like 6 years ago or so to stop using gpicview and use something else because gpicview was no longer being developed.

6 years later and it STILL WORKS JUST FINE.

It is no longer developed because THERE WAS NOTHING LEFT TO DO because IT WORKS JUST FREAKIN FINE WITHOUT ANY MORE CODE NEEDED!!

Not sure why this is so hard to understand for some folks. If it ain't broke, it don't need fixin', and if it don't need fixin', that means IT'S STABLE AND WORKS JUST FINE!!

In truth i'd be happy if almost EVERY package on my system was like this, I don't care how old they are or if they are being developed. Some end-users just mindlessly "upgrade" everything they can at every opportunity and spend waaaaaaay more time than I have to spare, trying to repair the resulting carnage.


https://sourceforge.net/projects/vuu-do/
Vuu-do GNU/Linux, minimal Devuan-based openbox systems to build on, maximal versions if you prefer your linux fully-loaded.

Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

#5 2017-06-02 21:43:28

spartrekus
Member
Registered: 2017-04-30
Posts: 132  

Re: Is Blackbox still today a recommended or outdated WM ?

greenjeans wrote:
spartrekus wrote:
FOSSuser wrote:

If I remember, I switched to Fluxbox because it wasn't being maintained, but there are a lot of people who like & use Openbox nowadays, maybe you would like to give it a try.

With Linux, it is always the same. When a software is good, stable, efficiently ugly and having low memory footprint, the project will be abandoned.
Always same story wink

Isn't that the dang truth? Ya know people were telling me like 6 years ago or so to stop using gpicview and use something else because gpicview was no longer being developed.

6 years later and it STILL WORKS JUST FINE.

It is no longer developed because THERE WAS NOTHING LEFT TO DO because IT WORKS JUST FREAKIN FINE WITHOUT ANY MORE CODE NEEDED!!

Not sure why this is so hard to understand for some folks. If it ain't broke, it don't need fixin', and if it don't need fixin', that means IT'S STABLE AND WORKS JUST FINE!!

In truth i'd be happy if almost EVERY package on my system was like this, I don't care how old they are or if they are being developed. Some end-users just mindlessly "upgrade" everything they can at every opportunity and spend waaaaaaay more time than I have to spare, trying to repair the resulting carnage.

For that MS Windows is more stable. You can mostly run an exe from win95 to win 7 without troubles.

Due to high complexity to compile outdated libraries with modern ones, under Linux, it is likely that a sofware without dev will die, since no one will compile it.
look for instance, siag is not longer on any linux repositories. Since it has old libraries, no want will make it available. The problem is that libraries are changing all the time under Linux. Since there are no standards to keep a graphical libraries or other under certain defined basic function, programmes without dev will simply die due to lack of compatiblity. Linux is moving too fast to be reliable. Furthermore, many applications are not written for efficiency, rather that it works, without considering memory and resource usage, which may slow down significanly a system.

The solution:
- Option 1: like on the cutting edge with bloated software
- Option 2: move to BSD where more concern is given.

If you have a superbe hardware, you won't worry about resource usage of your programme and how it performs.
E.g., If you have to drive 1h to reach a given town, and that you have 2-3 hours in front of you, you have quite a bit chance to take these 2-3 hours to procastinate or to start to drive at the last minute. On projects, 60-70% of persons will start to work on a given project the day before the deadline. Very few start to work 2-3 weeks before.

Last edited by spartrekus (2017-06-02 21:45:07)

Offline

#6 2017-06-02 21:53:06

malinas
Member
Registered: 2017-02-21
Posts: 12  

Re: Is Blackbox still today a recommended or outdated WM ?

spartrekus wrote:

Compiling didn't work much actually.

Image.cc: In member function 'void bt::Image::hgradient(const bt::Color&, const bt::Color&, bool)':
Image.cc:1350:42: error: 'memcpy' was not declared in this scope
       memcpy(p, data, width * sizeof(RGB));
                                          ^

For the record, this is because GCC got stricter over time about including C headers. If you download blackbox_0.70.1-34.debian.tar.xz from a mirror and uncompress it, you'll find a list of patches, among which fix-ftbfs-gcc-4.3.diff which adds the missing #include directives. The problems will only start if the package ends up orphaned.

Offline

#7 2017-06-02 22:05:09

spartrekus
Member
Registered: 2017-04-30
Posts: 132  

Re: Is Blackbox still today a recommended or outdated WM ?

malinas wrote:
spartrekus wrote:

Compiling didn't work much actually.

Image.cc: In member function 'void bt::Image::hgradient(const bt::Color&, const bt::Color&, bool)':
Image.cc:1350:42: error: 'memcpy' was not declared in this scope
       memcpy(p, data, width * sizeof(RGB));
                                          ^

For the record, this is because GCC got stricter over time about including C headers. If you download blackbox_0.70.1-34.debian.tar.xz from a mirror and uncompress it, you'll find a list of patches, among which fix-ftbfs-gcc-4.3.diff which adds the missing #include directives. The problems will only start if the package ends up orphaned.

it only depends on the code ! Let's take some codes... I am not so sure that the code couldn't be made more performant, with less include.

== 1. Cool
- dwm : is the cleanest code ever https://github.com/chjj/dwm/blob/master/dwm.c
- evilwm is really clean
- almost, pure beauty: http://download.tuxfamily.org/hatari/1. … .0.tar.bz2 except cmake.
- is this code https://fossies.org/linux/misc/old/uae-0.8.29.tar.gz cool?

== 2. Less Cool
- Less cool now?
- gtk?
- kde?
- make
- the new, modern, Xorg
- Is actually the code source of busybox like it should be?
- xbindkeys: http://hocwp.free.fr/  <- code available , not that great
- ndzen2, not that great either

== 3. Not good
- best, are bibtex, or many X11 applications.
- cmake
- mplayer is not that great

Ok, let's take this example:
Check the code of VIM, do you really like it?

Last edited by spartrekus (2017-06-02 22:36:00)

Offline

#8 2017-06-04 10:27:17

spartrekus
Member
Registered: 2017-04-30
Posts: 132  

Re: Is Blackbox still today a recommended or outdated WM ?

Why Blackbox be a WM that will die in some 5-10 years?

I believe that probably since no dev is being given. It is really pitty since it is really doing its job WELL and wihtout 50 mb of ram use.

stario   3212  0.0  0.3  12160  7208 tty2     S    Jun03   0:00 blackbox

Offline

#9 2017-06-04 16:11:22

Nate
Member
From: Bremen, KS
Registered: 2017-05-29
Posts: 9  
Website

Re: Is Blackbox still today a recommended or outdated WM ?

So you like Blackbox and, as pointed out above, patches are available to enable building on the current stable version.  Pick up the maintenance!  It's not hard.  It's nice if you contact the previous maintainer/developer and request permission to do so, but it is by no means necessary under the terms of GPL, etc.  Get it to build and then host your branch/fork/whatever on GitHub or some other site and just keep up with the changes as they come along.

By doing so you'll learn to get the most out of your Linux box and help the community.

Offline

#10 2017-06-05 06:20:22

spartrekus
Member
Registered: 2017-04-30
Posts: 132  

Re: Is Blackbox still today a recommended or outdated WM ?

Nate wrote:

So you like Blackbox and, as pointed out above, patches are available to enable building on the current stable version.  Pick up the maintenance!  It's not hard.  It's nice if you contact the previous maintainer/developer and request permission to do so, but it is by no means necessary under the terms of GPL, etc.  Get it to build and then host your branch/fork/whatever on GitHub or some other site and just keep up with the changes as they come along.

By doing so you'll learn to get the most out of your Linux box and help the community.

"Pick up the maintenance!  It's not hard."

It is not hard I can buy  a pendrive and start this pendrive with DEVUAN Testing.

I installed the bunch of libraries that the source code of BB needs. OK. I can do that.  What next? What do you need so that this compiled thing is being kept into the maintenance.

Important:
OK, I have found some bugs. I have corrected 2-3 bugs, and it goes better. And, now, compiling is better. I can compile it now to most of it.

Still there is an error into Util.cc
Could someone help me?

herewith the new version but Util.cc is holding my G++ to compile....
https://github.com/spartrekus/blackbox-0.70.2-bugfix

[u]Util.cc:209:85: error: 'std::string bt::textPropertyToString(Display*, XTextProperty&)' should have been declared inside 'bt'
 std::string  bt::textPropertyToString(::Display *display, ::XTextProperty& text_prop) 
                                                                                     ^
Makefile:374: recipe for target 'Util.lo' failed
make[2]: *** [Util.lo] Error 1
[/u]

Last edited by spartrekus (2017-06-05 07:18:20)

Offline

#11 2017-06-05 17:31:25

msi
Member
Registered: 2017-02-04
Posts: 143  

Re: Is Blackbox still today a recommended or outdated WM ?

If this is really just about finding a lightweight and stable window manager to use, I suggest that you take a good look at Openbox (or Fluxbox) before investing time in fixing bugs in a piece of software that apparently hasn't really been maintained for over a decade. Openbox etc. also are surely used much more widely than Blackbox these days, which means that they get a lot more testing and feedback.

If you should find Openbox useful, there's also some packaging work for Devuan to be done: Back in Debian Wheezy there used to be a package openbox-themes in the repositories which was later dropped. I've recently installed that package on Devuan Jessie and it worked just fine. So, I think it should be easy to re-package that for Devuan, including some additional themes.

If you're still interested in hacking Blackbox, you might want to have a look at https://github.com/bbidulock/blackboxwm.

Offline

#12 2017-06-05 19:14:19

spartrekus
Member
Registered: 2017-04-30
Posts: 132  

Re: Is Blackbox still today a recommended or outdated WM ?

msi wrote:

If this is really just about finding a lightweight and stable window manager to use, I suggest that you take a good look at Openbox (or Fluxbox) before investing time in fixing bugs in a piece of software that apparently hasn't really been maintained for over a decade. Openbox etc. also are surely used much more widely than Blackbox these days, which means that they get a lot more testing and feedback.

If you should find Openbox useful, there's also some packaging work for Devuan to be done: Back in Debian Wheezy there used to be a package openbox-themes in the repositories which was later dropped. I've recently installed that package on Devuan Jessie and it worked just fine. So, I think it should be easy to re-package that for Devuan, including some additional themes.

If you're still interested in hacking Blackbox, you might want to have a look at https://github.com/bbidulock/blackboxwm.

I pretty much prefer Blackbox to Openbox. I don't know why.
Blackbox is really nice. It is too easy to understand for everyone, and besides blackbox is not using XML.

Oh...why Blackbox. Just because it takes much less memory than Openbox. Memory usage is my first consideration in the choice.
I remember that tinywm is less than 50 lines, and it takes  nothing. So shall another WM: wink

Well, you won't sell me Openbox, so far, I but well, if Openbox might reduce the use of Memory, maybe, it could be good.

DWM is pretty small in use of space. Evilwm too.

But blackbox offers almost everything one may need and its size is tiny.

Offline

#13 2017-06-05 19:40:24

msi
Member
Registered: 2017-02-04
Posts: 143  

Re: Is Blackbox still today a recommended or outdated WM ?

spartrekus wrote:

Memory usage is my first consideration in the choice.

Ok, then maybe you'll find some interest in JWM: http://joewing.net/projects/jwm

Offline

#14 2017-06-05 19:53:57

smoki
Member
Registered: 2017-05-15
Posts: 56  

Re: Is Blackbox still today a recommended or outdated WM ?

spartrekus wrote:

  Well, you won't sell me Openbox, so far, I but well, if Openbox might reduce the use of Memory, maybe, it could be good.

You can make Openbox more tiny too, when compile disable all optional features at configure time and it would use something like 3 times less memory wink

Last edited by smoki (2017-06-05 19:54:47)

Offline

#15 2017-06-05 20:20:04

spartrekus
Member
Registered: 2017-04-30
Posts: 132  

Re: Is Blackbox still today a recommended or outdated WM ?

msi wrote:
spartrekus wrote:

Memory usage is my first consideration in the choice.

Ok, then maybe you'll find some interest in JWM: http://joewing.net/projects/jwm

I would be interested to compare the mem usage of JWM versus Blackbox.

Blackbox remembers me fluxbox, in a tiny way.
my users like blackbox.

Offline

#16 2017-06-05 20:31:56

smoki
Member
Registered: 2017-05-15
Posts: 56  

Re: Is Blackbox still today a recommended or outdated WM ?

spartrekus wrote:

I would be interested to compare the mem usage of JWM versus Blackbox.

Debian packaged jwm on 32bit uses about 500 KB uncached, blackbox about 800 KB, openbox about 3500 KB... but it have more features enabled since it mainly serve LXDE as i said you can take that down to 1200 KB easely or so wink

Of course, if anyone care about that range of sizes these days he might look at other distros, doing static and other special embeded builds or so.. on the other side general purpose builds (what major distros do)  and computing tends to be more bloated, more features and more deps and particualary more dynamic also means more cached memory used, probably less long term compatability of that build... and so on big_smile

Last edited by smoki (2017-06-05 21:00:58)

Offline

#17 2017-06-05 21:02:11

spartrekus
Member
Registered: 2017-04-30
Posts: 132  

Re: Is Blackbox still today a recommended or outdated WM ?

smoki wrote:
spartrekus wrote:

I would be interested to compare the mem usage of JWM versus Blackbox.

Debian packaged jwm on 32bit uses about 500 KB uncached, blackbox about 800 KB, openbox about 3500 KB... but it have more features enabled since it mainly serve LXDE as i said you can take that down to 1200 KB easely or so wink

Of course, if anyone care about that range of sizes these days he might look at other distros, doing static and other special embeded builds or so.. on the other side general purpose builds (what major distros do)  and computing tends to be more bloated, more features and more deps also means more cached memory used and so on big_smile

jwm is ok, openbox too.
Something like Blackbox would be ok, anyhow, it can still be compiled if... fixed, and be used on libx11-dev.

my installation is on nothing to save space and resource.

     apt-get update ;  apt-get install ntpdate  links w3m ncftp  netbase wpasupplicant  make  gcc bc subversion  gcc bc ncurses-dev      
     apt-get install    nedit  scrot   xinit libx11-dev blackbox menu      xserver-xorg alsa-utils alsa-base  ssh 
     apt-get install screen openssh-server           
     and chromium

By the time, it goes to less than less... I want to compile the kernel and have my own compiler and system, based on Linux kernel. I have time, I am learning step by step. 
https://github.com/spartrekus/tinybox

Last edited by spartrekus (2017-06-05 21:07:51)

Offline

#18 2017-06-05 22:05:50

smoki
Member
Registered: 2017-05-15
Posts: 56  

Re: Is Blackbox still today a recommended or outdated WM ?

spartrekus wrote:

I want to compile the kernel and have my own compiler and system, based on Linux kernel.

Ah thinkering about something is cool so that is cool, i just expect this 'Support>Desktop and Multimedia' forum would be about Devuan and not about something else.

Even deb packaged blackbox in Devuan i now tried works fine here and recompile fine too, so big_smile And of course thing easely goes offtopic because it is offtopic in the first place big_smile

Last edited by smoki (2017-06-05 22:11:10)

Offline

#19 2017-06-06 04:51:43

spartrekus
Member
Registered: 2017-04-30
Posts: 132  

Re: Is Blackbox still today a recommended or outdated WM ?

smoki wrote:
spartrekus wrote:

I want to compile the kernel and have my own compiler and system, based on Linux kernel.

Ah thinkering about something is cool so that is cool, i just expect this 'Support>Desktop and Multimedia' forum would be about Devuan and not about something else.

Even deb packaged blackbox in Devuan i now tried works fine here and recompile fine too, so big_smile And of course thing easely goes offtopic because it is offtopic in the first place big_smile

Anyhow, we do some philosophy,...

Maybe this thread shall go/move to off-topic section.

Offline

#20 2017-06-06 14:06:08

golinux
Administrator
Registered: 2016-11-25
Posts: 3,316  

Re: Is Blackbox still today a recommended or outdated WM ?

Moved as requested . . .

Offline

#21 2017-06-06 21:38:35

spartrekus
Member
Registered: 2017-04-30
Posts: 132  

Re: Is Blackbox still today a recommended or outdated WM ?

golinux wrote:

Moved as requested . . .

Merci

Offline

#22 2017-06-08 05:46:37

spartrekus
Member
Registered: 2017-04-30
Posts: 132  

Re: Is Blackbox still today a recommended or outdated WM ?

On my system, I figure out a bit memory usage in general. herewith indicated.
Blackbox is really light.

Furthermore, I have impression that Blackbox runs extremely fast. It is very quick, new windows popup immediately, in a flash.
Openbox is too but it looks a bit slower.
Icewm is less fast. 
Just first reaction time impressions.

MEM 244/1844MB]

KiB Mem:   1889204 total,   797888 used,  1091316 free,    47784 buffers

  PID USER    PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND    
 3356 root        20   0  133420  70040  15944 S   1.7  3.7   7:47.99 Xorg
                          20   0  568940 130632 100608 S   0.3  6.9   0:06.88 chromium

  PID USER      PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
 3366 sparrot    20   0 [b]12156  7468  6428 [/b]S  0.0  0.4  0:00.94 blackbox

Last edited by spartrekus (2017-06-08 05:47:00)

Offline

#23 2017-06-11 12:30:28

spartrekus
Member
Registered: 2017-04-30
Posts: 132  

Re: Is Blackbox still today a recommended or outdated WM ?

Blackbox is so fast !

After days of emperimentig X11 Window Manager, it is clear that Blackbox is faster than Openbox..
It seems that it has all what users may need of.

The question is that JWM takes more memory than Blackbox.
Blackbox looks nicer than JWM in my opinion

Users can do something with it since there is a menu for changing options, embedeed.

Offline

#24 2017-07-13 09:29:20

fungus
Member
From: Any witch way
Registered: 2017-07-12
Posts: 497  
Website

Re: Is Blackbox still today a recommended or outdated WM ?

Good to find you all, first note here.

I was recently sold to the idea of trying i3, with claims of being able to do it all and with minimal resources.
It is very different, it comes with a good manual but it may take some time to get used to.  So keep a hardcopy of the manual next to the keyboard and a reading light, if you are like me and work in the dark with a dark desktop smile

Ram this days is relatively cheap, even for the poor like me.  Cheap enough to stay with openbox and the occassional fun day with lxde.

PS  In my non-systemd escapade I tried a FreeBsd TrueOS installation last night.  I finally gave up waiting and went to sleep.  This is like taking a leap to 2 decades back.  Absolute crap and waste of time.  Sorry BSD folks!

Offline

#25 2017-07-13 13:39:07

msi
Member
Registered: 2017-02-04
Posts: 143  

Re: Is Blackbox still today a recommended or outdated WM ?

fungus wrote:

PS  In my non-systemd escapade I tried a FreeBsd TrueOS installation last night.  I finally gave up waiting and went to sleep.  This is like taking a leap to 2 decades back.  Absolute crap and waste of time.

Instead of merely insulting FreeBSD/TrueOS, could you (in a new thread) provide reasons for why you think using these systems is "like taking a leap to 2 decades back" and a waste of time? I would be very much interested, since I've recently tried FreeBSD (but not TrueOS) and taken some notes about my experience.

Offline

Board footer