Guake doesn't work:
$ guake
** (process:22080): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
** (process:22080): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
** (process:22080): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):
File "/nix/store/34sscviv2lpz6vr308gg99rdc2hbhlis-python-2.7.11/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/nix/store/34sscviv2lpz6vr308gg99rdc2hbhlis-python-2.7.11/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/nix/store/xph3irbygcsgja7ra0ar5bsyqm0n8k5z-guake-0.8.3/lib/python2.7/site-packages/guake/main.py", line 239, in <module>
exec_main()
File "/nix/store/xph3irbygcsgja7ra0ar5bsyqm0n8k5z-guake-0.8.3/lib/python2.7/site-packages/guake/main.py", line 230, in exec_main
if not test_gconf():
File "/nix/store/xph3irbygcsgja7ra0ar5bsyqm0n8k5z-guake-0.8.3/lib/python2.7/site-packages/guake/common.py", line 52, in test_gconf
return c.dir_exists('/apps/guake')
glib.GError: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details - 1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.GConf was not provided by any .service files)
Install and run guake.
nixos-version, Ubuntu/Fedora: lsb_release -a, ...)$ nixos-version
16.03.898.3111985 (Emu)
nix-env --version)$ nix-env --version
nix-env (Nix) 1.11.2
nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)$ nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
"16.03.898.3111985"
I see the similar D-Bus error for another package. I'm able to workaround it by installing gconf with nix-env along with instructions from https://nixos.org/wiki/Solve_GConf_errors_when_running_GNOME_applications.
Could you please test if that works for you?
Update: installing gnome.GConf or gnome3.gconf either globally or locally through nix-env is the only thing that was required for me. I've fixed the issue for my package by adding gconf to propagatedUserEnvPkgs. I've tested and this works for guake, too.
I've provided a patch https://github.com/NixOS/nixpkgs/pull/16670.
Most helpful comment
Update: installing
gnome.GConforgnome3.gconfeither globally or locally through nix-env is the only thing that was required for me. I've fixed the issue for my package by adding gconf topropagatedUserEnvPkgs. I've tested and this works for guake, too.I've provided a patch https://github.com/NixOS/nixpkgs/pull/16670.