Skip to content

Instantly share code, notes, and snippets.

@emmanuelnk
Last active July 1, 2022 11:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emmanuelnk/b8bc648198ae221dd490ac6b9a9e6770 to your computer and use it in GitHub Desktop.
Save emmanuelnk/b8bc648198ae221dd490ac6b9a9e6770 to your computer and use it in GitHub Desktop.
Installing vscode transparency/blur ubuntu 18.04
# [UPDATE]
# Its no longer complicated! Yay!
# Install Glassit Linux VSCode Extension
# then install this:
sudo apt install -y wmctrl x11-utils bash
# then restart VSCode. Done!
{
"window.transparent": true,
"workbench.colorCustomizations": {
"activityBar.background": "#5e46465e",
"sideBar.background": "#332727d8",
"sideBarSectionHeader.background": "#00000000",
"titleBar.activeBackground": "#00000030",
"statusBar.background": "#00000030",
"list.inactiveSelectionBackground": "#00000040",
"list.activeSelectionBackground": "#00000040",
"list.hoverBackground": "#00000040",
"editor.background": "#00000000",
"editor.lineHighlightBackground": "#FFFFFF15",
"editorGroupHeader.tabsBackground": "#3d2d2d20",
"workbench.background": "#000000a9",
"panel.background": "#3f383800",
"terminal.background": "#292c3300",
"tab.activeBackground": "#00000000",
"tab.inactiveBackground": "#00000010",
"button.background": "#00000020",
"button.hoverBackground": "#00000040",
},
}
@Cassio8186
Copy link

Do you think that works for Linux Deepin?

@Fmstrat
Copy link

Fmstrat commented Jan 30, 2020

@tbotalla
Copy link

tbotalla commented Apr 3, 2020

@joselugo
Copy link

joselugo commented Sep 1, 2020

¿Crees que funciona para Linux Deepin?

Puedes usar devilspie funciona en las distros de linux...
1- abre la terminal escribe: sudo apt-get install devilspie (esperas que se instale)
2- mkdir -p ~/.devilspie
3- nano ~/.devilspie/vscode_transparent.ds (y guardas)
Dentro el archivo copia el siguiente codigo:
( if
( contains ( window_class ) "Code" )
( begin
( spawn_async (str "xprop -id " (window_xid) " -f _NET_WM_WINDOW_OPACITY 32c -set _NET_WM_WINDOW_OPACITY 0xdfffffff") )
)
)
4- Por ultimo escribe en la terminal devilspie
Y tendras vs code en modo transparente

@ImPhoenixDev
Copy link

@emmanuelnk

Sylveon repo no longer exists: https://github.com/sylveon/vscode.git

:(

@emmanuelnk
Copy link
Author

@emmanuelnk

Sylveon repo no longer exists: https://github.com/sylveon/vscode.git

:(

See my update. Hope that works for you instead.

@silviozum
Copy link

¿Crees que funciona para Linux Deepin?

Puedes usar devilspie funciona en las distros de linux...
1- abre la terminal escribe: sudo apt-get install devilspie (esperas que se instale)
2- mkdir -p ~/.devilspie
3- nano ~/.devilspie/vscode_transparent.ds (y guardas)
Dentro el archivo copia el siguiente codigo:
( if
( contains ( window_class ) "Code" )
( begin
( spawn_async (str "xprop -id " (window_xid) " -f _NET_WM_WINDOW_OPACITY 32c -set _NET_WM_WINDOW_OPACITY 0xdfffffff") )
)
)
4- Por ultimo escribe en la terminal devilspie
Y tendras vs code en modo transparente

It works !! xD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment