Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-01-12 16:37:48

jackkk
Member
Registered: 2025-01-12
Posts: 1
LinuxChrome 131.0

Window resize problem

I resize the active window by the following script:

window_id=$(xdotool getactivewindow)
new_width=100
new_height=100
xdotool windowsize $window_id $new_width $new_height

The window resizes, but if I switch to another workspace and then come back, the window is automatically resized back to its previous size.

How can I disable this 'feature' ?

My system is:
Linux: Debian GNU/Linux 12 (bookworm) 12.8
Kernel: 6.1.119-1
xfce4: 4.18
Nvidia: 535.183.01
GTK: 3.24.38

Last edited by jackkk (2025-01-14 08:26:37)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 8 queries executed - Memory usage: 511.41 KiB (Peak: 512.04 KiB) ]