Bug 689070
| Summary: | Firstboot doesn't use gtk-oxygen theme after kde spin install | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Trever Fischer <tdfischer> |
| Component: | firstboot | Assignee: | Martin Gracik <mgracik> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | bcl, dmach, kevin, mgracik, rdieter |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-22 15:25:17 UTC | Type: | --- |
| 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: | 669355 | ||
|
Description
Trever Fischer
2011-03-19 02:48:50 UTC
I believe this is related to bug#683855 It is indeed related, but not the solution. The solution should be to use the oxygen GTK theme which is installed as part of the KDE spin. This seems, imo, ultimately a gtk issue, I mean there's no way I know of to set a global/default gtk theme, short of installing a /etc/gtk-2.0/gtkrc or /etc/gtk-3.0/settings.ini , and I'm pretty sure that the users' settings daemon isn't consulted when running apps with a different uid either. We've hacked around this on the kde spin creating a /root/.gtkrc-2.0 (part of bug#683855). any better suggestions? I think what happens here is that the /root/.gtkrc-2.0 created on the live image does not end up installed, so things are screwed up again after installation. Kevin's right, modified files on the live images are for the live image only (sorry if that wasn't obvious). I believe, that we don't want to put that hack into anaconda. What if we put those lines: # hack around https://bugzilla.redhat.com/683855 cat > /root/.gtkrc-2.0 << GTKRC_EOF include "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc" include "/etc/gtk-2.0/gtkrc" gtk-theme-name="oxygen-gtk" GTKRC_EOF below the /etc/rc.d/init.d/livesys EOF, i.e. write directly to the live image's /root instead of the livesys initscript? |