gnome-shell/data
Ivan Molodetskikh 6765fac76a screenshot: Move close button to the panel
CSS and JS adapted from the Overview window close buttons, but with some
style tweaks requested by the designers.

Since the screenshot UI is long-lived (it's created once at startup,
rather than every time it's opened), we need to refresh the close button
position, as it can change at runtime. Subscribing to preference changes
seems to be skipped for bindings generation in Mutter, but simply
refreshing upon opening the UI should do the job.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4997

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2147>
2022-02-03 16:43:02 +00:00
..
cldr2json *: Fix spelling mistakes found by codespell 2020-08-21 18:25:09 +00:00
dbus-interfaces calendar-server: Remove the all-day property of events 2021-11-30 02:13:24 +00:00
icons data: Add extension-portal desktop file 2020-04-05 13:36:35 +00:00
osk-layouts data: Add Swiss French and Swiss German OSK layouts 2022-01-11 20:14:44 +01:00
theme screenshot: Move close button to the panel 2022-02-03 16:43:02 +00:00
00_org.gnome.shell.gschema.override Replace custom override schema with per-desktop override 2018-07-31 18:36:26 +00:00
50-gnome-shell-launchers.xml data: Register switch-to-application shortcuts with g-c-c 2021-07-05 18:46:08 +00:00
50-gnome-shell-system.xml build: Say good-bye to intltool 2016-08-19 22:13:14 +02:00
emoji.json keyboard: Add Emoji keyboard 2019-02-05 16:25:57 +01:00
gnome-shell-dbus-interfaces.gresource.xml status/powerProfiles: Add power mode selection 2021-08-02 16:41:06 +02:00
gnome-shell-osk-layouts.gresource.xml data: Add Swiss French and Swiss German OSK layouts 2022-01-11 20:14:44 +01:00
gnome-shell-overrides-migration.desktop.in tools: fix XDG desktop syntax in gnome-shell-overrides-migration 2018-08-03 00:49:49 +02:00
gnome-shell-theme.gresource.xml screenshot-ui: Add cursor capturing option 2022-01-27 22:25:42 +00:00
gnome-shell.portal portal: Own org.gnome.Shell.Portal for the access portal 2021-06-05 21:29:52 -03:00
meson.build build: Drop incorrect positional arg 2021-12-23 18:43:25 +00:00
org.gnome.Shell-disable-extensions.service data: Use org.gnome.Shell prefix for systemd units 2020-07-31 13:53:31 +00:00
org.gnome.Shell.desktop.in.in data: Drop old bugzilla references in .desktop files 2020-01-07 12:41:57 +01:00
org.gnome.Shell.Extensions.desktop.in.in data: Add extension-portal desktop file 2020-04-05 13:36:35 +00:00
org.gnome.shell.gschema.xml.in Add scaffolding for the new screenshot UI 2022-01-27 22:25:42 +00:00
org.gnome.Shell.PortalHelper.desktop.in.in Add translator comments to .desktop files 2016-08-19 23:15:20 +02:00
org.gnome.Shell.PortalHelper.service.in Add a helper to handle captive portal logins 2014-06-26 19:54:58 +02:00
org.gnome.Shell.target data: Fix description of org.gnome.Shell.target 2020-08-20 08:11:11 +00:00
org.gnome.Shell@wayland.service.in Clarify comments on ConditionEnvironment placement 2020-12-09 15:08:15 +00:00
org.gnome.Shell@x11.service.in Clarify comments on ConditionEnvironment placement 2020-12-09 15:08:15 +00:00
perf-background.xml.in Add a special background to use for performance testing 2014-08-18 10:54:42 -04:00
README.osk-layouts data: Add README and supporting script to update keyboard layouts from CLDR 2018-02-05 17:46:57 +01:00
update-osk-layouts.sh data: Don't clone cldr2json when updating OSK layouts 2020-03-27 16:44:27 +00:00

Gnome-shell OSK layouts are extracted from CLDR layout definitions:
https://www.unicode.org/cldr/charts/latest/keyboards/layouts/index.html

Updating these involves several steps:

1) Downloading and unzipping the tarball found at:
   http://www.unicode.org/Public/cldr/latest/keyboards.zip

   This file contains XML files describing the keyboard layouts.

2) Cloning the cldr2json script at:
   git://repo.or.cz/cldr2json.git

   It will be used to convert the XML files into JSON that can be
   directly consumed by gnome-shell.

3) Running the script to produce the files:
   ./cldr2json <input-directory> <output-directory>

   We shall usually use the "android" folder, since that's most
   complete, and similar to our UI and target sizes. And the target
   directory must be data/osk-layouts in this repository.

4) Modify gnome-shell-osk-layouts.gresource.xml to include the files

5) Do git add on the updated/new files, and git commit.


Or alternatively:

1) Run update-osk-layouts.sh

2) Do git add and git commit