From 10d64fceab30806fd1e9f00bbc34e678e0c55f41 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Wed, 17 Sep 2025 21:02:34 +0100 Subject: [PATCH 1/2] integration: add comment on slurp quotation marks --- src/integration.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/integration.md b/src/integration.md index bf07e44..728bfa0 100644 --- a/src/integration.md +++ b/src/integration.md @@ -247,10 +247,13 @@ example - [swappy](https://github.com/jtheoof/swappy) ``` +grim -g "$(slurp)" grim -g "$(slurp)" - | swappy -f - grim - | wl-copy ``` +> Note: Remember to use quotation marks around `$(slurp)` + # 7. Session Lock {#session-lock} `labwc` supports the [ext-session-lock] and [ext-idle-notify] protocols and you can use clients such From e2d26f0b0d7bcd24b8304a8a281e4e231e26a863 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Wed, 17 Sep 2025 21:03:01 +0100 Subject: [PATCH 2/2] integration: add Gtk section on accented characters --- src/integration.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/integration.md b/src/integration.md index 728bfa0..bd96241 100644 --- a/src/integration.md +++ b/src/integration.md @@ -16,7 +16,7 @@ 9. [Qt](#qt) 10. [Clipboard](#clipboard) 11. [Input Method](#input-method) -12. [GTK](#gtk) +12. [Gtk](#gtk) # 1. Introduction {#introduction} @@ -425,7 +425,9 @@ So if you want to use IME with Chromium under labwc, you have following options: or by applying its patch. Then, you can enable IME with [text-input-v1] by running Chromium with `--enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime`. -# 12. GTK {#gtk} +# 12. Gtk {#gtk} + +## 12.1 File Chooser In some recent GTK (>=4.16) applications (e.g. Gnome's Simple-Scan and Clapper) the File Chooser defaults to using xdg-portal technology which may not work @@ -440,6 +442,13 @@ depending on your system setup. There are at least two ways to fallback to a `$HOME/.config/xdg-desktop-portal/` but please see [portal-user-home] for further details. +## 12.2 Compose + +From version `4.20.0`, accented characters cannot be typed in GTK4 applications +without using the `ibus` package. See [#3068] for details. + +[#3068]: https://github.com/labwc/labwc/issues/3068 + [labwc-portals.conf]: https://github.com/labwc/labwc/blob/master/data/labwc-portals.conf [portal-user-home]: https://flatpak.github.io/xdg-desktop-portal/docs/portals.conf.html