linuxmint / nemo-extensions

A set of extensions for Nemo
416 stars 150 forks source link

nautilus-thg.py for tortoisehg integration #22

Open lsces opened 11 years ago

lsces commented 11 years ago

I don't see any reason that a simple hack for the nautilus->nemo switch would not work on this extension, but I'm not convinced that I have the nemo-python properly configured in order to run it. Anybody playing with is particular extension?

monoceros84 commented 11 years ago

Playing, yes. But not successfully either. Let me know if you find a solution. Until then I am forced to use Nautilus instead of Nemo :(

lsces commented 11 years ago

monoceros84 wrote:

Playing, yes. But not successfully either. Let me know if you find a solution. Until then I am forced to use Nautilus instead of Nemo :( I'm having to put up nautilus as well. The 'improvments' are just totally CRAP and I'd love just to roll back to a proper working version of that and save a lot of time :)

Lester Caine - G8HFL

Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

jimtremblay commented 10 years ago

1- Just sudo apt-get install python-nemo tortoisehg tortoisehg-nautilus 2- Do a copy sudo cp /usr/share/nautilus-python/extensions/nautilus-thg.py /usr/share/nemo-python/extensions/nemo-thg.py 3- Replace all references to Nautilus in script for Nemo 4- Restart Nemo with nemo -q OR I can send you my modified file.

monoceros84 commented 10 years ago

Oh cool, thank you! On my working machine I switched from Linux Mint to Manjaro and - why so ever - it simply worked on Nemo there out of the box. But on some other laptops I still run Mint and I am looking forward to try it there.

Edit: It works greatly! Thank you again!

vkotovv commented 10 years ago

@jimtremblay could you please paste your modified file? After those steps I still could not see Tortoise entries in Nemo.

mtwebster commented 10 years ago

@jimtremblay Come on, you're 75% of the way to a pull request to have it officially added :)

jimtremblay commented 10 years ago

I will post my modified file when home tonight. Or maybe someone can help me create a tortoisehg-nemo package?

jimtremblay commented 10 years ago

Ok I've created a new directory nemo-tortoisehg and added the script in it. You can check in pull request, my request is there. Hope it will help you.

monoceros84 commented 10 years ago

The functionality is flawlessly. However, since I have activated the plugin opening a folder that is added to HG versioning lasts several seconds (up to half a minute). Opening non versioned folders or doing the same in Nautilus works instantly. Is this issue only occuring for me or do others have the same problem?

On another machine running Arch Linux a nemo tortoisehg plugin already was in the repos for quite some time. This works as expected so it does not seem to be a general problem with tortoise vs. nemo...

grizzlyfred commented 9 years ago

It seems not to have been integrated in the form of "packaging" as Clement requested. I have tried to get in running manually, but to no avail. That is for now, neither nautilus or nemo show me icon overlays for tortoisehg. That is in 17.1 "Rebecca". I am now trying to see if I can get a ppa with a current mercurial, as the default in Rebecca is seemingly 2.8.2, whereas at the time of writing 3.3.2 is current. Maybe more luck then?

grizzlyfred commented 9 years ago

Now after fresh mercurial 3.3.2 and tortoishg from the ppa AND playing along with github (strange to use git to archive something for mercurial ;-) it works. I would package it, if I only knew how to... Added some stubs for packaging in my fork and kindly asked jim to pull and maybe refine so that clement might accept the pull request...

grizzlyfred commented 9 years ago

Kinda broken now for me in Rafaela 17.2: only when I start nemo as superuser will I have tortoisehg integration there... see https://github.com/linuxmint/nemo/issues/411 Maybe I should throw 17.2 fresh install in virtualbox, see if I get this thing to work and then de-virtualize if the remainder of the settings is OK.

The other annoying thing that I do not have thumbnails, am offered to have that fixed in a dialogue, but nothing happens...

I do have btrfs snapshots and a backup from 17.1 right before the update, so i could try to figure out the diff between now and then, but extreme lack of time. If anyone could lead me to an efficient way of userpermission checks (nemo -c doesnt complain about anything) that would be helpful.