Option to always start/open new windows with split view enabled
First of all, huge thanks to the devs that implemented the split view. Was a sorely missed feature to the otherwise great file manager!!!
Now, using split view much more often than not (read: almost always), hitting F3 every time Thunar is opened gets a bit annoying after a while.
So having an option/preference to always enable it would be great.
Meanwhile, if somebody needs it, as a partial workaround the following command can be used for panel launcher (or in the .desktop file):
# Bash:
bash -c 'thunar & disown %1 && until wmctrl -a "Thunar"; do sleep 0.3s; done && xdotool key F3'
# Or if regular shell is preferred:
sh -c 'nohup thunar >/dev/null 2>&1 & until wmctrl -a "Thunar"; do sleep 0.3s; done && xdotool key F3'
wctrl
and xdtool
need to be installed, and it works only for the first window opened or if no other apps/windows have "Thunar" in their title.
If it doesn't work at all, sleep 0.3s
is probably too short.
Cheers
Edited by Filip Danilović