Score:0

Devilspie2 only works sometimes on Xubuntu 22.04

us flag

I used Devilspie2 on Xubuntu 18.04 and 20.04 without any problems. On Xubuntu 22.04 devilspie2 resizes and moves the windows only sometimes. This is the lua script:

if (get_window_name() == "file-copy") then
    set_window_geometry(50, 100, 800, 600);
end

"file-copy" is a little script that copies files from my raspberry pi to the desktop using rsync. Thst the complete window name:

wmctrl -l
0x06400003  0 user file-copy

i open the script and nothing happens. i open it again and the window is resized. i open it again and nothing happens and so on.

Some of my other lua scriptes for windows with more "complexe" names are working.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.