Created attachment 6268 Fix for `ark.tap` With the current `ark.tap`, support for Ark is broken. Ark's command line options are very different now. I'm submitting a patch that fixes this.
Created attachment 6379 Fix for `ark.tap` (modified) Fix an omission in the previous attachment: there was a command line without the command name.
It seems this was merged already, Ark works fine on Debian 9, XFCE 4.12.
For which version of ark ? should the script support multiple version ? what was the version of ark for the original report ?
Sorry, I spoke too soon and had File-Roller still left over from an earlier test. Updated Ark support indeed seems to still be outstanding, with Ark 16.08.3 on Debian 9 I get an ark.tap that looks like the one before the patch mentioned in comment 1. Also, with only Ark installed and no File-Roller or Xarchiver, I get "No suitable archive manager found" when trying to extract an archive.
Further digging: It doesn't quite match what's in the patch, either. I'll now try to figure out if what's currently in there is the way it should be for archivers nowadays and if it matches Ark's current syntax.
There are two problems at least on Debian 9: 1. The ark.tap file needs to be named like Ark's .desktop entry under /usr/share/applications. That would be 'org.kde.ark.tap' instead of just 'ark.tap'. 2. The org.kde.ark.tap should be updated in some way. Included is a copy I found in the Gentoo forums: http://www.linuxquestions.org/questions/slackware-14/how-to-associate-thunar-with-ark-4175547106/ 3. kinit and kde-runtime both seem to be required for Ark to work and they are of course not direct dependencies of Ark on Debian. With these changes, extracting works. Although the autodetection of subfolders seems a bit wonky in my eyes, it would create a folder "test.txt" into which it extracts the (only file) text.txt from text.tar.gz. Maybe better options should be used if Ark's behavior can be fine-tuned. But it works this way, at least.
Created attachment 7062 org.kde.ark.tap Updated org.kde.ark.tap from LinuxQuestions.org
-- 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/thunar-plugins/thunar-archive-plugin/-/issues/4. 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