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

Adding Launchers in gnome 3? #1

Closed
bollwyvl opened this issue Jan 10, 2019 · 5 comments
Closed

Adding Launchers in gnome 3? #1

bollwyvl opened this issue Jan 10, 2019 · 5 comments

Comments

@bollwyvl
Copy link
Contributor

Thanks for this!

Gnome 3 doesn't really have a move-stuff-around desktop. The ~/Desktop is still created, it seems, but the default file browser doesn't render .desktop applications as anything other than text files, and clicking them just opens them in your text editor.

However, putting .desktop files in ~/.local/share/applications/ will make them accessible to the launcher under the super key or hot corner. I was sceptical at first, but it's grown on me.

In some experiments, I've been successful in moving the generated shortcuts there, and they work fine, but as it becomes the default on more distros, it might be nice to offer detection of this. Happy to do some more research/PR if interested!

@newville
Copy link
Owner

@bollwyvl Thanks -- that's a good point.

For sure, the best location for the .desktop files on Linux seems to depend strongly on the window manager. If there is a reliable way to detect (or maybe have the end user specify?) where the best place is, I would certainly have no objections to using that. I'm definitely open to suggestions and PRs.

@bollwyvl
Copy link
Contributor Author

yeah, no doubt this would take a lot of data and testing! Here's some random googling specifically this comment that could likely be adapted. I guess it depends on how sure we'd want to be!

@newville
Copy link
Owner

@bollwyvl What if we just put a .desktop file in $HOME/Desktop if it exists, and also put one in $HOME/.local/share/applications if that exists? The desktop files are tiny and owned by the end-user, so I don't see any harm in having a couple copies. And, I believe that for KDE, LXQt, etc that the $HOME/.local/share/applications location will then be available (or at least findable) from the "Start Menu".

@bollwyvl
Copy link
Contributor Author

bollwyvl commented Jan 10, 2019 via email

@newville
Copy link
Owner

Closing, as I think this is addressed.

newville pushed a commit that referenced this issue Feb 22, 2021
fix bug on Windows:  TypeError: object of type 'WindowsPath' has no l…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants