From fee6bc1dd1e4bc9c2f45b4bf259a9a7375fb2ca0 Mon Sep 17 00:00:00 2001 From: patrick96 Date: Wed, 18 Sep 2019 11:25:22 +0200 Subject: [PATCH] Add warning to jsoncpp symlink fix --- Known-Issues.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Known-Issues.md b/Known-Issues.md index dcdb708..67f6a7f 100644 --- a/Known-Issues.md +++ b/Known-Issues.md @@ -95,7 +95,9 @@ polybar: error while loading shared libraries: libjsoncpp.so.XX: cannot open sha ``` This issue occurs because `jsoncpp` changes the name of their `.so` file every release and there really isn't anything we can do about that. -**Fix:** You have to recompile polybar, so that it links to the new `.so` file. If you use precompiled binaries from a repository, you either have to compile polybar yourself or contact the packager so that they can recompile polybar and publish a package with proper linkage. Alternatively you can symlink the `libjsoncpp.so.XX` file from the error message to `libjsoncpp.so` (most likely in the `/usr/lib` directory). +**Fix:** You have to recompile polybar, so that it links to the new `.so` file. If you use precompiled binaries from a repository, you either have to compile polybar yourself or contact the packager so that they can recompile polybar and publish a package with proper linkage. + +Alternatively you can symlink the `libjsoncpp.so.XX` file from the error message to `libjsoncpp.so` (most likely in the `/usr/lib` directory). **Warning:** This could potentially break other packages, only use this as a last resort, recompiling is preferable in every situation. ## Setting Module Backgrounds when using Gradients **Problem:** When you use a gradient as your polybar background, explicitly setting any module's background color to whatever you have set as `background-0`, either through the `-background` setting or the `%{B}` formatting tag, will not change the background color at all.