Title bar missing from maximized windows

Asked by LEGOManiac

I've changed the Summary: it used to be...
X (used to) mark the spot - now I can only close windows via the File menu

The close/minimize/maximize buttons that used to be in the top-right corner of my application windows have disappeared. Now I'm stuck closing applications via the File menu or via the task bar (right-click -> close). Any idea how I can get the icons back?

For what it's worth, I had experimented with Netbook-Remix, having installed it, played with it for a few days, discovered I couldn't switch back because the switch desktop mode entry was missing from System->Preferences (see question 103197). SInce no one answered the question of how to switch modes, I did it by removing Ubuntu-Netbook-Remix and Netbook-Launcher via Synaptic. I noted that while using Netbook, the close/minimize/maximize buttons were missing and I figured that was normal (is it) but it obviously wasn't restored when I removed it.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Netbook Remix Edit question
Assignee:
No assignee Edit question
Solved by:
Sam_
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
George Standish (george-standish-deactivatedaccount) said :
#1

Not sure if this will help or not, but:

Try running:

  $ gconftool-2 --set "/apps/metacity/general/button_layout" --type string ":maximize,minimize,close"

Alternatively you could open gconf-editor and browse to apps-metacity-general and see what the button_layout value is currently set to and report it back here.

Good luck,
George

Revision history for this message
LEGOManiac (bzflaglegomaniac) said :
#2

Button_layout is set to :maximize,minimize,close

I cut and pasted the gconftool-2 command as you had it written above, but nothing has changed when I open a new application or window. I also tried it with sudo.

Revision history for this message
LEGOManiac (bzflaglegomaniac) said :
#3

In case it helps, I've just discovered that double-clicking on the menu bar does not cause an application to switch between full-screen and windowed mode.

Come to think of hit, though, shouldn't there be a title bar, above the menu bar, which holds the max/min/close buttons and which responds to the double click to swap between full screen and windowed modes? If I recall correctly, and there IS supposed to be a title bar above the menu bar, that THAT's what's missing. I suspect if I get that back, I'll be back to normal.

Revision history for this message
LEGOManiac (bzflaglegomaniac) said :
#4

I just did a search for "titlebar" in gconf-editor, but the entries seem to relate to the appearance items within the title bar and not to whether the titlebar actually gets displayed.

Revision history for this message
LEGOManiac (bzflaglegomaniac) said :
#5

I've just discovered something else:

I tend to run with windows maximized, except command prompts, but even they come up maximized now. Of course, under Netbook-Remix, all windows come up maximized by default so that's probably just carried over.

When I select Unmaximize from the task bar, I get a windowed version of any given app with the close/max/min icon and the title bar.

Revision history for this message
Sam_ (and-sam) said :
#6

Seems window decoration is missing.
Depends which window decorator you're using.
https://help.ubuntu.com/community/CompositeManager/InstallingCompiz#Running%20Compiz

Did you try logout-in
or
restart X
Alt+sysrq+K

btw. UNR sections.
https://wiki.ubuntu.com/UNR
https://answers.edge.launchpad.net/netbook-remix

Revision history for this message
Sam_ (and-sam) said :
#7

Or try pressing F11 twice.

Revision history for this message
Sam_ (and-sam) said :
#8
Revision history for this message
LEGOManiac (bzflaglegomaniac) said :
#9

Thanks Sam, As per your suggestion, I've tried:

$ compiz --replace gconf &
$ gtk-window-decorator --replace &

But the problem still exists. In fact, now I can't use the Desktop button (minimize all windows) in the lower left corner of the screen. It says either the window manager doesn't support it or I'm not running a window manager.

After a reboot, everything is back to where it was when I started this question, so at least I've got the desktop button back.

Revision history for this message
Best Sam_ (and-sam) said :
#10

Question still remains which Ubuntu version, which window manager is running.
Could it be that maximus daemon is still running and installed?
https://launchpad.net/maximus

Assume you didn't make a dump file of gconf settings before making the changes.
Another option would be to recursive unset gconf settings.
man gconftool

Revision history for this message
Sam_ (and-sam) said :
#11

How about this one.
Quote:
Menu -> System -> Startup Applications and de-select "Netbook Launcher"
https://answers.edge.launchpad.net/netbook-remix/+question/90183

Revision history for this message
LEGOManiac (bzflaglegomaniac) said :
#12

Thanks again for the tips, Sam.

The second one I'd already read. It's the one that answered my question as to what became of the desktop switcher I had been accustom to.

I'm running Ubuntu 9.10 but I have no idea what window manager I'm using - presumably the default - and I don't know how to identify it.

Now, maximus - that's a different story. I'd never heard of it until you gave me the link and it sounds like that's exactly what's behind all this. Checking /etc/xdg/autostart I see "maximus.autostart.desktop" is listed. I suspect it was installed as part of the Netbook Remix suite. I also see that "netbook.launcher.desktop" is listed there as well.

Listing the files, I see that they describe a number of settings. From that I would presume that there is either a file that tels gnome which files to read (in the same way that named.conf.local tells bind which zone files to load) or it defaults to reading everything in the autostart directory. If it reads everything in the directory, simply chaing the file name won't help but deleting it will, however if it is reading a list of files in a configuration file (a' la bind) it might produce errors or other unwanted results. I'll experiment.

Revision history for this message
LEGOManiac (bzflaglegomaniac) said :
#13

Thanks Sam, that solved my question.