Closed Hibou57 closed 10 months ago
What does executing irrelevantsublime.packages_path()
in the console yield?
What version of Sublime Text, and what are your environment variables for your locale?
Sorry, I thought this was an encoding issue. I see what you mean now.
You can set https://packagecontrol.io/docs/settings#setting-package_destination.
This is a platform dependent issue. The report comes with an hint to solve it.
I wanted to check something, generating a package file locally. I'm running Ubuntu and got this error:
The Desktop folder is Bureau for me (French locales). Seems Package Control assumes an English environment or is not aware folders names change depending on the locales.
Within FreeDesktop environment, there is way to determine these folders names: read, or source from a shell, the file
$HOME/.config/user-dirs.dirs
.Ex. for me it contains:
Either sourcing it from a shell and then reading the
XDG_DESKTOP_DIR
environment variable or parsing it and substituting the environment variables found in the values, allows to get the locale name of the Desktop folder.