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

[Ubuntu 20.4 LTS] Extension doesn't work #202

Closed
tynguyen2k1 opened this issue Jun 27, 2020 · 7 comments
Closed

[Ubuntu 20.4 LTS] Extension doesn't work #202

tynguyen2k1 opened this issue Jun 27, 2020 · 7 comments

Comments

@tynguyen2k1
Copy link

I tried #6, the command works but vscode-background doesn't seem to work. Thanks for the help!
Screenshot from 2020-06-27 14-59-47

@jacekgajek
Copy link

jacekgajek commented Sep 4, 2020

You have to install vscode via download page as a deb package. The extension works by modifying a css file inside installation directory, but Snaps are read-only.

@tynguyen2k1
Copy link
Author

You have to install vscode via download page as a deb package. The extension works by modifying a css file inside installation directory, but Snaps are read-only.

So how can I authorize it? Thanks you !

@jacekgajek
Copy link

jacekgajek commented Sep 26, 2020

You cannot modify files inside a snap - they are like sealed archives. You need to remove snap and reinstall vscode as a normal application from a .deb package (https://code.visualstudio.com/download)

If you already did, then you have to grant access to .css file to yourself
First, find the file:
sudo find / -name "workbench.desktop.main.css"
Then
sudo chown ${whoami} [location of the css file]

@tynguyen2k1
Copy link
Author

You cannot modify files inside a snap - they are like sealed archives. You need to remove snap and reinstall vscode as a normal application from a .deb package (https://code.visualstudio.com/download)

If you already did, then you have to grant access to .css file to yourself
First, find the file:
sudo find / -name "workbench.desktop.main.css"
Then
sudo chown ${whoami} [location of the css file]

Am I doing it right?
Screenshot from 2020-09-27 22-50-12

@jacekgajek
Copy link

Well I guess not :) I'm not on linux now so I cannot tell more. sudo chown ty "path" should work...

@tynguyen2k1
Copy link
Author

Well I guess not :) I'm not on linux now so I cannot tell more. sudo chown ty "path" should work...

Anyway, it still works, thank you !!!
Screenshot from 2020-09-28 00-34-27

@GladeCant
Copy link

It works fine, thank you !

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

3 participants