[gnome-shell.in] set $XDG_DATA_DIRS too
This is needed to find gsettings schemas that are installed in the jhbuild prefix.
This commit is contained in:
parent
4dfc869e9d
commit
229604690b
1
src/gnome-shell.in
Normal file → Executable file
1
src/gnome-shell.in
Normal file → Executable file
@ -214,6 +214,7 @@ def start_shell(perf_output=None):
|
||||
env.update({'GNOME_SHELL_JS' : '@GJS_JS_DIR@:@GJS_JS_NATIVE_DIR@:' + js_dir,
|
||||
'PATH' : '@MUTTER_BIN_DIR@:' + os.environ.get('PATH', ''),
|
||||
'XDG_CONFIG_DIRS' : '@sysconfdir@/xdg:' + (os.environ.get('XDG_CONFIG_DIRS') or '/etc/xdg'),
|
||||
'XDG_DATA_DIRS' : '@datadir@:' + (os.environ.get('XDG_DATA_DIRS') or '/usr/local/share:/usr/share'),
|
||||
'GNOME_DISABLE_CRASH_DIALOG' : '1'})
|
||||
|
||||
if running_from_source_tree:
|
||||
|
Loading…
Reference in New Issue
Block a user