gnome3.gnome-settings-daemon: Use absolute path of mousetweaks
See: https://github.com/NixOS/nixpkgs/pull/60176#issuecomment-486401686
This commit is contained in:
parent
9da62cb0b3
commit
aa7a9523bd
@ -13,6 +13,7 @@
|
||||
, libgnomekbd
|
||||
, lcms2
|
||||
, libpulseaudio
|
||||
, mousetweaks
|
||||
, alsaLib
|
||||
, libcanberra-gtk3
|
||||
, upower
|
||||
@ -48,7 +49,7 @@ stdenv.mkDerivation rec {
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./fix-paths.patch;
|
||||
inherit tzdata;
|
||||
inherit tzdata mousetweaks;
|
||||
})
|
||||
];
|
||||
|
||||
|
@ -13,3 +13,14 @@
|
||||
|
||||
typedef struct _TzDB TzDB;
|
||||
typedef struct _TzLocation TzLocation;
|
||||
--- a/plugins/mouse/gsd-mouse-manager.c
|
||||
+++ b/plugins/mouse/gsd-mouse-manager.c
|
||||
@@ -118,7 +118,7 @@ set_mousetweaks_daemon (GsdMouseManager *manager,
|
||||
gboolean run_daemon = dwell_click_enabled || secondary_click_enabled;
|
||||
|
||||
if (run_daemon || manager->priv->mousetweaks_daemon_running)
|
||||
- comm = g_strdup_printf ("mousetweaks %s",
|
||||
+ comm = g_strdup_printf ("@mousetweaks@/bin/mousetweaks %s",
|
||||
run_daemon ? "" : "-s");
|
||||
else
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user