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

! Lightness !

! Speed !

! Stable !

! Useful !

 

For Besgnulinux, these four features come before.

 

Efficient operation of computers.

 

To meet the basic needs of the user.

 

A continuous, stable system.

 

Lightness does not mean limiting basic tools.

 

Instead, the vehicles that are light, fast and fixed are integrated into the system.

Categories

Blog Archive

Last Comments

Copyright © BesGnuLinux | Powered byBloggerDesign by wpmagg | Blogger Theme by NewBloggerThemes