Adjusting the Firefox Title Bar Height
In recent years, I've primarily used Chrome, occasionally using Firefox. A few days ago, after switching to a LabWC environment, I discovered that Chrome couldn't remember my passwords (keepassxc worked fine for me). Furthermore, Wayland isn't natively supported, and the fcitx5 input method in Chrome also skews. I had no choice but to switch to Firefox. Observant users will notice that the Firefox title bar is much taller than Chrome's, as is the address bar. If you're using a small-screen device like a laptop, this is simply unbearable.
I did some searching, and there are solutions. The simplest and most acceptable solution comes from the official documentation.
Simply enable compact mode. Other solutions are too customized (directly changing the height isn't user-friendly).
-
1. Enter the URL in about:config and press Enter.
Click Accept the Risk and Continue
to access the about:config page, as shown below.
-
2. Search for
the browser.compactmode.show
and set it to true.
This turns on compact mode, as shown below:
After selecting it, close the about:config page. The settings will be saved automatically.
-
3. Select compact mode.
The previous step only enabled this option; you still need to select it for it to take effect. It's like if there's scrambled eggs with tomatoes on the menu, you have to order it before the waiter knows.
Click the Density button in the lower-left corner of the page and select the settings as shown below:
That's it! With compact mode enabled, the title bar and address bar will be shorter, and pop-up menus like Favorites will also change accordingly. Simply put, it's more compact. ^_^
Finally, I have to admit that even after these adjustments, I still don't think Chrome's default settings are as good. After all, Chrome is backed by Google, and they likely have more designers and more resources at their disposal than Firefox. However, on Linux, Firefox natively supports Wayland and the fcitx5 input method and works fine, but Chrome doesn't.
So each has its pros and cons, and I would choose firefox at this moment.
Copyright statement:
- All content that is not sourced is original., please do not reprint without authorization (because the typesetting is often disordered after reprinting, the content is uncontrollable, and cannot be continuously updated, etc.);
- For non-profit purposes, to deduce any content of this blog, please give the relevant webpage address of this site in the form of 'source of original text' or 'reference link' (for the convenience of readers).
See Also:
- Gnome Taskbar Height Change
- Wofi Tutorial
- Recommended File Sharing Software: Dufs
- Summary of How to Install Chrome in Ubuntu
- Snipe it Asset Import
- Application launcher yofi configuration
- Snipe it asset management system installation and use
- Speeding Up Ubuntu Boot
- Manually Upgrading LibreOffice in Ubuntu
- Batch conversion of Simplified Chinese articles to Traditional Chinese