X
Tap here to go to the mobile version of the site.

Support Forum

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

Posted

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

Additional System Details

Application

  • User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

More Information

Pkshadow 1072 solutions 14836 answers
Hi, please learn userChrome for about 20mins or more : *https://www.howtogeek.com/334716/how-to-customize-firefoxs-user-interface-with-userchrome.css/ *https://www.userchrome.org/what-is-userchrome-css.html *https://www.userchrome.org/how-create-userchrome-css.html *http://kb.mozillazine.org/UserChrome.css Find code and hope it still works, delete and start over : *https://www.reddit.com/r/FirefoxCSS/ Learn to Search : *https://support.mozilla.org/en-US/questions/1157451 Maybe learn this also : *https://addons.mozilla.org/en-US/firefox/addon/styl-us/ Please let us know if this solved your issue or if need further assistance.

Modified by Pkshadow

cor-el
  • Top 10 Contributor
  • Moderator
16849 solutions 152190 answers

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 }
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 <b>userChrome.css</b> file below the default @namespace line. *http://kb.mozillazine.org/userChrome.css <hr> <pre><nowiki>@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 } </nowiki></pre>
James
  • Top 25 Contributor
  • Moderator
1556 solutions 10876 answers

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.

''charlesklein [[#question-1225643|said]]'' <blockquote> 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. </blockquote> 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.