Skip to content

Commit 0eff1d9

Browse files
committedMay 18, 2017
vino: use wrapGAppsHook
Fixes this: .vino-server-wr[8931]: Using the 'memory' GSettings backend. \ Your settings will not be saved or shared with other applications. Still, the screen sharing settings under "gnome-control-center sharing" does not seem to be persisted (except the enabling/disabling sharing flag itself). Making changes and then re-opening gnome-control-center shows the default screen sharing settings. Sigh.
1 parent eda502d commit 0eff1d9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed
 

‎pkgs/desktops/gnome-3/3.22/core/vino/default.nix

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ stdenv, fetchurl, lib, makeWrapper
1+
{ stdenv, fetchurl, lib, wrapGAppsHook
22
, pkgconfig, gnome3, gtk3, glib, intltool, libXtst, libnotify, libsoup
33
, telepathySupport ? false, dbus_glib ? null, telepathy_glib ? null
44
, libsecret ? null, gnutls ? null, libgcrypt ? null, avahi ? null
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
doCheck = true;
1616

1717
buildInputs = [
18-
makeWrapper
18+
wrapGAppsHook
1919
pkgconfig gnome3.defaultIconTheme gtk3 glib intltool libXtst libnotify libsoup
2020
] ++ optionals telepathySupport [ dbus_glib telepathy_glib ]
2121
++ optional gnomeKeyringSupport libgnome_keyring3
@@ -25,8 +25,7 @@ stdenv.mkDerivation rec {
2525
];
2626

2727
preFixup = ''
28-
wrapProgram "$out/libexec/vino-server" \
29-
--prefix XDG_DATA_DIRS : "$out/share:$out/share/gsettings-schemas/${name}:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
28+
export GSETTINGS_SCHEMAS_PATH="$out/share/gsettings-schemas/${name}:$GSETTINGS_SCHEMAS_PATH"
3029
'';
3130

3231
meta = with stdenv.lib; {

0 commit comments

Comments
 (0)