Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signal doesn't launch after apllying themes #3

Open
ectacte opened this issue Oct 23, 2024 · 4 comments
Open

Signal doesn't launch after apllying themes #3

ectacte opened this issue Oct 23, 2024 · 4 comments

Comments

@ectacte
Copy link

ectacte commented Oct 23, 2024

signal doesnt start after putting @import "catppuccin-.css" in manifest.css nor does it launch when using theme-injector.
Had to reinstall both times

@undefinedcode0
Copy link

Have you found any fix? This is also happening to me

@ectacte
Copy link
Author

ectacte commented Oct 27, 2024

unfortunately no, didnt have much time recently to look into it will most likely give it another try or smth if i fix ill let you know

@TheSunCat
Copy link

I did some debugging and found that (at least on NixOS) Signal is failing to find libpulse.so.0 which is preventing it from launching. Setting LD_LIBRARY_PATH allows it to find it, and it opens the window which shows the Signal loading animation infinitely.
Further checking the JavaScript console (using --enable-dev-tools), I found it fails to load libstdc++.so. Adding a path to this lib in LD_LIBRARY_PATH finally allows Signal to launch normally and have the theme applied.

This is a rather dirty workaround, but as I am not familiar with how Electron works I am not sure I can do more. I will do some more research and write what I find here.

Image

@TheSunCat
Copy link

Got it, by reading the Nix package here: https://github.com/NixOS/nixpkgs/blob/nixos-24.11/pkgs/by-name/si/signal-desktop/generic.nix#L227-L230

Apparently Signal does not "pack" their .node directory. Adding --unpack '*.node' to the pack command allows it to start up fine for me. See commit: https://git.allpurposem.at/mat/Computer/commit/d0d31a75e85fb1758ba43e74aeeb69da109630fc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants