Docs: add a few notes and warnings (#2925)
Browse files at this commit3 changed files +12 -0
- docs/wiki/Application-Issues.md +6 -0
- docs/wiki/Configuration:-Switch-Events.md +3 -0
- docs/wiki/Important-Software.md +3 -0
docs/wiki/Application-Issues.mdmodified+6 -0
| @@ -22,6 +22,12 @@ If you're having issues with some VSCode hotkeys, try starting `Xwayland` and se | |||
| 22 | That is, still running VSCode with the Wayland backend, but with `DISPLAY` set to a running Xwayland instance. | 22 | That is, still running VSCode with the Wayland backend, but with `DISPLAY` set to a running Xwayland instance. |
| 23 | Apparently, VSCode currently unconditionally queries the X server for a keymap. | 23 | Apparently, VSCode currently unconditionally queries the X server for a keymap. |
| 24 | 24 | ||
| 25 | +### JetBrains IDEs | ||
| 26 | + | ||
| 27 | +JetBrains IDEs can run directly on Wayland, but it's not the default. | ||
| 28 | + | ||
| 29 | +For JetBrainsRuntime > 17, you can set the flag `-Dawt.toolkit.name=WLToolkit` inside of `help -> edit custom vm options -> add`. | ||
| 30 | + | ||
| 25 | ### WezTerm | 31 | ### WezTerm |
| 26 | 32 | ||
| 27 | > [!NOTE] | 33 | > [!NOTE] |
docs/wiki/Configuration:-Switch-Events.mdmodified+3 -0
| @@ -39,6 +39,9 @@ switch-events { | |||
| 39 | These events trigger when a convertible laptop goes into or out of tablet mode. | 39 | These events trigger when a convertible laptop goes into or out of tablet mode. |
| 40 | In tablet mode, the keyboard and mouse are usually inaccessible, so you can use these events to activate the on-screen keyboard. | 40 | In tablet mode, the keyboard and mouse are usually inaccessible, so you can use these events to activate the on-screen keyboard. |
| 41 | 41 | ||
| 42 | +> [!NOTE] | ||
| 43 | +> The commands below are just examples, you will need to provide your own on-screen keyboard, such as [sysboard](https://github.com/System64fumo/sysboard) or [wvkbd](https://github.com/jjsullivan5196/wvkbd). | ||
| 44 | + | ||
| 42 | ```kdl | 45 | ```kdl |
| 43 | switch-events { | 46 | switch-events { |
| 44 | tablet-mode-on { spawn "bash" "-c" "gsettings set org.gnome.desktop.a11y.applications screen-keyboard-enabled true"; } | 47 | tablet-mode-on { spawn "bash" "-c" "gsettings set org.gnome.desktop.a11y.applications screen-keyboard-enabled true"; } |
docs/wiki/Important-Software.mdmodified+3 -0
| @@ -26,6 +26,9 @@ Note that if you're using the provided `resources/niri-portals.conf`, you also n | |||
| 26 | 26 | ||
| 27 | If you do not want to install `nautilus` (say you use `nemo` instead), you can set `org.freedesktop.impl.portal.FileChooser=gtk;` in `niri-portals.conf` to use the GTK portal for file chooser dialogues. | 27 | If you do not want to install `nautilus` (say you use `nemo` instead), you can set `org.freedesktop.impl.portal.FileChooser=gtk;` in `niri-portals.conf` to use the GTK portal for file chooser dialogues. |
| 28 | 28 | ||
| 29 | +> [!WARNING] | ||
| 30 | +> Do not set the `GDK_BACKEND` environment variable globally as this will break the screencast portal. | ||
| 31 | + | ||
| 29 | ### Authentication Agent | 32 | ### Authentication Agent |
| 30 | 33 | ||
| 31 | Required when apps need to ask for root permissions. Something like `plasma-polkit-agent` works fine. Start it [with systemd](./Example-systemd-Setup.md) or with [`spawn-at-startup`](./Configuration:-Miscellaneous.md#spawn-at-startup). | 34 | Required when apps need to ask for root permissions. Something like `plasma-polkit-agent` works fine. Start it [with systemd](./Example-systemd-Setup.md) or with [`spawn-at-startup`](./Configuration:-Miscellaneous.md#spawn-at-startup). |