Features/Font configuration: Difference between revisions
| (One intermediate revision by the same user not shown) | |||
| Line 21: | Line 21: | ||
* sugar.activity.activity sets the default GTK+ font based on them. | * sugar.activity.activity sets the default GTK+ font based on them. | ||
Next steps: | Next steps (implemented in [http://git.sugarlabs.org/projects/sugar-settings-manager sugar-settings-manager]) : | ||
* Implement an xsettings daemon (hopefully in-process). | * Implement an xsettings daemon (hopefully in-process). | ||
** This will eliminate the need to manually set GTK+ fonts in sugar-session and sugar.activity.activity, since GTK+ init routines will contact the settings daemon and learn of the settings. | ** This will eliminate the need to manually set GTK+ fonts in sugar-session and sugar.activity.activity, since GTK+ init routines will contact the settings daemon and learn of the settings. | ||
** It will also mean that activities that are not based on sugar.activity.activity have an easy way to find out the font settings, and all GTK+ apps will "just work" | ** It will also mean that activities that are not based on sugar.activity.activity have an easy way to find out the font settings, and all GTK+ apps will "just work" | ||
TODO | |||
* Deprecate FONT settings in sugar.graphics.style | * Deprecate FONT settings in sugar.graphics.style | ||
* Add user interface | * Add user interface | ||
| Line 104: | Line 106: | ||
== How To Test == | == How To Test == | ||
# Set font settings in GConf then launch sugar - do they take effect? | # Set font settings in GConf then launch sugar - do they take effect? | ||
## To set the GConf key manually, use the gconftool-2 command from Terminal (''gconftool-2 --set -t string /desktop/sugar/font/default_face Serif'' and ''gconftool-2 --set -t float /desktop/sugar/font/default_size 16'') | |||
## After setting the key, you need to restart Sugar | |||
# (WARNING: This part of the Feature has not landed yet) Go into the control panel and change the font - whole desktop should be instantly updated. | # (WARNING: This part of the Feature has not landed yet) Go into the control panel and change the font - whole desktop should be instantly updated. | ||