在Ubuntu中将图像背景添加到Visual Studio Code。

huangapple go评论68阅读模式
英文:

Put Image background to visual studio code in ubuntu

问题

我在Ubuntu上安装了Visual Studio Code (VSCode),尝试将一张图片设置为背景,但无论使用哪个扩展都无法成功。我尝试了使用'background-cover'扩展v2.3.3,但它根本不起作用。我还尝试了Doki主题,安装后更改了主题,但没有设置图像背景。在安装Doki主题后,如果我尝试更改主题,它不允许我,而是将我重定向到一个选项卡,以使用此命令更改权限:'sudo chown -R $(whoami) /snap/code/133/usr/share/code/resources/app/out/vs/workbench'。尽管这个命令做出了一些更改,但我仍然遇到相同的问题。我还尝试了使用命令'sudo chown -R $(whoami) /usr/share/code/resources/app/out/vs/workbench',但它说找不到文件夹。我认为我不需要使用这个命令。

我尝试了'sudo apt update && sudo apt upgrade',重新安装了Doki,并更改了图像文件的权限,但没有效果。

英文:

I installed Visual Studio Code (VSCode) on Ubuntu and tried to set an image as the background, but I couldn't do it using any extension. I tried using the 'background-cover' extension v2.3.3, but it simply doesn't work. I also tried the Doki Theme, which changed the theme upon installation, but it didn't set the image background. After installing Doki Theme, if I try to change the theme, it doesn't allow me and instead directs me to a tab to change permissions with this command: 'sudo chown -R $(whoami) /snap/code/133/usr/share/code/resources/app/out/vs/workbench'. Although this command made some changes, I still have the same problem. I also tried using the command 'sudo chown -R $(whoami) /usr/share/code/resources/app/out/vs/workbench', but it says it can't find the folder. I don't think I need to use this command.

i tried sudo apt update && sudo apt upgrade, i reinstalled doki and change permissions on the image file but doesent work

答案1

得分: 1

如果您使用 snap 安装了 vscode,则会出现与 Linux-Snap-VSCode 相关的问题。

使用 snap 安装的应用程序本质上是只读的,要解决此问题,请尝试使用 debrpm 安装 VSCode。

英文:

If you installed vscode with snap, there is an issue with Linux-Snap-VSCode.

Applications installed using snap are inherently read-only, to solve this try to install VSCode using deb or rpm.

huangapple
  • 本文由 发表于 2023年7月14日 05:21:23
  • 转载请务必保留本文链接:https://go.coder-hub.com/76683310.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定