You are not logged in.

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

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

ObSuite; Collection of system indicators and utilities for custom DE

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 (2019-04-20 01:26:45)

Offline

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

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

Re: ObSuite; Collection of system indicators and utilities for custom DE

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).


{,META,RE}PKGBUILDSpacman-hacks (includes makemetapkg and remakepkg) │ dotfiles

Offline

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

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

Re: ObSuite; Collection of system indicators and utilities for custom DE

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: 48
Website

Re: ObSuite; Collection of system indicators and utilities for custom DE

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: ObSuite; Collection of system indicators and utilities for custom DE

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: 48
Website

Re: ObSuite; Collection of system indicators and utilities for custom DE

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,460

Re: ObSuite; Collection of system indicators and utilities for custom DE

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: ObSuite; Collection of system indicators and utilities for custom DE

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: 48
Website

Re: ObSuite; Collection of system indicators and utilities for custom DE

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: ObSuite; Collection of system indicators and utilities for custom DE

cool! it works now

really like it thx!

Z

Offline

#11 2019-03-18 14:52:17

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

Re: ObSuite; Collection of system indicators and utilities for custom DE

The last release is now available. It includes many small improvements and three new modules. The two major additions offer improved replacements for both Oblogout and Gmrun-like applications launcher. They are accessible through the command-line interface, with the --splash and --run switches.

Among other things, the battery monitor now support devices with internal batteries (ie. ThinkPads) and average the total capacity when multiple batteries are monitored. Also, some D-Bus signals are now monitored; as of now it is limited to ACPI, but suggestions are welcome.

As always, please refer to the Gitlab page for screenshots and more details.

https://gitlab.com/william.belanger/obsuite

Offline

#12 2019-06-21 03:48:56

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

Re: ObSuite; Collection of system indicators and utilities for custom DE

Highlights of the latest git release:

- Automated Bluetooth connection utility: connect to the first available device of your preselection, else disconnect all
- Notification daemon (API for the popup module): add custom notifications in your scripts with "obsuite --popup"
- Improved compatibility for the battery module
- Minor additions and several bugs fix...
- Last but not least, a much improved launcher utility. Launch any app with about 3 keystrokes or less;

https://gitlab.com/william.belanger/obs … uncher.gif


moderator edit -- replaced oversized image with link.
Pasting pictures and code

Last edited by 2ManyDogs (2019-06-21 13:04:43)

Offline

Board footer

Powered by FluxBB