Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-03-19 18:22:53

ctac
Member
Registered: 2017-05-08
Posts: 53

[solved] mousepad parameter

Hi
I can start mousepad from xfce4-terminal with mousepad &
mousepad can take parameters like --class=CLASS or --name=NAME
If I try mousepad --class=MyCLASS &
mousepad start ok but after that, if I use xprop, the result is WM_CLASS(STRING) = "mousepad", "Mousepad"
Nowhere I can find MyCLASS.
It' s the same with --name=NAME
How to use these parameters ?
Thanks

Last edited by ctac (2020-03-19 19:57:22)

Offline

#2 2020-03-19 18:52:53

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,381

Re: [solved] mousepad parameter

For me:

mousepad --class=MYCLASS --name=MYMOUSE &

...followed by:

xprop | grep WM_CLASS

...returns:

WM_CLASS(STRING) = "MYMOUSE", "MYCLASS"

Offline

#3 2020-03-19 19:56:40

ctac
Member
Registered: 2017-05-08
Posts: 53

Re: [solved] mousepad parameter

Thanks.
Don't understand.
I try for 1 hour with no result and after your reply, all is ok.

Offline

Board footer

Powered by FluxBB