Skip to content

Commit

Permalink
vino: use wrapGAppsHook
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bjornfor committed May 18, 2017
1 parent eda502d commit 0eff1d9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkgs/desktops/gnome-3/3.22/core/vino/default.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, lib, makeWrapper
{ stdenv, fetchurl, lib, wrapGAppsHook
, pkgconfig, gnome3, gtk3, glib, intltool, libXtst, libnotify, libsoup
, telepathySupport ? false, dbus_glib ? null, telepathy_glib ? null
, libsecret ? null, gnutls ? null, libgcrypt ? null, avahi ? null
Expand All @@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
doCheck = true;

buildInputs = [
makeWrapper
wrapGAppsHook
pkgconfig gnome3.defaultIconTheme gtk3 glib intltool libXtst libnotify libsoup
] ++ optionals telepathySupport [ dbus_glib telepathy_glib ]
++ optional gnomeKeyringSupport libgnome_keyring3
Expand All @@ -25,8 +25,7 @@ stdenv.mkDerivation rec {
];

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

meta = with stdenv.lib; {
Expand Down

0 comments on commit 0eff1d9

Please sign in to comment.