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

HOME and StartMenu? #235

Open
newville opened this issue Oct 15, 2023 · 1 comment
Open

HOME and StartMenu? #235

newville opened this issue Oct 15, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@newville
Copy link

Thanks very much for this work.

I am wondering why a few locations that might be generally useful and not included.

First, there is no value for the HOME directory, perhaps akin to or even equivalent to pathlib.Path().home() or os.path.expanduser(). I get that this can be found in other ways most of the time, but isn't that implied "but maybe not always in s a consistent manner" sort of the point here?

Second, there is no value for user entries to the Start Menu (roughly $HOME/.local/share/applications on Linux, or CSIDL_PROGRAMS on Windows, but non-existent for macOS, and I don't know about others).

These would both be very useful for a project of mine: https://github.com/newville/pyshortcuts. There, we sort of solve for these on Linux/macOS/Windows, but maybe those would be better supported here.

Are these omissions intentional? I didn't see a clear list of "yes, these, not those", but maybe I missed that.
Would these be welcome additions or seen as distractions or perhaps difficult to support?
Apologies if these have been discussed and decided on before, or if this is the wrong forum for such a discussion.

Thanks.

@gaborbernat
Copy link
Contributor

First, there is no value for the HOME directory, perhaps akin to or even equivalent to pathlib.Path().home() or os.path.expanduser(). I get that this can be found in other ways most of the time, but isn't that implied "but maybe not always in s a consistent manner" sort of the point here?

There's a stdlib for this, so not needed a 3rd party.

Second, there is no value for user entries to the Start Menu (roughly $HOME/.local/share/applications on Linux, or CSIDL_PROGRAMS on Windows, but non-existent for macOS, and I don't know about others).

PR welcome for this.

@gaborbernat gaborbernat added enhancement New feature or request help wanted Extra attention is needed labels Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants