Add warning to jsoncpp symlink fix

patrick96 2019-09-18 11:25:22 +02:00
parent a45c163836
commit fee6bc1dd1
No known key found for this signature in database
GPG Key ID: 521E5E03AEBCA1A7
1 changed files with 3 additions and 1 deletions

@ -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. 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 ## 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. **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.