Results 1 to 7 of 7

Thread: Discussion - https://help.ubuntu.com/community/ThunarCustomActions

Hybrid View

  1. #1
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Discussion - https://help.ubuntu.com/community/ThunarCustomActions

    Please use this thread for discussion regarding

    https://help.ubuntu.com/community/ThunarCustomActions

    Support threads should be posted in normal forums.

    Thank you.

  2. #2
    Join Date
    Apr 2010
    Beans
    58
    Distro
    Xubuntu 13.10 Saucy Salamander

    Re: Discussion - https://help.ubuntu.com/community/ThunarCustomActions

    Convert animated gif from selected images:
    Code:
    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/co...line-tools.php
    This custom action need a polishing - don't now how - sometimes imagemagick croping images.
    Edited:
    Code:
    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
    And my kids like to draw animations for theirs phones
    Last edited by scania_gti; August 19th, 2012 at 09:05 PM.
    You must first have a lot of patience to learn to have patience.
    /Stanislaw Lec

  3. #3
    Join Date
    Jul 2012
    Beans
    322
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: Discussion - https://help.ubuntu.com/community/ThunarCustomActions

    A nice simple one

    Nano as Root

    Code:
    xfce4-terminal -e "sudo nano %f"
    you could add your password to cut out having to type it (not secure):

    Code:
    xfce4-terminal -e "echo "yourpasswd" | sudo -S nano %f"
    Last edited by Merrattic; September 3rd, 2012 at 01:40 AM.
    The best things in life are free, so what are we paying for?

  4. #4
    Join Date
    Sep 2011
    Beans
    5

    Re: Discussion - https://help.ubuntu.com/community/ThunarCustomActions

    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:


    Code:
    qtnhygghj=%n ; echo -n "${qtnhygghj%%.*}" | xclip -selection c
    IHTH someone!

  5. #5
    Join Date
    Jul 2006
    Beans
    26
    Distro
    Xubuntu

    Re: Discussion - https://help.ubuntu.com/community/ThunarCustomActions

    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.

  6. #6
    Join Date
    Sep 2011
    Beans
    5

    Re: Discussion - https://help.ubuntu.com/community/ThunarCustomActions

    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:

    Code:
    exiv2 %f  2>&1 | grep -e "Exif comment" | zenity --width=800 --height=240 --text-info --title "%n Exif Comment Data"
    IHTH someone!

  7. #7
    Join Date
    Feb 2015
    Location
    Italy
    Beans
    242
    Distro
    Kubuntu

    Re: Discussion - https://help.ubuntu.com/community/ThunarCustomActions

    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'?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •