-
-
Notifications
You must be signed in to change notification settings - Fork 438
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
[BUG] 安装之后无法启动,注册快捷键异常 #12
Labels
Comments
麻烦贴一下~/.config/cn.pylogmon.pot/config.json文件的内容 |
{"shortcut_translate":"CommandOrControl+D","shortcut_persistent":"CommandOrControl+Shift+D","target_language":"zh-cn","interface": "youdao_free"} |
tauri 在wayland下似乎还不支持设置快捷键,见 tauri-apps/global-hotkey#28 |
加上 RUST_BACKTRACE=1 运行看看具体的报错呢 |
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: GlobalShortcut(InvalidAccelerator("Unable to register global shortcut"))', src/shortcut.rs:158:18
stack backtrace:
0: 0x55d09cc9032a - <unknown>
1: 0x55d09ccb57ae - <unknown>
2: 0x55d09cc89d05 - <unknown>
3: 0x55d09cc900f5 - <unknown>
4: 0x55d09cc918df - <unknown>
5: 0x55d09cc9161b - <unknown>
6: 0x55d09cc91fec - <unknown>
7: 0x55d09cc91d89 - <unknown>
8: 0x55d09cc907dc - <unknown>
9: 0x55d09cc91a92 - <unknown>
10: 0x55d09c706583 - <unknown>
11: 0x55d09c706a13 - <unknown>
12: 0x55d09c842e78 - <unknown>
13: 0x55d09c765d65 - <unknown>
14: 0x55d09c771be2 - <unknown>
15: 0x55d09c8b720b - <unknown>
16: 0x55d09c78e063 - <unknown>
17: 0x55d09c8117b9 - <unknown>
18: 0x55d09cc84e1c - <unknown>
19: 0x55d09c8b8275 - <unknown>
20: 0x7f24a7f54790 - <unknown>
21: 0x7f24a7f5484a - __libc_start_main
22: 0x55d09c706d45 - <unknown>
23: 0x0 - <unknown> 感觉有用的信息好像不是那么多 |
我装了个ubuntu测试了一下,确实是wayland的问题,加参数 |
谢谢,我添加 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
简单描述遇到的问题,必要时附上截图
复现步骤
安装完毕直接启动即可,此时会抛出
环境
补充信息
The text was updated successfully, but these errors were encountered: