Hi,
* Xiang Liu <xlml@outlook.com> [2013-11-18 04:46]:
hello everyone,
I have found that the terrible noise of my cpu fan. It works well until after suspending. (sleep by xfce-power-manager or press the sleep button)
I examined and compared the values of /sys/devices/virtual/thermal/cooling_device{3,4,5,6,7}/cur_state, and found their values are changed after resuming from suspend.
so I wrote a simple script and hoped it to be run after each suspend. [...]
But I wonder how can i trigger it after resuming in xfce environment.
Xfce has no special facilities for that, however you should be able to execute your script by creating a pm-utils hook, see http://old-en.opensuse.org/Pm-utils#Creating_your_own_hooks
thanks, In fact, the full story is that I have tested the pm-utils hook before I asked help here. It works only if pm-suspend was used to suspend the system. but the /usr/lib/systemd/system-sleep way works.
-- Guido Berhoerster --
thanks you and marcus. you are both most kind. N�����r��y隊Z)z{.��_qﮞ˛���m�)z{.��+�:�{Zr�az�'z��j)h���DZ}Ǿ� ޮ�^�ˬz��