ที่นี่ฉันจะเพิ่มระยะการปรับขนาดบนหน้าต่างได้อย่างไร มันบอกว่าจะแก้ไขใน/usr/share/themes/Ambiance/metacity-1/metacity-theme-1.xml
คุณสมบัติ
<distance name="left_width" value="1"/>
<distance name="right_width" value="1"/>
<distance name="bottom_height" value="1"/>
ดีมีสามเฟรมด้วยคุณสมบัติเหล่านั้นและค่าเริ่มต้นคือ:
<frame_geometry name="frame_geometry_normal" title_scale="medium" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false">
<distance name="left_width" value="1"/>
<distance name="right_width" value="1"/>
<distance name="bottom_height" value="1"/>
</frame_geometry>
<frame_geometry name="geometry_maximized" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
<distance name="left_width" value="0"/>
<distance name="right_width" value="0"/>
<distance name="bottom_height" value="0"/>
</frame_geometry>
<frame_geometry name="border" has_title="false">
<distance name="left_width" value="3"/>
<distance name="right_width" value="3"/>
<distance name="bottom_height" value="3"/>
</frame_geometry>
ฉันได้เปลี่ยนค่าทั้งสามไปเป็นค่าที่ไร้สาระแล้วไม่มีผลต่อการมองเห็น:
<frame_geometry name="frame_geometry_normal" title_scale="medium" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false">
<distance name="left_width" value="100"/>
<distance name="right_width" value="100"/>
<distance name="bottom_height" value="100"/>
</frame_geometry>
<frame_geometry name="geometry_maximized" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
<distance name="left_width" value="100"/>
<distance name="right_width" value="100"/>
<distance name="bottom_height" value="100"/>
</frame_geometry>
<frame_geometry name="border" has_title="false">
<distance name="left_width" value="200"/>
<distance name="right_width" value="200"/>
<distance name="bottom_height" value="200"/>
</frame_geometry>
และรีบูตระหว่างการเปลี่ยนแปลง
ฉันพลาดอะไรไป (และวิธีการทำให้เกิดการเปลี่ยนแปลงโดยไม่ต้องรีบูตเครื่อง?)
@muktupavels
—
WurmD
$ wmctrl -m
ชื่อ: Compiz นี่คือสิ่งที่คุณถามใช่ไหม นอกจากนี้/usr/share/themes/Ambiance$ ls
gtk-2.0 gtk-3.0 index.theme metacity-1 unity
หากคุณใช้เซสชันเริ่มต้นของ Ubuntu - ความสามัคคีก็ไม่ได้ใช้ชุดรูปแบบ Metacity นอกจากนี้โดยค่าเริ่มต้นการปรับขนาดขอบมีขนาดใหญ่ 10px ทำไมคุณต้องการเปลี่ยนสิ่งนั้น หรือคุณอาจมีปัญหากับหน้าต่างน้อย
—
muktupavels
@muktupavels bc ฉันมีความพิการและ 10pixels เหล่านั้นยังคงรู้สึกยากที่จะคลิก คุณแนะนำอะไร? มีวิธีใดบ้างที่จะเปลี่ยนธีมเริ่มต้น หรือ "เพียงแค่เลือกความกล้าที่จะใช้"?
—
WurmD
metacity-theme-2.xml
หรือmetacity-theme-3.xml
ไฟล์ ไฟล์ใดที่ใช้จะขึ้นอยู่กับตัวจัดการหน้าต่าง