-
Notifications
You must be signed in to change notification settings - Fork 15
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
Fail to build on Ubuntu 22.04 #44
Comments
yes, try to upgrade both rustc and cargo, install them with the rustup utility for the latest versions. Technically speaking the latest version isn't required, but a recent enough one is, which ubuntu doesn't provide unfortunately. After installing rust and cargo from rustup, this is what
|
I highly recommend an upgrade, since a lot of what we're using is relatively new to Rust. We never use unstable features of the current version, but if Ubuntu is shipping older cargo/rustc versions, then I'd recommend using rustup instead. |
I've upgraded Rust and fix the building issues. Thank you! I get problem with following command:
And I fail to run odilia binary:
It seems that a default config file is missing. |
Ok, got it. We'll try to add this to the install process. |
yes, in order to fix it, put this in ~/.config/odilia/config.toml [speech] after that issue is fixed, it should run, as best as it can anyway |
Thank you! Odilia successfully runs. However, it keeps saying the content of terminal that it launches. "Control" key cannot stop it. Switching to another terminal tab or Firefox doesn't work either. Sample contents:
|
Ok, yes you're right. We need to get the control character to stop speech ASAP. The reason I haven't noticed this bug is because my terminal emulator ( |
Please let me know if the latest version fixes this issue? Thanks. |
The fix seems not work for me. After In my case, not only control key should stop the current speech queue, any key press in the terminal or switching to another application should clear the speech queue and read new content. However, everything seems read in a non-breakable-queue. Would it be caused by that I may be using a different speech-dispatcher to yours? |
That shouldn't be a problem. You're right, Odilia will not stop talking on an application change or when you type. I'll manage these bugs separately and mention them here. |
You will need to start the keyboard daemon, as well as Odilia, if you want the keys to work. The fact that you need a process executing as root to handle the key events is already a bug we have on Github. The long-term solution requires creating a new Wayland protocol, which none of us have done before, so it's still a ways out. For now, two processes will need to be running for Odilia to function normally. See: #8 |
@hgneng , with some major updates and a new script to start Odilia (in We have removed our dependence on Now you just need Speech Dispatcher and a voice!! Let me know if the current main works for you? Reminder: you need to launch both the key daemon and odilia through |
Thank you! There are still issues:
|
Ah yes, we should add instructions for installing the config files. Making a new issue for that. |
I get following error when build on Ubuntu 22.04:
After adding
cargo-features = ["strip"]
to the top of Cargo.toml, I get following error:Will upgrading rust/cargo fix the build errors? What should I do?
The text was updated successfully, but these errors were encountered: