Package Details: code-translucent 1.96.0-2

Git Clone URL: https://aur.archlinux.org/code-translucent.git (read-only, click to copy)
Package Base: code-translucent
Description: The Open Source build of Visual Studio Code (vscode) editor with translucent window, official marketplace, unblocked proprietary features and wayland support!
Upstream URL: https://github.com/microsoft/vscode
Keywords: code code-oss translucent transparent visual-studio-code vscode
Licenses: MIT
Conflicts: code-oss
Provides: code-oss
Submitter: observ33r
Maintainer: observ33r
Last Packager: observ33r
Votes: 7
Popularity: 0.000944
First Submitted: 2022-09-18 16:29 (UTC)
Last Updated: 2024-12-11 20:07 (UTC)

Pinned Comments

observ33r commented on 2022-09-18 17:36 (UTC) (edited on 2023-05-08 05:36 (UTC) by observ33r)

  • Completely rewritten patch with correct implementation of transparency for electron window!
  • It actually running from compiled binaries! No need for electron dependency!
  • No conflicting with official release! You can have installed both!
  • Added support for official marketplace!
  • Added support for flags configuration file!
  • Added support for Wayland!
  • Unblocked proprietary features!
How to change window color?
"workbench.colorCustomizations": {
    //Black window color with 75% transparency (#RRGGBBAA)
    "window.background": "#000000BF"
},

..assuming you have a customized theme with all other transparent elements!

Building within clean chroot!

You can build package in completely clean environment without conflicting with any local dependencies (latest nodejs package etc..)!

Execute the following commands inside the package directory:

yes | sudo pacman -S devtools
extra-x86_64-build -c && rm *.log
mapfile -t _pkgs <<< "$(printf '%s\n' code-translucent-*.pkg.tar.zst | sort -Vr)"
sudo pacman -U "${_pkgs[0]}"

..or just run "build-with-chroot.sh" script!

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

Kandelborg commented on 2020-08-03 07:59 (UTC)

@frantic1048 Are you going to maintain this package? There will be updates each month.

Kandelborg commented on 2020-07-25 08:10 (UTC)

It would be great if we didn't have to download a complete version of node to compile. I am e.g. using NVM to manage my node versions. VS Code also isn't relying on that specific version of node, it's a range of versions: Node.JS, x64, version >= 10.x, <= 12.x -> https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites I also think this package should give a warning somewhere that there's problems saving files with sudo.

Tillter commented on 2020-05-07 03:58 (UTC)

@frantic1048: I got it working somehow, before now I had only tried opening a second window, not a third, and opening a third worked! I have one last question, and that is if there is a way to get themes that arent normally transparent to show as transparent?

frantic1048 commented on 2020-05-04 11:14 (UTC)

I have translucency enabled in the desktop effects and I have my settings, dolphin and Konsole all transparent with blur.

@Tillter: If other windows like Konsole are showing in transparent correctly means your compositor is supporting transparent windows.

To clarify, transparent means the window have a transparent background, not the entire window(the text is still opaque so we can still read it). If you are using KDE, it should be supported without further configuration.

Ive opened many windows, no luck.

@Tillter: Did you keep multiple code windows open? i.e. Open a code instance, do not close the existing one, and open more code instance. Sometimes the first code window is not transparent, but the second, third ... is transparent, and we can open two, close the non-transparent one to workaround this. I haven't find the reason for this case so far.

Personally, I'm using i3wm+picom and sway, did not experience much in KDE.

frantic1048 commented on 2020-05-04 11:00 (UTC)

ensuring the compositor has transparency enabled means:

On X11, you need to configure your compositor to enable its transparent feature(of course the compositor needs to have this feature). The compositor is a separate compositor(e.g. picom, formerly knowns as compton) which working with a stand-alone window manager(e.g. i3wm), or a compositing window manager(a window manager with some compositing features, like kwin, the wm for KDE) For separate compositor like picom, follow the compositor's document about how to configure its transparency feature. For compositing window manager like kwin, check kwin settings about window transparency, and window rules about transparency.

On Wayland, there is only one compositor(it handles both window managing and compositing). e.g. Sway, it supports transparent windows without explicit configuration.

The key is to figure out what window manager(or compositor) you're using, and check its config(text config file, or GUI settings).

frantic1048 commented on 2020-05-04 10:58 (UTC)

Sorry for the late, my PC's heatsink was broken and spend a while to install a new one.


How to set up the code "transparent-enabled" like root/code-transparent.install say ?

@EPSILONJOHN: Could you please specify which section you doubt with?

Tillter commented on 2020-05-01 19:56 (UTC)

So Ive installed this and I just cannot get the transparency working. Ive done the color settings, Ive opened many windows, no luck. The only thing I havent done is is the second step mentioned about ensuring the compositor has transparency enabled. Im not entirely sure how to do that. I have translucency enabled in the desktop effects and I have my settings, dolphin and Konsole all transparent with blur. Any advice or help would be greatly appreciated

EPSILONJOHN commented on 2020-04-15 05:20 (UTC) (edited on 2020-04-15 05:21 (UTC) by EPSILONJOHN)

How to set up the code "transparent-enabled" like root/code-transparent.install say ?


If Code is not shown transparent:

  1. Ensure color setting of Code is configured with transparent colors. (See "Config" section below)
  2. Ensure your compositor has transparency enabled.
  3. Open a second Code window. (Sometimes works)