daa84 / neovim-gtk

gtk ui for neovim
GNU General Public License v3.0
716 stars 57 forks source link

Doesn't run from a menu entry on KDE's Menu #176

Open galvao opened 5 years ago

galvao commented 5 years ago

I can run nvim-gtk fine from a console, but if I try to add it to the K Menu and run from there it loads for a while (slower than if running it from console) and then just exits.

Tried running directly from opt AND from the symlink at ~/bin. No success on either attempts;

Zardoz89 commented 5 years ago

Yo try to run from console or from the launcher/menu ?

galvao commented 5 years ago

Yo try to run from console or from the launcher/menu ?

Both. From the console it runs beautifully.

If I try to run from the K menu, either adding the full path - /opt/neovim-gtk/target/release/nvim-gtk - or the symlink - created as ln -s /opt/neovim-gtk/target/release/nvim-gtk ~/bin/nvim-gtk - it behaves as described above.

galvao commented 5 years ago

I should add that the symlink works perfectly when ran from the console.

Zardoz89 commented 5 years ago

Strange. I use neovim-gtk from my menu and from the launcher on KUbuntu 18.10, and work flawless.

PD: Do you try to add a menu entry on KDE Menu to launch it ?

galvao commented 5 years ago

Do you try to add a menu entry on KDE Menu to launch it ?

This is exactly what I did and yes, I've tried to put the full path under "Command", with the same result.

image

galvao commented 5 years ago

I've just realized I mislead @Zardoz89 with the title of this issue, so I've fixed it.

Zardoz89 commented 5 years ago

I can confirm that this fails if is not added " < /dev/null" to the Command (ignore that I have renames to nvim-gtk-bin) : imagen

Zardoz89 commented 5 years ago

This issue is a duplicate from #91

galvao commented 5 years ago

Thank you so much for the workaround!