LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 04-13-2014, 07:48 PM   #1
the dsc
Member
 
Registered: May 2009
Distribution: Debian
Posts: 175
Blog Entries: 243

Rep: Reputation: 47
GTK3/Gnome 3 applications override Openbox' window management


It used to be that in Openbox I'd have Openbox' own titlebar and mousebinding/keybinding configurations, regardless of the original toolkit or Desktop Environment of the program; the original "decorations" and other configurations would appear only on a session of a different DE.

Now, since one of the last upgrades, some/maybe all GTK3 applications are like, "nah, we're gonna use Gnome window title bars anyway."

Is this an unavoidable new "feature" or is there some workaround to it? I couldn't find anything on "Gnome tweak tools".

:/

Last edited by the dsc; 04-13-2014 at 07:53 PM.
 
Old 04-13-2014, 08:27 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
If a given application is compiled against GTK-3 that's what it is going to use. Has nothing to do with OpenBox.
 
Old 04-13-2014, 08:40 PM   #3
the dsc
Member
 
Registered: May 2009
Distribution: Debian
Posts: 175

Original Poster
Blog Entries: 243

Rep: Reputation: 47
Well, it used to be that this part was managed by the window manager in use, not the toolkit.

I was hoping that there could be some "hidden" option (config file only, not GUI) to make things they way they were last week.

Something like google chrome/chromium, it has the option to use the WM's own window "decorations" and configurations, or render its own. But hopefully something global, not app-specific.
 
Old 04-13-2014, 08:43 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
You could build an application against GTK-2 and GTK-3 same time, then you have a choice. When developers decide they do not support GTK-2 any more you are out of luck. It really is not managed by WM.
 
Old 04-13-2014, 09:24 PM   #5
the dsc
Member
 
Registered: May 2009
Distribution: Debian
Posts: 175

Original Poster
Blog Entries: 243

Rep: Reputation: 47
A few days ago even GTK3 applications had window managers dealing with such typical window-management tasks. Just now that they've decided to enforce the Gnome/GTK3 way for everyone.

http://redmine.audacious-media-playe...cs/1135?r=1140

The last message says it's solved on 3.12.1, which I hope refers to libgtk, not audacious. Hopefully they'll add some sort of global "switch". I'll see how it is on KDE, I wonder if a more robust DE somehow overrules the overriding.


It sort of does. It at least renders its own window title and borders, so it's like XFCE in this regard. But there's the whole ridiculousness of an additional close button, as there are in fact two "title bars", only one is "merged" seamlessly into the application itself.

Last edited by the dsc; 04-13-2014 at 09:33 PM.
 
Old 04-13-2014, 09:34 PM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
I wonder if a more robust DE somehow overrules the overruling.
I repeat, it depends on how an application is compiled, has nothing to do with DE/WM.
 
Old 04-13-2014, 10:10 PM   #7
the dsc
Member
 
Registered: May 2009
Distribution: Debian
Posts: 175

Original Poster
Blog Entries: 243

Rep: Reputation: 47
Well, I was just on a KDE session and KDE/kwin does render its own window title and borders over GTK3 applications, I saw it before my own eyes. There is the redundancy I've mentioned, though. That hopefully could be solved if Gnome developers wanted to, making some sort of "switch", more or less like Google Chrome does, something that tells the applications to not render certain buttons in their blended titlebar/menu, and that would at the same time let any window manager render its own borders and title bars, as they have been doing just fine before.


GTK3 apps in KDE will look like this:

http://i.imgur.com/JlWFgr5.png


While in openbox they look like this:

http://i.imgur.com/rEtHkij.png

With close/minimize buttons when the application tells to, of course.

Last edited by the dsc; 04-13-2014 at 10:13 PM.
 
  


Reply

Tags
gnome 3, gtk3, openbox



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux GUI Programming: How to override the default window decorations? GhettoGirl Programming 2 06-14-2013 07:38 PM
GNOME 3 GTK3+ red and black theme with matching icons? CrazyGuy158 Linux - General 3 02-24-2012 10:09 AM
loading gtk3 themes on a none gnome-3 based wm Drone4four Linux - Desktop 1 01-01-2012 12:29 AM
[SOLVED] Power Management in Openbox bonixavier Linux - Newbie 4 06-17-2011 02:44 PM
Openbox Applications Menu MTK358 Linux - Desktop 2 10-10-2010 07:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 04:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration