Closed zetok closed 4 years ago
I installed libappindicator-gtk3 and it fixed the error on my case.
libappindicator has been updated, so this should work now. Please refile if this becomes an issue again.
I had to install clang
(I'm using Arch Linux), because I was getting this:
cargo:warning=couldn't execute `llvm-config --prefix` (error: No such file or directory (os error 2))
cargo:warning=set the LLVM_CONFIG_PATH environment variable to a valid `llvm-config` executable
--- stderr
thread 'main' panicked at 'Unable to find libclang: "couldn\'t find any valid shared libraries matching: [\'libclang.so\', \'libclang-*.so\', \'libclang.so.*\'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', src/libcore/result.rs:1188:5
I don't know if this is documented.
Relevant part:
The same error happens regardless of whether libappindicator is installed or not.
Also, I'd like to say that depending on libappindicator for tray support is likely a bad idea if this library is supposed to work with all DE/WM combinations since libappindicator doesn't work in all of them (I'm assuming here that libappindicator is the only tray backend used by
systray
crate). The only "working" solution is to provide "all" tray backends; here's a fairly comprehensive info on the issue: https://github.com/qTox/qTox/wiki/Tray-icon