Linux 上的无边框窗口
它们是在 Linux 上使特定窗口无边框的标准方法吗?我相信窗口边框是由您的窗口管理器绘制的,所以可能我只需要使用特定的窗口管理器(可以找到,我只需要知道是哪个)...我的希望是所有窗口管理器都可能遵循一些标准,允许我以编程方式执行此操作......
Is their a standard way to make a particular window borderless on Linux? I believe that the window border is drawn by your window manager, so it may be that I just need to use a particular window manager (that would be find, I'd just need to know which one)... My hope is that all the window managers might follow some standard that allows me to do this programatically...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
使用 Xlib 和旧的
_MOTIF_WM_HINTS
:现在 NetWM/EWMH 提示 是首选,但据我所知所有现代窗口管理器仍然支持这一点。
Using Xlib and old
_MOTIF_WM_HINTS
:These days NetWM/EWMH hints are preferred, but as far as I know all modern window managers still support this.
使用 GTK+,您可以调用
gtk_window_set_decorated( )
。With GTK+ you can call
gtk_window_set_decorated()
.在悲伤地告别 Compiz“窗口规则”后,我发现
devilspie
我用它在我的桌面上建立了一个无边框、粘性、任务跳过的终端。
还有一个 devilspie 2,它使用 Lua 而不是 s 表达式,并声称可以更好地维护。
https://live.gnome.org/DevilsPie
http://www.burtonini.com/blog/computers/devilspie
After a sad farewell to Compiz "window rules" I found
devilspie
I use it to have a borderless, sticky, task-skipped terminal on my desktop.
There's also a devilspie 2 which uses Lua instead of s-expressions and claims to be better maintained.
https://live.gnome.org/DevilsPie
http://www.burtonini.com/blog/computers/devilspie