Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 3 replies
  • 2 have this problem
  • 16 views
  • Last reply by 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.

Chosen solution

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 }
Read this answer in context 👍 1

All Replies (3)

more options

Modified by Shadow110

more options

Chosen Solution

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.