Oh didn't realize you were using thunar.
Happen to have it installed though when trying some alternatives to nautilus.
The gsettings command is only for nautilus and does not update in realtime anyway.
Just had a play with thunar and although maybe not the best way, I can
send the ctl+h shortcut keys with an xdotool command (may need to install)....
Also if your reason for doing this is you mainly use the mouse,Code:xdotool key ctrl+h
have a look at easystroke mouse gestures.
I use this with wmctrl commands to control windows.
I've attached a short video.
Bookmarks