Some 3rd party apps uses windows-style window controls

Bug #1594111 reported by Maxim Taranov
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
elementary OS
Invalid
Undecided
Unassigned

Bug Description

Chrome or Chromium for example, the default metacity setting is `":minimize,maximize,close". I propose to change this to "close:maximize".

For myself, I do it with the following command:
gconftool-2 --set /apps/metacity/general/button_layout --type string "close:maximize"

tags: added: 3th app party
tags: added: third-party-packages
removed: 3th app party
Revision history for this message
Danielle Foré (danrabbit) wrote :

I'm going to mark this as invalid. We don't ship gconf on the ISO or metacity. Chrome needs to be updated to get the window decoration layout from mutter.

Changed in elementaryos:
status: New → Invalid
Revision history for this message
wolf (w+lf) wrote :

Chromium is tracking this issue as https://bugs.chromium.org/p/chromium/issues/detail?id=21438

Might be helpful if someone experienced in this area could weigh in, as it seems to have stalled

Revision history for this message
Jan Koci (cicindel) wrote :

Ok so what would the correct string for mutter be? The solution above does nothing for me.

Revision history for this message
Jan Koci (cicindel) wrote :

Ok I figured I need to use dconf/gsettings to set this but I was searching keys for mutter and found nothing that would set button-layout. I found it in gala though, but that's for normal apps that behave well.

Some code:
$ gsettings list-schemas | grep -i mutter
org.gnome.mutter.keybindings
org.gnome.mutter.wayland.keybindings
org.gnome.mutter
$ gsettings list-keys org.gnome.mutter
attach-modal-dialogs
auto-maximize
overlay-key
dynamic-workspaces
edge-tiling
draggable-border-width
workspaces-only-on-primary
focus-change-on-pointer-rest
center-new-windows
no-tab-popup
$ gsettings list-keys org.gnome.mutter.keybindings
toggle-tiled-right
toggle-tiled-left
tab-popup-cancel
tab-popup-select

But notice in gala:
$ gsettings list-keys org.pantheon.desktop.gala.appearance
button-layout <=
dim-parents
workspace-switcher-background
alt-tab-window-opacity
attach-modal-dialogs
$ gsettings get org.pantheon.desktop.gala.appearance button-layout
'close:maximize'

So even if they fixed Chromium to use mutter, I see no setting for mutter they can listen to (I'm no expert though, I just googled this for 10 minutes).

Revision history for this message
wolf (w+lf) wrote :

The solution above is what works on Loki: http://elementaryos.stackexchange.com/q/8174/5565

Revision history for this message
Jan Koci (cicindel) wrote :

As I already wrote in a comment under that answer, it doesn't solve the problem for me.

Revision history for this message
wolf (w+lf) wrote :

Solve what problem? It works for most people so we would need more details on your setup. Are you on Loki? Using Chrome stable? Are you using any non-standard components in the Pantheon desktop environment?

Revision history for this message
Jan Koci (cicindel) wrote :

The problem with window buttons aligned to the right even after entering the above command in the terminal, when "use system title bar" is switched off. I'm using plain Pantheon on Loki 64bit and Chromium 53.0.2785.143 (from the repos). I'm not aware of any "non-standard components" - what do you mean by that?

Revision history for this message
Jan Koci (cicindel) wrote :

It started working properly with Chromium 55. Problem solved?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.