AM2R-Community-Developers / AM2RLauncher

Host respository for the AM2RLauncher.
GNU General Public License v3.0
343 stars 19 forks source link

Make desktop shortcuts available in OS Desktop Menus #41

Open 6XGate opened 1 year ago

6XGate commented 1 year ago

Is your feature request related to a problem? Please describe. Creating a .desktop file in the desktop folder itself does not work for GNOME when no Desktop Icons extension is installed. This is especially true of Fedora.

Describe the solution you'd like There should be a means to create a .desktop file to the regular location for application .desktop file under the user profile so it appears in the app grid. See XDG Base Directory Specification for how the location is determined. May require special consideration when a Flatpak.

Describe alternatives you've considered Right now, you have to move the .desktop file to $HOME/.local/share/applications, which is where they should be created.

Miepee commented 1 year ago

Just for clarification, you're talking about the feature to add a desktop shortcut of a selected profile (i.e. AM2R Community Updates (Latest)), right?

6XGate commented 1 year ago

I'm talking about adding an app grid or app menu shortcut. Without a Desktop Icons extension installed (which is not by default in GNOME) you can't launch .desktop files created in the desktop folder itself (since none of those files will appear on the desktop itself). They have to be added to the path I mentioned. As far as the selected profile, it probably should still do that I'm thinking.

Miepee commented 1 year ago

The thing about that feature is, is that it's purpose is for creating a portable desktop shortcut, easily accessible. There was already lots of internal discussion on whether we should give the user this option, since it wouldn't be too uncommon for users to just forget about the launcher and then wonder why they never get any (game/launcher)updates. Extending that to now also provide a way to essentially "install the shortcut system wide" (i.e. for linux into the path you mentioned so that desktop menus pick it up, for Windows to wherever the place is in appdata, for Mac under Applications) is a feature that I don't think is needed. Not too many people use those, and the people who do should be knowledgeable enough to know where to move the portable shortcut file. I'll keep the issue open though, maybe if there's enough feedback for it or time passes, I'll think differently about it.

Regarding GNOME specifically, you should be able to still open the shortcut if you navigate in Nautilus (or whatever file manager you use) to Home/Desktop. May be wrong with that though, has been a while since i've toyed with GNOME in a VM.