删除Gnome中的标题栏(Remove titlebar in Gnome)

编程入门 行业动态 更新时间:2024-10-20 15:54:32
删除Gnome中的标题栏(Remove titlebar in Gnome)

我在Gnome有一个窗口,我想删除它的标题栏。 在FVWM2中这很简单:我只是将窗口样式设置为包含NoTitle 。 在侏儒似乎没有类似的选择。

我最近学会了使用wmctrl来修改符合EWMH的窗口选项,但它也没有办法去除标题栏(我可以看到)。

但是,必须有一些方法来做到这一点,因为像Audacious这样的应用程序可以告诉Gnome不要显示窗口装饰。

谷歌搜索,我发现了一些页面,讨论用wmctrl删除标题栏的问题,但在每种情况下,解决方案只是fullscreen显示窗口,使标题栏完全离开屏幕。 (这不是我要找的!)

谢谢你的帮助。

I have a window in Gnome whose titlebar I would like to remove. This was easy in FVWM2: I just set the window style to include NoTitle. In Gnome there does not appear to be a similar option.

I recently learned to use wmctrl to modify EWMH-compliant window options, but it also has no method to remove the titlebar (that I can see).

There must be some way to do this, however, because applications like Audacious can tell Gnome not to display window decorations.

Googling, I found some pages that discuss the issue of removing the titlebar with wmctrl, but in each case the solution was simply to fullscreen the window, such that the titlebar moved off the screen altogether. (That's not what I'm looking for!)

Thanks for any help.

最满意答案

我想我试着Google hide 'window decorations'而不是titlebar ,我相信我找到了更多选择。

具体来说, CompizConfig Settings Manager的Window Decoration部分允许您指定显示装饰的规则,其中包括标题栏。

我仍然认为没有办法使用普通香草侏儒进行这种修改(而且我还没有深入研究wmctrl ),但由于我首先使用Gnome的唯一原因是Compiz易于集成,所以此解决方案为我工作。

It occurred to me to try Googling for hide 'window decorations' instead of titlebar, and I believe I've found some more options.

Specifically, the Window Decoration section of the CompizConfig Settings Manager allows one to specify rules for displaying decorations, which includes the titlebar.

I still think there's no way to perform this modification using plain vanilla Gnome (and I haven't looked into wmctrl any further), but since the only reason I'm using Gnome in the first place is the easy integration of Compiz, this solution works for me.

更多推荐

本文发布于:2023-04-27 23:24:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1329696.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:标题栏   Gnome   titlebar   Remove

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!