on xenial help sign in
Add unity schema from unity7
commit45b4b12537e4308236f9ea7a472161cbc605d003 authorMarius Gripsgard <marius@ubports.com> dateSun 13 May 2018, 11:52 (8 years ago) parent2d2b8bb
5 files changed+270−2
data/CMakeLists.txt+1 data/com.canonical.Unity.gschema.xml+254 debian/control+14−1 debian/unity8-common.install−1 debian/unity8-schemas.install+1
data/CMakeLists.txt+1
@@ -31,5 +31,6 @@ install(FILES
3131add_custom_target(pkgversion ALL COMMAND dpkg-parsechangelog -l${CMAKE_SOURCE_DIR}/debian/changelog --show-field version > ${CMAKE_CURRENT_BINARY_DIR}/version)
3232
3333install(FILES com.canonical.Unity8.gschema.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/glib-2.0/schemas)
34+install(FILES com.canonical.Unity.gschema.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/glib-2.0/schemas)
3435install(FILES unity8-dash.url-dispatcher DESTINATION ${CMAKE_INSTALL_DATADIR}/url-dispatcher/urls)
3536install(FILES ${CMAKE_CURRENT_BINARY_DIR}/version DESTINATION ${CMAKE_INSTALL_LOCALSTATEDIR}/lib/unity8)
data/com.canonical.Unity.gschema.xmlnew file+254
@@ -0,0 +1,254 @@
1+<schemalist>
2+ <enum id="form-factor-enum">
3+ <value nick="Automatic" value="0" />
4+ <value nick="Desktop" value="1" />
5+ <value nick="Netbook" value="2" />
6+ <value nick="TV" value="3" />
7+ </enum>
8+ <enum id="home-expanded-enum">
9+ <value nick="Not Expanded" value="0" />
10+ <value nick="Expanded" value="1" />
11+ </enum>
12+ <enum id="launcher-position-enum">
13+ <value nick="Left" value="0" />
14+ <value nick="Bottom" value="1" />
15+ </enum>
16+ <enum id="desktop-type-enum">
17+ <value nick="Ubuntu" value="0" />
18+ <value nick="UbuntuKylin" value="1" />
19+ </enum>
20+
21+ <schema path="/com/canonical/unity/" id="com.canonical.Unity" gettext-domain="unity">
22+ <key enum="form-factor-enum" name="form-factor">
23+ <default>"Automatic"</default>
24+ <summary>The form factor Unity should target.</summary>
25+ <description>The form factor chosen will affect the size and appearance of the Dash, Launcher and also the Window Management behaviour.</description>
26+ </key>
27+ <key enum="home-expanded-enum" name="home-expanded">
28+ <default>"Expanded"</default>
29+ <summary>Whether the home screen should be expanded.</summary>
30+ <description>Whether the home screen should be expanded.</description>
31+ </key>
32+ <key enum="desktop-type-enum" name="desktop-type">
33+ <default>"Ubuntu"</default>
34+ <summary>The current desktop name.</summary>
35+ <description>The current desktop name.</description>
36+ </key>
37+ <key type="i" name="minimize-count">
38+ <default>0</default>
39+ <summary>Number of times a normal window has been minimized.</summary>
40+ <description>This is used to adjust the animation speed by making it progressively faster the more it is used.</description>
41+ </key>
42+ <key type="i" name="minimize-fast-duration">
43+ <default>300</default>
44+ <summary>The duration for the minimize animation when it is at its fastest setting.</summary>
45+ <description>This is the duration that the minimize animation will have when it has been used more than an number of times equal minimize-speed-threshold.</description>
46+ </key>
47+ <key type="i" name="minimize-slow-duration">
48+ <default>800</default>
49+ <summary>The duration for the minimize animation when it is at its slowest setting.</summary>
50+ <description>This is the duration that the minimize animation will have when it has never been used.</description>
51+ </key>
52+ <key type="i" name="minimize-speed-threshold">
53+ <default>100</default>
54+ <summary>The number of minimizations required to reach maximum speed.</summary>
55+ <description>The speed of the minimize animation will progressively get faster as minimize-count approaches this value.</description>
56+ </key>
57+ <key type="b" name="double-click-activate">
58+ <default>true</default>
59+ <summary>Enable/Disable dash result double-click activation.</summary>
60+ <description>This is used to enable/disable double-click result activation in the dash. Double-click to activate, single click preview</description>
61+ </key>
62+ <key type="b" name="integrated-menus">
63+ <default>false</default>
64+ <summary>Enable/Disable the integrated menus in Unity.</summary>
65+ <description>When this is enabled, the application menus will be shown
66+ on the window decoration, otherwise they will be always shown on the
67+ unity top panel</description>
68+ </key>
69+ <key type="u" name="show-menus-now-delay">
70+ <default>180</default>
71+ <range min="0" max="5000"/>
72+ <summary>Delay (in ms) before showing the menus when pressing Alt</summary>
73+ <description>This allows tune the delay before presenting unity menus
74+ (in non always-show-menus mode).</description>
75+ </key>
76+ <key type="b" name="always-show-menus">
77+ <default>false</default>
78+ <summary>Toggle the menu visibility based on mouse hovering.</summary>
79+ <description>When this is enabled, the application menus will be always
80+ shown (on the window decoration or in the unity panel, depending whether
81+ integrated menus are enabled), otherwise they will be shown only when
82+ the mouse cursor is over the relative mouse area.</description>
83+ </key>
84+ <key type="as" name="whitelist-repeated-keys">
85+ <default>[
86+ 'XF86KbdBrightnessUp',
87+ 'XF86KbdBrightnessDown',
88+ 'XF86MonBrightnessUp',
89+ 'XF86MonBrightnessDown',
90+ 'XF86AudioRaiseVolume',
91+ 'XF86AudioLowerVolume'
92+ ]</default>
93+ <summary>List of keycodes that should be processed even if auto-repated.</summary>
94+ <description>These keycodes are processed even if they are auto-repeated.</description>
95+ </key>
96+ <key type="b" name="pam-check-account-type">
97+ <default>false</default>
98+ <summary>Enable/Disable PAM account checking</summary>
99+ <description>Whether PAM should check the result of account modules
100+ when authenticating. Only do this if you have account
101+ configured properly on your system.</description>
102+ </key>
103+ <key type="b" name="lowgfx">
104+ <default>false</default>
105+ <summary>Enable/Disable Low Graphics Mode</summary>
106+ <description>Whether Unity runs in Low Graphics Mode.</description>
107+ </key>
108+ </schema>
109+ <schema path="/com/canonical/unity/interface/" id="com.canonical.Unity.Interface" gettext-domain="unity">
110+ <key type="d" name="text-scale-factor">
111+ <default>1.0</default>
112+ <range min="0.5" max="3.0"/>
113+ <summary>Font scaling for unity and applications.</summary>
114+ <description>This value defines the global font scaling used by both
115+ unity and applications. It will match the current system font scaling.</description>
116+ </key>
117+ <key type="d" name="cursor-scale-factor">
118+ <default>1.0</default>
119+ <range min="0.5" max="3.0"/>
120+ <summary>Mouse cursor scaling.</summary>
121+ <description>This value defines the global mouse cursor scaling used by both
122+ unity and applications. Changing this value allows to use a custom scaling
123+ for the mouse cursor.</description>
124+ </key>
125+ <key type="s" name="app-scale-factor-monitor">
126+ <default>''</default>
127+ <summary>The name of the monitor that controls the global app scaling factor.</summary>
128+ <description>This value defines the monitor that unity will use (if found) as reference
129+ for scaling all the applications.</description>
130+ </key>
131+ <key type="b" name="app-fallback-to-maximum-scale-factor">
132+ <default>true</default>
133+ <summary>Use the maximum per-monitor scale-factor as application scale factor if no target monitor is found.</summary>
134+ <description>When this is enabled, the applications scale factor will match
135+ the scale factor of the monitor with the greater value, in case the monitor
136+ defined in 'app-scale-factor-monitor' is not provided or available.</description>
137+ </key>
138+ </schema>
139+ <schema path="/com/canonical/unity/launcher/" id="com.canonical.Unity.Launcher" gettext-domain="unity">
140+ <key type="as" name="favorites">
141+ <default>[
142+ 'application://ubiquity.desktop',
143+ 'application://org.gnome.Nautilus.desktop',
144+ 'application://firefox.desktop',
145+ 'application://libreoffice-writer.desktop',
146+ 'application://libreoffice-calc.desktop',
147+ 'application://libreoffice-impress.desktop',
148+ 'application://org.gnome.Software.desktop',
149+ 'application://ubuntu-amazon-default.desktop',
150+ 'application://unity-control-center.desktop',
151+ 'unity://running-apps',
152+ 'unity://expo-icon',
153+ 'unity://devices'
154+ ]</default>
155+ <summary>List of items that should be shown by default in the launcher</summary>
156+ <description>These items can be: application://desktop-id.desktop, device://uiid and unity://special-id (including: unity://running-apps (icons of running applications) unity://devices (icons of attached devices), unity://expo-icon (icon of the workspace switcher) and unity://desktop-icon (the show-desktop icon)); the order of this list determines the launcher item's position.</description>
157+ </key>
158+ <key type="as" name="items">
159+ <default>[
160+ 'application:///dialer-app.desktop',
161+ 'application:///messaging-app.desktop',
162+ 'application:///address-book-app.desktop',
163+ 'application:///ubuntu-system-settings.desktop',
164+ 'appid://com.ubuntu.camera/camera/current-user-version',
165+ 'appid://com.ubuntu.gallery/gallery/current-user-version',
166+ 'application:///webbrowser-app.desktop'
167+ ]</default>
168+ <summary>List of items that should be shown by default in the launcher</summary>
169+ <description>These items can be: application:///desktop-id.desktop or appid://package/app/current-user-version.</description>
170+ </key>
171+ <key type="s" name="favorite-migration">
172+ <default>''</default>
173+ <summary>Version of last migration done</summary>
174+ <description>This is a detection key for the favorite migration script to know whether the needed migration is done or not.</description>
175+ </key>
176+ <key enum="launcher-position-enum" name="launcher-position">
177+ <default>"Left"</default>
178+ <summary>The position of launcher.</summary>
179+ <description>The position of launcher.</description>
180+ </key>
181+ </schema>
182+ <schema path="/com/canonical/unity/devices/" id="com.canonical.Unity.Devices" gettext-domain="unity">
183+ <key type="as" name="blacklist">
184+ <default>[]</default>
185+ <summary>List of device uuid blacklist from the launcher.</summary>
186+ <description>These devices are not shown in the launcher by default.</description>
187+ </key>
188+ </schema>
189+ <schema path="/com/canonical/unity/dash/" id="com.canonical.Unity.Dash" gettext-domain="unity">
190+ <key type="as" name="scopes">
191+ <default>[ 'home.scope', 'applications.scope', 'files.scope', 'video.scope', 'music.scope', 'photos.scope', 'social.scope' ]</default>
192+ <summary>List of scope ids specifying which scopes should be created and the order to display them in.</summary>
193+ <description>The scopes listed in the scope bar will be ordered according to this list.</description>
194+ </key>
195+ <key type="as" name="favorite-scopes">
196+ <default>[ 'scope://clickscope', 'scope://musicaggregator', 'scope://videoaggregator' ]</default>
197+ <summary>List of scope queries specifying what should be displayed in the dash.</summary>
198+ <description>List of favorite scopes displayed in the dash.</description>
199+ </key>
200+ </schema>
201+ <schema path="/com/canonical/unity/decorations/" id="com.canonical.Unity.Decorations" gettext-domain="unity">
202+ <key type="u" name="grab-wait">
203+ <default>175</default>
204+ <range min="0" max="1000"/>
205+ <summary>Milliseconds to wait before considering a mouse pressure a grab</summary>
206+ <description>The number of ms to wait before starting the window movement (and then
207+ showing the proper mouse cursor, and grabbing the window)</description>
208+ </key>
209+ </schema>
210+ <schema path="/com/canonical/unity/integrated-menus/" id="com.canonical.Unity.IntegratedMenus" gettext-domain="unity">
211+ <key type="u" name="click-movement-threshold">
212+ <default>15</default>
213+ <range min="0" max="30"/>
214+ <summary>Number of pixels to ignore on mouse pressure</summary>
215+ <description>This value define how many pixels the user can move the mouse
216+ when holding the mouse button, before we consider his action a movement
217+ (to grab the window).</description>
218+ </key>
219+ <key type="u" name="double-click-wait">
220+ <default>0</default>
221+ <range min="0" max="300"/>
222+ <summary>Milliseconds to wait before activating a menu after mouse release</summary>
223+ <description>The number of ms to wait after a mouse button release event before considering
224+ it a click. When this value is greater than 0, then it's possible to maximize
225+ a window by double-clicking on its menus if the second click happens before the
226+ specified value of ms is elapsed</description>
227+ </key>
228+ <key type="b" name="unfocused-windows-popup">
229+ <default>true</default>
230+ <summary>Whether to pop-up a menu when clicking over unfocused windows entries</summary>
231+ <description>By disabling this setting you can make unity to only focus a window
232+ when clicking over unfocused menu entries</description>
233+ </key>
234+ </schema>
235+ <schema path="/com/canonical/unity/gestures/" id="com.canonical.Unity.Gestures" gettext-domain="unity">
236+ <key type="b" name="launcher-drag">
237+ <default>true</default>
238+ <summary>Multi-touch gesture to reveal the launcher.</summary>
239+ <description>When this is enabled, a 4 finger swipe from left to right will reveal launcher,
240+ provided that the launcher is set to auto-hide.</description>
241+ </key>
242+ <key type="b" name="dash-tap">
243+ <default>true</default>
244+ <summary>Multi-touch gesture to open the dash.</summary>
245+ <description>When this is enabled, a 4 finger tap will open the dash.</description>
246+ </key>
247+ <key type="b" name="windows-drag-pinch">
248+ <default>true</default>
249+ <summary>Multi-touch gestures to manage the windows.</summary>
250+ <description>When this is enabled, 3 finger gestures such as drag, and pinch, will
251+ help manage the windows.</description>
252+ </key>
253+ </schema>
254+</schemalist>
debian/control+14−1
@@ -170,6 +170,7 @@ Depends: qml-module-qtquick-layouts,
170170 unity-plugin-scopes | unity-scopes-impl,
171171 unity-scopes-impl-12,
172172 unity8-tests | unity-application-impl,
173+ unity8-schemas,
173174 ${misc:Depends},
174175Breaks: unity8 (<< 7.86),
175176Replaces: unity8 (<< 7.86),
@@ -233,7 +234,7 @@ Pre-Depends: ${misc:Pre-Depends},
233234Depends: accountsservice-ubuntu-schemas (>= 0.0.7),
234235 gsettings-ubuntu-schemas (>= 0.0.2+14.10.20140815),
235236 libhardware2,
236− unity-schemas (>= 7.3.1+14.10.20140915),
237+ unity8-schemas,
237238 qtdeclarative5-gsettings1.0,
238239 qml-module-qtmultimedia,
239240 ${misc:Depends},
@@ -246,6 +247,18 @@ Description: Unity 8 private libs
246247 This package contains the private libraries for QML and other components
247248 only used by the shell.
248249
250+
251+Package: unity8-schemas
252+Architecture: all
253+Multi-Arch: foreign
254+Depends: ${misc:Depends},
255+Replaces: unity-schemas (>= 7.3.1+14.10.20140915),
256+Breaks: unity-schemas (>= 7.3.1+14.10.20140915),
257+Description: Unity 8 schemas
258+ The Unity 8 shell is the primary user interface for Ubuntu devices.
259+ .
260+ This package contains the configuration schemas used by unity.
261+
249262Package: unity8-doc
250263Section: doc
251264Architecture: all
debian/unity8-common.install−1
@@ -1,4 +1,3 @@
1−usr/share/glib-2.0/schemas
21usr/share/locale
32usr/share/unity8/Components
43usr/share/unity8/Dash
debian/unity8-schemas.installnew file+1
@@ -0,0 +1 @@
1+usr/share/glib-2.0/schemas