62
Wayland - How Best to Log My Own Desktop Activities
(lemmy.dbzer0.com)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
What’s your window manager?
You can use grim+slurp to take screenshots. Scroll down to the Wayland section for a snippet:
https://wiki.archlinux.org/title/Screen_capture
I keep my desktop muted so I am not sure if it makes a sound or not. If you wrap the commands into a timer loop it will do what you’re looking for.
For the window title you can likely use your window manager’s IPC calls to get the active window title or list of windows on a workspace. My wayland experience is limited to hyprland and if you haven’t found a solution when I get home from work I can post the jank utility I made in rust to output the data I needed for my Eww bar.
I'm using a default debian / gnome setup, so that's mutter + wayland.
Grim seems to error with
compositor doesn't support wlr-screencopy-unstable-v1
which I don't really understand. Searching that term suggests that gnome will never support wlr-anything.