Results 1 to 4 of 4

Thread: Thunar's custom actions and mediainfo

  1. #1
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,282
    Distro
    Xubuntu 14.04 Trusty Tahr

    Thunar's custom actions and mediainfo

    I often use mediainfo on video and audio files but I always do it from a terminal, isn't there a way to add this to Thunar's custom action list so that when i right click on my video file it will run mediainfo on that file and then show me the results in some window whether it be a terminal window or a zenity window? I've already tried the following which only shows the terminal for a moment and then it dissappears.
    Code:
    xfce4-terminal -x mediainfo -i %f
    Any help would be appreciated. and yes, mediainfo is installed in my path so i can run it from anywhere.

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

    Re: Thunar's custom actions and mediainfo

    works here with this, tested on flac, mp3 and avi

    Code:
    mediainfo -i %f | zenity --text-info
    in the command box

    Make sure that Appearance Conditions are set in the appropriate custom action tab.

    (Thanks for pushing me to work out something I didn't know - I started from the ubuntu community wiki - https://help.ubuntu.com/community/ThunarCustomActions )
    Last edited by Elfy; December 29th, 2013 at 01:02 PM.

  3. #3
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,282
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Thunar's custom actions and mediainfo

    AWESOME, it works. Thank you so much! I did look at the ubuntu wiki for thunar custom actions I just didn't know how to use the pipe and zenity.

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

    Re: Thunar's custom actions and mediainfo

    Quote Originally Posted by dannyboy79 View Post
    AWESOME, it works. Thank you so much! I did look at the ubuntu wiki for thunar custom actions I just didn't know how to use the pipe and zenity.
    Neither did I, hence my thanks.

    Glad you're happy

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
  •