Conky anyone?

Get help with XFCE specific problems
User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Conky anyone?

Post#16 by Ed_P » 19 Sep 2021, 04:08

There is no .tar file in the .tbz file when opened with the Cinnamon Archive Manager.

Your terminal commands idea looks interesting though. Thanks ncmp. :)
Ed

User avatar
M. Eerie
Moderator
Moderator
Posts: 620
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

Conky anyone?

Post#17 by M. Eerie » 19 Sep 2021, 08:43

ncmprhnsbl wrote:
18 Sep 2021, 22:30
now available: https://github.com/aristocratos/btop
Great!

Trying in 10,9,8...
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Conky anyone?

Post#18 by ncmprhnsbl » 19 Sep 2021, 12:31

Ed_P wrote:
19 Sep 2021, 04:08
There is no .tar file in the .tbz file when opened with the Cinnamon Archive Manager.
i think you'll that's the case with any .tar.bz2.. the archive manager unbzips and untars in the one motion..
and if you look at the makefile, it basicly just copies files..
so..

Code: Select all

cd <extracted btop folder>
su
mkdir -p /tmp/btop/usr/share/btop
cp -a bin /tmp/btop/usr 
chmod 755 /tmp/btop/usr/bin/btop 
cp -a themes /tmp/btop/usr/share/btop
dir2xzm /tmp/btop /tmp/btop-1.0.1-linux-x86-64.xzm
doesn't seem to need to setuid part to run properly in porteus(edit.. ah maybe for "sending signals to any process" without running as root)

i imagine compiling the source nonstatically would possibly get it a lot smaller..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
M. Eerie
Moderator
Moderator
Posts: 620
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

Conky anyone?

Post#19 by M. Eerie » 19 Sep 2021, 17:36

In my tests:

Code: Select all

RAM: 4M (btop) vs 41M (bpytop)
CPU: 0.1% (btop) vs 1% (bpytop) while not measuring
CPU: 1% (btop) vs 5,6% (bpytop) while refreshing values
Btop static binary is just 4,2 Mb, so I think it is worthy
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Conky anyone?

Post#20 by Ed_P » 20 Sep 2021, 02:56

ncmprhnsbl wrote:
19 Sep 2021, 12:31
so..

Code: Select all

cd <extracted btop folder>
su
mkdir -p /tmp/btop/usr/share/btop
cp -a bin /tmp/btop/usr 
chmod 755 /tmp/btop/usr/bin/btop 
cp -a themes /tmp/btop/usr/share/btop
dir2xzm /tmp/btop /tmp/btop-1.0.1-linux-x86-64.xzm

Code: Select all

root@porteus:/home/guest# activate /tmp/btop*.xzm
mount: /: mount point not mounted or bad option.
btop-1.0.1-linux-x86-64.xzm: Can't insert module to union
Ed

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Conky anyone?

Post#21 by ncmprhnsbl » 20 Sep 2021, 03:30

Ed_P wrote:
20 Sep 2021, 02:56
root@porteus:/home/guest# activate /tmp/btop*.xzm
mount: /: mount point not mounted or bad option.
btop-1.0.1-linux-x86-64.xzm: Can't insert module to union
move it somewhere outside the live system or get yourself a better kernel : the last one Blaze posted works ok: Porteus Kernel Builder (Post by Blaze #84110)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Conky anyone?

Post#22 by Ed_P » 20 Sep 2021, 03:51

Code: Select all

root@porteus:/mnt/sda6/porteus5.0/Guest/Downloads# ./btop2xzm.sh
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on /tmp/btop-1.0.1-linux-x86-64.xzm, block size 262144.
[=================================================================/] 30/30 100%

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
	compressed data, compressed metadata, compressed fragments,
	compressed xattrs, compressed ids
	duplicates are removed
Filesystem size 1226.98 Kbytes (1.20 Mbytes)
	28.05% of uncompressed filesystem size (4374.41 Kbytes)
Inode table size 322 bytes (0.31 Kbytes)
	45.35% of uncompressed inode table size (710 bytes)
Directory table size 314 bytes (0.31 Kbytes)
	69.47% of uncompressed directory table size (452 bytes)
Number of duplicate files found 0
Number of inodes 20
Number of files 14
Number of fragments 1
Number of symbolic links 0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 6
Number of ids (unique uids + gids) 2
Number of uids 2
	guest (1000)
	root (0)
Number of gids 1
	root (0)
root@porteus:/mnt/sda6/porteus5.0/Guest/Downloads# ls -lg /tmp
total 1228
drwxr-xr-x 3 root       60 Sep 19 23:37 btop/
-rw-r--r-- 1 root  1257472 Sep 19 23:39 btop-1.0.1-linux-x86-64.xzm
srwxrwxrwx 1 users       0 Sep 19 23:28 dbus-udRtPEIwwA=
root@porteus:/mnt/sda6/porteus5.0/Guest/Downloads# activate /tmp/btop*.xzm
mount: /: mount point not mounted or bad option.
btop-1.0.1-linux-x86-64.xzm: Can't insert module to union
root@porteus:/mnt/sda6/porteus5.0/Guest/Downloads# 

root@porteus:/mnt/sda6/porteus5.0/Guest/Downloads# uname -a
Linux porteus.example.net 5.13.11-porteus #1 SMP Tue Aug 17 22:15:07 AEST 2021 x86_64 Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz GenuineIntel GNU/Linux
root@porteus:/mnt/sda6/porteus5.0/Guest/Downloads# 
ncmprhnsbl wrote:
20 Sep 2021, 03:30
get yourself a better kernel : the last one Blaze posted works ok: Porteus Kernel Builder (Post by Blaze #84110)
Is that the 5.0rc3 base we should be testing now? I thought there was a concern between the kernel version and the current base file's compiler.
Ed

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Conky anyone?

Post#23 by ncmprhnsbl » 20 Sep 2021, 04:22

i'm just saying that if you encounter not be able to activate a module from within the live system, it's the kernel that's at fault ..(idk why, just some build option was out that day, i suppose)
so the choices are: move the module or use a kernel that allows it.. as per linked..
for the most part, you can use any kernel with any porteus version..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Conky anyone?

Post#24 by Ed_P » 20 Sep 2021, 04:51

The btop app does work when the xzm file is activated on the harddrive. :good:

Added in 11 hours 31 minutes 14 seconds:
And when it is on the /tmp drive when using the 5.14.3 kernel. :) Thank you ncmp.

Added in 6 hours 5 minutes 27 seconds:
But the forgeofempires.com game's video hangs up again when playing. Backgrounds disappear.
Ed

Post Reply