Page 1 of 1

thunar : Customise right clic (Xubuntu Xfce)

PostPosted: Wed Jul 11, 2018 3:27 pm
by périn
Hi everybody

In Thunar, a file browser in Xubuntu, there is a feature that allows users to add fonctions on the menu displayed when you right clic on an item.

I succeeded to add a «  play with smPlayer  » when I right clic on a directoty wich was quite easy  : I just wrote «  %u smplayer  ». But now, I'd like to add «  play with smPlayer with a new instance  » and I want that just to be an option concerning a directory, because the rest of the time I like it with only one instance (I know how to tweak smPlayer for opening in a new instance each time I clic on a file).

In a terminal, with «  smplayer -help  » there is an option (-actions  ) that I used this way  : I looked in a file of config, I noticed that there's a line «  open_one_instance_true  ». So in thunar, I wrote «  -actions open one instance false  » and it opens the contents of the directory in the same instance...

Does anyone know how to make it work  ?