Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Application Shortcut #639

Open
1 task done
alba4k opened this issue Dec 17, 2022 · 2 comments
Open
1 task done

Add Application Shortcut #639

alba4k opened this issue Dec 17, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@alba4k
Copy link

alba4k commented Dec 17, 2022

Role

Suggestion

It would be nice if the "Create shortcut" option would create an application shortcut instead of just one of your desktop, especially because it would make it way easier to access (especially on window managers with no desktop).

Benefit

Ease of use and quality of life.

This suggestion is unique

  • I have searched the issue tracker and did not find an issue describing my suggestion, especially not one that has been rejected.

You may use the editor below to elaborate further.

This would be estremely easy to implement, especially on Linux: instead of placing the .desktop file to the location specified by XDG dirs, it would be placed, I suppose, to $HOME/.local/share/applications or $XDG_DATA_HOME/../applications/ (not sure about this second one).

@alba4k alba4k added the enhancement New feature or request label Dec 17, 2022
@Hyppothalamus
Copy link

I would love to see this implemented because I am a window manager user and hate to implement all my .desktop files for modpacks by hand. I can of course simlink the generated .desktop file by hand to .local/share/applications but that is slow.

@alba4k
Copy link
Author

alba4k commented Nov 18, 2023

By the way this should be solved in launcher/ui/MainWindow.cpp in MainWindow::on_actionCreateInstanceShortcut_triggered (lines 1483-1622).

Don't currently have time to look into it further tho

An easy solution would be to set desktopPath to something pointing to ~/.local/share/applications/PrismLauncher, but Some may prefer this in the desktop. Maybe it would be better to just change this to ask which one of the two would be preferred?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants