Way to bring existing thunar from keyboard shortcut instead of opening new one (broken in 4.16)
Hi,
I used to enjoy doing this :
- Ctrl E : bring to front existing filemanager window, or create on if none exists
- Ctrl Shit E : create new instance of file manager
With thunar I used to us this small script relying on xdotool
#!/bin/bash
# raise existing thunar window or open a new one
need_new=0
for w in $(xdotool search --limit 1 --name "File Manager"); do
need_new=1
xdotool windowraise $w
break
done
if [ ${need_new} -eq 0 ]; then thunar $HOME ; fi
BUT since 4.16, window name changed. It now only contains the directory name displayed at the moment.
As a result ... my small script is useless.
I'd really enjoy any other way of accomplishing this again, by whatever workaround you may think of.
thank you for reading,
kind regards