Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

move the x from the right to the left on ubuntu 16.04

  • 3 回覆
  • 2 有這個問題
  • 3 次檢視
  • 最近回覆由 James

more options

on fire fox the tab button on the top has an x on the right that closes the screen for that window i want to move it to the left side.

on fire fox the tab button on the top has an x on the right that closes the screen for that window i want to move it to the left side.

被選擇的解決方法

The position of the three window control button is usually set in the OS settings.

You can possibly move the titlebar-buttonbox-container to the left end of the Tab bar but you need to remove the margin-right that reserves space for this element and re-add the margin-left to provide space for this container.

Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#titlebar-buttonbox-container { -moz-box-ordinal-group: 0 !important }
.titlebar-placeholder { display:none !important; }
#tabbrowser-tabs { margin-left: 114px !important }
從原來的回覆中察看解決方案 👍 1

所有回覆 (3)

more options

由 Shadow110 於 修改

more options

選擇的解決方法

The position of the three window control button is usually set in the OS settings.

You can possibly move the titlebar-buttonbox-container to the left end of the Tab bar but you need to remove the margin-right that reserves space for this element and re-add the margin-left to provide space for this container.

Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#titlebar-buttonbox-container { -moz-box-ordinal-group: 0 !important }
.titlebar-placeholder { display:none !important; }
#tabbrowser-tabs { margin-left: 114px !important }
more options

charlesklein said

on fire fox the tab button on the top has an x on the right that closes the screen for that window i want to move it to the left side.

If you mean the X on windows Title bars and not on Tabs in Firefox then you may be able to change it in the Window Manager settings of whatever manager you are using.

In XFCE it is easy as you can go into Window Manager settings and move the buttons around on Title bar to be the way you like.