Package Details: code-translucent 1.98.2-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: 8
Popularity: 0.26
First Submitted: 2022-09-18 16:29 (UTC)
Last Updated: 2025-03-30 17:24 (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 »

observ33r commented on 2023-10-15 07:11 (UTC) (edited on 2023-10-15 07:12 (UTC) by observ33r)

@Rubos: those warnings are expected and normal! Try it now! If not work, please let me know what is output of:

echo "-${DISPLAY:-null}-${XDG_SESSION_TYPE:-null}-${WAYLAND_DISPLAY:-null}-"

Rubos commented on 2023-10-08 22:06 (UTC) (edited on 2023-10-08 22:07 (UTC) by Rubos)

@observ33r Sorry for the late reply. Yes I can confirm, launching /opt/code-translucent/bin/code-oss directly fixes the issue for me.

What about Spotify? Spotify is also electron app..

Yeah all other electron apps work ootb. That includes "visual-studio-code-bin"

Interestingly enough, when i execute

/opt/code-translucent/bin/code-oss --ozone-platform=wayland --enable-features=UseOzonePlatform 

I get these warnings with the buggy behavior:

Warning: 'ozone-platform' is not in the list of known options, but still passed to Electron/Chromium.
Warning: 'enable-features' is not in the list of known options, but still passed to Electron/Chromium.

When i start it without these flags i don't get any errors and it just works... (i did set the flags in the .config dir for all electron apps)

Anyways with this workaround it's very usable for me. Thx for the great package

observ33r commented on 2023-10-08 16:59 (UTC)

@ShalokShalom: fixed!

ShalokShalom commented on 2023-10-05 20:48 (UTC)

My extensions panel can not find any extension at all. Zero search results, no matter what I do.

observ33r commented on 2023-09-27 16:35 (UTC)

@Rubos for start you can try run directly from terminal without "code-oss.sh" script. "/opt/code-translucent/bin/code-oss --ozone-platform=wayland --enable-features=UseOzonePlatform" or without flags "/opt/code-translucent/bin/code-oss". What about Spotify? Spotify is also electron app..

Rubos commented on 2023-09-27 12:09 (UTC)

Hi, i tried your package and like it so far. However i have one major issue: When using this package with a tiling Wayland WM (in my case Hyprland) it takes at least two tries to get a window to open, and when opening more windows, closes all currently active code windows. Seems to work fine in KDE... Since the other code-oss based packages don't have this issue i think it has something to do with the start script.

Moebius14 commented on 2023-09-17 14:30 (UTC)

Are there any good themes that make use of the translucency?

observ33r commented on 2023-05-08 08:56 (UTC)

@Kaydax sorry, but I cannot reproduce your problem! Try with standalone build procedure!

git clone https://aur.archlinux.org/code-translucent.git    
cd code-translucent
makepkg -rsi

Kaydax commented on 2023-04-16 17:47 (UTC)

Even after the latest package version, I'm still having the issues with LICENSE.txt not existing