Results 1 to 4 of 4

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

Hybrid View

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

    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.
    Forum Social IRC Channel
    Xubuntu IRC Support
    Xubuntu Support

    Please do not PM me about Registration issues without having been asked to. I will tell you to post here

  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
    315
    Distro
    Xubuntu 12.04 Precise Pangolin

    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
    4

    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!

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
  •