View Full Version : Discussion - https://help.ubuntu.com/community/ThunarCustomActions
Elfy
June 29th, 2012, 09:46 AM
Please use this thread for discussion regarding
https://help.ubuntu.com/community/ThunarCustomActions
Support threads should be posted in normal forums.
Thank you.
scania_gti
August 19th, 2012, 12:33 PM
Convert animated gif from selected images:
convert -loop 0 -dispose 2 %F %F.gif
command "convert" is a part of imagemagick, and more customisation you will find http://www.imagemagick.org/script/command-line-tools.php
This custom action need a polishing - don't now how - sometimes imagemagick croping images.
Edited:
convert -loop 0 -dispose 2 -layers OptimizeTransparency %F %F.gif this custom command make smaller gif's
Resolution of animated gif is taken from first image in selection. If first have 100x200 pixels - animation will get same resolution.
This command great for my, cause pencil (program to create animations) not exporting to any file :D
And my kids like to draw animations for theirs phones :)
Merrattic
September 3rd, 2012, 01:36 AM
A nice simple one
Nano as Root
xfce4-terminal -e "sudo nano %f"you could add your password to cut out having to type it (not secure):
xfce4-terminal -e "echo "yourpasswd" | sudo -S nano %f"
Digger109
April 4th, 2013, 03:12 AM
Here is a Thunar custom action that will send a file's basename, stripped of its file identifier, to xclip. It works for filenames with extra periods in them, as well as for filenames with spaces in them:
qtnhygghj=%n ; echo -n "${qtnhygghj%%.*}" | xclip -selection c
IHTH someone!
berteh
January 28th, 2016, 08:48 PM
Hello.
3 actions to manage samba share from thunar right-click on folder are documented below:
http://ubuntuforums.org/showthread.php?t=2311605
Could you please add them to the doc page? I don't have right access to do it. thanks.
Digger109
August 4th, 2016, 06:07 PM
Here is a Thunar custom action that will display a zenity window containing an image's Exif data that is contained in the "Exif comment" line of said data:
exiv2 %f 2>&1 | grep -e "Exif comment" | zenity --width=800 --height=240 --text-info --title "%n Exif Comment Data"
IHTH someone!
enricobe
October 31st, 2016, 05:55 PM
Hi,
on my Xubuntu 16.04 the "terminal -e" actions doesn't work. The one which works is "xfce4-terminal -e". Maybe the page needs to be updated with 'xfce4-terminal' instead of 'terminal'?
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.