Package Details: code-transparent 1.44.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
Submitter: frantic1048
Maintainer: frantic1048
Last Packager: frantic1048
Votes: 0
Popularity: 0.000000
First Submitted: 2019-10-23 06:37
Last Updated: 2020-04-21 04:08

Required by (5)

Sources (6)

Latest Comments

1 2 Next › Last »

Tillter commented on 2020-05-07 03:58

@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

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

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

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

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

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)

frantic1048 commented on 2020-03-12 09:59

@gusbemacbe

I would like to suggest you rename code-oss to code-tranparent for not confilecting with the testing cxode-oss.

That's reasonable, I will try to rename for the executable, or if you could provide a patch is appreciated.

And would it work with Electron 10

Not tried/planned, this package is directly based on the official code package1, with an extra patch for transparency.

The official package already makes it use an external electron(which currently is electron6), to figure out how it works, refer to lines containing electron in PKGBUILD2:

Currently, the highest electron version in official repo is 8.0.x, and the latest vscode requires3 electron 7. It may need some time for the upstream upgrade to electron 10. However, you could have a try with it. Btw, be sure to checkout electron's release note for breaking changes.

gusbemacbe commented on 2020-03-11 04:39

Hello @frantic1048

I would like to suggest you rename code-oss to code-tranparent for not confilecting with the testing cxode-oss. I did that. But I had to git pull every time, to change every time and compile every time via devtools, but I prefer installing via archlinuxcn.

And would it work with Electron 10? Because I refer to https://github.com/electron/electron/pull/19159#issuecomment-597437430.

frantic1048 commented on 2019-12-27 03:11

@XeGrox: If you've got any issue, please, clarify:

  1. What is expected?
  2. What is not working as expected?
  3. What is changed/did you do anything?

(Please consider reading http://www.catb.org/~esr/faqs/smart-questions.html)

For your last message:

Not working as of 18/12/19 after latest update

I cannot figure out WHAT is not working or should be working, after WHAT update or specific operation. Thus I cannot help solve your issue in any way.

Did you follow the instruction after installation (https://aur.archlinux.org/cgit/aur.git/tree/code-transparent.install?h=code-transparent)? BTW, there's new version 1.41.1-1 since Dec, 25.

XeGrox commented on 2019-12-18 13:27

Not working as of 18/12/19 after latest update