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

It does not work #72

Closed
cuautorres opened this issue Sep 14, 2017 · 19 comments
Closed

It does not work #72

cuautorres opened this issue Sep 14, 2017 · 19 comments

Comments

@cuautorres
Copy link

I use the version 1.16.0 of Visual Sutdio Code

@shalldie
Copy link
Owner

Hi,i've tested windows and os x of the ver. 1.16.0
Maybe you need the authority at the first time to use this extension.

In windows,click right button on the vscode's icon,then check the [run with the administrator authority].

In ubuntu, #6.

And os x,also need the authority to edit vscode's file.

This extension works with editing vscode's file(workbench.main.css),make sure you have the authority to edit it.

@blackbart420
Copy link

It does not work on archlinux.
But it does work if I launch VSCode as root...

@shalldie I cannot read anything you say in the issue #6 ...

Also, you should only write the help file in english.

Solution for me (on archlinux):

chown {username} /opt/visual-studio-code/resources/app/out/vs/workbench/workbench.main.css

I guess this should be written as important note in the documentation/help ;)

@blackbart420
Copy link

PS: great plugin! :+

@shalldie
Copy link
Owner

@blackbart420
Thanks a lot!

I plan to open a issue include the way to get authority in all OS.
😄

@5265liu
Copy link

5265liu commented Nov 3, 2017

6666

@kangkai124
Copy link

kangkai124 commented Dec 14, 2017

I meet the trouble too , and I use the version 1.18.1 of Visual Sutdio Code on MacOS Sierra 10.12.6

@kangkai124
Copy link

kangkai124 commented Dec 14, 2017

#46 resolve it

@sunb0002
Copy link

我的win10 v1.18.1也是不可以
希望能fix不过也不急啦 :)

"background.customImages": [
"https://ggsubsteam.files.wordpress.com/2016/11/ev_18.jpg"
]

@shalldie
Copy link
Owner

image

image

@sunb0002
嗨~ 我测试了一下好像木有问题,你看看是否设置了 background.userDefault:false

@sunb0002
Copy link

sunb0002 commented Dec 14, 2017

@shalldie 额,我这边图片还是没有出来。默认图片(魔理沙?)也没有。
可能是跟公司防火墙之类的原因吧,我去别的地方再试试。
多谢了。

Update: Run as Administrator就可以出来了。多谢!

@anran758
Copy link

anran758 commented Dec 20, 2017

@shalldie 我的问题就是出现在这里.. 建议在文档中加入提示.. 当使用自定义图片时, 将background.userDefault设置为false

@shalldie
Copy link
Owner

@anran758
嗯,,文档确实差点。下个版本理一理

@jcklpe
Copy link

jcklpe commented May 28, 2018

Hi @shalldie I'm very sorry to bother you but I can't seem to get the extension to work.

These are what my settings are set as:

// Your custom Images(Max length is 3). 自己定制背景图,最多3个
"background.customImages": ["https://imgur.com/QC16IpJ.jpg"],

// Plugin background enabled.background 插件是否启用
"background.enabled": false,

// Custom common style.自定义各项公有样式.
"background.style": {
  "content": "''",
  "pointer-events": "none",
  "position": "absolute",
  "z-index": "99999",
  "width": "100%",
  "height": "100%",
  "background-position": "100% 100%",
  "background-repeat": "no-repeat",
  "opacity": 1
},

// Each style of backgrounds. 每一个背景图的独有样式。
"background.styles": [
  {},
  {},
  {}
],

// Use default images.使用默认图片
"background.useDefault": false,

// If use front image,which means image is placed on the top of your code. 是否使用前景图,这样会使图片放在代码的顶部
"background.useFront": true

It does not seem to be working though.

@shalldie
Copy link
Owner

@thedonquixotic
I see your setting: "background.enabled": false,

You have to set it true, to enable the extension. :D

@jcklpe
Copy link

jcklpe commented May 28, 2018

@shalldie Ooh duh! I must have done that by accident. Thank you!

@Laughing6901
Copy link

I try to config follow you but it does not work
I install version 1.1.28 in vscode
I'm using mac OS X
so can you have me to fix this ?
Screen Shot 2021-09-08 at 11 07 59

@shalldie
Copy link
Owner

shalldie commented Sep 8, 2021

@Laughing6901
I tried this config, it works.

Have your vscode in Download? Move it to Application, #252

@Laughing6901
Copy link

@shalldie
I dowloaded it
Screen Shot 2021-09-08 at 13 11 31

@Laughing6901
Copy link

thank you so much
it work ^^

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

9 participants