Bug 1432505
Summary: | alter GNOME in such a way that it /does/ load a custom overrides file for a mode, presumably reading the modes/name.json file and using the contents of the 'overridesSchema' option. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Ajinkya Patil <ajipatil> |
Component: | gnome-shell | Assignee: | Florian Müllner <fmuellner> |
Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.4 | CC: | d.bell, fmuellner, mboisver, mclasen, rstrode, tpelka |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-10 12:55:16 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1420851, 1479818 |
Description
Ajinkya Patil
2017-03-15 14:26:18 UTC
(In reply to Ajinkya Patil from comment #0) > Description of problem: > alter GNOME in such a way that it /does/ load a custom overrides file for a > mode, presumably reading the modes/name.json file and using the contents of > the 'overridesSchema' option. This was removed for a reason: https://git.gnome.org//browse/gnome-shell/commit?id=ae2751a68b20ab281ca74affd61562fb8869b639 We really want to initialize the overrides before handling control over to the javascript code, or those issues will be back. It would be possible to have a small javascript hook to retrieve the setting, do the initialization in C, and then start the "real" javascript code, but that's quite horrible (we'd be starting the javascript engine, looking for session mode files in the filesystem, and loading and parsing them *twice* on startup). A far less intrusive alternative would be to allow setting a custom overrides schema via an environment variable or command line switch. (In reply to Florian Müllner from comment #2) > A far less intrusive alternative would be to allow setting a custom > overrides schema via an environment variable or command line switch. That would be great - we're creating a new X session anyway, so we can set a variable or command line switch (which is already done to set the mode). Hello, When can we expect a fix? Thanks, Ajinkya Patil The latest RHEL 7.5 build adds an --override-schema option as requested. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0770 |