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

The session file icon doesn't work on Linux #16

Open
AdamCarroll opened this issue Jul 17, 2016 · 2 comments
Open

The session file icon doesn't work on Linux #16

AdamCarroll opened this issue Jul 17, 2016 · 2 comments
Labels

Comments

@AdamCarroll
Copy link
Member

The .deb installation bundle for Linux should include an icon for the file association. After installing from the .deb bundle the file association itself works perfectly: you can double-click a .wordy file and open VocabHunter. The problem is that the .wordy files don't show the corresponding icon.

The icon for session files works as expected on Mac and on Windows.

I've asked for help on this in this question on StackOverflow.

@FibreFoX
Copy link
Contributor

According to this SO-answer, it might be the filename of the png. As far as I understood application/x-vnd.VocabHunterSession becomes application-x-vnd.VocabHunterSession.png as filename.

@AdamCarroll
Copy link
Member Author

@FibreFoX Interesting! I tried a quick hack to test this out, copying the session icon to application-x-vnd.VocabHunterSession.png and modifying the jfx/fileAssociations/icon Gradle configuration accordingly. Unfortunately it doesn't seem to fix the problem. Interestingly, adding the verbose option suggests that the underlying Oracle bundler isn't even looking for the file:

...
Running [dpkg-deb, --version]
Debian packages should specify a license.  The absence of a license will cause some linux distributions to complain about the quality of the application.
   Using custom package resource [menu icon]  (loaded from file /VocabHunter/package/icons/App1024.png)
  Using default package resource [Menu shortcut descriptor]  (add package/linux/VocabHunter.desktop to the class path to customize)
  Using default package resource [DEB control file]  (add package/linux/control to the class path to customize)
  Using default package resource [DEB preinstall script]  (add package/linux/preinst to the class path to customize)
  Using default package resource [DEB prerm script]  (add package/linux/prerm to the class path to customize)
  Using custom package resource [DEB postinstall script]  (loaded from package/linux/postinst)
  Using default package resource [DEB postrm script]  (add package/linux/postrm to the class path to customize)
  Using default package resource [DEB copyright file]  (add package/linux/copyright to the class path to customize)
Generating DEB for installer to: /VocabHunter/package/build/jfx/native/vocabhunter-1.0.18-SNAPSHOT.deb

...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants