|
14 | 14 | 7. [Session Lock](#session-lock)
|
15 | 15 | 8. [Desktops](#desktops)
|
16 | 16 | 9. [Qt](#qt)
|
17 |
| -10. [Input Method](#input-method) |
| 17 | +10. [Clipboard](#clipboard) |
| 18 | +11. [Input Method](#input-method) |
18 | 19 |
|
19 | 20 | # 1. Introduction {#introduction}
|
20 | 21 |
|
@@ -350,7 +351,35 @@ and set `QT_QPA_PLATFORMTHEME=qt6ct` in `~/.config/labwc/environment`.
|
350 | 351 | [qt6-wayland]: https://archlinux.org/packages/extra/x86_64/qt6-wayland/
|
351 | 352 | [qt6ct]: https://github.com/trialuser02/qt6ct
|
352 | 353 |
|
353 |
| -# 10. Input Method {#input-method} |
| 354 | +# 10. Clipboard {#clipboard} |
| 355 | + |
| 356 | +**Labwc** does not natively support storing of data kept on the clipboard. |
| 357 | +For this functionality you need a _clipboard manager_. |
| 358 | + |
| 359 | +Some clipboard managers to get you started are: |
| 360 | + |
| 361 | +- [cliphist] |
| 362 | +- [clapboard] |
| 363 | +- [clipse] |
| 364 | + |
| 365 | +They all depend on [wl-clipboard] and there are many more with various |
| 366 | +features. |
| 367 | + |
| 368 | +Once you have a clipboard manager you need to have it start when starting |
| 369 | +your session, which you can do in `~/.config/labwc/autostart`. |
| 370 | + |
| 371 | +You can add a line similar to this: |
| 372 | + |
| 373 | +``` |
| 374 | +wl-paste --watch cliphist store & |
| 375 | +``` |
| 376 | + |
| 377 | +You then need to access the data. You either need a `dmenu` like program |
| 378 | +for wayland such as `bemenu`, `rofi`, `wofi` or `tofi` or a dedicated clipboard |
| 379 | +application such as `nwg-clipman`. |
| 380 | + |
| 381 | + |
| 382 | +# 11. Input Method {#input-method} |
354 | 383 |
|
355 | 384 | Input methods like Fcitx5 and IBus provide modules for GTK and Qt and an
|
356 | 385 | interface for xserver (xwayland) using D-Bus without wayland protocols.
|
@@ -439,3 +468,7 @@ So if you want to use IME with Chromium under labwc, you have following options:
|
439 | 468 | [arch-xdg-menu]: https://arch.p5n.pp.ru/~sergej/dl/2018/
|
440 | 469 | [obamenu]: https://github.com/onuronsekiz/obamenu
|
441 | 470 | [wlr-randr]: https://sr.ht/~emersion/wlr-randr/
|
| 471 | +[cliphist]: https://github.com/sentriz/cliphist |
| 472 | +[clapboard]: https://github.com/bjesus/clapboard |
| 473 | +[clipse]: https://github.com/savedra1/clipse |
| 474 | +[wl-clipboard]: https://github.com/bugaevc/wl-clipboard |
0 commit comments