You are not logged in.

#1 2016-11-21 10:01:55

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

[Gnome] Nautilus "extract here" for rar files?

Nautilus, in Gnome 3.22, has a native archive extraction tool that it replaces the "extract here" contextual menu but this tool doesn't support rar files (I suppose due to licenses) but, even I have installed "unrar" tool, there isn't "extract here" in nautilus for rar files. I have to open it with file-roller to extract it. Is there any way  to restore the "Extract here..." to compressed files like .rar?

Offline

#2 2016-12-11 03:07:14

sasha7
Member
Registered: 2016-12-11
Posts: 2

Re: [Gnome] Nautilus "extract here" for rar files?

Probably not, the integrated compression functionality is (still) subpar. Besides downgrading, is there any way to disable it and revert to old file-roller integration?

Offline

#3 2016-12-13 11:42:54

Dokter Bibber
Member
Registered: 2016-09-19
Posts: 65

Re: [Gnome] Nautilus "extract here" for rar files?

Maybe the package Nautilus Actions can help you : https://www.archlinux.org/packages/?sor … =&flagged=

nautilus-actions.org wrote:
What is it ?

Nautilus-Actions is a Nautilus extension whose principal function is to allow the user to add arbitrary actions to the file manager context menus. These actions may be organized in menus and submenus, exported and shared with other desktop environments.
http://www.nautilus-actions.org

Offline

#4 2016-12-13 11:45:06

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Re: [Gnome] Nautilus "extract here" for rar files?

"nautilus-actions" doesn't work on Wayland. There is a open bug about this.

Offline

#5 2016-12-13 12:27:18

Dokter Bibber
Member
Registered: 2016-09-19
Posts: 65

Re: [Gnome] Nautilus "extract here" for rar files?

Ah, you didn't mention Wayland.
Good luck then.

Offline

#6 2016-12-13 12:46:16

Dokter Bibber
Member
Registered: 2016-09-19
Posts: 65

Re: [Gnome] Nautilus "extract here" for rar files?

BTW, file-roller works on Wayland for you? : https://bugzilla.gnome.org/show_bug.cgi?id=772850
And on Red Hat they had to patch file-roller to force it to use the X backend : https://bugzilla.redhat.com/show_bug.cgi?id=1374321#c9
Weird stuff is happening whenever Wayland is involved.

Offline

#7 2016-12-13 13:28:15

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Re: [Gnome] Nautilus "extract here" for rar files?

I back to X. There are too many apps that doesn't work well on Wayland.

Offline

#8 2016-12-13 14:08:17

Dokter Bibber
Member
Registered: 2016-09-19
Posts: 65

Re: [Gnome] Nautilus "extract here" for rar files?

EDIT: Missed your previous post.

OK, last attempt. Because for me Nautilus Actions works. So I can't test.

If you install Nautilus Actions, you could copy its /usr/share/applications/nact.desktop file to ~/.local/share/applications.
Then, in the copy, prefix the command on the Exec line with "env GDK_BACKEND=x11 " so it becomes : Exec=env GDK_BACKEND=x11 nautilus-actions-config-tool

These are the other Nautilus Actions binaries. They are command line tools. So I don't expect any Wayland issues.
usr/bin/nautilus-actions-new
usr/bin/nautilus-actions-print
usr/bin/nautilus-actions-run

Last edited by Dokter Bibber (2016-12-13 14:10:02)

Offline

#9 2016-12-17 04:09:20

sasha7
Member
Registered: 2016-12-11
Posts: 2

Re: [Gnome] Nautilus "extract here" for rar files?

Dokter Bibber wrote:

EDIT: Missed your previous post.

OK, last attempt. Because for me Nautilus Actions works. So I can't test.

If you install Nautilus Actions, you could copy its /usr/share/applications/nact.desktop file to ~/.local/share/applications.
Then, in the copy, prefix the command on the Exec line with "env GDK_BACKEND=x11 " so it becomes : Exec=env GDK_BACKEND=x11 nautilus-actions-config-tool

These are the other Nautilus Actions binaries. They are command line tools. So I don't expect any Wayland issues.
usr/bin/nautilus-actions-new
usr/bin/nautilus-actions-print
usr/bin/nautilus-actions-run

Confirmed, with GDK_BACKEND=x11 nautilus-actions-config-tool no longer segfaults in main().

Offline

#10 2016-12-18 08:10:58

Dokter Bibber
Member
Registered: 2016-09-19
Posts: 65

Re: [Gnome] Nautilus "extract here" for rar files?

sasha7 wrote:

Confirmed, with GDK_BACKEND=x11 nautilus-actions-config-tool no longer segfaults in main().

Glad that it worked. Thanks for confirming.

Offline

#11 2016-12-30 14:36:06

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Re: [Gnome] Nautilus "extract here" for rar files?

Yes, it works. But it's a workaround.

Offline

#12 2016-12-30 15:43:09

Dokter Bibber
Member
Registered: 2016-09-19
Posts: 65

Re: [Gnome] Nautilus "extract here" for rar files?

j1simon wrote:

Yes, it works. But it's a workaround.

If you don't like workarounds, you can always keep trying without workarounds, until full Wayland compatibility is a reality.

Last edited by Dokter Bibber (2016-12-30 15:44:13)

Offline

#13 2017-02-25 04:38:10

juanmah
Member
From: Barcelona
Registered: 2009-04-02
Posts: 28
Website

Re: [Gnome] Nautilus "extract here" for rar files?

When I eventually use nautilus, I find this lack of funcionality annoying. I normally use nemo, which also has fileroller working as expected. It could be another workaround.

Offline

Board footer

Powered by FluxBB