The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

Gtk3 application's button layout

asked 2015-03-07 15:17:14 +0000

Classic gravatar image

How can I disable window control buttons (minimize, maximize, close) inside gtk3-applications?

edit retag flag offensive close merge delete

Comments

Is this an i3 related question? There are no window control buttons in i3.

i3convert gravatar imagei3convert ( 2015-03-07 16:42:57 +0000 )edit

Yes, its about how to remove them in i3 (they are part of gtk3 menu). I think its about gtk3 config, but cant figure what to do. (In gnome i can edit this buttons layout via dconf-editor). Sorry for poor english.

Classic gravatar imageClassic ( 2015-03-07 17:26:16 +0000 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-05-06 14:12:51 +0000

beanaroo gravatar image

updated 2015-05-07 04:03:52 +0000

1. Create ~/.config/gtk-3.0/settings.ini if it does not exist and add the following line, modify it as you see fit:

gtk-decoration-layout = appmenu:close

2. Make sure the first line of the file is:

[Settings]
edit flag offensive delete link more

Question Tools

Stats

Asked: 2015-03-07 15:17:14 +0000

Seen: 895 times

Last updated: May 07