20
submitted 4 months ago* (last edited 4 months ago) by pukeko@lemm.ee to c/linux@lemmy.ml

This is my second "I feel like a complete idiot" question of the week, so thank you for your patience.

How does one find an app-id, e.g., for setting up window rules in my window manager (River)? For example, if I'm using Nautilus as a file manager and I wanted to have the Nautilus Previewer window float by defining a River WM rule, I can do every bit of that trivially, other than identifying the app-id. (In this case, I believe it's org.gnome.NautilusPreviewer, but I'm looking for a general case.) Please note this question is about Wayland and not X.

I dropped into GNOME and viewed active windows with Looking Glass (lg), but that seems like a silly workflow just to ID a window.

you are viewing a single comment's thread
view the rest of the comments
[-] nmtake@lemm.ee 1 points 4 months ago

The repository has Makefile so you can build the executable with make:

$ cd /tmp
$ git clone https://git.sr.ht/~leon_plickat/lswt
$ cd lswt
$ make
$ ./lswt
$ sudo make install (optional)
[-] dino@discuss.tchncs.de 0 points 4 months ago

Okay but I am not going to make something where I have to read the sourcecode in order to get any info. Thanks anyway.

[-] communism@lemmy.ml 1 points 4 months ago

You don't have to read the source code. You just clone the repo and run make to install it. Then just run the lswt command which will show you app-ids of any running apps.

this post was submitted on 07 Jul 2024
20 points (95.5% liked)

Linux

48366 readers
1692 users here now

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.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS