Giter Club home page Giter Club logo

Comments (16)

giner avatar giner commented on May 18, 2024 3

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.

from drawio-desktop.

alderg avatar alderg commented on May 18, 2024

Hujambo!

Please vote for this feature here: https://trello.com/c/Yi0s2ZXu/273-handle-command-line-arguments-in-electron-builds-open-file-scripted-export

Asante sana!

from drawio-desktop.

AdamCoulterOz avatar AdamCoulterOz commented on May 18, 2024

This is a massive workflow problem for us too. We have 15+ developers who use draw.io desktop from macOS. This really would be great to fix.

from drawio-desktop.

m-mohamedin avatar m-mohamedin commented on May 18, 2024

Added, should be available with the next release

from drawio-desktop.

ebousse avatar ebousse commented on May 18, 2024

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.

from drawio-desktop.

m-mohamedin avatar m-mohamedin commented on May 18, 2024

Did you try the AppImage format?

from drawio-desktop.

davidjgraph avatar davidjgraph commented on May 18, 2024

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

from drawio-desktop.

ebousse avatar ebousse commented on May 18, 2024

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.

from drawio-desktop.

zeitue avatar zeitue commented on May 18, 2024

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.

from drawio-desktop.

m-mohamedin avatar m-mohamedin commented on May 18, 2024

Which linux distribution had this problem?

from drawio-desktop.

PapsOu avatar PapsOu commented on May 18, 2024

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

from drawio-desktop.

stale avatar stale commented on May 18, 2024

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.

from drawio-desktop.

STRAYKR avatar STRAYKR commented on May 18, 2024

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.

from drawio-desktop.

giner avatar giner commented on May 18, 2024

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

from drawio-desktop.

Lezurex avatar Lezurex commented on May 18, 2024

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.

from drawio-desktop.

davidjgraph avatar davidjgraph commented on May 18, 2024

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.

from drawio-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.