[Xfce-bugs] [Bug 11751] New: Thunar 1.6.6 Configure custom actions not working with filenames containing spaces

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Mon Mar 23 03:51:22 CET 2015


https://bugzilla.xfce.org/show_bug.cgi?id=11751

            Bug ID: 11751
           Summary: Thunar 1.6.6 Configure custom actions not working with
                    filenames containing spaces
    Classification: Xfce
           Product: Thunar
           Version: 1.6.6
          Hardware: PC (x86_64)
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: uca
          Assignee: xfce-bugs at xfce.org
          Reporter: keith.rodenhausen at gmail.com
        QA Contact: nick at xfce.org
                CC: benny at xfce.org

Manjaro 0.8.12 (Xfce 4.12)

10837 is related.

The following script worked in 4.10

/home/whatever/bin/MediaInfo.sh:
#!/bin/sh

for inpath in $@; do
   mediainfo-gui "${inpath}" &
done

with the Thunar custom action:
/home/whatever/bin/MediaInfo.sh "%F"

It _only_ works in 4.12 if there are _no_ spaces in the selected filename. In
4.10, the "%F" worked for files that contained spaces.
So, it's not specifically mediainfo-gui - it's that custom actions isn't
processing files with spaces correctly.

Also, I'm getting a dangling quote at the end of filenames emitted from the
custom action into the sh script. If I switch out mediainfo-gui in the script
with smplayer, I see a terminating single quote at the end of the file name in
the file list.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list