GNOME Bugzilla – Bug 675447
use XDG runtime dir for pid file
Last modified: 2021-06-05 16:31:57 UTC
We should use the xdg runtime dir for the pid file. src/mt-pidfile.c: snprintf (fn, sizeof (fn), "%s/.mousetweaks.pid", g_get_home_dir ());
Fixed in master. Thanks Jon. http://git.gnome.org/browse/mousetweaks/commit/?id=db94513c10c2ca307a0e66464271f87b00ddd312
Hmm, actually why does mousetweaks even have a pid file? I think the recommended approach is to use dbus. Also, if we need to store runtime data it might be better to use a subdirectory of the runtime dir. like: /run/user/me/mousetweaks/pid
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new enhancement request ticket at https://gitlab.gnome.org/GNOME/mousetweaks/-/issues/ Thank you for your understanding and your help.