post_install() { cat <<-'EOF' ################################################################################ # In order to use this theme, you will need to modify (please backup the file #+ first) or create the `.gtkrc-2.0-kde4' file in your $HOME directory with the #+ following (Adjust the font name and size to your liking): include "/usr/share/themes/kde44-oxygen-molecule/gtk-2.0/gtkrc" include "/etc/gtk-2.0/gtkrc" style "user-font" { font_name="Sans Serif" } widget_class "*" style "user-font" gtk-theme-name="kde44-oxygen-molecule" gtk-font-name="Sans Serif 10" gtk-icon-theme-name="oxygenrefit2" You can alternativelly use the gtk-chtheme app included in this package. ################################################################################ # If you want GTK+ apps run with root privileges to be themed as well, copy #+ your newly created `~/.gtkrc-2.0-kde4' file to `/root/gtkrc-2.0' sudo cp ~/.gtkrc-2.0-kde4 /root/.gtkrc-2.0 ################################################################################ # You may apply the Oxygen-Molecule color scheme to your KDE apps by going to #+ `System Settings -> Appearance -> Colors' and selecting the OxygenMolecule. # # Also, to make sure your GTK apps use only the Oxygen Molecule color scheme, #+ navigate to `System Settings -> Appearance -> Colors -> Options (tab)' and #+ uncheck the "Apply colors to non-KDE4 applications" option. EOF } post_upgrade() { post_install $1 } op=$1 shift $op $*