Results 1 to 7 of 7

Thread: Title vanishes at startup, must manually restart window manager

  1. #1
    Join Date
    Apr 2006
    Beans
    175

    Titlebar / control bar vanishes at startup, must reload window manager on each boot

    Hi folks,
    This morning my laptop was in standby and lost power. The battery went dead and it obviously shut down in a non-clean way.
    I then started the computer up and the system had resorted to some odd configuration settings. For instance the keybindings have have setup in gnome configuration went back to older settings I had many months ago. Also, the window manager does not load correctly... there is no title bar, globalmenu-panel-applet does not work, and when I open an app it will often overlay the top panel. The only way I found to temporarily fix this is to load the Compiz Fuzion Icon taskbar applet, then I use that to RELOAD WINDOW MANAGER.

    I don't actually use Compiz. It is installed, but I turned it off a long time ago.

    After reloading the window manager, all is good. globalmenu-panel-applet works, apps don't open over the top panel, and the app windows have their title bar restored (along with the controls on that bar).

    BUT when I next boot up the system the same thing occurs all over again. Something is broken.

    How can I go about fixing this?

    With thanks,
    Jonathan
    Last edited by inspired; September 17th, 2009 at 05:06 PM.

  2. #2
    Join Date
    Oct 2006
    Location
    Binghamton, NY
    Beans
    1,850
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Title vanishes at startup, must manually restart window manager

    You don't say what window manager you are using, I am assuming metacity, so try using terminal and type:
    Code:
    metacity --replace
    This should reset the default.
    Never wade in water you're afraid to swim in unless it's the Linux pond, cause there's always a life ring in the forums

  3. #3
    Join Date
    Apr 2006
    Beans
    175

    Re: Title vanishes at startup, must manually restart window manager

    Quote Originally Posted by gettinoriginal View Post
    You don't say what window manager you are using, I am assuming metacity, so try using terminal and type:
    Code:
    metacity --replace
    This should reset the default.
    Thanks. Tried that and it made the entire interface non-responsive, and had to then crash out of OS and restart.
    Upon restart, the issue is still there.

    Use, I use metacity... although it makes no difference. If I activate compiz the same issue is there. Either way, the only way I currently have found to work with this system now is it "Reload Window Manager" from the Compiz Fuzion Icon.

    Any further suggestions are greatly appreciated.

    Thanks,

    Jonathan
    Last edited by inspired; September 17th, 2009 at 05:08 PM.

  4. #4
    Join Date
    Sep 2006
    Location
    Minsk, Belarus
    Beans
    206

    Re: Title vanishes at startup, must manually restart window manager

    If no other WM is running, you don't need the --replace argument.

    If opening a run dialogue and running metacity works okay, you could add an entry to $HOME/.config/autostart/

    It's also worth playing around with the gnome session manager. It's quite possible that this is where your problem is originating from.

  5. #5
    Join Date
    Apr 2006
    Beans
    175

    Re: Title vanishes at startup, must manually restart window manager

    Quote Originally Posted by etnlIcarus View Post
    If no other WM is running, you don't need the --replace argument.

    If opening a run dialogue and running metacity works okay, you could add an entry to $HOME/.config/autostart/

    It's also worth playing around with the gnome session manager. It's quite possible that this is where your problem is originating from.
    Thanks. So what I have done is used the autostart thing to sort it out. It would be nice to just fix it rather than use a workaround, but I guess there is no harm done this way.
    I am not sure how to play around with the session manager. Any tips?

    With thanks,
    Jonathan

  6. #6
    Join Date
    Sep 2006
    Location
    Minsk, Belarus
    Beans
    206

    Re: Title vanishes at startup, must manually restart window manager

    Quote Originally Posted by inspired View Post
    I am not sure how to play around with the session manager. Any tips?
    Take up drinking. Gnome's session manager is (or at least used to be) a pain in the ****.

    Somewhere in the session manager, should be a list of apps, which includes metacity. You should be able to manipulate that, so that metacity 'restarts upon close/crash'.

    It's also probably a good idea to enable the option (where ever it is) to 'save session on logout'.

    If you:
    - enable this behaviour
    - close the session manager
    - have open only the stuff you want started automatically at login
    - logout
    - log back in
    - open session manager and disable the 'save session on logout' option

    Then, hopefully, whenever you log into Gnome, your desktop will restore itself to the state it was in when you logged out during the above process.


    Only thing to consider while doing this, is that launchers in your autostart directory can conflict with this custom Gnome session.

    I found in Xfce4.6 (similar session manager to Gnome) that conky was playing up because conky was running when I logged out (thus it got saved to the session) and I also had an autostart entry for it, which resulted in conky being loaded twice, because the, "session", and, "autostart", scripts function independently of one another.

    While playing with the session, it's probably best to disable the autostart entry. Metacity loading twice might cause it to play up.

  7. #7
    Join Date
    Apr 2007
    Location
    Canberra
    Beans
    63
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Title vanishes at startup, must manually restart window manager

    Had a similar issue today. Fixed with
    compiz --replace &
    Ubuntu @ Asus eee-pc 1000
    Ubuntu @ generic PC
    OS/X @ mac

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •