mate-desktop / mate-applets

Applets for use with the MATE panel
http://www.mate-desktop.org
GNU General Public License v2.0
79 stars 67 forks source link

mate-cpu indicator failes to load on archlinux mate-cpufreq-selector failes to run #667

Closed mhussaincov94 closed 4 months ago

mhussaincov94 commented 4 months ago

I am unable to add the cpu applet to the top panel at all. running archlinux with all updates installed. using orca screen reader. when I run mate-cpufreq-selector in a terminal I get the folowing error message. mate-cpufreq-selector: error while loading shared libraries: libcpupower.so.0: cannot open shared object file: No such file or directory could this be a packageing issue oor am i missing an app? I have cpupower installed, and enabled and running if this helps. would be greatful for help. when i try to add the cpu applet from the list of applets it is not added to the panel at all. Majid Hussain

lukefromdc commented 4 months ago

This is a distro/packaging issue. The applet was built to use libcpupower in this case, so mate-applets needs to depend on a package providing it.

mhussaincov94 commented 4 months ago

say ok, which packages use libcpupower in arch? cheers!

zhuyaliang commented 4 months ago

Check if ls -l /lib/libcpupower.so exists

mhussaincov94 commented 4 months ago

hi I believe yes? lrwxrwxrwx 1 root root 20 Jan 8 01:23 /lib/libcpupower.so -> libcpupower.so.0.0.1

zhuyaliang commented 4 months ago

Sorry, it should be ls -l /lib/libcpupower.so* I suspect that the library name in your system is libcpupower.so.1. If that's the case, you need to create a new soft link

sudo ln -s /lib/ibcpupower.so.0.0.1 /lib/ibcpupower.so.0
mhussaincov94 commented 4 months ago

thank you, before i run this command. will it meddle with upgrades of packages? will I require to revirt this in future?

mhussaincov94 commented 4 months ago

hi again, an update. i downloaded the pkg build from archlinux and built the package localy. everything is working now. thank you for your help! Majid