Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

插件在manjaro linux上未生效 #213

Closed
SURA907 opened this issue Sep 8, 2020 · 2 comments
Closed

插件在manjaro linux上未生效 #213

SURA907 opened this issue Sep 8, 2020 · 2 comments

Comments

@SURA907
Copy link

SURA907 commented Sep 8, 2020

  • 操作系统:Manjaro Linux 20.0.3
  • 桌面环境:gnome
  • vsc版本: 1.48.2-1

你好,我在使用中遇到了一些问题

在安装插件并配置后,背景未生效,实际上,默认的图片也没有显示过

我使用的普通账户启动的vsc(我的代码等全是同一用户权限,使用root启动vsc太过危险)

我需要使用root启动vsc吗?还是配置相关的问题?

配置如下:

{
    "background.enabled": true,
    "background.useFront": true,
    "background.customImages": [
        "https://i.pximg.net/img-original/img/2017/12/27/00/13/05/66475317_p0.png",
    ],
    "background.style": {
        "content": "''",
        "pointer-events": "none",
        "position": "absolute",
        "z-index": "99999",
        "width": "100%",
        "height": "100%",
        "background-position": "100% 100%",
        "background-repeat": "no-repeat",
        "opacity": 0.5
    }
}
@SURA907
Copy link
Author

SURA907 commented Sep 9, 2020

  • 好吧,通过issue得知: 然而ubuntu16.04依然用不了
  • 插件正常运行需要vsc所有安装文件都是普通用户权限
  • 我的vsc使用root安装在/opt/visual-studio-code/目录下
  • 使用sudo chown -R [user]:[group] /opt/visual-studio-code修改权限就可以正常使用了

@SURA907 SURA907 closed this as completed Sep 9, 2020
@SURA907
Copy link
Author

SURA907 commented Sep 9, 2020

修改权限也只是一时之计,还是使用vsc提供的.tar.gz包将vsc安装在用户目录下才是上策

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant