是否可以从应用程序调用 Compiz-Fusion 插件(ADD Helper)?

发布于 2024-07-08 08:46:48 字数 212 浏览 3 评论 0原文

我正在规划一个应用程序,该应用程序将利用在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

落叶缤纷 2024-07-15 08:46:49

查看“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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文