Remove Firefox title bar for Openbox

 


Firefox's WM environments have two title bars by default. It takes one from the system theme and the other from the WM environment itself.

The two extra title bars are neither necessary nor nice.

In this tutorial, I will try to explain how to remove Firefox title bar in Openbox session.
It is possible to remove the Firefox title bar in the Openbox environment.
If you're using Openbox and are bothered by Firefox's two title bars, let's get started with the pretty easy process.

First, let's write the following command in the /etc/environment file.
Open terminal and paste the following command.

sudo -i
echo "MOZ_GTK_TITLEBAR_DECORATION=client" | tee >> /etc/environment


Open the ~/.config/openbox/rc.xml rc.xml file in this path with a text editor.
At the bottom of the file </openbox_config> is above this line.
    <application class="Firefox">
      <decor>no</decor>
    </application>

 

It will be like below.
    <application class="Firefox">
      <decor>no</decor>
    </application>
</openbox_config>


Right click next to the address bar as in the picture below and click the "Customize Toolbar" button.


On the page that opens, leave the "Title Bar" tick blank as in the picture below.


After this last action, restart the computer.
When you open Firefox, the title bar will be removed as below.
You can now use Firefox with the title bar removed in the Openbox environment.



No comments:

Post a Comment

Besgnulinux live login password

Normally, a password is not required, but it is needed in virtual machines or when switching from a session to the login screen.

Name: besgnulinux

Password: live

Last Comments

Categories

Blog Archive

BesGnuLinux

BesGnuLinux

Announcement

The latest versions will be shared on the Sourceforge site where we share the Besgnulinux distribution. Older versions have been removed due to lack of storage space.