From 1882b1b1724c6f6c09e0b086cd5ee1a71f3a0f43 Mon Sep 17 00:00:00 2001 From: Diego Viola Date: Sun, 27 Aug 2023 10:15:36 -0300 Subject: [PATCH] Fix Qt typos (#315) --- pages/Configuring/Environment-variables.md | 12 ++++++------ pages/FAQ/_index.md | 4 ++-- pages/Getting Started/Master-Tutorial.md | 2 +- pages/Useful Utilities/Must-have.md | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pages/Configuring/Environment-variables.md b/pages/Configuring/Environment-variables.md index 6f2dfc0..b136c04 100644 --- a/pages/Configuring/Environment-variables.md +++ b/pages/Configuring/Environment-variables.md @@ -24,7 +24,7 @@ Linux distros. # Toolkit Backend Variables - `GDK_BACKEND=wayland,x11` - GTK: Use wayland if available, fall back to x11 if not. -- `QT_QPA_PLATFORM="wayland;xcb"` - QT: Use wayland if available, fall back to x11 if not. +- `QT_QPA_PLATFORM="wayland;xcb"` - Qt: Use wayland if available, fall back to x11 if not. - `SDL_VIDEODRIVER=wayland` - Run SDL2 applications on Wayland. Remove or set to `x11` if games that provide older versions of SDL cause compatibility issues - `CLUTTER_BACKEND=wayland` - Clutter package already has wayland enabled, this variable will force Clutter applications @@ -39,13 +39,13 @@ Linux distros. XDG specific environment variables are often detected through portals and applications that may set those for you, however it is not a bad idea to set them explicitly. -# QT Variables +# Qt Variables -- `QT_AUTO_SCREEN_SCALE_FACTOR=1` - [(From the QT documentation)](https://doc.qt.io/qt-5/highdpi.html) +- `QT_AUTO_SCREEN_SCALE_FACTOR=1` - [(From the Qt documentation)](https://doc.qt.io/qt-5/highdpi.html) enables automatic scaling, based on the monitor's pixel density -- `QT_QPA_PLATFORM=wayland;xcb` - Tell QT applications to use the Wayland backend, and fall back to x11 if Wayland is unavailable -- `QT_WAYLAND_DISABLE_WINDOWDECORATION=1` - Disables window decorations on QT applications -- `QT_QPA_PLATFORMTHEME=qt5ct` - Tells QT based applications to pick your theme from qt5ct, use with Kvantum. +- `QT_QPA_PLATFORM=wayland;xcb` - Tell Qt applications to use the Wayland backend, and fall back to x11 if Wayland is unavailable +- `QT_WAYLAND_DISABLE_WINDOWDECORATION=1` - Disables window decorations on Qt applications +- `QT_QPA_PLATFORMTHEME=qt5ct` - Tells Qt based applications to pick your theme from qt5ct, use with Kvantum. # NVIDIA Specific diff --git a/pages/FAQ/_index.md b/pages/FAQ/_index.md index e6fea64..36b732b 100644 --- a/pages/FAQ/_index.md +++ b/pages/FAQ/_index.md @@ -8,7 +8,7 @@ Possible causes: > Your themes are not set up properly, making apps crash. -Use something like `qt6ct` (QT) and `nwg-look` (GTK) (\*for GTK you can also +Use something like `qt6ct` (Qt) and `nwg-look` (GTK) (\*for GTK you can also set up themes with envvars) to set up your themes. > Your PC is very, _very_ old. @@ -115,7 +115,7 @@ Use a wayland-compatible locking utility using WLR protocols, e.g. `swaylock`. If using flatpak, run `flatpak override --env=~/.themes:ro --env=~/.icons:ro --user` and put your themes in both `/usr/share/themes` and `~/.themes`, and put your icons and cursors in both `/usr/share/icons` and `~/.icons`. -For QT applications, Hyprland exports XCURSOR_SIZE as 24, which is the default. +For Qt applications, Hyprland exports XCURSOR_SIZE as 24, which is the default. You can overwrite this by exporting XCURSOR_SIZE to a different value with `env`. You can also try running `gsettings set org.gnome.desktop.interface cursor-theme 'theme-name'` or adding it after `exec-once=` in your config. diff --git a/pages/Getting Started/Master-Tutorial.md b/pages/Getting Started/Master-Tutorial.md index 6bd22e7..a7f21c2 100644 --- a/pages/Getting Started/Master-Tutorial.md +++ b/pages/Getting Started/Master-Tutorial.md @@ -83,7 +83,7 @@ If your cursor does not appear, then see [this FAQ entry](../../FAQ#me-cursor-no ## Themes Since this is not a full fledged Desktop Environment, you will need to use tools such as `lxappearance` and `nwg-look` (recommended) for GTK, and `qt5ct` / `qt6ct` for their -respective QT versions. Some older applications may also require `qt4ct`. +respective Qt versions. Some older applications may also require `qt4ct`. ## Force apps to use Wayland diff --git a/pages/Useful Utilities/Must-have.md b/pages/Useful Utilities/Must-have.md index be03763..a50a301 100644 --- a/pages/Useful Utilities/Must-have.md +++ b/pages/Useful Utilities/Must-have.md @@ -40,7 +40,7 @@ On some distributions you might have to use a different path `/usr/libexec/polki On other distributions that use a more recent version, such as Gentoo, it may be necessary to use `exec-once=/usr/lib64/libexec/polkit-kde-authentication-agent-1` instead. -### QT Wayland Support +### Qt Wayland Support _Starting method:_ none (just a library) Install `qt5-wayland` and `qt6-wayland`.