From 00a94a9527052353e8872b1d263fc3083e298622 Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Tue, 2 Jan 2024 04:59:06 -0800 Subject: [PATCH] :memo: Made note on flameshot in wayland --- wayland_with_nvidia.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/wayland_with_nvidia.md b/wayland_with_nvidia.md index a5723c49..170f7cdb 100644 --- a/wayland_with_nvidia.md +++ b/wayland_with_nvidia.md @@ -143,6 +143,33 @@ And add this to the config file: options nvidia_drm modeset=1 fbdev=1 ``` +**FLAMESHOT** +Getting flameshot working was a bit of a pain. Ensure you have installed the +following: + +``` +flameshot +grim +xdg-desktop-portal-wlr +``` + +You'll also need to appen these environment variables to you /etc/profile file: + +``` +export XDG_CURRENT_DESKTOP=sway +export XDG_SESSION_TYPE=wayland +``` + +In order to invoke, open up either a terminal (or better yet, dmenu, and +invoke): + +``` +flameshot gui +``` + +You'll then receive a prompt on how to utilize flameshot. Select the region you +wish to capture, and then hit Ctrl+S to save. + **CONCLUSION** Once all set up, simply switch to a separate tty (ctrl + alt + F).