Skip to content

Add admx for gsettings #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions BaseALTControl.admx
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,81 @@
</enum>
</elements>
</policy>
<policy name="idle-activation-enabled" class="User"
displayName="$(string.idle-activation-enabled)"
explainText="$(string.idle-activation-enabled_help)"
key="Software\Policies\Microsoft\Windows\Control Panel\Desktop"
valueName="ScreenSaveActive">
<parentCategory ref="system:ALT_Graphics" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<enabledValue>
<string>1</string>
</enabledValue>
<disabledValue>
<string>0</string>
</disabledValue>
</policy>
<policy name="idle-delay" class="User"
displayName="$(string.idle-delay)"
explainText="$(string.idle-delay_help)"
presentation="$(presentation.idle-delay)"
key="Software\Policies\Microsoft\Windows\Control Panel\Desktop">
<parentCategory ref="system:ALT_Graphics" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<elements>
<decimal id="ScreenSaverTimeOutFreqSpin" valueName="ScreenSaveTimeOut" maxValue="599940" storeAsText="true" />
</elements>
</policy>
<policy name="lock-enabled" class="User"
displayName="$(string.lock-enabled)"
explainText="$(string.lock-enabled_help)"
key="Software\Policies\Microsoft\Windows\Control Panel\Desktop"
valueName="ScreenSaverIsSecure">
<parentCategory ref="system:ALT_Graphics" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<enabledValue>
<string>1</string>
</enabledValue>
<disabledValue>
<string>0</string>
</disabledValue>
</policy>

<policy name="Wallpaper" class="User" displayName="$(string.Wallpaper)" explainText="$(string.Wallpaper_Help)" presentation="$(presentation.Wallpaper)" key="Software\Microsoft\Windows\CurrentVersion\Policies\System">
<parentCategory ref="system:ALT_Graphics" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<elements>
<text id="WallpaperName" valueName="Wallpaper" required="true" />
<enum id="WallpaperStyle" valueName="WallpaperStyle" required="true">
<item displayName="$(string.WallpaperStyle_Center)">
<value>
<string>0</string>
</value>
</item>
<item displayName="$(string.WallpaperStyle_Tile)">
<value>
<string>1</string>
</value>
</item>
<item displayName="$(string.WallpaperStyle_Stretch)">
<value>
<string>2</string>
</value>
</item>
<item displayName="$(string.WallpaperStyle_KeepAspect)">
<value>
<string>3</string>
</value>
</item>
<item displayName="$(string.WallpaperStyle_CropToFit)">
<value>
<string>4</string>
</value>
</item>
</enum>
</elements>
</policy>

<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)">
<parentCategory ref="system:ALT_Graphics"/>
<supportedOn ref="system:SUPPORTED_AltP8"/>
Expand Down
69 changes: 69 additions & 0 deletions en-US/basealtcontrol.adml
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,67 @@ Only root — Only superuser (root) can execute /usr/sbin/hddtemp
<string id="hddtemp_wheelonly">Only wheel</string>
<string id="hddtemp_restricted">Only root</string>


      <string id="idle-activation-enabled">Enable org.mate.screensaver</string>
      <string id="idle-activation-enabled_help">
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.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

desktop screen savers

I'd use singular here, 'screen saver'

screen savers do not run

I'd use future here, 'won't run', or even 'won't be started'.

a screen saver runs

Using 'a' feels wrong here.

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.

Let's call it 'the client machine' or 'the client system' for the first time, and drop the second.

      </string>
<string id="idle-delay">Screen saver timeout</string>
<string id="idle-delay_help">Specifies how much user idle time must elapse before the screen saver is launched.

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.

This setting has no effect under any of the following circumstances:

- The setting is disabled or not configured.

- The wait time is set to zero.

- The "Enable Screen Saver" setting is disabled.

- 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.

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>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's somewhat unclear what default do you mean here. Is it the setting default when it's configured? Or default for client system when it's not?


<string id="lock-enabled">Password protect the screen saver</string>
<string id="lock-enabled_help">Determines whether screen savers used on the computer are password protected.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To me, it's somewhat unclear what does it mean for a screen saver to be password-protected. I'd suggest to describe this explicitly, e.g.: "When enabled, the user session is locked when screen server starts, and the user have to enter his or her password to unlock it". Or idk.


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.

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.

If you do not configure this setting, users can choose whether or not to set password protection on each screen saver.

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.

Note: To remove the Screen Saver dialog, use the "Prevent changing Screen Saver" setting.</string>

<string id="Wallpaper">Desktop Wallpaper</string>
<string id="Wallpaper_Help">Specifies the desktop background ("wallpaper") displayed on all users' desktops.

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.

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.

If you disable this setting or do not configure it, no wallpaper is displayed. However, users can select the wallpaper of their choice.

Also, see the "Allow only bitmapped wallpaper" in the same location, and the "Prevent changing wallpaper" setting in User Configuration\Administrative Templates\Control Panel.

Note: This setting does not apply to remote desktop server sessions.</string>
<string id="WallpaperStyle_Center">Center</string>
<string id="WallpaperStyle_Stretch">Stretch</string>
<string id="WallpaperStyle_Tile">Tile</string>
<string id="WallpaperStyle_KeepAspect">Fit</string>
<string id="WallpaperStyle_CropToFit">Fill</string>


<string id="lightdm-greeter-hide-users">Show or hide the list of known users in the greeter (LightDM)</string>
<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

Show — Show available users list in greeter

Hide — Don't list all users in greeter

</string>
<string id="lightdm-greeter-hide-users_show">Show</string>
<string id="lightdm-greeter-hide-users_hide">Hide</string>
Expand Down Expand Up @@ -730,6 +785,20 @@ Only root — Only superuser (root) is permitted to run /usr/bin/Xorg
<dropdownList noSort="true" defaultItem="1" refId="hddtemp_setter">Who can use:
</dropdownList>
</presentation>
<presentation id="idle-delay">
<text>Number of seconds to wait to enable the screen saver</text>
<text> </text>
<decimalTextBox refId="ScreenSaverTimeOutFreqSpin" defaultValue="900" spinStep="60">Seconds:</decimalTextBox>
</presentation>
<presentation id="Wallpaper">
<textBox refId="WallpaperName">
<label>Wallpaper Name:</label>
</textBox>
<text>Example: Using a local path: /home/user/images/home.jpg</text>
<text>Example: Using a UNC path: \\Server\Share\Corp.jpg</text>
<dropdownList refId="WallpaperStyle" defaultItem="0">Wallpaper Style:</dropdownList>
</presentation>

<presentation id="lightdm-greeter-hide-users">
<dropdownList noSort="true" defaultItem="0" refId="lightdm-greeter-hide-users_setter">Select a mode:
</dropdownList>
Expand Down
68 changes: 68 additions & 0 deletions ru-RU/basealtcontrol.adml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,59 @@
      <string id="hddtemp_wheelonly">Только wheel</string>
      <string id="hddtemp_restricted">Только root</string>


      <string id="idle-activation-enabled">Включить заставку экрана org.mate.screensaver</string>
      <string id="idle-activation-enabled_help">
Опция включает screen saver рабочего стола. Если отключить эту опцию, screen saver работать не будет. Также пользователи не смогут изменять параметры экранной заставки. Настраивать эту опцию необязательно, работает по умолчанию. Если включить эту опцию, то запустится экранная заставка при соблюдении следующих двух условий: во-первых, допустимая заставка на клиенте указывается с помощью параметра «Имя исполняемого файла экранной заставки» или с помощью панели управления на клиентском компьютере. Во-вторых, тайм-аут заставки установлен на ненулевое значение в настройках или на Панели управления. Также см. Настройку «Запретить изменение заставки».
      </string>

<string id="idle-delay">Время простоя, после которого включается screen saver</string>
<string id="idle-delay_help">Опция определяет сколько времени простоя должно пройти, прежде чем включится screen saver. Время простоя может быть установлено от 1 секунды до 86400 секунд или 24 часов. Если установлено значение 0, хранитель экрана не запускается.

Этот параметр не действует ни при одном из следующих обстоятельств:

- Параметр отключен или не настроен.

- Время ожидания установлено на ноль.

- Параметр «Включить заставку экрана org.mate.screensaver» отключен.

- Ни в параметре «Имя исполняемого файла заставки», ни в диалоговом окне «Заставка» на клиентском компьютере не указывается действующая существующий пакет с заставкой на клиенте.

Если этот параметр не настроен, используется любое время ожидания, установленное на клиенте в диалоговом окне. По умолчанию 15 минут.</string>


<string id="lock-enabled">Защита паролем выхода из режима screensaver</string>
<string id="lock-enabled_help">Определяет, защищены ли паролем хранители экрана, используемые на компьютере.

Если вы включите этот параметр, все хранители экрана будут защищены паролем. Если вы отключите этот параметр, защиту паролем нельзя будет установить ни на одной заставке.

Этот параметр также отключает флажок «Защищено паролем» в диалоговом окне «Заставка» на панели «Персонализация» или «Дисплей», не позволяя пользователям изменять настройку защиты паролем.

Если вы не настраиваете этот параметр, пользователи могут выбирать, устанавливать ли защиту паролем для каждой экранной заставки.

Чтобы обеспечить защиту компьютера паролем, включите параметр «Включить заставку» и укажите время ожидания с помощью параметра «Тайм-аут заставки».

Примечание. Чтобы удалить диалоговое окно «Заставка», используйте параметр «Запретить изменение заставки».</string>

<string id="Wallpaper">Обои для рабочего стола</string>
<string id="Wallpaper_Help">Задает фон рабочего стола («обои»), отображаемый на рабочих столах всех пользователей.

Этот параметр позволяет указать обои на рабочих столах пользователей и запрещает пользователям изменять изображение или его представление. Указанные вами обои можно сохранить в файле растрового изображения (* .bmp) или JPEG (* .jpg).

Чтобы использовать этот параметр, введите полный путь и имя файла, в котором хранится изображение обоев. Вы можете ввести локальный путь, например /home/user/imagwes/home.jpg, или путь UNC, например \\ Server \ Share \ Corp.jpg. Если указанный файл недоступен при входе пользователя в систему, обои не отображаются. Пользователи не могут указать альтернативные обои. Вы также можете использовать этот параметр, чтобы указать, что изображение обоев должно быть центрировано, мозаично или растянуто. Пользователи не могут изменять эту спецификацию.

Если вы отключите этот параметр или не настроите его, обои не будут отображаться. Однако пользователи могут выбрать обои по своему усмотрению.

Также см. «Разрешить только растровые обои» в том же месте и параметр «Запретить смену обоев» в Конфигурация пользователя \ Административные шаблоны \ Панель управления.

Примечание. Этот параметр не применяется к сеансам сервера удаленного рабочего стола.</string>
<string id="WallpaperStyle_Center">По центру</string>
<string id="WallpaperStyle_Stretch">Растянуть </string>
<string id = "WallpaperStyle_Tile"> Плитка </string>
<string id = "WallpaperStyle_KeepAspect"> По размеру </string>
<string id = "WallpaperStyle_CropToFit"> Заливка</string>

      <string id="lightdm-greeter-hide-users">Показать или скрыть список известных пользователей в greeter (LightDM)</string>
      <string id="lightdm-greeter-hide-users_help">Эта политика определяет, будет ли показан список всех пользователей при входе в систему с помощью LightDM (в greeter — на экране приветствия/входа в систему LightDM) или нет

Expand Down Expand Up @@ -727,6 +780,21 @@ SSSD — использовать метод проверки подлиннос
        <dropdownList noSort="true" defaultItem="1" refId="hddtemp_setter">Кто может использовать:
        </dropdownList>
      </presentation>

<presentation id="idle-delay">
<text>Количество секунд ожидания до включения Хранителя экрана</text>
<text> </text>
<decimalTextBox refId="ScreenSaverTimeOutFreqSpin" defaultValue="900" spinStep="60">Секунды:</decimalTextBox>
</presentation>
<presentation id="Wallpaper">
<textBox refId="WallpaperName">
<label>Названиеи файла с обоями:</label>
</textBox>
<text>Например: локальный файл лежит в профиле пользователя: \home\user\downloads\home.jpg</text>
<text>Например: файл лежит на сервере: \\Server\Share\Corp.jpg</text>
<dropdownList refId="WallpaperStyle" defaultItem="0">Стиль обоев:</dropdownList>
</presentation>

      <presentation id="lightdm-greeter-hide-users">
        <dropdownList noSort="true" defaultItem="0" refId="lightdm-greeter-hide-users_setter">Выберите режим:
        </dropdownList>
Expand Down