! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Thunar "executes" non-executable-files
Status:
RESOLVED: MOVED

Comments

Description juef17 2017-10-22 22:16:51 CEST
I had an issue for which I posted on the xfce forums, and the kind moderator ToZ there helped me a lot. In the end though, he suggested posting here, as this might very well be a Thunar issue. Relevant discussion is here:

https://forum.xfce.org/viewtopic.php?pid=46397

In short:
"I am currently using Winamp 2.95 through Wine, and while it worked beautifully for months, something suddenly changed. Double-clicking a m3u playlist file does nothing anymore, but right-clicking it and selecting the default action works just as expected. I have tried resetting the default "open with" application, using a custom command, reinstalling Winamp and removing/setting back its file associations, but to no avail. I'm running 64-bit Linux Lite 3.6, Thunar 1.6.11-0ubuntu0.16.04.2 and xfce 4.12." The solution to my problem was that the file was marked as executable, and changing it to non-executable made it work.

Some command outputs that might be relevant:

francois@SilentPC:~/Desktop$ xdg-mime query filetype Rock.m3u
audio/x-mpegurl
francois@SilentPC:~/Desktop$ xdg-mime query default audio/x-mpegurl
wine-extension-miz.desktop
francois@SilentPC:~/Desktop$ xdg-mime query default $(xdg-mime query filetype Rock.m3u)
wine-extension-miz.desktop

francois@SilentPC:~/Desktop$ cat $(locate wine-extension-miz.desktop)
[Desktop Entry]
Type=Application
Name=Winamp
MimeType=application/x-wine-extension-miz;
Exec=env WINEPREFIX="/home/francois/.wine" wine start /ProgIDOpen Winamp.File %f
NoDisplay=true
StartupNotify=true
Icon=F465_winamp.0

francois@SilentPC:~/Desktop$ xfconf-query -c thunar -lv
/last-details-view-column-widths     50,130,50,50,501,50,50,64,53
/last-details-view-zoom-level        THUNAR_ZOOM_LEVEL_SMALLER
/last-icon-view-zoom-level           THUNAR_ZOOM_LEVEL_NORMAL
/last-separator-position             172
/last-show-hidden                    true
/last-sort-column                    THUNAR_COLUMN_NAME
/last-sort-order                     GTK_SORT_ASCENDING
/last-view                           ThunarCompactView
/last-window-height                  633
/last-window-maximized               false
/last-window-width                   928
/misc-date-style                     THUNAR_DATE_STYLE_ISO
/misc-exec-shell-scripts-by-default  true
/misc-file-size-binary               true
/misc-recursive-permissions          THUNAR_RECURSIVE_PERMISSIONS_ALWAYS
/misc-single-click                   false
/misc-thumbnail-mode                 THUNAR_THUMBNAIL_MODE_NEVER

Also, running Thunar from the terminal and double-clicking the file resulted in this:
/home/francois/Rock.m3u: 3: /home/francois/Rock.m3u: Z:homefrancoisMusicMP3sRockACDCACDC: not found
/home/francois/Rock.m3u: 19: /home/francois/Rock.m3u: Z:homefrancoisMusicMP3sRockACDCACDC: not found
/home/francois/Rock.m3u: 38: /home/francois/Rock.m3u: Syntax error: "(" unexpected

but as mentioned above, the issue was fixed without modifying the file contents.

Thank you!
Comment 1 Git Bot editbugs 2020-05-26 23:32:36 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/177.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #13947

Reported by:
juef17
Reported on: 2017-10-22
Last modified on: 2020-05-26

People

Assignee:
Xfce Bug Triage
CC List:
2 users

Version

Version:
1.6.11

Attachments

Additional information