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

请问为什么字符不透明啊? #39

Closed
hhcwyx opened this issue Nov 3, 2023 · 3 comments
Closed

请问为什么字符不透明啊? #39

hhcwyx opened this issue Nov 3, 2023 · 3 comments

Comments

@hhcwyx
Copy link

hhcwyx commented Nov 3, 2023

老师你好:
比如在浏览网页的时候,打开一个浮动的终端,为什么网页上的文字不能透明显示出来呢?

@yaocccc
Copy link
Owner

yaocccc commented Nov 3, 2023

老师你好: 比如在浏览网页的时候,打开一个浮动的终端,为什么网页上的文字不能透明显示出来呢?

检查一下picom配置情况

@hhcwyx
Copy link
Author

hhcwyx commented Nov 5, 2023

在autostart.sh 文件中的daemons函数中有picom的设置:
picom --experimental-backends --config ~/scripts/config/picom.conf >>/dev/null 2>&1 & # 开启picom
但是没有透明效果,我在终端运行了一下这条命令,输出:
picom:未识别的选项 ‘--experimental-backends’
picom (vgit-b700a)
Standalone X11 compositor
Please report bugs to https://github.com/yshui/picom

Usage: picom [OPTION]...
然后我将上面这条命令改为下面这个,
picom --config ~/scripts/config/picom.conf >>/dev/null 2>&1 & # 开启picom
透明效果出来了,但是文字透不上来。
我用的是manjaro系统,终端是kitty,alacritty也试过了,都不行。

如果要修改picom的配置文件,应该是scripts/config/picom.conf这个文件吧,但是这个文件应该修改哪里呢?没有看出门道来。请老师再帮帮我。谢谢!!

@hhcwyx
Copy link
Author

hhcwyx commented Nov 5, 2023

这个命令:picom --experimental-backends --config ~/scripts/config/picom.conf >>/dev/null 2>&1 & # 开启picom
改为:picom --legacy-backends --config ~/scripts/config/picom.conf >>/dev/null 2>&1 & # 开启picom
就正常了。谢谢老师!

@hhcwyx hhcwyx closed this as completed Nov 5, 2023
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