Titlebar on Linux (1606 build)
-
t0ken last edited by
I'm no longer able to force the Unity titlebar after an upgrade to 25.0.1606.0. Has the command-line switch changed?
I used to be able to add "--force-native-window-frame=false" to force Unity's title bar even in KDE (my DE of choice) -- this basically remove's KDE's titlebar and add's the minimize, maximize and close buttons in the upper-right corner...looks much cleaner in my opinion.
Has this option been removed?
-
eliotime3000 last edited by
I've suffered the same problem and sometimes the folder wich contains the mentioned version that finally appeared with the respective versions (Windows, OSX, and GNU/Linux).
-
avl Opera last edited by
We no longer include a fake Unity title bar. On Unity itself, Opera now uses Unity's own title bar and menus, so there was no need for a fake one anymore. In Gnome Shell, we remove the title bar on maximization.
KDE unfortunately doesn't support window manager hints for removing the title bar on maximization, but it does offer its own settings that allow you to change when window decorations are enabled and for which applications. This guide shows you how to disable window decorations. It's for Firefox but will work for Opera too (switching out the names, of course):
http://oxygenkde.altervista.org/exceptionsguide.html
Opera's window class name is "Opera developer", you can see this using 'xprop WM_CLASS' (click the Opera window after starting this command to see the information).
-
t0ken last edited by
avi - Thanks for replying.
I'm aware of the KDE settings for this, the issue with using them is the fact that I would still be missing the minimize/maximize/close buttons in the top right I'll check if Opera 25 has the ability to add/customize these buttons, but I haven't seen them since Opera 12.x. Thanks again.
-
wapfy last edited by
avi, I am using build 25.0.1614.5 on Debian Wheezy with GNOME 3 right now. You said "In Gnome Shell, we remove the title bar on maximization.", but after maximizing window the title bar doesn't disappear: https://www.dropbox.com/s/3jg3zy97qm8g9m9/opera_developer.png?dl=0 What am I doing wrong?
-
k0de last edited by
"In Gnome Shell, we remove the title bar on maximization."
avl: I can understand why this is. I do have a small issue with it however: When you assign it to the left or right side of the screen (with windows-key + left/right arrow) in GNOME 3. It will detect it as maximized, disabling the title bar. However, if you have multiple tabs open, there is no space to double click somewhere to have it unmaximized. In maximized mode, there is some space next to the "new tab" + icon to to this.
The only way is to use a keyboard short cut again to return to unmaximized mode. This could be resolved by adding the same space next to the "new tab" + icon as in fullscreen maximized mode.
-
research010 last edited by
KDE unfortunately doesn't support window manager hints for removing the title bar on maximization
Okay, but Chromium have option "Use system title bar and borders", so we want have the same in Opera.
-
ruario last edited by
We use system title bar and borders under KDE by default. Are you running the latest version or beta or developer?
-
ruario last edited by
Here are screenshots from 27.0.1676.0 (but it will also work in earlier builds).
With titlebar hidden via the method outlined above:
With titlebar shown:
-
research010 last edited by
I have Opera developer 27.0.1670.0, i can use this "workaround" outlined above, but it would be good to add a native option in browser.
-
ruario last edited by
For Gnome 3 it is default behaviour to strip the titlebar on maxmising. It is not on KDE. The default is to show the native titlebar, which we do. So you are not asking for nativity, you are asking for the opposite, a set of fake minimise, maxmise/restore buttons. We have no current plans to provide more fake buttons as they simply look out of place in most cases.
If you want more than the close button, leave the native titlebar in place. If not you will have to accept the compromise of only a close button. In any case you can maxmise/restore by dragging and minimise via the task bar, or by assigning a keyboard shortcut.
-
joshkauff last edited by
Any plans to add an option to disable title bar in Opera, I'm suffering this issue in Elementary OS.
Other browsers do this with different methods, Chrome has an option and Firefox an extension but I love Opera so I need a solution for this Please. -
ruario last edited by
You can use a windows matching utility like Devilspie2 to strip the title bar in any window manger
Install Devilspie2 and create a file called
~/.config/devilspie2/opera.lua
containing the following:if (get_window_class()=="Opera developer") then undecorate_window(); end
You can then run Devilspie2 as a daemon (
-d
) and it will strip the titlebar off Opera, when it starts up. If you want it to be maximised as well, try this instead:if (get_window_class()=="Opera developer") then maximize(); undecorate_window(); end
-
loxiw last edited by
You can use a windows matching utility like Devilspie2 to strip the title bar in any window manger
Install Devilspie2 and create a file called ~/.config/devilspie2/opera.lua containing the following:
if (getwindowclass()=="Opera developer") then
undecorate_window();
endYou can then run Devilspie2 as a daemon (-d) and it will strip the titlebar off Opera, when it starts up. If you want it to be maximised as well, try this instead:
if (getwindowclass()=="Opera developer") then
maximize();
undecorate_window();
endWill you implement this behaviour by default in the future? Just to know, I understand that its target is very small
-
ruario last edited by
Will you implement this behaviour by default in the future? Just to know, I understand that its target is very small
Stripping the titlebar as an option? We are not currently planning to. Things might change however.
-
ruario last edited by
if you right click on the title bar the context menu has an option.
Cool, never noticed that but you are correct. It works!
Thanks for the tip.
-
loxiw last edited by
Stripping the titlebar as an option? We are not currently planning to. Things might change however.
I don't know how does it work but I meant stripping it (optionally or not, I don't think anyone would prefer to have a useless space up there) for Elementary OS like in GNOME. Thanks for answering