gnome-shell/data
Ivan Molodetskikh b16cfa85e9 screenshot: Assign names to several CSS expressions
This commit replaces a few of the screenshot UI CSS expressions with
named variables.

The shot-cast margin is not defined, but rather set to the value it ends
up equal to, given the panel padding and the capture button's
sizes + position, which would be a bit awkward to compute here. It ends
up slightly larger than the general panel padding due to the capture
button being larger than other elements, and due to having to
center-align the shot-cast container to the capture button.

The shot-cast container border radius is defined as 12px, then the panel
border radius is computed from the shot-cast border radius + margin,
then the type button border radius is computed from panel
border radius - padding.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2103>
2022-01-29 14:43:48 +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: Assign names to several CSS expressions 2022-01-29 14:43:48 +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