วิธีเพิ่มขนาดขอบสำหรับ windows ในชุดรูปแบบ Ambiance สำหรับ Ubuntu 14.04 LTS


0

ที่นี่ฉันจะเพิ่มระยะการปรับขนาดบนหน้าต่างได้อย่างไร มันบอกว่าจะแก้ไขใน/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>

และรีบูตระหว่างการเปลี่ยนแปลง

ฉันพลาดอะไรไป (และวิธีการทำให้เกิดการเปลี่ยนแปลงโดยไม่ต้องรีบูตเครื่อง?)


โปรดบอกเซสชันและ / หรือโปรแกรมจัดการหน้าต่างที่ใช้ อาจมีmetacity-theme-2.xmlหรือmetacity-theme-3.xmlไฟล์ ไฟล์ใดที่ใช้จะขึ้นอยู่กับตัวจัดการหน้าต่าง
muktupavels

@muktupavels $ wmctrl -m ชื่อ: Compiz นี่คือสิ่งที่คุณถามใช่ไหม นอกจากนี้/usr/share/themes/Ambiance$ ls gtk-2.0 gtk-3.0 index.theme metacity-1 unity
WurmD

หากคุณใช้เซสชันเริ่มต้นของ Ubuntu - ความสามัคคีก็ไม่ได้ใช้ชุดรูปแบบ Metacity นอกจากนี้โดยค่าเริ่มต้นการปรับขนาดขอบมีขนาดใหญ่ 10px ทำไมคุณต้องการเปลี่ยนสิ่งนั้น หรือคุณอาจมีปัญหากับหน้าต่างน้อย
muktupavels

@muktupavels bc ฉันมีความพิการและ 10pixels เหล่านั้นยังคงรู้สึกยากที่จะคลิก คุณแนะนำอะไร? มีวิธีใดบ้างที่จะเปลี่ยนธีมเริ่มต้น หรือ "เพียงแค่เลือกความกล้าที่จะใช้"?
WurmD

คำตอบ:


0

คุณจะต้องแก้ไข/usr/share/themes/Ambiance/gtk-3.0/apps/unity.cssไฟล์ ค้นหา-UnityDecoration-input-extentsบรรทัดและเปลี่ยน10pxเป็นสิ่งที่ใหญ่กว่า

หากคุณมีโฟลเดอร์ gtk-3.20 คุณจะต้องแก้ไข/usr/share/themes/Ambiance/gtk-3.20/apps/unity.cssไฟล์ ในกรณีที่คุณอัพเดตอูบุนตูเวอร์ชันของคุณ

โดยการใช้ไซต์ของเรา หมายความว่าคุณได้อ่านและทำความเข้าใจนโยบายคุกกี้และนโยบายความเป็นส่วนตัวของเราแล้ว
Licensed under cc by-sa 3.0 with attribution required.