[solved] a system load indicator for porteus

If you are looking for a specific 32-bit package and you can't find it in any of the 32-bit repos, please post a request for it here.
michael
White ninja
White ninja
Posts: 20
Joined: 09 Oct 2016, 01:46
Distribution: porteus 3.2 rc5 xfce
Location: brighton uk

[solved] a system load indicator for porteus

Post#1 by michael » 09 Oct 2016, 02:15

a system load indicator for porteus

would be really helpful please


indicator-multiload

is a really good system load indicator

for ubuntu stables linux's

https://launchpad.net/indicator-multiload

https://apps.ubuntu.com/cat/application ... multiload/


which apparently is being updated

to multiload-ng

http://www.webupd8.org/2016/08/multiloa ... color.html


are you able to adapt this

to a porteus module

for everyone please ?


michael
Last edited by michael on 12 Oct 2016, 19:35, edited 1 time in total.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5659
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: a system load indicator for porteus

Post#2 by brokenman » 09 Oct 2016, 16:37

I am on 64bit right now but here is the source code for anyone that wants to compile it. Very easy.

https://udda.github.io/multiload-ng/

Just decompress the archive.
Make sure you have 05-devel.xzm module activated.
From a root terminal change into the unpacked directory: udda-multiload-ng-f7e180e

## UPDATED configure options
./autogen.sh
./configure --prefix=/usr --with-libindicator --with-systray
make
mkdir /tmp/ml
make DESTDIR=/tmp/ml install
dir2xzm /tmp/ml /tmp/multiload-ng-1.4.0-i586-1.xzm
rm -rf /tmp/ml

Your module will be in /tmp

64bit version for xfce4 is here:
https://mega.nz/#!YQBxHBrb!ee-qXK7ZXVSZ ... eD8X-iZ9jc
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5659
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: a system load indicator for porteus

Post#3 by brokenman » 09 Oct 2016, 21:35

32bit version for xfce4
Download here
How do i become super user?
Wear your underpants on the outside and put on a cape.

michael
White ninja
White ninja
Posts: 20
Joined: 09 Oct 2016, 01:46
Distribution: porteus 3.2 rc5 xfce
Location: brighton uk

Re: a system load indicator for porteus

Post#4 by michael » 10 Oct 2016, 06:30

thank you for your replies brokenman

i'm sorry, i am a complete newbie

thank you for the link

to the multiload-ng usm module in the cloud

- i downloaded it

- i put it in porteus/modules/

- it did load at start up

- it does appear as a menu item in 'accessories'

- but when i select it, it doesn't want to do anything

- could it have dependencies which i don't have installed ?

- has anyone else tried it ?

perhaps the original indicator-multiload would be more likely to work ?

https://launchpad.net/indicator-multiload

michael

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 1032
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: a system load indicator for porteus

Post#5 by ncmprhnsbl » 10 Oct 2016, 12:02

try running it in a terminal:

Code: Select all

multiload-ng
and post the output..
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
brokenman
Site Admin
Site Admin
Posts: 5659
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: a system load indicator for porteus

Post#6 by brokenman » 10 Oct 2016, 14:57

You need to right click on the xfce4 systray and choose to add it to the panel.
How do i become super user?
Wear your underpants on the outside and put on a cape.

michael
White ninja
White ninja
Posts: 20
Joined: 09 Oct 2016, 01:46
Distribution: porteus 3.2 rc5 xfce
Location: brighton uk

re: a system load indicator for porteus

Post#7 by michael » 10 Oct 2016, 16:32

hi

thank you for your replies

i have been doing all my updates

and correcting my modules folder

and still when i run multiload-ng from terminal

this is the output

multiload-ng:
error while loading shared libraries:
libgtk-3.so.0:
cannot open shared object file:
No such file or directory

i tried searching for libgtk in usm keywords

and there was no answer


please continue to help

best wishes michael

michael
White ninja
White ninja
Posts: 20
Joined: 09 Oct 2016, 01:46
Distribution: porteus 3.2 rc5 xfce
Location: brighton uk

re: a system load indicator for porteus

Post#8 by michael » 10 Oct 2016, 16:46

hi

thank you for your replies

yes

i am getting the hang of operating the panel

i have right clicked on the panel

and selected > add panel items > multiload-ng

and then multiload-ng does appear in the panel

and it does work correctly to a certain extent

but the visual bar graphs don't work ?


so in addition i selected

> add new panel items > cpu load graph

and that does work correctly


michael

User avatar
Blaze
DEV Team
DEV Team
Posts: 1555
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: re: a system load indicator for porteus

Post#9 by Blaze » 10 Oct 2016, 16:52

Hi, michael.
Can you show log of these commands?

Code: Select all

su
toor
find /usr/lib/ -iname *libgtk*
find /usr/lib64/ -iname *libgtk*
Cheers
Linux porteus 4.13.3-porteus #1 SMP PREEMPT Sat Sep 23 18:22:13 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

michael
White ninja
White ninja
Posts: 20
Joined: 09 Oct 2016, 01:46
Distribution: porteus 3.2 rc5 xfce
Location: brighton uk

re: a system load indicator for porteus

Post#10 by michael » 10 Oct 2016, 17:49

hi blaze

thank you

this is the output for

find /usr/lib/ -iname *libgtk*

/usr/lib/libgtkmm-2.4.so
/usr/lib/libgtkmm-2.4.so.1
/usr/lib/libgtkmm-2.4.so.1.1.0
/usr/lib/libgtksourceview-2.0.so
/usr/lib/libgtksourceview-2.0.so.0
/usr/lib/libgtksourceview-2.0.so.0.0.0
/usr/lib/libgtk-x11-2.0.la
/usr/lib/libgtk-x11-2.0.so
/usr/lib/libgtk-x11-2.0.so.0
/usr/lib/libgtk-x11-2.0.so.0.2400.20


michael

michael
White ninja
White ninja
Posts: 20
Joined: 09 Oct 2016, 01:46
Distribution: porteus 3.2 rc5 xfce
Location: brighton uk

re: a system load indicator for porteus

Post#11 by michael » 10 Oct 2016, 17:57

and there is no output for

find /usr/lib64/ -iname *libgtk*

michael
White ninja
White ninja
Posts: 20
Joined: 09 Oct 2016, 01:46
Distribution: porteus 3.2 rc5 xfce
Location: brighton uk

re: a system load indicator for porteus

Post#12 by michael » 10 Oct 2016, 18:52

i found this


root@porteus:/# usm -s libgtk-3.so.0

-----------------------------
Are you searching for a library file?

libgtk-3.so.0, it seems a library.
Would you like to find the package for it? [y/n]

libgtk-3.so.0 was found in gtk+3-3.8.2-i486-2.txz

. . . .

i am am a newbie

i am not sure how to download

gtk+3-3.8.2.-i486-2.txz

correctly

and install it correctly

please continue to help

thanks

michael

michael
White ninja
White ninja
Posts: 20
Joined: 09 Oct 2016, 01:46
Distribution: porteus 3.2 rc5 xfce
Location: brighton uk

re: a system load indicator for porteus

Post#13 by michael » 10 Oct 2016, 19:00

okay

i have used the usm gui

to access and download to /tmp/usm/

gtk+3-3.8.2-i486-2.txz


and it has also downloaded

aaa_elflibs-14.1-i486-3.txz

adobe-reader-it-8.1.7-i486-4sl.txz

(i am not sure why)


and the usm gui has converted

these .txz files to .xzm modules

for me too


i am sorry

i am not sure what to do next

please continue to help

michael

User avatar
Blaze
DEV Team
DEV Team
Posts: 1555
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: re: a system load indicator for porteus

Post#14 by Blaze » 10 Oct 2016, 19:19

michael, you are need to use Porteus 3.2 RCx
http://porteus.org/porteus-mirrors.txt
Porteus 3.2 include gtk+3
Linux porteus 4.13.3-porteus #1 SMP PREEMPT Sat Sep 23 18:22:13 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

michael
White ninja
White ninja
Posts: 20
Joined: 09 Oct 2016, 01:46
Distribution: porteus 3.2 rc5 xfce
Location: brighton uk

Re: a system load indicator for porteus

Post#15 by michael » 10 Oct 2016, 19:26

okay

thanks blaze !

Post Reply