Closed pglizniewicz closed 2 months ago
I've built the project, had to add export CFLAGS=-fPIC or it would not link with libsensors
You should use the branch libcosmic
, it contains a patch for it. However, last time i tried on Linux, i had some very weird panic (something related with ui rendering). Maybe its only the libcosmic
branch, i'm curious about that.
The fact it shows 0 is actually normal, you have to select a behavior on the picklist of a control (the left column, where there is None).
But rn, you don't have any behaviors, you currently need to create them with a config file, you can copy past one of my test configs: https://github.com/wiiznokes/fan-control/tree/main/.config in ~/.config/fan-control/
don't forget to set the config name in the setting file.
When a sensor is not used in the config, e.i., his value will not impact the % of a control, his value is not updated. I plan to make a mode more optimized for the UI in the future.
Also, note that i don't think i currently implemented the code to set the value of a control on Linux, i think it will only print a message in the console.
All of this is now fixed on Master. Sensors now get updated every time
OK, I've rebuilt it and now it shows me a window without decorations and nothing is clickable. It also takes 2 minutes to start the executable (time since Running
target/release/fan-control` is printed to the moment a window appears). I'm running a KDE Plasma 5 session on Wayland. The graphics is nVidia GTX1080 with nvidia drivers if that matters.
now it shows me a window without decorations
This is normal for now.
nothing is clickable
This is weird, I've just tested on Ubuntu 23.10 and it works as expected.
It also takes 2 minutes to start the executable (time since Running target/release/fan-control
Idem, it works as expected for me. I suspect it is because of lm-sensors. Have you tried to use sudo ?
Also, I've made a considerable amount of commit until now, maybe it already fix the problem.
If not, try to report some logs:
export RUST_LOG=debug
cargo run --release && sudo ./target/release/fan-control
Can you check if the new flatpak version fix it for you ?
I won't have access to the machine I've previously tested for another two weeks, checked it briefly on my ThinkPad X13 G3 AMD laptop on Fedora 40 with KDE Plasma 6 and it works.
I've built the project, had to add
export CFLAGS=-fPIC
or it would not link with libsensors. The result is:The system is Fedora 39, running on an ASUS Rampage IV Formula motherboard.
sensors returns: