Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-02-20 03:01:45

Donnachaidh
Member
Registered: 2023-02-20
Posts: 1

Thunar Refresh View on Custom Action

I've made a custom action to set a particular emblem on highlighted files. However, whenever I run it, I have to also press Ctrl+R to refresh the view. Is there any way I could force that to happen automatically in the custom action?

Offline

#2 2023-02-20 03:16:32

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Thunar Refresh View on Custom Action

You can use:

xdotool key F5

...in the custom action as well to automate the refresh. xdotool must be installed.

So something like (guessing):

gio set %f metadata......emblem && xdotool key F5

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

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.006 seconds, 7 queries executed - Memory usage: 517.49 KiB (Peak: 529.53 KiB) ]