Skip to content
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

File association does not work correctly on Linux Mint with AppImage #11

Closed
matthew-rindel opened this issue Nov 23, 2017 · 16 comments
Closed

Comments

@matthew-rindel
Copy link

Hi there,

A big thank you to the Draw.IO team for creating such fantastic software, full of awesome templates, an easy to use interface and both web and desktop support. Our team workflow has been revolutionised by all of your efforts, which means you have indirectly contributed to the overall development of Africa because of our work.

I wanted to report an issue when opening files through Nemo in Linux Mint 17. It does not open the file specified but rather just shows the new/open file dialog.

Also when trying to open a file from the terminal it does the same thing.

I have not developed with Electron, though I assume it is relatively simple to pass the command line arguments to the application.

Have a great week and as said in Madagsacar, tsikitsiky lava (always smile),
Matthew

open with draw io
file does not open

@alderg

This comment has been minimized.

@alderg alderg closed this as completed Nov 28, 2017
@davidjgraph davidjgraph reopened this Mar 28, 2019
@AdamCoulterOz

This comment has been minimized.

@m-mohamedin
Copy link
Contributor

Added, should be available with the next release

drawio-desktop automation moved this from To do to Done Jun 4, 2019
@ebousse
Copy link

ebousse commented Jun 14, 2019

This does not appear to work in Linux systems? In the release notes I can only see the following:

.drawio is now the default extension and .drawio is associated with the application in Window on install.

@m-mohamedin
Copy link
Contributor

Did you try the AppImage format?

@davidjgraph davidjgraph reopened this Jun 14, 2019
drawio-desktop automation moved this from Done to In progress Jun 14, 2019
@davidjgraph
Copy link
Contributor

On debian the mime type is text/plain, which will cause an issue.

@ebousse
Copy link

ebousse commented Jun 17, 2019

Did you try the AppImage format?

I was using the .rpm installer. I just tried with the Appimage and it works, the mime type does get added to the system, and even remains there after removing the Appimage, which solved the problem for my rpm-bases installation.

@davidjgraph davidjgraph moved this from In progress to Todo - Low Priority in drawio-desktop Jul 24, 2019
@zeitue
Copy link

zeitue commented Aug 3, 2019

This is an issue on Linux as well, I have tested both the deb file and the AppImage, neither of them has the mime-type registered. In addition to that, neither of them actually put an icon for the app in place. I have a blank no icon spot for where the app is.

@davidjgraph davidjgraph changed the title File association does not work correctly File association does not work correctly on Linux Aug 4, 2019
@m-mohamedin
Copy link
Contributor

Which linux distribution had this problem?

@PapsOu
Copy link

PapsOu commented Aug 6, 2019

I've got this problem (missing mime-type and missing icon) under fedora 30 with GNOME 3.32.2.

@stale
Copy link

stale bot commented Nov 26, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.

@stale stale bot added the wontfix label Nov 26, 2020
@m-mohamedin m-mohamedin added the notstale Stop the stale bot from processing label Nov 26, 2020
@stale stale bot removed the wontfix label Nov 26, 2020
@STRAYKR
Copy link

STRAYKR commented Nov 26, 2020

I also find this annoying on PopOS! Can r-click > Open with Draw.io, but can't double-click as it thinks its a plain text file, and also the icon is just a plain text file rather than the drawio icon. Setting the default app to draw.io makes no difference.

@giner
Copy link

giner commented May 19, 2021

File association doesn't on the snap package but works when deb-package is installed. Here is a work around https://gist.github.com/giner/0eb272c11085036c4438413f6de0e454.

@giner
Copy link

giner commented May 19, 2021

Also it seems that snapcraft don't support mime types registering yet https://bugs.launchpad.net/snapd/+bug/1849094

@Lezurex
Copy link

Lezurex commented Sep 16, 2021

When I select .drawio or .xml as file type in the save dialog, it will be saved with mime type text/plain for .drawio and application/xml when saving as .xml. When I want to open the file again, I have to right-click on it and select to open it with with draw.io. However, this also changes the default application for all normal text files which also have text/plain as their mime type. This means, if I want to open a normal text file, I have to change it back again.

In the .desktop file of draw.io, two mime types are configured:

  • application/vnd.jgraph.mxfile
  • application/vnd.visio

But these definitions are useless if draw.io doesn't save its files with these mime types.

@davidjgraph davidjgraph removed the notstale Stop the stale bot from processing label Oct 16, 2021
@davidjgraph
Copy link
Contributor

There's a number of requests for support for specific OS's and specific images. We're going to have to treat different distros as different issues, the Linux OS ecosystem has very fragmented behaviour. I'll change this one to be that of the original author, if yours varies from that please open a new issue.

@davidjgraph davidjgraph changed the title File association does not work correctly on Linux File association does not work correctly on Linux Mint with AppImage Oct 16, 2021
drawio-desktop automation moved this from Todo - Low Priority to Done Oct 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests