Bug 231016
Summary: | no files flagged as "config" in gnome-screensaver rpm | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ian Collier <imc> |
Component: | gnome-screensaver | Assignee: | Ray Strode [halfline] <rstrode> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6 | CC: | jmccann |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-03-05 18:45:31 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: |
Description
Ian Collier
2007-03-05 16:59:03 UTC
So modifying the schema is actually not the right way to do it (I realize it's misleading that the file is in /etc, that was a design mistake that I hope to correct at some point, but it's not gnome-screensaver specific). Probably the nicest way to do it is to roll your own config rpm. You can get a stub rpm by installing the rpmdevtools package and then running rpmdev-newspec. There is also a lot of packaging information on the fedora wiki. I would just add some %post scriplet that does something like: GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source) gconftool-2 --direct --config-source=$GCONF_CONFIG_SOURCE --load %{_datadir}/my-site-config/gnome-screensaver/gnome-screensaver.entries where gnome-screensaver.entries contains the defaults you want. An easy way to generate the .entries file is to setup the settings in a local user account and then use gconftool-2 --dump on /apps/gnome-screensaver Hope that helps, and I realize it's not super straight forward. Another option would be to look into using sabayon. |