Open andypillip opened 3 years ago
Hi, I don't have the same problem in kde, this might be relevant only to gnome users. However, I can easily push this following desktop file. Please let me know if you think this would solve the issue.
[Desktop Entry]
Name=Typora
Comment=A minimal Markdown reading & writing app. Change Log: (https://typora.io/windows/dev_release.html)
GenericName=Markdown Editor
Exec=typora %U
Icon=typora
Type=Application
StartupNotify=true
Categories=Office;WordProcessor;
MimeType=text/markdown;text/x-markdown;
[Desktop Action new-window]
Name=Open a new Window
Exec=typora
Thanks. No, I'm not sure. Somehow I don't manage to get that action to work.
Also, with the default installation there is some weird delay after opening a new window, that shows a spinner in Gnome's top bar. If the application was not running before, it's starting without a dock icon. Only after the spinner settles (after several seconds), the icon appears.
I don't know about this, new windows still have the same problem.
However, the File -> New Window
and Ctrl+Shift+N
work as expected, this is clearly something obscure related to flatpak.
Thanks so much for the Flatpak version! It's the preferable option to unzipping or installing apt.
When trying to open a new window from the Gnome dock (right click > New Window), the already open file will be opened in a new window, resulting in several instances of Typora editing the same file. Especially on several workspaces, opening several instances for different files becomes quite cumbersome.
I guess we'd need to add a
[Desktop Action new-window]
to the .desktop file, since the defaultExec
key with%U
should probably not be used to open new windows.It's just that I cannot find any documentation on launch parameters for the binary.