You are not logged in.
Pages: 1
Hi,
I've been using devilspie2 for a while, to have any new Thunar window to a custom size of 720x540px, which I really like
I'm using this specific rule for devilspie2:
if (get_window_name(), "Thunar") then
set_window_size (720, 540);
-- maximize();
end
This has been working for me, for years!
But now, since today's update to 4.18, Thunar will always open to a specific, annoying window size of 1074x511px.
Weird?
I also tried this rule for devilspie2:
if string.match(get_window_name(), "Thunar") then
set_window_size (720, 540);
-- maximize();
end
Same results...
I also tried using a class instead of window_name:
if (get_window_class() == "Thunar") and (get_window_type() == "WINDOW_TYPE_NORMAL") then
set_window_size (720, 540);
end
With no luck...
However, my devilspie2 works pretty well, because this custom window size works perfectly well with any other application...
Any idea how I can fix this?
Thanks
Offline
I'm noticing something similar with original devilspie - thunar seems to be changing the size. I wonder if it might be a result of the column auto-resizing enhancements. From which version of thunar did you upgrade from (where it was working properly)?
You might want to create a bug report.
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
Hi @ToZ, thank you for the quick reply.
Well, a quick look at my package manager's cache (archlinux) reveals this:
ls -l /var/cache/pacman/pkg/thunar*
-rw-r--r-- 1 root root 1.3M Apr 29 2022 /var/cache/pacman/pkg/thunar-4.16.11-2-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 310 Apr 29 2022 /var/cache/pacman/pkg/thunar-4.16.11-2-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 1.5M Dec 15 08:46 /var/cache/pacman/pkg/thunar-4.18.0-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 310 Dec 15 08:46 /var/cache/pacman/pkg/thunar-4.18.0-1-x86_64.pkg.tar.zst.sig
4.18.0-1 is the current one, just installed yesterday.
So I do believe 4.16.11-2 is the one!
Shall I file a bug report?
Also, I'm really wondering... Am I the only one with this problem?
I am guessing that pretty much everyone should see Thunar as a big rectangular window as well?
Last edited by lazygeek (2022-12-21 18:37:11)
Offline
There is a thunar hidden setting to remember window geometries (/misc-remember-geometry). Can you try setting that to true and then in the settings editor, thunar channel, set values for "last-window-width" and "last-window-height" to see if that works?
Otherwise, yes, create a bug report to see what the developer says.
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
I have tried your workaround solution, with no luck.
According to the docs you mentioned, it is well advised to run "thunar -q" before editing the settings, which I did.
So I have played around with the setting "/misc-remember-geometry", and whether I set it to TRUE or FALSE (along with forcing correct values for "last-window-width" and "last-window-height"), I get the same results. That big rectangular Thunar window!
That's not a huge problem though. I'm so satisfied with the new features in Xfce 4.18, I'm not gonna go back to the previous version just to fix window size.
I filed a bug here, let's see what happens
Thank you very much for your help! I discovered a few other hidden settings for Thunar, which I am now using!
Last edited by lazygeek (2022-12-17 02:07:28)
Offline
Hi lazygeek,
Could you expand on your hidden settings. I am a noob and have searched every where to try and find an answer to set "custom window size".
The only thing I Manjaro Settings Editor>thumar.
Tried to change /last-window-width 590 every new window reverted to the over size. Yet the Settings editor still shows 590?
Any advice appreciated.
Offline
@Cencar, this was a bug in thunar that has been fixed and will be released with the next release of thunar coming soon.
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
Thanks for the info and quick response
Offline
Pages: 1
[ Generated in 0.016 seconds, 8 queries executed - Memory usage: 547.43 KiB (Peak: 548.27 KiB) ]