gnome-shell/data
Florian Müllner da673639ca cldr2json: Do not overwrite existing files
We had various requests to improve existing OSK layouts, but
haven't accepted them so far as any changes would be overridden
when regenerating the layouts.

However as the upstream layouts at http://www.unicode.org are
extremely slow to update(*), we shouldn't block all improvements.

So instead of letting the update script override all existing
layouts, just make it import new layouts.

(*) not their fault, as the android layouts are a downstream to Google

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1136
2020-03-27 16:44:27 +00:00
..
cldr2json cldr2json: Do not overwrite existing files 2020-03-27 16:44:27 +00:00
dbus-interfaces shellDBus: Add new OpenExtensionPrefs method 2020-03-06 19:03:02 +00:00
osk-layouts osk-layouts: Fix French layout 2019-03-04 20:55:15 +00:00
theme theme/switcher-popup: Increase contrast of switcher items 2020-03-27 13:58:47 +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-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 dateMenu: Stop accessing app settings directly 2019-08-08 17:41:46 +02:00
gnome-shell-disable-extensions.service data: Enable clean session shutdown after gnome-shell failure 2019-11-25 21:49:49 +00:00
gnome-shell-osk-layouts.gresource.xml osk-layouts: Fix French layout 2019-03-04 20:55:15 +00: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-overrides.convert data: Do not convert 'button-layout' setting 2014-06-10 12:32:28 +02:00
gnome-shell-theme.gresource.xml data: Add OSK assets as symbolic icons 2020-02-20 11:34:07 +00:00
gnome-shell-wayland.service.in data: ensure systemd environment is sanitized when shell exits 2020-03-25 21:34:47 +00:00
gnome-shell-wayland.target data: Update systemd units 2019-08-05 21:38:51 +00:00
gnome-shell-x11.service.in data: Lower TimeoutStartSec in systemd units 2019-09-12 08:16:10 +00:00
gnome-shell-x11.target data: Update systemd units 2019-08-05 21:38:51 +00:00
gnome-shell.portal Provide org.freedesktop.impl.portal.access implementation 2016-07-20 17:14:12 +02:00
meson.build extensionPrefs: Move desktop file and icons from top-level data 2020-03-19 14:27:35 +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.gschema.xml.in Update default favorite apps list 2020-01-07 15:03:50 +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
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