[Merge] lp:~khurshid-alam/unity-settings-daemon/use-usd-schemas into lp:unity-settings-daemon

Marco Trevisan (TreviƱo) mail at 3v1n0.net
Fri Sep 6 22:03:12 UTC 2019


Review: Needs Fixing

As per comments in https://code.launchpad.net/~khurshid-alam/ubuntu/+source/ubuntu-settings/+git/ubuntu-settings/+merge/372202, update the screensaver keybinding.

Diff comments:

> 
> === added file 'data/com.canonical.unity.settings-daemon.plugins.media-keys.gschema.xml.in.in'
> --- data/com.canonical.unity.settings-daemon.plugins.media-keys.gschema.xml.in.in	1970-01-01 00:00:00 +0000
> +++ data/com.canonical.unity.settings-daemon.plugins.media-keys.gschema.xml.in.in	2019-09-04 12:49:16 +0000
> @@ -0,0 +1,228 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +<schemalist>
> +  <schema gettext-domain="@GETTEXT_PACKAGE@" id="com.canonical.unity.settings-daemon.plugins.media-keys" path="/com/canonical/unity/settings-daemon/plugins/media-keys/">
> +   <key name="priority" type="i">
> +      <default>0</default>
> +      <summary>Priority to use for this plugin</summary>
> +      <description>Priority to use for this plugin in unity-settings-daemon startup queue</description>
> +    </key>
> +    <key name="active" type="b">
> +      <default>true</default>
> +      <summary>Activation of this plugin</summary>
> +      <description>Whether this plugin would be activated by unity-settings-daemon or not</description>
> +    </key>
> +    <key name="custom-keybindings" type="as">
> +      <default>[]</default>
> +      <summary>Custom keybindings</summary>
> +      <description>List of custom keybindings</description>
> +    </key>
> +    <key name="calculator" type="s">
> +      <default>'XF86Calculator'</default>
> +      <summary>Launch calculator</summary>
> +      <description>Binding to launch the calculator.</description>
> +    </key>
> +    <key name="control-center" type="s">
> +      <default>'XF86Tools'</default>
> +      <summary>Launch settings</summary>
> +      <description>Binding to launch GNOME settings.</description>
> +    </key>
> +    <key name="email" type="s">
> +      <default>'XF86Mail'</default>
> +      <summary>Launch email client</summary>
> +      <description>Binding to launch the email client.</description>
> +    </key>
> +    <key name="eject" type="s">
> +      <default>'XF86Eject'</default>
> +      <summary>Eject</summary>
> +      <description>Binding to eject an optical disc.</description>
> +    </key>
> +    <key name="help" type="s">
> +      <default>''</default>
> +      <summary>Launch help browser</summary>
> +      <description>Binding to launch the help browser.</description>
> +    </key>
> +    <key name="home" type="s">
> +      <default>'XF86Explorer'</default>
> +      <summary>Home folder</summary>
> +      <description>Binding to open the Home folder.</description>
> +    </key>
> +    <key name="media" type="s">
> +      <default>'XF86AudioMedia'</default>
> +      <summary>Launch media player</summary>
> +      <description>Binding to launch the media player.</description>
> +    </key>
> +    <key name="next" type="s">
> +      <default>'XF86AudioNext'</default>
> +      <summary>Next track</summary>
> +      <description>Binding to skip to next track.</description>
> +    </key>
> +    <key name="pause" type="s">
> +      <default>'XF86AudioPause'</default>
> +      <summary>Pause playback</summary>
> +      <description>Binding to pause playback.</description>
> +    </key>
> +    <key name="play" type="s">
> +      <default>'XF86AudioPlay'</default>
> +      <summary>Play (or play/pause)</summary>
> +      <description>Binding to start playback (or toggle play/pause).</description>
> +    </key>
> +    <key name="logout" type="s">
> +      <default>'<Control><Alt>Delete'</default>
> +      <summary>Log out</summary>
> +      <description>Binding to log out.</description>
> +    </key>
> +    <key name="previous" type="s">
> +      <default>'XF86AudioPrev'</default>
> +      <summary>Previous track</summary>
> +      <description>Binding to skip to previous track.</description>
> +    </key>
> +    <key name="screensaver" type="s">
> +      <default>'<Super>l'</default>

As follow up, change this to the unity's (alternative) default Ctrl+Alt+L:
https://code.launchpad.net/~khurshid-alam/ubuntu/+source/ubuntu-settings/+git/ubuntu-settings/+merge/372202

> +      <summary>Lock screen</summary>
> +      <description>Binding to lock the screen.</description>
> +    </key>
> +    <key name="search" type="s">
> +      <default>'XF86Search'</default>
> +      <summary>Search</summary>
> +      <description>Binding to launch the search tool.</description>
> +    </key>
> +    <key name="stop" type="s">
> +      <default>'XF86AudioStop'</default>
> +      <summary>Stop playback</summary>
> +      <description>Binding to stop playback.</description>
> +    </key>
> +    <key name="video-out" type="s">
> +      <default>'<Super>p'</default>
> +      <summary>Video output</summary>
> +      <description>Binding to switch the video output device.</description>
> +    </key>
> +    <key name="volume-down" type="s">
> +      <default>'XF86AudioLowerVolume'</default>
> +      <summary>Volume down</summary>
> +      <description>Binding to lower the volume.</description>
> +    </key>
> +    <key name="volume-mute" type="s">
> +      <default>'XF86AudioMute'</default>
> +      <summary>Volume mute/unmute</summary>
> +      <description>Binding to mute/unmute the volume.</description>
> +    </key>
> +    <key name="volume-up" type="s">
> +      <default>'XF86AudioRaiseVolume'</default>
> +      <summary>Volume up</summary>
> +      <description>Binding to raise the volume.</description>
> +    </key>
> +    <key name="mic-mute" type="s">
> +      <default>'XF86AudioMicMute'</default>
> +      <summary>Microphone mute/unmute</summary>
> +      <description>Binding to mute/unmute the microphone.</description>
> +    </key>
> +    <key name="screenshot" type="s">
> +      <default>'Print'</default>
> +      <summary>Take a screenshot</summary>
> +      <description>Binding to take a screenshot.</description>
> +    </key>
> +    <key name="window-screenshot" type="s">
> +      <default>'<Alt>Print'</default>
> +      <summary>Take a screenshot of a window</summary>
> +      <description>Binding to take a screenshot of a window.</description>
> +    </key>
> +    <key name="area-screenshot" type="s">
> +      <default>'<Shift>Print'</default>
> +      <summary>Take a screenshot of an area</summary>
> +      <description>Binding to take a screenshot of an area.</description>
> +    </key>
> +    <key name="screenshot-clip" type="s">
> +      <default>'<Ctrl>Print'</default>
> +      <summary>Copy a screenshot to clipboard</summary>
> +      <description>Binding to copy a screenshot to clipboard.</description>
> +    </key>
> +    <key name="window-screenshot-clip" type="s">
> +      <default>'<Ctrl><Alt>Print'</default>
> +      <summary>Copy a screenshot of a window to clipboard</summary>
> +      <description>Binding to copy a screenshot of a window to clipboard.</description>
> +    </key>
> +    <key name="area-screenshot-clip" type="s">
> +      <default>'<Ctrl><Shift>Print'</default>
> +      <summary>Copy a screenshot of an area to clipboard</summary>
> +      <description>Binding to copy a screenshot of an area to clipboard.</description>
> +    </key>
> +    <key name="screencast" type="s">
> +      <default>'<Ctrl><Shift><Alt>R'</default>
> +      <summary>Record a short video of the screen</summary>
> +      <description>Binding to record a short video of the screen</description>
> +    </key>
> +    <key name="terminal" type="s">
> +      <default>'<Primary><Alt>t'</default>
> +      <summary>Launch terminal</summary>
> +      <description>Binding to launch the terminal.</description>
> +    </key>
> +    <key name="www" type="s">
> +      <default>'XF86WWW'</default>
> +      <summary>Launch web browser</summary>
> +      <description>Binding to launch the web browser.</description>
> +    </key>
> +    <key name="magnifier" type="s">
> +      <default>'<Alt><Super>8'</default>
> +      <summary>Toggle magnifier</summary>
> +      <description>Binding to show the screen magnifier</description>
> +    </key>
> +    <key name="screenreader" type="s">
> +      <default>'<Alt><Super>s'</default>
> +      <summary>Toggle screen reader</summary>
> +      <description>Binding to start the screen reader</description>
> +    </key>
> +    <key name="on-screen-keyboard" type="s">
> +      <default>''</default>
> +      <summary>Toggle on-screen keyboard</summary>
> +      <description>Binding to show the on-screen keyboard</description>
> +    </key>
> +    <key name="increase-text-size" type="s">
> +      <default>''</default>
> +      <summary>Increase text size</summary>
> +      <description>Binding to increase the text size</description>
> +    </key>
> +    <key name="decrease-text-size" type="s">
> +      <default>''</default>
> +      <summary>Decrease text size</summary>
> +      <description>Binding to decrease the text size</description>
> +    </key>
> +    <key name="toggle-contrast" type="s">
> +      <default>''</default>
> +      <summary>Toggle contrast</summary>
> +      <description>Binding to toggle the interface contrast</description>
> +    </key>
> +    <key name="magnifier-zoom-in" type="s">
> +      <default>'<Alt><Super>equal'</default>
> +      <summary>Magnifier zoom in</summary>
> +      <description>Binding for the magnifier to zoom in</description>
> +    </key>
> +    <key name="magnifier-zoom-out" type="s">
> +      <default>'<Alt><Super>minus'</default>
> +      <summary>Magnifier zoom out</summary>
> +      <description>Binding for the magnifier to zoom out</description>
> +    </key>
> +    <key name="max-screencast-length" type="u">
> +      <default>30</default>
> +      <summary>Maximum length of screen recordings</summary>
> +      <description>The maximum length of single screen cast recordings in seconds or 0 for unlimited</description>
> +    </key>
> +  </schema>
> +
> +  <schema gettext-domain="@GETTEXT_PACKAGE@" id="com.canonical.unity.settings-daemon.plugins.media-keys.custom-keybinding">
> +    <key name="name" type="s">
> +      <default>''</default>
> +      <summary>Name</summary>
> +      <description>Name of the custom binding</description>
> +    </key>
> +    <key name="binding" type="s">
> +      <default>''</default>
> +      <summary>Binding</summary>
> +      <description>Binding for the custom binding</description>
> +    </key>
> +    <key name="command" type="s">
> +      <default>''</default>
> +      <summary>Command</summary>
> +      <description>Command to run when the binding is invoked</description>
> +    </key>
> +  </schema>
> +</schemalist>


-- 
https://code.launchpad.net/~khurshid-alam/unity-settings-daemon/use-usd-schemas/+merge/372154
Your team Unity Settings Daemon Development Team is subscribed to branch lp:unity-settings-daemon.



More information about the ubuntu-desktop mailing list