updated on Mon Jan 9 20:07:11 UTC 2012
[aur-mirror.git] / cinnamon-extensions-git / cinnamon-extensions-git.install
blobe35143571208181cef4d1e4b799bda4651381106
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 You need to restart Cinnamon
17   Alt+F2, and type "r"
18   or from a command line: cinnamon --replace
20 To configure the weather extension go to:
21   http://edg3.co.uk/snippets/weather-location-codes/
22 and enter your city name to get the WOEID
23 After this open your terminal and type:
24   gsettings set org.cinnamon.extensions.weather your_woeid
25       your_woeid being the value you've got from the above url.
26 You can do this with dconf-editor by editing org --> cinnamon--> extensions
27 ==============================================================================
28 EOT
32 post_upgrade() {
33   post_install "$1"
36 post_remove() {
37   post_install "$1"