Comments (7)
我装了个ubuntu测试了一下,确实是wayland的问题,加参数GDK_BACKEND=x11
可以正常启动。
from pot-desktop.
麻烦贴一下~/.config/cn.pylogmon.pot/config.json文件的内容
from pot-desktop.
{"shortcut_translate":"CommandOrControl+D","shortcut_persistent":"CommandOrControl+Shift+D","target_language":"zh-cn","interface": "youdao_free"}
from pot-desktop.
tauri 在wayland下似乎还不支持设置快捷键,见 tauri-apps/global-hotkey#28
from pot-desktop.
加上 RUST_BACKTRACE=1 运行看看具体的报错呢
from pot-desktop.
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>
感觉有用的信息好像不是那么多
from pot-desktop.
谢谢,我添加GDK_BACKEND=x11
之后启动成功了
from pot-desktop.
Related Issues (20)
- [Feature]: 希望可以在翻译面板增加快捷开启与关闭翻译服务的功能 HOT 2
- [Feature]: 增加图片翻译,翻译后文字回填功能
- 推荐可以和Quicker配合使用 HOT 3
- [Feature]: 希望能增加点击状态栏图标,打开翻译窗口,保留上一次输入框内容。
- [BUG]: 点击喇叭朗读没声音
- [BUG]: 截图翻译,失去焦点且不能多个显示器操作,权限已给情况下,还在不停申请权限 HOT 1
- 软件有病毒,不要安装!!! HOT 4
- [BUG]: 插件文件夹名与potext的文件名相同 HOT 1
- 请求多增加几个划词翻译和截图翻译的触发方式 HOT 5
- 希望能够自适应窗口大小
- [Feature]: 修改翻译源语言
- [BUG]: 智谱AI的内置模型错误
- [BUG]: 划词翻译闪退 HOT 2
- [BUG]: 无法读取内容/显示上一次读取内容/读取内容不翻译 HOT 2
- [Feature]: 新增插件类型:文本预处理
- [Feature]: 新增插件类型:文本预处理 HOT 1
- 希望翻译时能够像其他工具一样显示音标
- [Feature]: 希望加入缓存机制,记录过去一段时间的翻译内容,避免浪费token
- [BUG]: 截图OCR的时候,框选范围小的情况下,识别不到文字
- [BUG]: 内置免费的DeepL服务无法添加 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 pot-desktop.