You are not logged in.

#1 2022-12-07 17:19:14

Epp
Member
Registered: 2022-07-11
Posts: 101

[SOLVED] Xorg name or needed dwm rule name of application by terminal?

Hello,

Since a few days I am using dwm (dynamic window manager).
And till this far I am very positive.

What could make my work more easy is knowing the Xorg name? of an application.

You could see for example:
https://bbs.archlinux.org/viewtopic.php?id=196882

   { "Firefox",  NULL,       NULL,       1 << 3,       False,       -1 },   

This line above does not work on my install.
But this following line does work:

   { "firefox",   	NULL,       NULL,       1 << 8,	    0,           -1 },   

Easy peasy, just try lower case if upper and vice versa.

But what to do if you do this for applications like: uno-calculator or QtWebFlix? I found out that qtwebflix does work on my machine. But there must be a more smarter way to make this work.

On the page mentioned above there is this post (4) saying:

"This is what I see with xprop:"

Can you please let me know if and then please how I can use xprop to lookup the name for uno-calculator that I can put in my script?
I can launch the calculator from the terminal by uno-calculator, but the following rule in my config.h does not work

   { "uno-calculator",	NULL, 	NULL, 	1 << 7, 	0,		 	 -1 },   

And this rule does work:

   { "Gnome-system-monitor", 	NULL,	NULL, 	1 << 6,	    0,           -1 },   

Thanks!

Last edited by Epp (2022-12-07 18:18:33)

Offline

#2 2022-12-07 18:13:23

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,261

Re: [SOLVED] Xorg name or needed dwm rule name of application by terminal?

Use xprop and click on the window you want to know more about.

Last edited by V1del (2022-12-07 18:14:07)

Offline

#3 2022-12-07 18:20:20

Epp
Member
Registered: 2022-07-11
Posts: 101

Re: [SOLVED] Xorg name or needed dwm rule name of application by terminal?

V1del
Use xprop and click on the window you want to know more about.

Perfect. Thank you very much for the help!

Offline

Board footer

Powered by FluxBB