You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Launching Inky by opening a file doesn't open the file #80
I had a look into this, but it seems to be an issue with electron (the framework the app is built in). See this issue: electron/electron#4403
It seems that @erkyrath managed to get it working in Lectrote... I have the same setup - I register for open-file events in will-finish-launching, and I also add the ink file type to the plist.
As you say though, it works when Inky is already open, but not when it's closed...
It has been awhile, but I am still getting this issue. Opening (double-clicking) an ink file launches Inky, but opens the default empty project instead of my file. The file will only be opened properly if Inky is already running.
I am on Inky 11.0, MacOS Mojave 10.14.6.
I have looked through the posted issue and the issues linked to it, but can't seem to find anything that inky isn't already doing (placing the electron open-file event inside will-finish-launching, etc). Is this still an electron problem, or is there something I can take a look at inside Inky to fix?
Same problem in the linux (KDE) environment: I have created file association with the editor, but editor is not opening file neither with with launch, nor as a secord copy after that. Maybe, there are some possible walkaround exists? How to open file with the command line? I tried substiture file name after the editor executable name, but nothing happens:
`/media/disk/Inky-linux-x64/Inky-linux-x64/Inky Main.ink
Launching inklecate for session id 'Untitled_ink_vk6aFZf_1'
Launching inklecate for session id 'Untitled_ink_vk6aFZf_2'
Ended inklecate session id Untitled_ink_vk6aFZf_1
Ended inklecate session id Untitled_ink_vk6aFZf_2
`
If this does get fixed, the linux AppImage build will need a " %f" added to the exec property of "resources/com.inkle.inky.desktop" to support it - but I haven't bothered since the normal version doesn't support it.
same problem on inky 30.0.4, fedora linux 43 (GNOME)
this is from me installing the linux version from the website and setting up the .desktop file myself. i did add %f to the exec property.
It bothered me so much that I decided to dig into it with Claude and see if it was fixable. Tested myself and seems to be working just fine.
PR with the fix for Linux: #561
Activity
joethephish commentedon Jan 10, 2017
I had a look into this, but it seems to be an issue with electron (the framework the app is built in). See this issue: electron/electron#4403
It seems that @erkyrath managed to get it working in Lectrote... I have the same setup - I register for
open-fileevents inwill-finish-launching, and I also add the ink file type to the plist.As you say though, it works when Inky is already open, but not when it's closed...
erkyrath commentedon Jan 10, 2017
I haven't touched that part of the Lectrote config for many months. It's been working consistently. Not sure what you're doing differently.
carsendecker commentedon Apr 27, 2020
It has been awhile, but I am still getting this issue. Opening (double-clicking) an ink file launches Inky, but opens the default empty project instead of my file. The file will only be opened properly if Inky is already running.
I am on Inky 11.0, MacOS Mojave 10.14.6.
I have looked through the posted issue and the issues linked to it, but can't seem to find anything that inky isn't already doing (placing the electron
open-fileevent insidewill-finish-launching, etc). Is this still an electron problem, or is there something I can take a look at inside Inky to fix?jeremydouglass commentedon Apr 27, 2020
Same problem on inky 11.0 macOS 10.12.6
Syjgin commentedon Dec 2, 2021
Same problem in the linux (KDE) environment: I have created file association with the editor, but editor is not opening file neither with with launch, nor as a secord copy after that. Maybe, there are some possible walkaround exists? How to open file with the command line? I tried substiture file name after the editor executable name, but nothing happens:
`/media/disk/Inky-linux-x64/Inky-linux-x64/Inky Main.ink
Launching inklecate for session id 'Untitled_ink_vk6aFZf_1'
Launching inklecate for session id 'Untitled_ink_vk6aFZf_2'
`
lunarcloud commentedon Jan 11, 2022
If this does get fixed, the linux AppImage build will need a " %f" added to the exec property of "resources/com.inkle.inky.desktop" to support it - but I haven't bothered since the normal version doesn't support it.
Eiekama commentedon Oct 17, 2026
same problem on inky 30.0.4, fedora linux 43 (GNOME)
this is from me installing the linux version from the website and setting up the .desktop file myself. i did add %f to the exec property.
Sal3k commentedon Oct 19, 2026
It bothered me so much that I decided to dig into it with Claude and see if it was fixable. Tested myself and seems to be working just fine.
PR with the fix for Linux: #561