developer-mode and dconf fix attempt
This commit is contained in:
parent
ae214cf1a2
commit
2f99b84ef2
|
|
@ -71,6 +71,14 @@ export default class BreezyDesktopExtension extends Extension {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.settings.get_boolean('developer-mode')) {
|
||||||
|
// allow testing XR devices with just USB, no video needed
|
||||||
|
return {
|
||||||
|
monitor: this._monitor_manager.getMonitors()[0],
|
||||||
|
refreshRate: 60,
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,8 @@
|
||||||
"--talk-name=ca.desrt.dconf",
|
"--talk-name=ca.desrt.dconf",
|
||||||
"--filesystem=xdg-run/dconf",
|
"--filesystem=xdg-run/dconf",
|
||||||
"--env=DCONF_USER_CONFIG_DIR=.config/dconf",
|
"--env=DCONF_USER_CONFIG_DIR=.config/dconf",
|
||||||
"--env=GIO_EXTRA_MODULES=/app/lib/gio/modules/"
|
"--env=GIO_EXTRA_MODULES=/app/lib/gio/modules/",
|
||||||
|
"--env=GSETTINGS_BACKEND=dconf"
|
||||||
],
|
],
|
||||||
"cleanup" : [
|
"cleanup" : [
|
||||||
"/include",
|
"/include",
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,15 @@
|
||||||
<description>
|
<description>
|
||||||
End distance when using the "toggle display distance" shortcut.
|
End distance when using the "toggle display distance" shortcut.
|
||||||
</description>
|
</description>
|
||||||
|
</key>
|
||||||
|
<key name="developer-mode" type="b">
|
||||||
|
<default>
|
||||||
|
false
|
||||||
|
</default>
|
||||||
|
<summary>Developer mode</summary>
|
||||||
|
<description>
|
||||||
|
Enable developer mode
|
||||||
|
</description>
|
||||||
</key>
|
</key>
|
||||||
</schema>
|
</schema>
|
||||||
</schemalist>
|
</schemalist>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue