Alle Fenstertitel mit dem gconf-Editor zentrieren?

2459
Kredns

Ich möchte meinen Windows-Titel so zentrieren:

Human

Anstatt sie nach rechts ausgerichtet zu haben:

Right

Gibt es eine Einstellung, in der ich ändern kann, gconf-editoroder wird dies von jedem Thema gesteuert?

2
Ich bin nicht positiv, aber ich denke, das ist Teil des Themas (GTK usw.) ... quack quixote vor 14 Jahren 0
@quack: Genau das habe ich mir auch gedacht, aber ich dachte mir, jemand, der Themen erstellt, könnte eine Einstellung kennen, die ich in der Motivdatei "gtkrc" ändern könnte. Kredns vor 14 Jahren 0

1 Antwort auf die Frage

3
John T

Dies ist in der Tat Teil des Themas. Es ist nicht über den gconf-Editor konfigurierbar. Hier ein Beispiel zum Bearbeiten der XML-Datei eines Themas.

Vor:

<draw_ops name="title-text-focused"> <title color="shade/#000000/0.8" x="0" y="(((height - title_height) / 2)+1)"/> <title color="shade/#000000/0.8" x="1" y="(((height - title_height) / 2)+1)"/> <title color="shade/#000000/0.8" x="2" y="(((height - title_height) / 2)+1)"/>  <title color="#f0f0f0" x="0" y="(height - title_height) / 2"/>  </draw_ops>  <draw_ops name="title-text-unfocused"> <title color="shade/#000000/0.8" x="0" y="(((height - title_height) / 2)+1)"/> <title color="shade/#000000/0.8" x="1" y="(((height - title_height) / 2)+1)"/> <title color="shade/#000000/0.8" x="2" y="(((height - title_height) / 2)+1)"/>  <title color="#808080" x="0" y="(height - title_height) / 2"/>  </draw_ops> 

Nach dem:

<draw_ops name="title-text-focused"> <title color="shade/#000000/0.8" x="((3 `max` (width-title_width)) / 2)" y="(((height - title_height) / 2)+1)"/> <title color="shade/#000000/0.8" x="((3 `max` (width-title_width)) / 2)" y="(((height - title_height) / 2)+1)"/> <title color="shade/#000000/0.8" x="((3 `max` (width-title_width)) / 2)" y="(((height - title_height) / 2)+1)"/>  <title color="#f0f0f0" x="((3 `max` (width-title_width)) / 2)" y="(height - title_height) / 2"/>  </draw_ops>  <draw_ops name="title-text-unfocused"> <title color="shade/#000000/0.8" x="((3 `max` (width-title_width)) / 2)" y="(((height - title_height) / 2)+1)"/> <title color="shade/#000000/0.8" x="((3 `max` (width-title_width)) / 2)" y="(((height - title_height) / 2)+1)"/> <title color="shade/#000000/0.8" x="((3 `max` (width-title_width)) / 2)" y="(((height - title_height) / 2)+1)"/>  <title color="#808080" x="((3 `max` (width-title_width)) / 2)" y="(height - title_height) / 2"/>  </draw_ops>