apache / netbeans

Apache NetBeans
https://netbeans.apache.org/
Apache License 2.0
2.67k stars 855 forks source link

create shortcut menu on linux #4776

Open sombriks opened 2 years ago

sombriks commented 2 years ago

Description

since offered linux version is a zip file, would be good to add an option to install/uninstall laucher into user (gnome/kde/xfce/etc) menu.

to do so an option in tools menu would offer to install netbeans .desktop launcher under ~/.local/share/applications/ and then invoke update-desktop-database as seen here

Use case/motivation

The lack of a desktop entry menu option puts netbeans as a second-class citizen on linux desktops

Related issues

No response

Are you willing to submit a pull request?

Yes

Code of Conduct

Yes

neilcsmith-net commented 2 years ago

I've thought about this myself too - happy to help / look at this. One of the issues with the old installer was that the .desktop file had problems on some desktops that would be good to address.

What OS are you on? I would note there is also a Snap package, community provided DEB and AppImage, and a number of independent options like FlatPak you could look at.

sombriks commented 2 years ago

Hello @neilcsmith-net !

indeed i took a look on community packages.

the key drawback (yet their advantage) is the container isolation, any setup made on external bash won't reflect on containerized IDE.

As soon as possible i'll propose a pull request so we can discuss it better

lkishalmi commented 2 years ago

The DEB package is not containerized, also the Snap version is running in classic confinement (aka no containers).