MEGAsync icon indicating copy to clipboard operation
MEGAsync copied to clipboard

nautilus-megasync-3.6.6-2 not working with gnome 43

Open mabod opened this issue 3 years ago • 17 comments

I just realized that the nautilus extension is no longer working with gnome 43. This is on an up-to-date endeavouros installation.

The package pulls the binary from https://mega.nz/linux/MEGAsync/Arch_Extra/x86_64 and this has only nautilus-megasync-3.6.6-2-x86_64.pkg.tar.xz from March 2020.

Will this extension be updated?

mabod avatar Nov 08 '22 12:11 mabod

Helppppppppppp

vuongtuha avatar Nov 16 '22 06:11 vuongtuha

In the meantime I have learned how to build the nautilus extension by myself. it is very simple and fast:

mkdir /tmp/mega
cd /tmp/mega
git clone --recursive https://github.com/meganz/MEGAsync.git desktop
cd desktop/src/MEGAShellExtNautilus/
qmake MEGAShellExtNautilus.pro
lrelease MEGAShellExtNautilus.pro
make

now you can see the lib and the links in the build directory /tmp/mega/desktop/src/MEGAShellExtNautilus:

ls -l libMEGAShellExtNautilus.so*
lrwxrwxrwx user user  32 B  2022-11-16@08:11 libMEGAShellExtNautilus.so ⇒ libMEGAShellExtNautilus.so.1.0.0
lrwxrwxrwx user user  32 B  2022-11-16@08:11 libMEGAShellExtNautilus.so.1 ⇒ libMEGAShellExtNautilus.so.1.0.0
lrwxrwxrwx user user  32 B  2022-11-16@08:11 libMEGAShellExtNautilus.so.1.0 ⇒ libMEGAShellExtNautilus.so.1.0.0
.rwxr-xr-x user user  34 KB 2022-11-16@08:11 libMEGAShellExtNautilus.so.1.0.0

Just copy all of it to /usr/lib/nautilus/extensions-4/

Thats it. Works for me.

mabod avatar Nov 16 '22 07:11 mabod

lrelease MEGAShellExtNautilus.pro

What are de dev dependencies to make? what is "lrelease"?

josedr120 avatar Nov 17 '22 15:11 josedr120

I don't know all the details. This is just the commands that worked for me. Taken from the compilation instructions of megasync

mabod avatar Nov 17 '22 16:11 mabod

I think my way is not really an option in the upstream app. But you can hijack it by using Flatpak with Flatseal. And you can modify directory permission inside the sandbox app, then it will work with whatever file manager.

vuongtuha avatar Nov 18 '22 15:11 vuongtuha

For me the problem is still relevant :(

voedev avatar Nov 19 '22 06:11 voedev

In the meantime I have learned how to build the nautilus extension by myself. it is very simple and fast:

mkdir /tmp/mega
cd /tmp/mega
git clone --recursive https://github.com/meganz/MEGAsync.git desktop
cd desktop/src/MEGAShellExtNautilus/
qmake MEGAShellExtNautilus.pro
lrelease MEGAShellExtNautilus.pro
make

now you can see the lib and the links in the build directory /tmp/mega/desktop/src/MEGAShellExtNautilus:

ls -l libMEGAShellExtNautilus.so*
lrwxrwxrwx user user  32 B  2022-11-16@08:11 libMEGAShellExtNautilus.so ⇒ libMEGAShellExtNautilus.so.1.0.0
lrwxrwxrwx user user  32 B  2022-11-16@08:11 libMEGAShellExtNautilus.so.1 ⇒ libMEGAShellExtNautilus.so.1.0.0
lrwxrwxrwx user user  32 B  2022-11-16@08:11 libMEGAShellExtNautilus.so.1.0 ⇒ libMEGAShellExtNautilus.so.1.0.0
.rwxr-xr-x user user  34 KB 2022-11-16@08:11 libMEGAShellExtNautilus.so.1.0.0

Just copy all of it to /usr/lib/nautilus/extensions-4/

Thats it. Works for me.

Didn't work for me, I still see no mega related icons in Nautilus on Fedora 37 (did a reboot)

Zeit08 avatar Nov 20 '22 10:11 Zeit08

I just tried it for Fedora 37 and it work too. But on Fedora 37 the path for the extensions is /usr/lib64/nautilus/extensions-4/

mabod avatar Nov 21 '22 06:11 mabod

I just tried it for Fedora 37 and it work too. But on Fedora 37 the path for the extensions is /usr/lib64/nautilus/extensions-4/

ok thanks, something happened, but not what I expected: Screenshot from 2022-11-21 11-44-36

these icons with explamation mark appear nearby the folders

Zeit08 avatar Nov 21 '22 10:11 Zeit08

can someone just share the compile *.so files for the people that cant compile?

josedr120 avatar Nov 21 '22 11:11 josedr120

these icons with explamation mark appear nearby the folders

This is also true for me. But at least the file sync works.

mabod avatar Nov 21 '22 14:11 mabod

can someone just share the compile *.so files for the people that cant compile?

https://magentacloud.de/s/PRYpQMm3iLKqBbZ

These are my *.so files resp. links. Just unpack in /usr/lib64/nautilus/extensions-4/

But I do not guarantee that this link will work for a long time. The archive should better be placed somewhere else where it will be more persistent.

mabod avatar Nov 21 '22 14:11 mabod

Thanks!!

josedr120 avatar Nov 21 '22 14:11 josedr120

This workaround didn't work for me, I hope it gets an official solution soon. 🤞🏻

ruben69695 avatar Dec 07 '22 21:12 ruben69695

Thanks @mabod for your help. I followed your instructions, but I do not have qmake installed and cannot compile it. Silverblue 37.1 on Gnome 43.2 has the same issue.

divsmart avatar Jan 24 '23 23:01 divsmart

hi,Gnome 48 with Arch here,are we getting update?

htethy avatar Sep 08 '25 10:09 htethy

@htethy We've release new packages. Could you check if it works for you? Thanks in advance.

rl-mega avatar Oct 23 '25 16:10 rl-mega