Skip to content
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

无法正确显示zenity进度条 #23

Closed
paulzhn opened this issue Aug 12, 2022 · 2 comments
Closed

无法正确显示zenity进度条 #23

paulzhn opened this issue Aug 12, 2022 · 2 comments

Comments

@paulzhn
Copy link

paulzhn commented Aug 12, 2022

m2 macbook air,调用 zenity --info --text=\"test\" 可以正确弹出对话框,但trzsz不行。

版本:

  • zenity v0.9.0 darwin/arm64
  • tsz (trzsz) py 1.1.0
  • iterm2 Build 3.4.16
@lonnywong
Copy link
Member

zenity 安装在哪个目录?代码中用的是绝对路径,要建个软链接。

sudo ln -sv $(which zenity) /usr/local/bin/zenity

文档中有写的:https://trzsz.github.io/cn/iterm2

@lonnywong
Copy link
Member

如果文件很小,也可能来不及弹出进度条就结束了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants