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

mac 已经获取权限 但背景还是没有显示 #130

Closed
jsliu27 opened this issue Sep 20, 2018 · 12 comments
Closed

mac 已经获取权限 但背景还是没有显示 #130

jsliu27 opened this issue Sep 20, 2018 · 12 comments

Comments

@jsliu27
Copy link

jsliu27 commented Sep 20, 2018

"background.enabled": true,//卸载插件开启
"background.useDefault": false,
"background.customImages": [
"file:///Users/jianyuehudong/Desktop/vscode/img/vscodebg.jpg"
],
"background.style": {
"content": "''",
"pointer-events": "none",
"position": "absolute",
"z-index": "99999",
"width": "100%",
"height": "100%",
"background-position": "0% 0%",
"background-size": "cover",
"background-repeat": "no-repeat",
"opacity": 0.1
}

图片地址是从url上面取得,求大神指导

@shalldie
Copy link
Owner

vscode ver 1.27.2 在mac上测试木有问题。

是不是你的透明度太低了呢?

@jsliu27
Copy link
Author

jsliu27 commented Sep 29, 2018

vscode ver 1.27.2 在mac上测试木有问题。

是不是你的透明度太低了呢?

不是我改了,还是不行麻烦把你的粘出来我试一下

@shalldie
Copy link
Owner

@TankRyze 用默认的就行,你把 background.style 删掉看看

@jsliu27
Copy link
Author

jsliu27 commented Oct 9, 2018

默认是空的没有样式,尝试了,还是不可以

@panyiliang
Copy link

@TankRyze 用默认的就行,你把 background.style 删掉看看

mac设置本地文件路径一直提示定位不到。。
文件路径:/Users/pandabo/Documents/栗山未来.jpeg
配置项:"background.customImages": ["file://⁩/⁨Users/pandabo/Documents/栗山未来.jpeg"],

@jsliu27
Copy link
Author

jsliu27 commented Nov 20, 2018

{
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
"window.zoomLevel": 1,
"javascript.updateImportsOnFileMove.enabled": "always",
"workbench.colorTheme": "Dracula",
"background.customImages": [
"file:///Users/jianyuehudong/Desktop/vscode/img/vscodebg.jpg"
],
"workbench.startupEditor": "welcomePage",
"cssrem.rootFontSize": 37.5
}
这样还是不行的,哎😔

@shalldie
Copy link
Owner

@TankRyze
要加上 "background.useDefault": false

@jsliu27
Copy link
Author

jsliu27 commented Nov 20, 2018

@shalldie 感谢您的提醒,现在加上了还是没有显示背景,很是纠结😖
{
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
"window.zoomLevel": 1,
"javascript.updateImportsOnFileMove.enabled": "always",
"workbench.colorTheme": "Dracula",
"background.useDefault": false,
"background.customImages": [
"file:///Users/jianyuehudong/Desktop/vscode/img/vscodebg.jpg"
],
"workbench.startupEditor": "welcomePage",
"cssrem.rootFontSize": 37.5
}
麻烦您有时间再给看一下

@jsliu27
Copy link
Author

jsliu27 commented Nov 22, 2018

激活扩展“shalldie.background”失败: EROFS: read-only file system, open '/private/var/folders/m3/1f1msw0s5dj1t967fqn796tc0000gn/T/AppTranslocation/E1CBD478-220F-407B-BACF-41300B895D7A/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.css'。

@jsliu27
Copy link
Author

jsliu27 commented Nov 22, 2018

激活扩展“shalldie.background”失败: EROFS: read-only file system, open '/private/var/folders/m3/1f1msw0s5dj1t967fqn796tc0000gn/T/AppTranslocation/E1CBD478-220F-407B-BACF-41300B895D7A/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.css'。

@shalldie 爽哥,找到这个文件了,需要怎么修改呢

@babydada
Copy link

我mac也是

@shalldie
Copy link
Owner

shalldie commented Jun 3, 2021

,,,时隔蛮久,可以参考这个:#252

@shalldie shalldie closed this as completed Jun 3, 2021
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

5 participants
@shalldie @panyiliang @babydada @jsliu27 and others