Skip to content

File type association #2031

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
amueller opened this issue Jan 9, 2017 · 6 comments
Closed

File type association #2031

amueller opened this issue Jan 9, 2017 · 6 comments

Comments

@amueller
Copy link

amueller commented Jan 9, 2017

It would be great if double click on a notebook would open a notebook for "all OSs".
There seems to be an issue for linux (?) #1922.

I think Windows is actually more important, as windows users typically work more gui-driven.
Is it possible to associate file-types via the conda (or even the pip) package?

@takluyver
Copy link
Member

Have you had a look at nbopen?

I don't think we can associate file types directly on installing a pip/conda package, because it requires changes outside the environment those tools install to.

@amueller
Copy link
Author

amueller commented Jan 9, 2017

I have not.
I'm looking for a way to make it easier for first-time jupyter users to follow a tutorial.
Anything from the console won't really help the windows users, and installing an additional package that's not included in Anaconda also makes it harder.

The change proposed in #1922 seems to make a change outside the environment, right? Is that considered "dirty"? I guess I'll open a ticket at anaconda and see if we could change it there - it does put stuff in the .rc file and into the start menu...

@takluyver
Copy link
Member

We may provide the necessary data, but I don't think we'll ever make it so that a pip install sets up the association automatically. What happens if you install it in multiple environments? It's going to get confusing. Anaconda might; that has the notion of a defined 'root environment'. Though it could still get confusing if you install two copies of Anaconda.

@amueller
Copy link
Author

amueller commented Jan 9, 2017

Yeah if you install two copies of anaconda, I think a bunch of things might be confusing (you change the bin PATH on install usually).

I usually try to report issues in the most upstream place possible, but I agree with you that you might not be the right place to solve this issue.
Feel free to close or keep (to track possible solutions for opt-in solutions).

@gnestor
Copy link
Contributor

gnestor commented Jan 26, 2017

I should add that nteract, being a desktop app, provides this functionality.

@gnestor
Copy link
Contributor

gnestor commented Jan 26, 2017

I'm going to close this but let us know if you figure out a way to enable this 👍

@gnestor gnestor closed this as completed Jan 26, 2017
@minrk minrk added this to the No Action milestone Feb 1, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants