There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

SOLVED: River WM - Find an app-id

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.

theshatterstone54 ,

I dropped into GNOME

And I dropped into a Qtile X11 session and used xprop! I’m not sure if river provides a native way to do that.

nmtake ,

I think git.sr.ht/~leon_plickat/lswt may work.

pukeko OP ,

That does, indeed, help. And I got to the 3rd page of google/kagi results without seeing any hint of it. Thank you so much.

dino ,

Can you provide a little more info? I cant even see how to install this from the provided link, nor what it does.

nmtake ,

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


<span style="color:#323232;">$ cd /tmp
</span><span style="color:#323232;">$ git clone https://git.sr.ht/~leon_plickat/lswt
</span><span style="color:#323232;">$ cd lswt
</span><span style="color:#323232;">$ make
</span><span style="color:#323232;">$ ./lswt
</span><span style="color:#323232;">$ sudo make install (optional)
</span>
dino ,

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 ,
@communism@lemmy.ml avatar

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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines