Comments (8)
Are you using a wayland compositor (wlroots-based to be precised)? What's the output of ldconfig -p | grep wayland
?
from yofi.
I'm using SwayWM. There's no ldconfig
cache on NixOS (NixOS/nixpkgs#35387) so that command doesn't work:
$ ldconfig -p | grep wayland
ldconfig: Can't open cache file /nix/store/q29bwjibv9gi9n86203s38n0577w09sx-glibc-2.33-117/etc/ld.so.cache
: No such file or directory
from yofi.
According to this the problem is with connection to the $XDG_RUNTIME_DIR/$WAYLAND_DISPLAY
. Maybe some permission missing? You may find the issue with strace -e openat `which yofi` 2>&1 | grep $XDG_RUNTIME_DIR
.
from yofi.
Ah, not really. The problem is actually that the app cannot find libwayland-client.so
library.
from yofi.
I consider this one as unrelated to yofi directly so closing this. Feel free to add some details and reopen
from yofi.
Im having the same issue. Void Linux - Sway WM.
The issue is with line 159-161 in Master:
let (env, display, queue) = sctk::new_default_environment!(Env, desktop, fields = [layer_shell: SimpleGlobal::new()]) .expect("Initial roundtrip failed!");
It seems the issue is only in 0.16 of sctk. I tried an example of the master branch with cargo run --example image_viewer and it worked. Seems to be a bit of a rewrite to go from 0.16 to master though, so I don't know if you'll want to do that yet.
Would be happy to use yofi!
from yofi.
That seems strange for me, could you also try to launch yofi with dlopen?:
diff --git a/Cargo.toml b/Cargo.toml
index 7227979..b84d31d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -17,7 +17,7 @@ fontconfig = { version = "0.5.0", features = ["dlopen"] }
anyhow = "1.0.51"
wayland-protocols = { version = "0.29.5", default-features = false, features = ["unstable_protocols", "client"] }
-sctk = { version = "0.16.0", package = "smithay-client-toolkit", features = ["calloop"] }
+sctk = { version = "0.16.0", package = "smithay-client-toolkit", features = ["calloop", "dlopen"] }
raqote = { version = "0.8.1", default-features = false }
xdg = "2.4.0"
fep = { version = "1.3.0", package = "freedesktop_entry_parser" }
SCTK's master is being significantly rewritten indeed. And I could upgrade only once it released.
from yofi.
Sorry that doesn't seem to change anything. I have the same error with kickoff, so i think its just somehow SCTK
from yofi.
Related Issues (20)
- Suggest adding -P (--password) to dialog mode for obscuring password/secret entries
- Suggest adding --prompt (`-p`) to dialog option for setting a menu title HOT 1
- Unable to build from source HOT 1
- Move selection back to best match if initial selection position is different HOT 3
- CLI options HOT 2
- ENOENT: Panicking when exec executables HOT 5
- Chinese rendering is too slow HOT 3
- Fonts registered by fontconfig fail to load resulting in panick HOT 4
- Long lines with marquee-like animation
- Support right-to-left languages
- gvim icon failed to load HOT 1
- Config for tuning fuzzy match
- Look into ~/.local/share/icons/ for icons HOT 1
- Crash: failed to initialize fontconfig HOT 6
- Add support for adaptive height when using layer shell mode HOT 3
- Add option to draw border around yofi window HOT 3
- feature request: (optionally) start with an empty result list HOT 1
- uses outdated rust compiler version HOT 1
- Search for .desktop program files for nix installed programs. HOT 1
- [Package Request] Void Linux HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yofi.