You are not logged in.

#1 2018-10-07 19:54:31

alfalfa
Member
Registered: 2017-06-30
Posts: 29
Website

Openbox Suite; System monitoring tools for custom desktop environments

Openbox is a great window manager, but it lack it's dedicated system monitoring tools. Often they must be installed from oher desktop environments, along with a lot of useless dependancies.

ObSuite is a light and modulable alternative to those packages. It include five basic tools which make it easy to manage or monitor volume, network, bluetooth, battery and backlight. It is mostly meant for laptops, yet also interesting for desktop computers as the unused modules are easily disabled. In both case, bluetooth is great for a quick access to connect/disconnect methods for selected devices, and the network module allow some feedback when using wpa_supplicant alone. Lastly, it is of course highly customizable and use Numix's wonderful icon set. With OpenBox, tint2 and ObSuite, you'll get a solid start for a light and beautiful custom desktop environment.

Have a look on the Gitlab page for screenshots and more info:

https://gitlab.com/william.belanger/obsuite
https://aur.archlinux.org/packages/obsuite-git/

Last edited by alfalfa (2018-10-12 22:33:46)

Offline

#2 2018-10-07 20:07:22

ayekat
Member
Registered: 2011-01-17
Posts: 1,268
Website

Re: Openbox Suite; System monitoring tools for custom desktop environments

From a quick look, this looks nice, but…

alfalfa wrote:

Openbox is a great window manager, but it lack dedicated system monitoring tools.

That's probably because Openbox is, well, a window manager. smile
It's a bit like concluding that while nano is a nice text editor, it lacks a decent audio encoder.

And thus I would claim that this tool is probably not Openbox-specific, but may work on any WM (and "Openbox suite" may be a bit misleading as a name).

Offline

#3 2018-10-09 11:51:19

arnaudv6
Member
Registered: 2016-02-25
Posts: 49

Re: Openbox Suite; System monitoring tools for custom desktop environments

Yeah, seems nice indeed from a quick look: thanks for sharing!
for those that wonder, dependencies to date are:

  • python>=3.6

  • python-pyqt5

  • qt5-svg

  • qt5-multimedia

Offline

#4 2018-10-12 22:35:54

alfalfa
Member
Registered: 2017-06-30
Posts: 29
Website

Re: Openbox Suite; System monitoring tools for custom desktop environments

ayekat wrote:

From a quick look, this looks nice, but…

alfalfa wrote:

Openbox is a great window manager, but it lack dedicated system monitoring tools.

That's probably because Openbox is, well, a window manager. smile
It's a bit like concluding that while nano is a nice text editor, it lacks a decent audio encoder.

And thus I would claim that this tool is probably not Openbox-specific, but may work on any WM (and "Openbox suite" may be a bit misleading as a name).

Although it will most likely work on other WM, it's real intent is only to work with Openbox. Most DE already offer some declinations of these tools, so I wanted to offer a minimal dependancies alternative specifically for OB users.

At last, there is a lot of room left for a more in depth integration in the future, including interfaces to handle Openbox menus, settings and such. ObMenu is great, but I would rather prefer python over pearl, along with an handy edition GUI. However, let me know if you think of a better name smile

Offline

#5 2018-10-13 04:17:23

zeltak
Member
From: New England
Registered: 2010-08-07
Posts: 168

Re: Openbox Suite; System monitoring tools for custom desktop environments

this looks like something i really would love on i3.. smile

i tried it but got a immediate crash (using latest arch and latest i3)

zeltak@zlap:~|⇒  obsuite --preferences
QSettings::value: Empty key passed
QSettings::value: Empty key passed
Qt: Session management error: Could not open network socket
[07:14:37] [INFO] [Preferences] Loaded preferences database
[07:14:38] [INFO] [Preferences] Loaded preferences database
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/obsuite/frontend/battery.py", line 195, in _fetch          
    self.status.update()
  File "/usr/lib/python3.7/site-packages/obsuite/frontend/battery.py", line 70, in update           
    self._parse()
  File "/usr/lib/python3.7/site-packages/obsuite/frontend/battery.py", line 36, in _parse           
    if self.raw["current_now"]:
KeyError: 'current_now'
[1]    32450 abort (core dumped)  obsuite --preferences

any clue?

Z

Offline

#6 2018-10-13 21:28:14

alfalfa
Member
Registered: 2017-06-30
Posts: 29
Website

Re: Openbox Suite; System monitoring tools for custom desktop environments

I assumed that uevent files would have the same keys for everyone.. Can you post the output of these commands?

uname -a 
cat /sys/class/power_supply/BAT0/uevent

Last edited by alfalfa (2018-10-13 21:50:18)

Offline

#7 2018-10-14 00:05:00

progandy
Member
Registered: 2012-05-17
Posts: 3,195

Re: Openbox Suite; System monitoring tools for custom desktop environments

Some batteries show the capacity in µWh with ENERGY_FULL, ENERGY_FULL_DESIGN, ENERGY_NOW.
Some others report µAh with CHARGE_FULL, CHARGE_FULL_DESIGN, and CHARGE_NOW.
Some batteries show the current power consumption with POWER_NOW in µW, some others use CURRENT_NOW in µA (maybe in conjunction with VOLTAGE_NOW in µV).
Sometimes there is an average power consumption in POWER_AVG in  µW.

https://www.kernel.org/doc/Documentatio … _class.txt

My Sony battery only has POWER_NOW, and ENERGY_* values from those I listed. The report in Watts should be more accurate I think.

Last edited by progandy (2018-10-14 00:05:38)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#8 2018-10-14 04:06:45

zeltak
Member
From: New England
Registered: 2010-08-07
Posts: 168

Re: Openbox Suite; System monitoring tools for custom desktop environments

alfalfa wrote:

I assumed that uevent files would have the same keys for everyone.. Can you post the output of these commands?

uname -a 
cat /sys/class/power_supply/BAT0/uevent

sure

here it is

zeltak@zlap:~|⇒  uname -a 

Linux zlap 4.18.12-arch1-1-ARCH #1 SMP PREEMPT Thu Oct 4 01:01:27 UTC 2018 x86_64 GNU/Linux
zeltak@zlap:~|⇒  cat /sys/class/power_supply/BAT0/uevent

POWER_SUPPLY_NAME=BAT0
POWER_SUPPLY_STATUS=Full
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-poly
POWER_SUPPLY_CYCLE_COUNT=83
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11580000
POWER_SUPPLY_VOLTAGE_NOW=12865000
POWER_SUPPLY_POWER_NOW=0
POWER_SUPPLY_ENERGY_FULL_DESIGN=57000000
POWER_SUPPLY_ENERGY_FULL=52380000
POWER_SUPPLY_ENERGY_NOW=52380000
POWER_SUPPLY_CAPACITY=100
POWER_SUPPLY_CAPACITY_LEVEL=Full
POWER_SUPPLY_MODEL_NAME=01AV494
POWER_SUPPLY_MANUFACTURER=LGC
POWER_SUPPLY_SERIAL_NUMBER= 1862

Offline

#9 2018-10-14 12:24:25

alfalfa
Member
Registered: 2017-06-30
Posts: 29
Website

Re: Openbox Suite; System monitoring tools for custom desktop environments

Should be fixed now smile

Offline

#10 2018-10-19 03:46:59

zeltak
Member
From: New England
Registered: 2010-08-07
Posts: 168

Re: Openbox Suite; System monitoring tools for custom desktop environments

cool! it works now

really like it thx!

Z

Offline

Board footer

Powered by FluxBB