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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,8 @@
|
|||
"--talk-name=ca.desrt.dconf",
|
||||
"--filesystem=xdg-run/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" : [
|
||||
"/include",
|
||||
|
|
|
|||
|
|
@ -54,6 +54,15 @@
|
|||
<description>
|
||||
End distance when using the "toggle display distance" shortcut.
|
||||
</description>
|
||||
</key>
|
||||
<key name="developer-mode" type="b">
|
||||
<default>
|
||||
false
|
||||
</default>
|
||||
<summary>Developer mode</summary>
|
||||
<description>
|
||||
Enable developer mode
|
||||
</description>
|
||||
</key>
|
||||
</schema>
|
||||
</schemalist>
|
||||
|
|
|
|||
Loading…
Reference in New Issue