Hello!
I found an issue with the vscode package that is shipped with Solus.
The issue is this: GitHub authentication via web browser does not work.
For example, extensions like GitHub Pull Requests or LiveShare do not work. The underlaying problem is that the package doesn't register vscode url-scheme-handler and also, it does not install the desktop handler application anywhere, as seen in: https://github.com/microsoft/vscode/issues/#issuecomment-1107529857
My fixes are these(they work, I tested them):
Add the file with the following details in /usr/share/applications
name: vscode-oss-url-handler.desktop
contents:
[Desktop Entry] Name=Visual Studio Code URL Handler Comment=Code Editing. Redefined. GenericName=Text Editor Exec=code-oss --disable-crash-reporter --open-url %U Icon=visual-studio-code Type=Application NoDisplay=true StartupNotify=true Categories=Utility;TextEditor;Development;IDE; MimeType=x-scheme-handler/code-oss;
Run the following command post-install:
xdg-settings set default-url-scheme-handler vscode vscode-oss-url-handler.desktop
I tried to make a fix myself and open a PR but couldn't find a way to run a command post-install(Girtablulu said something about usysconf).