From 5d2754f8316ffef21dd06f580b2b6e1b155df435 Mon Sep 17 00:00:00 2001 From: aspizu <108279865+aspizu@users.noreply.github.com> Date: Fri, 28 Jun 2024 11:53:52 +0530 Subject: Fix dead links and add FAQ entry (#475) * Fix dead links and add FAQ entry * Update wiki/FAQ.md Co-authored-by: Ivan Molodetskikh * Update wiki/Important-Software.md Co-authored-by: Ivan Molodetskikh --------- Co-authored-by: Ivan Molodetskikh --- wiki/FAQ.md | 8 ++++++++ wiki/Important-Software.md | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/wiki/FAQ.md b/wiki/FAQ.md index 46c366b2..74d38227 100644 --- a/wiki/FAQ.md +++ b/wiki/FAQ.md @@ -1,3 +1,11 @@ +### How to disable client-side decorations/make windows rectangular? + +Uncomment the `prefer-no-csd` setting at the [top level](./Configuration:-Miscellaneous.md) of the config. +Then niri will ask windows to omit client-side decorations, and also inform them that they are being tiled (which makes some windows rectangular, even if they cannot omit the decorations). + +Note that currently this will prevent edge window resize handles from showing up. +You can still resize windows by holding Mod and the right mouse button. + ### Why is the border/focus ring showing up through semitransparent windows? Uncomment the `prefer-no-csd` setting at the [top level](./Configuration:-Miscellaneous.md) of the config. diff --git a/wiki/Important-Software.md b/wiki/Important-Software.md index 8f921b42..5aee5ddb 100644 --- a/wiki/Important-Software.md +++ b/wiki/Important-Software.md @@ -8,13 +8,13 @@ Many apps need one. For example, [mako](https://github.com/emersion/mako) works These provide a cross-desktop API for apps to use for various things like file pickers or UI settings. Flatpak apps in particular require working portals. -Portals **require** [running niri as a session](https://github.com/YaLTeR/niri#session), which means through the `niri-session` script or from a display manager. You will want the following portals installed: +Portals **require** [running niri as a session](./Getting-Started.md), which means through the `niri-session` script or from a display manager. You will want the following portals installed: * `xdg-desktop-portal-gtk`: implements most of the basic functionality, this is the "default fallback portal". * `xdg-desktop-portal-gnome`: required for screencasting support. * `gnome-keyring`: implements the Secret portal, required for certain apps to work. -Then systemd should start them on-demand automatically. These particular portals are configured in `niri-portals.conf` which [must be installed](https://github.com/YaLTeR/niri#installation) in the correct location. +Then systemd should start them on-demand automatically. These particular portals are configured in `niri-portals.conf` which [must be installed](./Getting-Started.md#installation) in the correct location. Since we're using `xdg-desktop-portal-gnome`, Flatpak apps will read the GNOME UI settings. For example, to enable the dark style, run: -- cgit