Le 12/21/2011 03:27 AM, Henry Gebhardt a écrit : > Newer kernels (since a few years, not sure exactly how many) use > /sys/class/power_supply/thermal_zone* to get the cpu temperature > information, while the thermal plugin from lxpanel uses the deprecated > /proc/acpi/thermal_zone/* interface. I am trying to fix this, and I have > a question. Can the /proc interface be replaced by sysfs, or should an > effort be made to support both? It's probably safer to test the presence of the new interface, and fallback to the old one, unless you are absolutely sure the old one is not used since a long time. I don't know if it's complex to do this, but if it's possible without too much headache, it's a safer solution :)
> Also, am I correct in that the lxpanel-plugins repository is no longer > used? Yes, you should use the lxpanel git tree instead. Regards, Julien Lavergne ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Lxde-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxde-list
