-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
Error when running on linux #91
Comments
Hey there @FireMasterK , thanks for the issue. Could try build with: cargo build --release --no-default-features --features=wayland
WINIT_UNIX_BACKEND=wayland target/release/rio |
Just tried this, but the error still persists, unfortunately. |
hmm, i believe is the same problem as here:
The error message is from xkbcommon, but the crash is in directx mod from wpgu. Comming directly from wpgu Could be that one of the environment variables |
can you try with |
Looks like the first The second error still occurs like usual.
|
Great, could try same command with |
Thanks! We now get a new error:
|
Maybe you could try with the DISPLAY env var set to :0 or :1? like |
In regards to the first issue. diff --git a/rio/src/main.rs b/rio/src/main.rs
index 0f4dac1..5c2c1e8 100644
--- a/rio/src/main.rs
+++ b/rio/src/main.rs
@@ -34,6 +34,7 @@ pub fn setup_environment_variables(config: &config::Config) {
#[cfg(target_os = "macos")]
platform::macos::set_locale_environment();
+ #[cfg(target_os = "macos")]
std::env::set_var("LC_CTYPE", "UTF-8");
#[cfg(target_os = "macos")] Glad you found the AUR package. :) I use a similar setup with Gnome on Wayland (but with Nvidia). Can you share what your $env |grep -i -e display -e xdg_session_type
XDG_SESSION_TYPE=wayland
GNOME_SETUP_DISPLAY=:1
WAYLAND_DISPLAY=wayland-0
DISPLAY=:0 |
oh yes I forgot to remove that in main.rs file. Don't need to add |
I seem to have the same environment variables too! :p |
Did you try with a different display @FireMasterK ? |
Hi, apologies I forgot about this. I pulled the recent changes and ran it with this. A window does appear, and the terminal works! It also appears to work without setting the It doesn't seem to respect my system theme, and the cursor is a bit buggy, but it does work! |
That's great! @FireMasterK latest main has changes in the way theme are configured (compared to old versions) I believe might be that, check in https://raphamorim.io/rio/docs/ Thanks for the update 👌 |
I just cloned the repository, and ran
cargo build --release
and./target/release/rio
.Here's the error I got:
I'm using Wayland on Gnome 44.1 using a Radeon GPU.
The same error happens on the aur package.
I'm quite excited to try this project!
The text was updated successfully, but these errors were encountered: