- At startup, Xarchiver detects the available installed archivers (tar,rar,zip etc) and the script xdg-open for handling different file types. Since Xarchiver is a front end (a graphic user interface to the command line executables) it can't create archives whose archiver is not available. For instance if you have the free edition of rar, unrar, Xarchiver can't create rar archives since unrar allows rar archives to be opened, tested and extracted but not to be created.
+ At startup, Xarchiver detects the available installed archivers (tar,rar,zip etc) and the script xdg-open for handling different file types. Since Xarchiver is a front end (a graphic user interface to the command line executables) it can't create archives whose archiver is not available. For instance if you have unar, Xarchiver can't create rar archives since unar allows rar archives to be opened, tested and extracted but not to be created.
Xarchiver will run in the background the command line executable of the archiver with the archiver's proper switches to perform the selected operation. If something goes wrong Xarchiver reports the full output of the archiver executable in the command line output window. Starting with release 0.5 the files in the archive can be opened within Xarchiver. The script xdg-open will detect the file type and run the proper application to handle it. If you don't have such script installed in your system (it's found in the xdg-utils package) Xarchiver will recognize HTML, txt and images files only. The Preferences dialog will notify this to you when you click the Advanced section inside it.
--- xarchiver-0.5.4.13.orig/doc/xarchiver.docbook 2018-03-13 05:22:11.000000000 -0500
+++ xarchiver-0.5.4.13/doc/xarchiver.docbook 2018-09-24 13:12:48.570163585 -0500
@@ -305,7 +305,7 @@
Startup
- At startup, &app; detects the available installed archivers (tar,rar,zip etc) and the script xdg-open for handling different file types. Since &app; is a front end (a graphic user interface to the command line executables) it can't create archives whose archiver is not available. For instance if you have the free edition of rar, unrar, &app; can't create rar archives since unrar allows rar archives to be opened, tested and extracted but not to be created.
+ At startup, &app; detects the available installed archivers (tar,rar,zip etc) and the script xdg-open for handling different file types. Since &app; is a front end (a graphic user interface to the command line executables) it can't create archives whose archiver is not available. For instance if you have unar, &app; can't create rar archives since unar allows rar archives to be opened, tested and extracted but not to be created.
--- xarchiver-0.5.4.13.orig/src/main.c 2018-03-13 05:22:11.000000000 -0500
+++ xarchiver-0.5.4.13/src/main.c 2018-09-24 13:12:48.570163585 -0500
@@ -583,8 +583,6 @@
if (path)
archiver[type].is_compressor = TRUE;
- else
- path = g_find_program_in_path("unrar");
standard = (path != NULL);
--- xarchiver-0.5.4.13.orig/src/rar.c 2018-03-13 05:22:11.000000000 -0500
+++ xarchiver-0.5.4.13/src/rar.c 2018-09-24 13:12:48.570163585 -0500
@@ -35,8 +35,7 @@
g_spawn_command_line_sync(path, &output, NULL, NULL, NULL);
- if (g_ascii_strncasecmp("\nRAR 5", output, 6) == 0 ||
- g_ascii_strncasecmp("\nUNRAR 5", output, 8) == 0)
+ if (g_ascii_strncasecmp("\nRAR 5", output, 6) == 0)
rar_version = 5;
g_free(output);
--- xarchiver-0.5.4.13.orig/xarchiver.desktop.in 2018-03-13 05:22:11.000000000 -0500
+++ xarchiver-0.5.4.13/xarchiver.desktop.in 2018-09-24 13:06:59.326027230 -0500
@@ -9,5 +9,5 @@
StartupNotify=true
Terminal=false
Categories=GTK;Archiving;Compression;Utility;
-_Keywords=GTK;android;archiver;archiving;compression;front end;frontend;7-zip;7z;7za;7zip;7zr;apk;ar;arj;bunzip2;bz2;bzip2;compress;cpio;deb;epub;gtar;gunzip;gz;gzip;jar;lha;lrz;lrzip;lsar;lz;lz4;lzh;lzip;lzma;lzo;lzop;oxt;rar;rar4;rar5;rpm;tar;unar;unarchiver;unarj;unrar;unzip;xpi;xz;zip;zst;Zstandard;zstd;
+_Keywords=GTK;android;archiver;archiving;compression;front end;frontend;7-zip;7z;7za;7zip;7zr;apk;ar;arj;bunzip2;bz2;bzip2;compress;cpio;deb;epub;gtar;gunzip;gz;gzip;jar;lha;lrz;lrzip;lsar;lz;lz4;lzh;lzip;lzma;lzo;lzop;oxt;rar;rar4;rar5;rpm;tar;unar;unarchiver;unarj;unzip;xpi;xz;zip;zst;Zstandard;zstd;
MimeType=application/epub+zip;application/gzip;application/vnd.android.package-archive;application/vnd.debian.binary-package;application/vnd.openofficeorg.extension;application/vnd.rar;application/x-7z-compressed;application/x-arj;application/x-bzip;application/x-bzip-compressed-tar;application/x-compress;application/x-compressed-tar;application/x-cpio;application/x-cpio-compressed;application/x-java-archive;application/x-lha;application/x-lrzip;application/x-lrzip-compressed-tar;application/x-lz4;application/x-lz4-compressed-tar;application/x-lzip;application/x-lzip-compressed-tar;application/x-lzma;application/x-lzma-compressed-tar;application/x-lzop;application/x-rar;application/x-rpm;application/x-source-rpm;application/x-tar;application/x-tarz;application/x-tzo;application/x-xpinstall;application/x-xz;application/x-xz-compressed-tar;application/zip;