updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / cinnamon-extensions-git / cinnamon-extensions-git.install
blobb0e83c1139a46ba1ff3dceb6dd6d33b63b9dc764
1 post_install() {
2   glib-compile-schemas usr/share/glib-2.0/schemas
4   cat <<EOT
5 ==============================================================================
6 To enable the extensions open dconf-editor
7 and go to org --> cinnamon--> enabled extensions
8 and enter the desired extension name, it should look like this:
10   ['dock@cinnamon.org', 'weather@cinnamon.org', 'trash@cinnamon.org']
11   
12 The extension names are the same as the folder names in
13   /usr/share/cinnamon/extensions
15 Or you could just install 'cinnamon-settings-git' from AUR
16         and enable the extensions from there
18 You need to restart Cinnamon
20   Alt+F2, and type "r"
21   or from a command line: cinnamon --replace
23 To configure the weather extension go to:
24   http://edg3.co.uk/snippets/weather-location-codes/
25 and enter your city name to get the WOEID
26 After this open your terminal and type:
27   gsettings set org.cinnamon.extensions.weather your_woeid
28       your_woeid being the value you've got from the above url.
29 You can do this with dconf-editor by editing org --> cinnamon--> extensions
30 ==============================================================================
31 EOT
35 post_upgrade() {
36   post_install "$1"
39 post_remove() {
40   post_install "$1"