Skip to content

Commit b78049d

Browse files
author
Alenka Glukhovskaya
committed
Add admx for gsettings
1 parent f35ff4e commit b78049d

File tree

3 files changed

+212
-0
lines changed

3 files changed

+212
-0
lines changed

BaseALTControl.admx

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,81 @@
373373
</enum>
374374
</elements>
375375
</policy>
376+
<policy name="idle-activation-enabled" class="User"
377+
displayName="$(string.idle-activation-enabled)"
378+
explainText="$(string.idle-activation-enabled_help)"
379+
key="Software\Policies\Microsoft\Windows\Control Panel\Desktop"
380+
valueName="ScreenSaveActive">
381+
<parentCategory ref="system:ALT_Graphics" />
382+
<supportedOn ref="system:SUPPORTED_AltP9" />
383+
<enabledValue>
384+
<string>1</string>
385+
</enabledValue>
386+
<disabledValue>
387+
<string>0</string>
388+
</disabledValue>
389+
</policy>
390+
<policy name="idle-delay" class="User"
391+
displayName="$(string.idle-delay)"
392+
explainText="$(string.idle-delay_help)"
393+
presentation="$(presentation.idle-delay)"
394+
key="Software\Policies\Microsoft\Windows\Control Panel\Desktop">
395+
<parentCategory ref="system:ALT_Graphics" />
396+
<supportedOn ref="system:SUPPORTED_AltP9" />
397+
<elements>
398+
<decimal id="ScreenSaverTimeOutFreqSpin" valueName="ScreenSaveTimeOut" maxValue="599940" storeAsText="true" />
399+
</elements>
400+
</policy>
401+
<policy name="lock-enabled" class="User"
402+
displayName="$(string.lock-enabled)"
403+
explainText="$(string.lock-enabled_help)"
404+
key="Software\Policies\Microsoft\Windows\Control Panel\Desktop"
405+
valueName="ScreenSaverIsSecure">
406+
<parentCategory ref="system:ALT_Graphics" />
407+
<supportedOn ref="system:SUPPORTED_AltP9" />
408+
<enabledValue>
409+
<string>1</string>
410+
</enabledValue>
411+
<disabledValue>
412+
<string>0</string>
413+
</disabledValue>
414+
</policy>
415+
416+
<policy name="Wallpaper" class="User" displayName="$(string.Wallpaper)" explainText="$(string.Wallpaper_Help)" presentation="$(presentation.Wallpaper)" key="Software\Microsoft\Windows\CurrentVersion\Policies\System">
417+
<parentCategory ref="system:ALT_Graphics" />
418+
<supportedOn ref="system:SUPPORTED_AltP9" />
419+
<elements>
420+
<text id="WallpaperName" valueName="Wallpaper" required="true" />
421+
<enum id="WallpaperStyle" valueName="WallpaperStyle" required="true">
422+
<item displayName="$(string.WallpaperStyle_Center)">
423+
<value>
424+
<string>0</string>
425+
</value>
426+
</item>
427+
<item displayName="$(string.WallpaperStyle_Tile)">
428+
<value>
429+
<string>1</string>
430+
</value>
431+
</item>
432+
<item displayName="$(string.WallpaperStyle_Stretch)">
433+
<value>
434+
<string>2</string>
435+
</value>
436+
</item>
437+
<item displayName="$(string.WallpaperStyle_KeepAspect)">
438+
<value>
439+
<string>3</string>
440+
</value>
441+
</item>
442+
<item displayName="$(string.WallpaperStyle_CropToFit)">
443+
<value>
444+
<string>4</string>
445+
</value>
446+
</item>
447+
</enum>
448+
</elements>
449+
</policy>
450+
376451
<policy class="Machine" displayName="$(string.lightdm-greeter-hide-users)" explainText="$(string.lightdm-greeter-hide-users_help)" key="Software\BaseALT\Policies\Control" name="lightdm-greeter-hide-users" presentation="$(presentation.lightdm-greeter-hide-users)">
377452
<parentCategory ref="system:ALT_Graphics"/>
378453
<supportedOn ref="system:SUPPORTED_AltP8"/>

en-US/basealtcontrol.adml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,67 @@ Only root — Only superuser (root) can execute /usr/sbin/hddtemp
213213
<string id="hddtemp_wheelonly">Only wheel</string>
214214
<string id="hddtemp_restricted">Only root</string>
215215

216+
217+
      <string id="idle-activation-enabled">Enable org.mate.screensaver</string>
218+
      <string id="idle-activation-enabled_help">
219+
Enables desktop screen savers. If you disable this setting, screen savers do not run. Also, this setting disables the Screen Saver section of the Screen Saver dialog in the Personalization or Display Control Panel. As a result, users cannot change the screen saver options. If you do not configure it, this setting has no effect on the system. If you enable it, a screen saver runs, provided the following two conditions hold: First, a valid screen saver on the client is specified through the "Screen Saver executable name" setting or through Control Panel on the client computer. Second, the screen saver timeout is set to a nonzero value through the setting or Control Panel. Also, see the "Prevent changing Screen Saver" setting.
220+
      </string>
221+
<string id="idle-delay">Screen saver timeout</string>
222+
<string id="idle-delay_help">Specifies how much user idle time must elapse before the screen saver is launched.
223+
224+
When configured, this idle time can be set from a minimum of 1 second to a maximum of 86,400 seconds, or 24 hours. If set to zero, the screen saver will not be started.
225+
226+
This setting has no effect under any of the following circumstances:
227+
228+
- The setting is disabled or not configured.
229+
230+
- The wait time is set to zero.
231+
232+
- The "Enable Screen Saver" setting is disabled.
233+
234+
- Neither the "Screen saver executable name" setting nor the Screen Saver dialog of the client computer's Personalization or Display Control Panel specifies a valid existing screen saver program on the client.
235+
236+
When not configured, whatever wait time is set on the client through the Screen Saver dialog in the Personalization or Display Control Panel is used. The default is 15 minutes.</string>
237+
238+
<string id="lock-enabled">Password protect the screen saver</string>
239+
<string id="lock-enabled_help">Determines whether screen savers used on the computer are password protected.
240+
241+
If you enable this setting, all screen savers are password protected. If you disable this setting, password protection cannot be set on any screen saver.
242+
243+
This setting also disables the "Password protected" checkbox on the Screen Saver dialog in the Personalization or Display Control Panel, preventing users from changing the password protection setting.
244+
245+
If you do not configure this setting, users can choose whether or not to set password protection on each screen saver.
246+
247+
To ensure that a computer will be password protected, enable the "Enable Screen Saver" setting and specify a timeout via the "Screen Saver timeout" setting.
248+
249+
Note: To remove the Screen Saver dialog, use the "Prevent changing Screen Saver" setting.</string>
250+
251+
<string id="Wallpaper">Desktop Wallpaper</string>
252+
<string id="Wallpaper_Help">Specifies the desktop background ("wallpaper") displayed on all users' desktops.
253+
254+
This setting lets you specify the wallpaper on users' desktops and prevents users from changing the image or its presentation. The wallpaper you specify can be stored in a bitmap (*.bmp) or JPEG (*.jpg) file.
255+
256+
To use this setting, type the fully qualified path and name of the file that stores the wallpaper image. You can type a local path, such as /home/user/images/home.jpg or a UNC path, such as \\Server\Share\Corp.jpg. If the specified file is not available when the user logs on, no wallpaper is displayed. Users cannot specify alternative wallpaper. You can also use this setting to specify that the wallpaper image be centered, tiled, or stretched. Users cannot change this specification.
257+
258+
If you disable this setting or do not configure it, no wallpaper is displayed. However, users can select the wallpaper of their choice.
259+
260+
Also, see the "Allow only bitmapped wallpaper" in the same location, and the "Prevent changing wallpaper" setting in User Configuration\Administrative Templates\Control Panel.
261+
262+
Note: This setting does not apply to remote desktop server sessions.</string>
263+
<string id="WallpaperStyle_Center">Center</string>
264+
<string id="WallpaperStyle_Stretch">Stretch</string>
265+
<string id="WallpaperStyle_Tile">Tile</string>
266+
<string id="WallpaperStyle_KeepAspect">Fit</string>
267+
<string id="WallpaperStyle_CropToFit">Fill</string>
268+
269+
216270
<string id="lightdm-greeter-hide-users">Show or hide the list of known users in the greeter (LightDM)</string>
217271
<string id="lightdm-greeter-hide-users_help">This policy defines to list all users when logging in with LightDM (in greeter — on the Welcome/Logon screen of LightDM) or not
218272

219273
Show — Show available users list in greeter
220274

221275
Hide — Don't list all users in greeter
276+
222277
</string>
223278
<string id="lightdm-greeter-hide-users_show">Show</string>
224279
<string id="lightdm-greeter-hide-users_hide">Hide</string>
@@ -730,6 +785,20 @@ Only root — Only superuser (root) is permitted to run /usr/bin/Xorg
730785
<dropdownList noSort="true" defaultItem="1" refId="hddtemp_setter">Who can use:
731786
</dropdownList>
732787
</presentation>
788+
<presentation id="idle-delay">
789+
<text>Number of seconds to wait to enable the screen saver</text>
790+
<text> </text>
791+
<decimalTextBox refId="ScreenSaverTimeOutFreqSpin" defaultValue="900" spinStep="60">Seconds:</decimalTextBox>
792+
</presentation>
793+
<presentation id="Wallpaper">
794+
<textBox refId="WallpaperName">
795+
<label>Wallpaper Name:</label>
796+
</textBox>
797+
<text>Example: Using a local path: /home/user/images/home.jpg</text>
798+
<text>Example: Using a UNC path: \\Server\Share\Corp.jpg</text>
799+
<dropdownList refId="WallpaperStyle" defaultItem="0">Wallpaper Style:</dropdownList>
800+
</presentation>
801+
733802
<presentation id="lightdm-greeter-hide-users">
734803
<dropdownList noSort="true" defaultItem="0" refId="lightdm-greeter-hide-users_setter">Select a mode:
735804
</dropdownList>

ru-RU/basealtcontrol.adml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,59 @@
213213
      <string id="hddtemp_wheelonly">Только wheel</string>
214214
      <string id="hddtemp_restricted">Только root</string>
215215

216+
217+
      <string id="idle-activation-enabled">Включить заставку экрана org.mate.screensaver</string>
218+
      <string id="idle-activation-enabled_help">
219+
Опция включает screen saver рабочего стола. Если отключить эту опцию, screen saver работать не будет. Также пользователи не смогут изменять параметры экранной заставки. Настраивать эту опцию необязательно, работает по умолчанию. Если включить эту опцию, то запустится экранная заставка при соблюдении следующих двух условий: во-первых, допустимая заставка на клиенте указывается с помощью параметра «Имя исполняемого файла экранной заставки» или с помощью панели управления на клиентском компьютере. Во-вторых, тайм-аут заставки установлен на ненулевое значение в настройках или на Панели управления. Также см. Настройку «Запретить изменение заставки».
220+
      </string>
221+
222+
<string id="idle-delay">Время простоя, после которого включается screen saver</string>
223+
<string id="idle-delay_help">Опция определяет сколько времени простоя должно пройти, прежде чем включится screen saver. Время простоя может быть установлено от 1 секунды до 86400 секунд или 24 часов. Если установлено значение 0, хранитель экрана не запускается.
224+
225+
Этот параметр не действует ни при одном из следующих обстоятельств:
226+
227+
- Параметр отключен или не настроен.
228+
229+
- Время ожидания установлено на ноль.
230+
231+
- Параметр «Включить заставку экрана org.mate.screensaver» отключен.
232+
233+
- Ни в параметре «Имя исполняемого файла заставки», ни в диалоговом окне «Заставка» на клиентском компьютере не указывается действующая существующий пакет с заставкой на клиенте.
234+
235+
Если этот параметр не настроен, используется любое время ожидания, установленное на клиенте в диалоговом окне. По умолчанию 15 минут.</string>
236+
237+
238+
<string id="lock-enabled">Защита паролем выхода из режима screensaver</string>
239+
<string id="lock-enabled_help">Определяет, защищены ли паролем хранители экрана, используемые на компьютере.
240+
241+
Если вы включите этот параметр, все хранители экрана будут защищены паролем. Если вы отключите этот параметр, защиту паролем нельзя будет установить ни на одной заставке.
242+
243+
Этот параметр также отключает флажок «Защищено паролем» в диалоговом окне «Заставка» на панели «Персонализация» или «Дисплей», не позволяя пользователям изменять настройку защиты паролем.
244+
245+
Если вы не настраиваете этот параметр, пользователи могут выбирать, устанавливать ли защиту паролем для каждой экранной заставки.
246+
247+
Чтобы обеспечить защиту компьютера паролем, включите параметр «Включить заставку» и укажите время ожидания с помощью параметра «Тайм-аут заставки».
248+
249+
Примечание. Чтобы удалить диалоговое окно «Заставка», используйте параметр «Запретить изменение заставки».</string>
250+
251+
<string id="Wallpaper">Обои для рабочего стола</string>
252+
<string id="Wallpaper_Help">Задает фон рабочего стола («обои»), отображаемый на рабочих столах всех пользователей.
253+
254+
Этот параметр позволяет указать обои на рабочих столах пользователей и запрещает пользователям изменять изображение или его представление. Указанные вами обои можно сохранить в файле растрового изображения (* .bmp) или JPEG (* .jpg).
255+
256+
Чтобы использовать этот параметр, введите полный путь и имя файла, в котором хранится изображение обоев. Вы можете ввести локальный путь, например /home/user/imagwes/home.jpg, или путь UNC, например \\ Server \ Share \ Corp.jpg. Если указанный файл недоступен при входе пользователя в систему, обои не отображаются. Пользователи не могут указать альтернативные обои. Вы также можете использовать этот параметр, чтобы указать, что изображение обоев должно быть центрировано, мозаично или растянуто. Пользователи не могут изменять эту спецификацию.
257+
258+
Если вы отключите этот параметр или не настроите его, обои не будут отображаться. Однако пользователи могут выбрать обои по своему усмотрению.
259+
260+
Также см. «Разрешить только растровые обои» в том же месте и параметр «Запретить смену обоев» в Конфигурация пользователя \ Административные шаблоны \ Панель управления.
261+
262+
Примечание. Этот параметр не применяется к сеансам сервера удаленного рабочего стола.</string>
263+
<string id="WallpaperStyle_Center">По центру</string>
264+
<string id="WallpaperStyle_Stretch">Растянуть </string>
265+
<string id = "WallpaperStyle_Tile"> Плитка </string>
266+
<string id = "WallpaperStyle_KeepAspect"> По размеру </string>
267+
<string id = "WallpaperStyle_CropToFit"> Заливка</string>
268+
216269
      <string id="lightdm-greeter-hide-users">Показать или скрыть список известных пользователей в greeter (LightDM)</string>
217270
      <string id="lightdm-greeter-hide-users_help">Эта политика определяет, будет ли показан список всех пользователей при входе в систему с помощью LightDM (в greeter — на экране приветствия/входа в систему LightDM) или нет
218271

@@ -727,6 +780,21 @@ SSSD — использовать метод проверки подлиннос
727780
        <dropdownList noSort="true" defaultItem="1" refId="hddtemp_setter">Кто может использовать:
728781
        </dropdownList>
729782
      </presentation>
783+
784+
<presentation id="idle-delay">
785+
<text>Количество секунд ожидания до включения Хранителя экрана</text>
786+
<text> </text>
787+
<decimalTextBox refId="ScreenSaverTimeOutFreqSpin" defaultValue="900" spinStep="60">Секунды:</decimalTextBox>
788+
</presentation>
789+
<presentation id="Wallpaper">
790+
<textBox refId="WallpaperName">
791+
<label>Названиеи файла с обоями:</label>
792+
</textBox>
793+
<text>Например: локальный файл лежит в профиле пользователя: \home\user\downloads\home.jpg</text>
794+
<text>Например: файл лежит на сервере: \\Server\Share\Corp.jpg</text>
795+
<dropdownList refId="WallpaperStyle" defaultItem="0">Стиль обоев:</dropdownList>
796+
</presentation>
797+
730798
      <presentation id="lightdm-greeter-hide-users">
731799
        <dropdownList noSort="true" defaultItem="0" refId="lightdm-greeter-hide-users_setter">Выберите режим:
732800
        </dropdownList>

0 commit comments

Comments
 (0)