Anyone got a working HTOP app for EasyOS ?
Cheers
Moderator: BarryK
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.
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.
OscarTalks wrote: ↑Tue Oct 10, 2023 4:05 pmHaven'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 .
Tahrbaby wrote: ↑Tue Oct 10, 2023 5:37 pmOscarTalks wrote: ↑Tue Oct 10, 2023 4:05 pmHaven'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.
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.
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
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.
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.
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?
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.
OscarTalks wrote: ↑Tue Oct 10, 2023 8:46 pmHere 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.
Great job.Thanks @OscarTalks
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.
____________________________
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.
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.