KatsuteDev / Background

The most advanced background image extension for VSCode
https://marketplace.visualstudio.com/items?itemName=katsute.code-background
GNU General Public License v2.0
70 stars 4 forks source link

flatpak issue #314

Closed Baturax closed 1 month ago

Baturax commented 2 months ago

Operating System

void linux

VSCode Version

flatpak version 1.88.0

Extension Version

2.10.2

Settings

No response

Issue

when i install this, it wants to copy file and when i click yes it gives error. image image

How to replicate

https://github.com/KatsuteDev/Background/assets/68316278/358f4bd4-dfb2-4158-a12b-959b4cb397d4

Katsute commented 2 months ago

This is likely a permissions issue with flatpak, try installing using deb or rpm: https://code.visualstudio.com/download

polygonnedpotato commented 2 months ago

This is likely a permissions issue with flatpak, try installing using deb or rpm: https://code.visualstudio.com/download

This would cause the same error. these packages are installed system-wide, so doing that would require admin as-well.

the only way to install without admin, is by using a vscode tarball.

Katsute commented 2 months ago

Yeah, tarball might be the only solution for this. Usually the extension would fallback to sudo to write to these directories, however it seems like this Linux distro doesn't have the usual sudo apps.

Baturax commented 2 months ago

yes tarball is best choice but it would be good for flatpak too when i run musl bsed distro i have install vscode from fflatpak

Katsute commented 2 months ago

This isn't something that can be fixed because it doesn't use the usual sudo apps that the other linux distros use, as a workaround you can try adding write permission manually to the directory in the error.

kdevbot[bot] commented 1 month ago

This issue has been marked as stale due to inactivity.

kdevbot[bot] commented 1 month ago

This issue has been closed due to inactivity.