LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Pro/Con Openbox versus Blackbox? (https://www.linuxquestions.org/questions/linux-desktop-74/pro-con-openbox-versus-blackbox-4175619623/)

ondoho 12-22-2017 12:42 AM

Quote:

Originally Posted by patrick295767 (Post 5795890)
BB has the smallest memory usage. It takes even much less resource than Openbox, which is of major importance.

actually, no.
it is NOT of major importance.
the amount of ram that a window manager uses is negligible, compared to what other applications use.
simple example:

my web browser with 14 tabs (all of them LQ) uses 6% of my roughly 7000MB RAM, that's roughly 420MB.
mocp plays internet radio and needs 1.42% for that, roughly 100MB.
openbox uses 0.3%, that is roughly 21MB.
even Xorg itself uses more: 0.9%, that's roughly 63MB.

so with these numbers you can see that even if you have only 1GB of RAM, and even if blackbox uses only 5MB, it is NOT of any importance.

patrick295767 12-22-2017 12:58 AM

Quote:

Originally Posted by ondoho (Post 5796305)
actually, no.
it is NOT of major importance.
the amount of ram that a window manager uses is negligible, compared to what other applications use.
simple example:

my web browser with 14 tabs (all of them LQ) uses 6% of my roughly 7000MB RAM, that's roughly 420MB.
mocp plays internet radio and needs 1.42% for that, roughly 100MB.
openbox uses 0.3%, that is roughly 21MB.
even Xorg itself uses more: 0.9%, that's roughly 63MB.

so with these numbers you can see that even if you have only 1GB of RAM, and even if blackbox uses only 5MB, it is NOT of any importance.

Might be. This biggest issue is probably those 420 MB. That's really a lot. OK, RPI3B has RAM: 1GB LPDDR2 (900 MHz).

If you run it on an oldest pentium III or IV, you cannot open a website. AntiX hopefully use a good openbox/*wm manager.

anticapitalista 12-22-2017 07:51 AM

Quote:

Originally Posted by patrick295767 (Post 5796312)
... AntiX hopefully use a good openbox/*wm manager.

antiX does not use openbox. It comes with IceWM, fluxbox, jwm and herbstluftwm.

jmccue 12-22-2017 01:05 PM

Quote:

Originally Posted by patrick295767 (Post 5795890)
BB has the smallest memory usage.

Did you see this phrase ?


Quote:

Originally Posted by jmccue (Post 5794769)
due to the memory requirements of bbkeys

It was not BB that had the large memory increase, but bbkeys. bbkeys was needed if you wanted to use the keyboard with BB. Kick it off yourself and you will notice it's memory, it may even be more that what blackbox uses. The need for bbkeys is what cause fluxbox to be forked (IIRC).

John

dugan 12-22-2017 01:10 PM

This is probably a good opportunity to ask:

has anyone here used OpenBox without Tint2? I'm thinking of setting up OpenBox again, only with Tint2 replaced with a separate dock and bar (probably Plank and Polybar).

Mill J 12-22-2017 01:45 PM

Quote:

Originally Posted by dugan (Post 5796532)
This is probably a good opportunity to ask:

has anyone here used OpenBox without Tint2? I'm thinking of setting up OpenBox again, only with Tint2 replaced with a separate dock and bar (probably Plank and Polybar).

Yes i have, in fact I have a box like that right now, it has tint2 installed but I rarely start it. One of the neat things about ob is just click mmb for your minimized/open apps, no dock needed.

ondoho 12-23-2017 02:46 PM

Quote:

Originally Posted by jmccue (Post 5796529)
It was not BB that had the large memory increase, but bbkeys. bbkeys was needed if you wanted to use the keyboard with BB.

it's things like these that people tend to overlook when they compare windowmanagers.
or even worse, compare window managers to desktop environments.

Quote:

Originally Posted by dugan (Post 5796532)
has anyone here used OpenBox without Tint2?

sure, with xfce4-panel, lxpanel, and fbpanel (fond recommendation for the last).

sevendogsbsd 12-24-2017 05:54 PM

Quote:

Originally Posted by dugan (Post 5796532)
This is probably a good opportunity to ask:

has anyone here used OpenBox without Tint2? I'm thinking of setting up OpenBox again, only with Tint2 replaced with a separate dock and bar (probably Plank and Polybar).

Yes, not a fan of bars/panels so set some keyboard shortcuts for apps (browser, terminal, files) and customize the root menu to my liking after running menumaker. It's light and fast and being a keyboard junkie, it works for me. The config is sort of wonky being xml but I can live with it.

patrick295767 12-25-2017 10:43 AM

Quote:

Yes, not a fan of bars/panels ...
Then, why not using EVILWM ? There is nothing, bare bone wm ;)

sevendogsbsd 12-25-2017 12:43 PM

EvilWM is too extreme the other way. Not looking for totally minimal, just a good balance. I have Openbox customized and working well. My machine is a beast and can handle pretty much any DE or WM but I like the snappiness of a (relatively) minimal WM like Openbox. Fluxbox is great too but the I'd have to autohide the bar. I guess I could see if needs to be shown at all - never configured it to do that.

patrick295767 12-25-2017 01:20 PM

Quote:

Originally Posted by sevendogsbsd (Post 5797642)
EvilWM is too extreme the other way. Not looking for totally minimal, just a good balance. I have Openbox customized and working well. My machine is a beast and can handle pretty much any DE or WM but I like the snappiness of a (relatively) minimal WM like Openbox. Fluxbox is great too but the I'd have to autohide the bar. I guess I could see if needs to be shown at all - never configured it to do that.

Fluxbox is quite the same as Openbox. You may change the autohide in the source code by commenting it.

Testing with apt-get gave me these results. Blackbox requires just:
Code:

The following NEW packages will be installed:
  blackbox libbt0v5

while openbox requires:
Code:

root@devuan:/home/darkhacker# apt-get install openbox
The following NEW packages will be installed:
  adwaita-icon-theme at-spi2-core dconf-gsettings-backend dconf-service fontconfig giblib1
  glib-networking glib-networking-common glib-networking-services gsettings-desktop-schemas
  gtk-update-icon-cache hicolor-icon-theme libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data libatspi2.0-0
  libavahi-client3 libcairo-gobject2 libcairo2 libcolord2 libcroco3 libcups2 libdatrie1 libdconf1
  libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgif7 libgraphite2-3 libgtk-3-0 libgtk-3-bin
  libgtk-3-common libharfbuzz0b libid3tag0 libimlib2 libjbig0 libjson-glib-1.0-0 libjson-glib-1.0-common
  liblcms2-2 libobrender32v5 libobt2v5 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0
  libpangoxft-1.0-0 libproxy1v5 librest-0.7-0 librsvg2-2 librsvg2-common libsoup-gnome2.4-1 libsoup2.4-1
  libstartup-notification0 libthai-data libthai0 libtiff5 libxcb-render0 libxcb-shm0 libxcb-util0
  libxcomposite1 libxrandr2 obconf openbox python-xdg scrot
0 upgraded, 63 newly installed, 0 to remove and 18 not upgraded.
Need to get 25.3 MB of archives.
After this operation, 86.7 MB of additional disk space will be used.
Do you want to continue? [Y/n]


EDIT @Ondoho:
actually, yes.
it IS of major importance.

Mill J 12-25-2017 03:28 PM

Hey are both of those commands run on the same Os?

sevendogsbsd 12-25-2017 03:37 PM

Quote:

Originally Posted by patrick295767 (Post 5797650)
Fluxbox is quite the same as Openbox. You may change the autohide in the source code by commenting it.

Testing with apt-get gave me these results. Blackbox requires just:
Code:

The following NEW packages will be installed:
  blackbox libbt0v5

while openbox requires:
Code:

root@devuan:/home/darkhacker# apt-get install openbox
The following NEW packages will be installed:
  adwaita-icon-theme at-spi2-core dconf-gsettings-backend dconf-service fontconfig giblib1
  glib-networking glib-networking-common glib-networking-services gsettings-desktop-schemas
  gtk-update-icon-cache hicolor-icon-theme libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data libatspi2.0-0
  libavahi-client3 libcairo-gobject2 libcairo2 libcolord2 libcroco3 libcups2 libdatrie1 libdconf1
  libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgif7 libgraphite2-3 libgtk-3-0 libgtk-3-bin
  libgtk-3-common libharfbuzz0b libid3tag0 libimlib2 libjbig0 libjson-glib-1.0-0 libjson-glib-1.0-common
  liblcms2-2 libobrender32v5 libobt2v5 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0
  libpangoxft-1.0-0 libproxy1v5 librest-0.7-0 librsvg2-2 librsvg2-common libsoup-gnome2.4-1 libsoup2.4-1
  libstartup-notification0 libthai-data libthai0 libtiff5 libxcb-render0 libxcb-shm0 libxcb-util0
  libxcomposite1 libxrandr2 obconf openbox python-xdg scrot
0 upgraded, 63 newly installed, 0 to remove and 18 not upgraded.
Need to get 25.3 MB of archives.
After this operation, 86.7 MB of additional disk space will be used.
Do you want to continue? [Y/n]


EDIT @Ondoho:
actually, yes.
it IS of major importance.

I get it but I have a ton of disk space and system resources and BB doesn't work for me: bbkeys always freaks out and stops working several times a day. Although I like the look and speed of BB, I am a heavy keyboard user so not having it is a deal-breaker.

Debian is a completely different beast than Void. Dep list for openbox on void:

[paul@bigzbox ~]$ xbps-query -R -x openbox
glib>=2.18.0_1
libX11>=1.2_1
glibc>=2.8_1
libXcursor>=1.1.9_1
startup-notification>=0.10_1
libopenbox-3.6.1_2
libSM>=1.1.0_1
libICE>=1.0.5_1
libXinerama>=1.0.3_1
libXrandr>=1.3.0_1
libXext>=1.0.5_1

patrick295767 12-25-2017 04:15 PM

Quote:

Originally Posted by sevendogsbsd (Post 5797701)
I get it but I have a ton of disk space and system resources and BB doesn't work for me: bbkeys always freaks out and stops working several times a day. Although I like the look and speed of BB, I am a heavy keyboard user so not having it is a deal-breaker.

Debian is a completely different beast than Void. Dep list for openbox on void:

[paul@bigzbox ~]$ xbps-query -R -x openbox
glib>=2.18.0_1
libX11>=1.2_1
glibc>=2.8_1
libXcursor>=1.1.9_1
startup-notification>=0.10_1
libopenbox-3.6.1_2
libSM>=1.1.0_1
libICE>=1.0.5_1
libXinerama>=1.0.3_1
libXrandr>=1.3.0_1
libXext>=1.0.5_1



bbkeys needs a bugfix.

You can use xbindkeys. It is rather a good one. You can setup with xbindkeys -k >> mynewkeys. The config file is .xbindkeysrc.

sevendogsbsd 12-25-2017 04:51 PM

Wow, did not know that, thanks for the tip! I love the simplicity of BB but the bbkeys issue always made me switch.


All times are GMT -5. The time now is 08:42 PM.