Page 1 of 1

HTOP app for EasyOS?

Posted: Tue Oct 10, 2023 10:35 am
by Tahrbaby

Anyone got a working HTOP app for EasyOS ?

Cheers


Re: HTOP

Posted: Tue Oct 10, 2023 12:52 pm
by tammi806

I to wish there was a working Htop.


Re: HTOP

Posted: Tue Oct 10, 2023 2:28 pm
by rockedge

Wow, htop does not work on EasyOS? Somewhere along the line today I will boot up an EasyOS and try that out.

Does Btop work?


Re: HTOP

Posted: Tue Oct 10, 2023 3:56 pm
by tammi806
rockedge wrote: Tue Oct 10, 2023 2:28 pm

Wow, htop does not work on EasyOS? Somewhere along the line today I will boot up an EasyOS and try that out.

Does Btop work?

I have not been able to locate a package to download and install for either one.
There is top and it works in the terminal.

How can I check for installed software packages using the terminal.

Thanks.


Re: HTOP

Posted: Tue Oct 10, 2023 4:05 pm
by OscarTalks

Haven't tested EasyOS for a little while, downloaded 5.5.4 and installed to USB flash drive. Booted OK.
Downloaded devx .sfs and installed to "Main"
Downloaded htop-3.2.2 source code and compiled in EasyOS
Only took a total of a few minutes and seems to work OK
I made a .pet which (was) attached for testing.

EDIT:- Package attachment removed since htop is now built in to EasyOS 5.5.5
See posts below.


Re: HTOP

Posted: Tue Oct 10, 2023 5:34 pm
by Tahrbaby
rockedge wrote: Tue Oct 10, 2023 2:28 pm

Wow, htop does not work on EasyOS? Somewhere along the line today I will boot up an EasyOS and try that out.

Does Btop work?

Tried several Htop pets but none seemed to work in EasyOS and no,Btop doesnt start in a terminal.


Re: HTOP

Posted: Tue Oct 10, 2023 5:37 pm
by Tahrbaby
OscarTalks wrote: Tue Oct 10, 2023 4:05 pm

Haven't tested EasyOS for a little while, downloaded 5.5.4 and installed to USB flash drive. Booted OK.
Downloaded devx .sfs and installed to "Main"
Downloaded htop-3.2.2 source code and compiled in EasyOS
Only took a total of a few minutes and seems to work OK
I made a .pet which is attached for testing.

Thanks @OscarTalks

Installed your.pet but can't get it to run,although it does create a menu entry but wont run from terminal either.
I dont have devx installed .


Re: HTOP

Posted: Tue Oct 10, 2023 5:52 pm
by tammi806
Tahrbaby wrote: Tue Oct 10, 2023 5:37 pm
OscarTalks wrote: Tue Oct 10, 2023 4:05 pm

Haven't tested EasyOS for a little while, downloaded 5.5.4 and installed to USB flash drive. Booted OK.
Downloaded devx .sfs and installed to "Main"
Downloaded htop-3.2.2 source code and compiled in EasyOS
Only took a total of a few minutes and seems to work OK
I made a .pet which is attached for testing.

Thanks @OscarTalks

Installed your.pet but can't get it to run,although it does create a menu entry but wont run from terminal either.
I dont have devx installed .

Same here shows in the System Menu but doesn't run.
I don't know how to install devx.


Re: HTOP

Posted: Tue Oct 10, 2023 6:42 pm
by OscarTalks

Hmm, OK
You shouldn't need the devx to run the htop .pet
The command for running it from terminal should be:-
urxvt -e htop
or
sakura -e htop
depending on which terminal you want it to run in.
Maybe I overlooked something. Didn't test installing the .pet in a fresh pfix=ram boot as I would normally do with Puppy, will investigate and report any findings.


Re: HTOP

Posted: Tue Oct 10, 2023 7:21 pm
by OscarTalks

The problem seems to be caused by the fact that when you click on the .pet to install it, the package manager (petget or whatever) is editing the .desktop file so the one that ends up in /usr/share/applications is different from the one that I put in the .pet
The Exec line only has "urxvt"
Which of course is wrong.

EDIT:- I see we end up with a different (less pretty) icon in /usr/share/pixmaps as well !!

You can extract the one from the .pet and substitute it (if you know how) (EDIT:- same applies to the .png icon too)
Or make suitable manual edits to the .desktop file (if you know how)
Then run fixmenus followed by jwm -reload in terminal to register the changes.

In case you prefer to delete - copy - paste, the contents of the .desktop file I put in the .pet look like this:-

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Htop
GenericName=Process Viewer
GenericName[ca]=Visualitzador de processos
GenericName[da]=Procesfremviser
GenericName[de]=Prozessanzeige
GenericName[en_GB]=Process Viewer
GenericName[es]=Visor de procesos
GenericName[fi]=Prosessikatselin
GenericName[fr]=Visualiseur de processus
GenericName[gl]=Visor de procesos
GenericName[it]=Visore dei processi
GenericName[ko]=프로세스 뷰어
GenericName[nb]=Prosessviser
GenericName[nl]=Viewer van processen
GenericName[nn]=Prosessvisar
GenericName[pl]=Przeglądarka procesów
GenericName[pt]=Visualizador de Processos
GenericName[pt_BR]=Visualizador de processos
GenericName[ru]=Монитор процессов
GenericName[sk]=Prehliadač procesov
GenericName[sl]=Pregledovalnik opravil
GenericName[sr@ijekavian]=Приказивач процеса
GenericName[sr@ijekavianlatin]=Prikazivač procesa
GenericName[sr@latin]=Prikazivač procesa
GenericName[sr]=Приказивач процеса
GenericName[sv]=Processvisning
GenericName[tr]=Süreç Görüntüleyici
GenericName[uk]=Перегляд процесів
GenericName[zh_CN]=进程查看器
GenericName[zh_TW]=行程檢視器
Comment=Show System Processes
Comment[ca]=Visualitzeu els processos del sistema
Comment[da]=Vis systemprocesser
Comment[de]=Systemprozesse anzeigen
Comment[en_GB]=Show System Processes
Comment[es]=Mostrar procesos del sistema
Comment[fi]=Katsele järjestelmän prosesseja
Comment[fr]=Affiche les processus système
Comment[gl]=Mostrar os procesos do sistema.
Comment[it]=Mostra processi di sistema
Comment[ko]=시스템 프로세스 보기
Comment[nb]=Vis systemprosesser
Comment[nl]=Systeemprocessen tonen
Comment[nn]=Vis systemprosessar
Comment[pl]=Pokaż procesy systemowe
Comment[pt]=Mostrar os Processos do Sistema
Comment[pt_BR]=Mostra os processos do sistema
Comment[ru]=Просмотр списка процессов в системе
Comment[sk]=Zobraziť systémové procesy
Comment[sl]=Prikaz sistemskih opravil
Comment[sr@ijekavian]=Приказ системских процеса
Comment[sr@ijekavianlatin]=Prikaz sistemskih procesa
Comment[sr@latin]=Prikaz sistemskih procesa
Comment[sr]=Приказ системских процеса
Comment[sv]=Visa systemprocesser
Comment[tr]=Sistem Süreçlerini Göster
Comment[uk]=Перегляд системних процесів
Comment[zh_CN]=显示系统进程
Comment[zh_TW]=顯示系統行程
Icon=/usr/share/pixmaps/htop.png
Exec=urxvt -e htop
Terminal=false
Categories=X-System-process

Re: HTOP

Posted: Tue Oct 10, 2023 7:42 pm
by Keef

To be honest I'm not sure a menu entry for htop is worth the bother. Can be just as quick to open a terminal and type htop (not even worth using tab completion).
That's the way I usually start htop anyway.


Re: HTOP

Posted: Tue Oct 10, 2023 7:53 pm
by tammi806

So there's not an easier way to install a working Htop.

This is way over my head and nothing works and I have all sorts of Htop files in my downloads now and still no working Htop.


Re: HTOP

Posted: Tue Oct 10, 2023 8:07 pm
by OscarTalks

Actually it is even worse than I thought. Even the executable that gets installed is just a blank script and not the binary in the .pet

Probably best to extract the .pet and install each of the files manually in the file system (there are not very many) and then run fixmenus followed by jwm -reload

I think these are legacy hacks in petget which were designed to help in certain scenarios, but are causing things to completely fail in this case.
If BarryK sees this, perhaps he can advise or I wonder if some sort of review of older petget hacks would be a good idea?


Re: HTOP

Posted: Tue Oct 10, 2023 8:46 pm
by OscarTalks
tammi806 wrote: Tue Oct 10, 2023 7:53 pm

So there's not an easier way to install a working Htop.
This is way over my head and nothing works and I have all sorts of Htop files in my downloads now and still no working Htop.

Here is a possible workaround which you can try (as an alternative to manual installation of 4 files)
Delete previously downloaded package files
Use package manager to uninstall any htop packages
Download the package from the above post
Click on it to install it and see if it works now.

What I have done is recreate the .pet package with a different name, but contents are exactly as before.
Different in only that the initial "H" is upper case rather than the standard lower case
But since this means that the name is not recognised as "htop", the hacks which break the installation are hopefully NOT applied.


Re: HTOP

Posted: Tue Oct 10, 2023 9:41 pm
by tammi806

@OscarTalks

Okay I will give that a try in a bit and see what happens.

I appreciate all of your effort in doing this.

Thank You. :)


Re: HTOP

Posted: Tue Oct 10, 2023 9:49 pm
by Tahrbaby
OscarTalks wrote: Tue Oct 10, 2023 8:46 pm
tammi806 wrote: Tue Oct 10, 2023 7:53 pm

So there's not an easier way to install a working Htop.
This is way over my head and nothing works and I have all sorts of Htop files in my downloads now and still no working Htop.

Here is a possible workaround which you can try (as an alternative to manual installation of 4 files)
Delete previously downloaded package files
Use package manager to uninstall any htop packages
Download the package from the above post
Click on it to install it and see if it works now.

What I have done is recreate the .pet package with a different name, but contents are exactly as before.
Different in only that the initial "H" is upper case rather than the standard lower case
But since this means that the name is not recognised as "htop", the hacks which break the installation are hopefully NOT applied.

That fixed it!
All working here now.
Opens from the menu entry and also from terminal. :thumbup2:

Great job.Thanks @OscarTalks


Re: HTOP

Posted: Wed Oct 11, 2023 3:03 am
by tammi806

Yep works here also.

Thanks @OscarTalks :thumbup2:


Re: HTOP

Posted: Wed Oct 11, 2023 3:10 am
by BarryK

How is Htop any better than Top that is already in EasyOS (in System menu)?


Re: HTOP

Posted: Wed Oct 11, 2023 7:24 am
by Tahrbaby
BarryK wrote: Wed Oct 11, 2023 3:10 am

How is Htop any better than Top that is already in EasyOS (in System menu)?

Htop shows all cores of cpu usage,RAM usage and Swap partition.
Easier to configure from its GUI and is far better on the eyes.


Re: HTOP

Posted: Wed Oct 11, 2023 12:14 pm
by tammi806
Tahrbaby wrote: Wed Oct 11, 2023 7:24 am
BarryK wrote: Wed Oct 11, 2023 3:10 am

How is Htop any better than Top that is already in EasyOS (in System menu)?

Htop shows all cores of cpu usage,RAM usage and Swap partition.
Easier to configure from its GUI and is far better on the eyes.

"GUI and is far better on the eyes"


Re: HTOP app for EasyOS?

Posted: Wed Oct 11, 2023 8:10 pm
by don570

How is Htop any better than Top that is already in EasyOS (in System menu)?

I like to use htop to do a search by name (F3)
then F9 will kill the process

But top would be nearly the same.
____________________________


Re: HTOP app for EasyOS?

Posted: Fri Oct 13, 2023 12:32 am
by Clarity

Not taking anything away from HTOP, but is BTOP a better offering for the same cost/effort?

Information presented gives an accurate broader picture with same/similar functionality.


Re: HTOP app for EasyOS?

Posted: Fri Oct 13, 2023 10:52 pm
by BarryK

Htop is builtin in Easy 5.5.5, see announcement:

https://bkhome.org/news/202310/easyos-k ... eased.html

Also new is 'iotop', to monitor I/O.