Package Details: code-transparent 1.73.1-1

Git Clone URL: https://aur.archlinux.org/code-transparent.git (read-only, click to copy)
Package Base: code-transparent
Description: The Open Source build of Visual Studio Code (vscode) editor - with transparency enabled.
Upstream URL: https://github.com/microsoft/vscode
Keywords: editor
Licenses: MIT
Conflicts: code
Provides: code, vscode
Submitter: frantic1048
Maintainer: frantic1048
Last Packager: frantic1048
Votes: 4
Popularity: 0.000827
First Submitted: 2019-10-23 06:37 (UTC)
Last Updated: 2022-11-23 14:25 (UTC)

Pinned Comments

frantic1048 commented on 2020-08-04 03:15 (UTC)

For minimal changes, this package is based on https://www.archlinux.org/packages/community/x86_64/code/ . There is no plan on adding further changes/features except transparent window support.

About building, currently code 1.47.3-1 uses nodejs-lts-dubnium (Node 10.x) as a makedep. It will conflict with your already installed nodejs (latest version of Node) package, usually installing with AUR helpers or directly running makepkg.

Here are two recommended solutions:

Solution A:

Build this package in a clean environment with Arch Linux devtools (https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot#Convenience_way) to build the package.

extra-x86_64-build (comes from devtools) will build the package in a clean environment, without bothering your local packages.

Solution B:

Use archlinuxcn repo (https://github.com/archlinuxcn/repo).

Frantic1048 added code-transparent to archlinuxcn repo, which follows updating of this AUR package. You can install code-transparent with the prebuilt package from archlinuxcn repo.

Latest Comments

1 2 3 4 Next › Last »

Kandelborg commented on 2022-11-25 07:48 (UTC)

==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat 'VSCode-linux-x64/resources/app/*': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: code-transparent

frantic1048 commented on 2022-06-12 15:32 (UTC)

@jnbooth: Here is a fix for black background in terminals: https://github.com/jnbooth/code-transparent/blob/master/fix-terminal-not-transparent.diff

Thank you, the patch works well. Added to version 1.67.2-2

jnbooth commented on 2022-05-29 17:32 (UTC)

Here is a fix for black background in terminals: https://github.com/jnbooth/code-transparent/blob/master/fix-terminal-not-transparent.diff

jaap commented on 2022-04-02 12:45 (UTC)

If I dont explicitly install request as a global module I get the following error: "Cannot find module 'request'"

Is it possible to add some explicit install request inside code-transparent? Then I dont have to bloat my global node modules

frantic1048 commented on 2021-08-12 06:31 (UTC)

@jnbooth: Thank you so much, your patch works very well. :)

Since 1.58, I had not found the relevance updateBackgroundColor() code and struggled for about a month.

jnbooth commented on 2021-08-11 20:01 (UTC)

Here is an update for 1.59 that also re-enables GPU acceleration: https://github.com/jnbooth/code-transparent

frantic1048 commented on 2021-05-12 07:12 (UTC)

@frogtd I cannot remove the ripgrep dependency, it uses ripgrep.

VSCode includes a ripgrep binary in its build output.

community/code replaces its internal ripgrep(comes with VSCode) with system copy(installed by pacman):

https://github.com/archlinux/svntogit-community/blob/95040481eb728d0aeba3849f7bb7b666704efe04/trunk/PKGBUILD#L131-L132

code-transparent(this package) is derived from community/code, also takes the same logic.

frogtd commented on 2021-05-09 08:37 (UTC)

Can you remove the dependency ripgrep as it is unused?

jaap commented on 2020-11-27 11:46 (UTC)

@frantic1048 Yes this works! thank you for updating to 1.51 and applying this patch!

frantic1048 commented on 2020-11-27 05:11 (UTC)

@jaap: I just made a small patch similar to your link to workaround the first window issue in 1.51.1-1 version. I've tested the patch on my machines and it works fine.

You can take a try with archlinuxcn/code-transparent (packaged by frantic1048) or this AUR package, to see if the first window issue is gone.

The changes can be seen here: https://aur.archlinux.org/cgit/aur.git/commit/?h=code-transparent&id=c5860490b3f436e97f0d30ae6b4e65083af3d179

Also here(managed with aurpublish): https://github.com/frantic1048/pkgbuilds/commit/8a1dabd18cb221aab677e2bac86e43ca04718fb8