forked from BrOrlandi/Desktop-Scroller-GNOME-Extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
50 lines (30 loc) · 1.23 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Desktop Scroller Gnome 3 Extension
----------------------------------
This extension allows you to switch between workspaces by scolling your mouse
wheel on the left or right edge of your screen and also when the mouse is over
your desktop background.
Extension is based on the previous work by
* Marcos Diaz <diazmencia@gmail.com>
* Arnaud Bonatti <arnaud.bonatti@gmail.com>
* Bruno Orlandi <brorlandi@gmail.com>
Installing
----------
Copy folder contents into:
$HOME/.local/share/gnome-shell/extensions/desktop-scroller@brorlandi/
and restart gnome-shell. Don't forget to enable it.
Schemas
-------
When you change the schema for the preferences you have to compile it again.
Compile with:
$ glib-compile-schemas --strict schemas/
Translations
------------
Extract the translateable strings into messages.pot:
$ xgettext -k_ -kN_ -o po/desktop-scroller.pot extension.js prefs.js
Create a new translation for e.g. swedish:
$ LANG=de_DE msginit -i po/desktop-scroller.pot
Move the resulting file (de.po) into the po/ folder.
Or update a translation with new strings:
$ msgmerge -U po/de.po po/desktop-scroller.pot
Finally create a machine readable file:
$ msgfmt po/de.po -o locale/de/LC_MESSAGES/desktop-scroller.mo