Thunar custom actions

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
labbe5
Posts: 2159
Joined: Wed 13 Nov 2013, 14:26
Location: Canada

Thunar custom actions

#1 Post by labbe5 »

How to view file information with right click (jpg, avi, etc) :


I have been looking for a while for a utility to view extra information from different file types. Things like copyright, version, size information in jpeg files, and found many utility programs that would view one type of file or another, but not several different types. Today I found what I was looking for and thought I would share it with the community. For this custom action to work you have to install a package named "libimage-exiftool-perl". Then create a new thunar custom action:

Open file manager by clicking the home folder icon on the panel. From the file manager menu select "Edit", then click on "Configure custom actions", click the "+" icon on the right to add a new custom action fill the fields with the info below.

NAME: File Information

DESCRIPTION: Display extra file information.

COMMAND: exiftool %f | zenity --width=640 --height=480 --text-info --title="File Information"

On the "Appearance Conditions tab check all boxes except Directories, and then click "OK".

This will give a right click menu item in the file manager to view extra info on many different file types including windows .exe .dll files.

Source : [url]https://www.linuxliteos.com/forums/tuto ... formation/[/url]

.........................................................

How to add entire music folders to Audacious :


Add an entire folder of songs to Audacious music player...

Open your file manager (Thunar), select Configure Custom Actions in the Edit menu.
Press the button on the right hand side of the custom actions box that has the big plus sign on it.

In the Basic tab enter the following information:
Description = Play Music Album
Description = Play folder of songs.
Command = audacious %F
Then select the Audacious icon from the application icons section after clicking on the icon box.

In the Appearance Conditions tab, tick only the Directories box.
File Pattern = *

Press the ok button when finished and close the Configure Custom Actions program.

You should now be able to right click on any folder and have all of the songs queue up for playing in Audacious.
Warning: You might need to log out and back in before you see it in your menu??

Source : [url]https://www.linuxliteos.com/forums/tuto ... audacious/[/url]

Further reading :
[url]https://www.linuxliteos.com/forums/tuto ... in-thunar/[/url]
custom action in Thunar for the USB image writer :
[url]https://www.linuxliteos.com/forums/tuto ... in-ll-2-0/[/url]

Post Reply