Open lina-bh opened 2 years ago
Also happens to me on nixos 21.11 with vscode-fhs and zettlr
also happens in marktext
@linabeee do you have any success in fixing this?
@eadwu @Synthetica9 @maxeaubrey (vscode) @ttuegel @nyanloutre (Plasma)
can somebody help?
Today is the day that this bug is limiting the functionality of a vscode extension
concretely vscode-revealjs is not able to export a reveal.js presentation to PDF because it cannot open chrome.
@fabaff Can you take a look and in case ping someone who may know what is going on?
dear nixpkgs support, it would be nice to have someone responsible for this kind of problem joining this issue.
As you can see I've already pinged many people who might feel responsible, but no one does, so a fallback is needed.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/need-help-with-kde-electron-and-opening-links/17530/1
I'd look into why KIO Client needs the file to be writable.
I do not experience this issue as I do not use KDE, VSCode opens links fine for me, obeying my xdg settings (and does not need to write to .desktop
files if it uses that).
@eadwu any progress? do you know someone else who could feel responsible for this problem?
It affects half of my OperatingSystem (I probably use that many electron based software), it is really a rather large in effect. It would be so great if this gets resolved.
@lina-bh any progress?
Is this related to this https://github.com/NixOS/nixpkgs/issues/160923?
Is this related to this #160923?
yes that looks like the very same issue. Thank you for the pointer
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/who-uses-nixos-with-kde/18212/10
I add pkgs.xdg-utils, and then it works. I find the method form #137871
Still, an issue even though I tried all these fixed.
Is this why I can't install plugins without using the nix repo versions as well(i.e. pkgs.vscode-extensions.matklad.rust-analyzer)? I thought the point of using this FHS version was so we didn't have to use the versions in the repo.
Hey, I installed the package xdg-utils through home manager and it worked, it looked like (in my case) that the xdg-open hooks that opens browser and apps was not working, and looking into it and searching I found out that other non-electron apps that tried to open the browser and when they were supposed to be opened from the browser, were not working... like @CnTeng said
Describe the bug
Inside KDE Plasma 5, opening links from Visual Studio Code installed with vscode-fhs, like the one to log in to Settings Sync, opens a prompt to trust the web browser, which then fails with an error because the .desktop file is not writable, since it's a symlink to the nix store.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Links open in the default browser configured in KDE System Settings.
Screenshots
Additional context
This is nixos-unstable, and I use chrome (😬)
Notify maintainers
vscode: @eadwu @Synthetica9 @maxeaubrey Plasma: @ttuegel @nyanloutre
Metadata
Maintainer information: