You are not logged in.
Pages: 1
Xfce 4.14.2
When a programme is open for example Featherpad, we have the possibility to choose "always on top".
But when we close Featherpad and open it again, it is again on "same as other windows".
Question: How can I make this permanent? So that I do not have to change this setting always, when I open Featherpad new?
Would appreciate an answer. Thank you.
Last edited by Tabespe (2022-09-04 08:15:57)
Offline
You can use a tool like devilspie or its successor devilspie2 to automate and control window actions when programs start up.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thank you ToZ.
So I guess, that you want to say, that there are no such possibility in Xfce out of the box?
(My hope was, that I can somehow edit the starter command or change any conf-file.)
I guess you mean this devilspie2 function on https://github.com/dsalt/devilspie2:
set_window_above([above])
?
I have not found such a function in devilspie "1".
Offline
Sorry, the functionality doesn't exist in xfwm4 out of the box.
For the original devilspie, create an ~/.devilspie/featherpad.ds file with the following content:
(if
(is (application_name) "FeatherPad")
(above "TRUE"))
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thank you.
This works great with "Featherpad".
We have to type in a teminal the command ...
$ devilspie -a
... to test if its working.
And abort with the key-combination Ctrl+c, after we have seen that it works.
In the meantime I have found out, how to find out the "application_name" of a particular programme.
1. Type in a terminal the command:
xdrop
2. Click with the left mouse button on the window of the programme from which you need the "application_name".
Example:
In the output here, you will find the "application_name" on several positions:
[...]
WM_CLASS(STRING) = "com.github.rajsolai.textsnatcher", "Com.github.rajsolai.textsnatcher"
WM_ICON_NAME(STRING) = "com.github.rajsolai.textsnatcher"
_NET_WM_ICON_NAME(UTF8_STRING) = "com.github.rajsolai.textsnatcher"
WM_NAME(STRING) = "com.github.rajsolai.textsnatcher"
_NET_WM_NAME(UTF8_STRING) = "com.github.rajsolai.textsnatcher"
-> It's "com.github.rajsolai.textsnatcher"
Offline
1. Type in a terminal the command:
xdrop
2. Click with the left mouse button on the window of the programme from which you need the "application_name".
It's actually xprop and you can even specify the property you're looking for (alongside many other interesting things):
xprop _NET_WM_NAME
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
Thank you.
Good to know, that the property "_NET_WM_NAME(UTF8_STRING)" is the real "application_name".
Offline
Pages: 1
[ Generated in 0.013 seconds, 7 queries executed - Memory usage: 546.34 KiB (Peak: 547.18 KiB) ]