[App Sharing] 分享一下自己学习时写的玩具软件,(捕捉全局x11普通窗口透明)
Tofloor
poster avatar
depend
deepin
2021-04-15 00:56
Author

源码地址:

github:https://github.com/dependon/x11opacitytool

gitee:lhttps://gitee.com/liuminghang/x11opacitytool

在deepinv20.2可以安装deb,其他的发行版,里面打包有appimage程序,应该也是可以打开的

里面有根据name找到pid,pid找到wid的代码

遍历全局x11窗户的代码,

星火商店也可以下(linux窗口透明工具)

Reply Favorite View the author
All Replies
depend
deepin
2021-04-15 00:58
#1

Reply View the author
海天鹰
deepin
2021-04-15 01:09
#2

修改窗口透明度?

Reply View the author
depend
deepin
2021-04-15 01:14
#3
海天鹰

修改窗口透明度?

是啊

Reply View the author
depend
deepin
2021-04-15 01:15
#4
海天鹰

修改窗口透明度?

可以指定某个窗口,但是我这里为了简单,直接使用全局了,有一个监听新窗口的信号,来一个设置一个透明度

Reply View the author
depend
deepin
2021-04-15 01:18
#5
海天鹰

修改窗口透明度?

github上有包,可以用来试试,应该是可以使用的

Reply View the author
wtz
deepin
2021-04-15 03:06
#6

感觉楼主对xcb相当了解啊

Reply View the author
depend
deepin
2021-04-15 03:26
#7
wtz

感觉楼主对xcb相当了解啊

停留在学习阶段,囧

Reply View the author
a2035274
deepin
2022-06-04 20:06
#8

大佬历害 如果想让这个软件生效,必需得开启deepin的窗口特效

如果想让一个软件内的指定小窗口透明需要怎么才能实现?

https://bbs.deepin.org/zh/post/238301

wine剪映的时候监视器窗口不透明如果用咱们这个软件应该怎样修改?

Reply View the author
depend
deepin
2022-06-06 17:33
#9
a2035274

大佬历害 如果想让这个软件生效,必需得开启deepin的窗口特效

如果想让一个软件内的指定小窗口透明需要怎么才能实现?

https://bbs.deepin.org/zh/post/238301

wine剪映的时候监视器窗口不透明如果用咱们这个软件应该怎样修改?

软件内,如果有独立窗口才可以,没有独立窗口,那么他默认为一个整体,是不行的,关闭特效的时候是2D渲染,不支持绘制透明,就不会生效的,哈哈

Reply View the author