|
From: | Max Nikulin |
Subject: | Re: [PATCH] Change default value of org-clock-x11-idle-program-name |
Date: | Thu, 26 Jan 2023 22:43:53 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
On 24/01/2023 19:41, Ihor Radchenko wrote:
What we can do is check if xprintidle executable is available and use it. Otherwise, fall back to x11idle to retain backwards compatibility on systems that do no have xprintidle installed.See the attached patch.
I have not tested your patch, however I consider it as an improvement. I hope, effect of `executable-find' is negligible in respect to load time.
[Prev in Thread] | Current Thread | [Next in Thread] |