Git Product home page Git Product logo

Comments (7)

Pylogmon avatar Pylogmon commented on August 19, 2024 1

我装了个ubuntu测试了一下,确实是wayland的问题,加参数GDK_BACKEND=x11可以正常启动。

from pot-desktop.

Pylogmon avatar Pylogmon commented on August 19, 2024

麻烦贴一下~/.config/cn.pylogmon.pot/config.json文件的内容

from pot-desktop.

ruleeeer avatar ruleeeer commented on August 19, 2024
{"shortcut_translate":"CommandOrControl+D","shortcut_persistent":"CommandOrControl+Shift+D","target_language":"zh-cn","interface": "youdao_free"}

from pot-desktop.

Pylogmon avatar Pylogmon commented on August 19, 2024

tauri 在wayland下似乎还不支持设置快捷键,见 tauri-apps/global-hotkey#28

from pot-desktop.

Pylogmon avatar Pylogmon commented on August 19, 2024

加上 RUST_BACKTRACE=1 运行看看具体的报错呢

from pot-desktop.

ruleeeer avatar ruleeeer commented on August 19, 2024

image

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.

ruleeeer avatar ruleeeer commented on August 19, 2024

谢谢,我添加GDK_BACKEND=x11之后启动成功了

from pot-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.