是否可以从应用程序调用 Compiz-Fusion 插件(ADD Helper)?
我正在规划一个应用程序,该应用程序将利用在 Linux 上运行的 Compiz-Fusion 的“ADD Helper”插件。 由于我正处于规划阶段,我基本上想知道在应用程序的调用中使用该插件是否可行。
理论上,应用程序会显示一个对话框,并遮蔽屏幕的其余部分(调用 ADD Helper 插件时实现的效果)。
有没有办法从应用程序内执行 ADD Helper 插件?
I'm in the process of planning an application that would make use of the "ADD Helper" plugin of Compiz-Fusion running on Linux. Since I'm just in the planning stages, I basically want to know if it is feasible to use the plugin in a call from an application.
The application would theoretically display a dialog box, and black out the rest of the screen (what is achieved when invoking the ADD Helper plugin).
Is there a way to execute the ADD Helper plugin from within an application?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看“ADD Helper”插件,它似乎只会使其他窗口变暗,而不是整个屏幕。
XScreenSaver 在屏幕保护程序启动之前使整个屏幕变暗。 为什么不看看它的源代码,看看它是如何完成的呢? 我认为 Gnome 关闭对话框也使整个屏幕变暗,但在 Ubuntu Intrepid 上似乎不再这样做了。
这有点离题,但为什么要把屏幕变暗呢? 作为用户,如果您的应用程序使我的屏幕变暗,我会非常恼火。 我可能正在监视其他窗口,如果您的应用程序阻止了这种情况,我不会太高兴。
Looking at the "ADD Helper" plugin, it appears it only darkens other windows, not the whole screen.
XScreenSaver darkens the entire screen before the screensaver starts. Why not look at its source to see how its done? I think the Gnome shutdown dialog darkened the whole screen, too, but it doesn't seem to do that anymore on Ubuntu Intrepid.
This is a little aside from the point, but why darken the screen anyway? As a user, I'd be very annoyed if your app darkened my screen. I may be monitoring other windows and I wouldn't be too please if your app prevented that.