nidium/Nidium

Installing nidium on linux as super user does not work

Closed this issue · 13 comments

Mte90 commented

I want to try Nidium and installed on my system but after the install when I try to execute /usr/local/bin/nidium I get the error is a directory.
The file manager see that as a directory but when I open it I got an error too.

efyx commented

This seems to be an issue when installing nidium as a super user. Nidium is indeed installed in /usr/local/bin/nidium/nidium but the directory does not have correct rights.

A quick workaround is to sudo chmod -R o=rx /usr/local/bin/nidium

Mte90 commented

wow now is perfect!
I installed as superuser so maybe this fix needs to be added in the installation script :-)

efyx commented

Yes definitely :) I have noticed a few other issues too, I'll work on fixing them.

Thanks for trying nidium !

Mte90 commented

I saw the talk at fosdem and as mozilla volunteers i am very curious :-D

Mte90 commented

Uhm now my linux machine have problems with file association but I am not sure if is because of the Nidium install but they are all missings.

efyx commented

Yes indeed this is the other error I have noticed when installing nidium as a super user

Mte90 commented

Uh okay do you have any suggestions for fix it? There is a linux command for set again the association? on KDE the list is empty and the run file don't contain the script part for the association as i can see

efyx commented

Unfortunately I don't have a quick workaround for now. But you can run nidium from the command line :

/usr/local/bin/nidium/nidium /path/to/file.nml

It also works with remote NML file :

/usr/local/bin/nidium/nidium http://p.nf/hello.nml

Mte90 commented

this is not an huge problem but I want to fix all my file association that are completely broken XD

efyx commented

I am sorry, I didn't understood that part.

You can try to run sudo update-desktop-database and it should reload all of your file associations

( http://manpages.ubuntu.com/manpages/trusty/man1/update-desktop-database.1.html )

efyx commented

So I tried this on an Ubuntu laptop and it broke the file association too (and also gnome), what I did to fix the issue was :

sudo apt-get install --reinstall shared-mime-info

Sorry about that poor experience, we will push a fix ASAP

Mte90 commented

This worked also for me :-)

efyx commented

Glad it worked :)

The commit e087cff fix the issue