client icon indicating copy to clipboard operation
client copied to clipboard

Nemo integration

Open PascalAnimateur opened this issue 12 years ago • 37 comments

For all LinuxMint users, Nemo integration is as simple as search & replacing "Nautilus" for "Nemo" (case sensitivity is important) in syncstate.py. Get the file from pastebin here : http://pastebin.com/8CXV4q2t Instructions for the lazy: sudo wget http://goo.gl/TtfQeZ -O /usr/share/nemo-python/extensions/syncstate.py

PascalAnimateur avatar Dec 02 '14 20:12 PascalAnimateur

LinuxMint is a Debian derivate right? Ubuntu does seem to ship nemo, but not python-nemo (requires a PPA). Which packages are you using for LinuxMint?

danimo avatar Dec 03 '14 10:12 danimo

Ok, it seems that even after installing nemo-python from the webupd8 PPA, the resulting python-nemo package is still broken.

I installed

# apt-get install python-nemo

from the webupd8/nemo PPA. But in order to make it work, I had to

# cd /usr/lib/x86_64-linux-gnu/nemo/extensions-3.0
# ln -s /usr/lib/nemo/extensions-3.0/libnemo-python.la
# ln -s /usr/lib/nemo/extensions-3.0/libnemo-python.so

So it looks like the webupd8 packages are not multi-arch aware. Does LinuxMint do its own packaging there, or are you using a Debian-based version?

danimo avatar Dec 03 '14 11:12 danimo

/cc @derpeter

danimo avatar Dec 03 '14 11:12 danimo

The instructions I provided work with Linux Mint 17.1 (which is based on Ubuntu 14.04) after owncloud-client 1.7 is installed from the official PPA. Nemo is LinuxMint's derivative of Nautilus.

PascalAnimateur avatar Dec 03 '14 14:12 PascalAnimateur

@PascalAnimateur Understood, but stock Ubuntu 14.04 does not provide the Python integration for Nemo (called python-nemo in apt). Does LinuxMint have it?

danimo avatar Dec 03 '14 14:12 danimo

Yes, at least in Linux Mint 17.1.

PascalAnimateur avatar Dec 03 '14 14:12 PascalAnimateur

Seems most releases of Linux Mint are shipping python-nemo:

http://packages.linuxmint.com/search.php?keyword=python-nemo&release=any&section=any

ghost avatar Dec 03 '14 17:12 ghost

I just updated to Linux Mint 17.1 includin Nemo 2.4.4 and added the syncstate.py @PascalAnimateur posted in his first post.

Unfortunately, I don't see any overlay icons. I there anything else I have to do to enable them? I can't find a tutorial in the web.

wunderlich avatar Dec 29 '14 11:12 wunderlich

Sorry, I've been affected by #2643. The overlays basically work. Thanks for the fix, @PascalAnimateur.

wunderlich avatar Dec 29 '14 13:12 wunderlich

I tried it with latest version from master, sharing works as well

artem-sidorenko avatar Mar 17 '15 18:03 artem-sidorenko

The script works very well. It would be nice if the overlay icons would be a little bit bigger, but that is not the problem of the script.

NicolasGoeddel avatar Mar 18 '15 01:03 NicolasGoeddel

Would be good to see this in Ubuntu repo in addition to nautilus, I'm using nemo from webupd8's ppa

nazar-pc avatar Mar 18 '15 02:03 nazar-pc

@nazar-pc We cannot let our packages depend on random PPAs.

danimo avatar Mar 18 '15 05:03 danimo

@danimo could it be a possible way to go with several different packages for integration with Nemo/Caja/Nautilus like dropbox integration is done? http://packages.linuxmint.com/search.php?keyword=dropbox&release=any&section=any

artem-sidorenko avatar Mar 18 '15 06:03 artem-sidorenko

@danimo, and you should not. Packages there are the same as in Mint repository, just depend on nemo and python-nemo if you need it.

nazar-pc avatar Mar 18 '15 09:03 nazar-pc

@nazar-pc Mint is not a valid target in OBS. Only Ubuntu. And Ubuntu lacks he nemo-python package. Maybe you can ask the OBS maintainers to add mint?

danimo avatar Mar 18 '15 09:03 danimo

Well, even if Mint will be added as target I'll not be able to use it because I have Ubuntu. While choosing between not supporting nemo at all, or support only those running Mint or who have ppa added, I'd choose latter. BTW, it might be a good idea to push somehow python-nemo alongside with other plugins into Ubuntu repository, I'll try to reach package maintainers, but till that time supporting certain configurations is much better than nothing from my opinion.

nazar-pc avatar Mar 18 '15 09:03 nazar-pc

@nazar-pc I fail to understand. You say you have Ubuntu, but use Nemo on that?

dragotin avatar Mar 18 '15 09:03 dragotin

Here is what I understand:

  • Ubuntu has limited packages for nemo, i.e. lacks the nemo-python package, which can be obtained from the webupd8/nemo PPA.
  • Mint has both the nemo and the nemo-python package

The problems:

  • On Ubuntu, we could probably provide the package via a "Requires" line, but I don't think that's a good idea without official support from Ubuntu/Canonical (the PPA is not guranteed to stay around, and it's confusing for people that see unsatisfied dependencies).
  • For Mint, we cannot provide packages because it hasn't been imported into OBS.

danimo avatar Mar 18 '15 09:03 danimo

Yes, I'm on Ubuntu and use Nemo because Nautilus lost many important features in last versions and still going towards simplification by loosing features.

I do not see any problem with providing nemo support on Ubuntu - you have no specific dev dependencies that will cause package fail to build, also it doesn't have to be installed automaticaly with owncloud-client. It can be just one more package in repository. For those who are using stock Nemo we may leave message in FAQ, that it might now work with stock Ubuntu's package.

nazar-pc avatar Mar 18 '15 15:03 nazar-pc