LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-18-2011, 12:58 PM   #1
rabiticide
Member
 
Registered: Dec 2008
Posts: 42

Rep: Reputation: 15
Xubuntu windows not acting right


My windows on my Xubuntu are not acting right. The minimize/maximize/close buttons are not there at the top right. I still have the "File Edit..." etc but I can't grab and move the window. Under the menu Settings -> Window Manager nothing happens which makes me think the Window Manager is dead or sick.

I reinstalled a scattershot of XFCE packages but the problem is still there. I didn't make any recent changes to anything close to these settings so....

What packages can I reinstall? or where can I look to see what controls my window behavior?
 
Old 11-18-2011, 01:40 PM   #2
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Do you have xfwm4 installed?
 
Old 11-18-2011, 01:57 PM   #3
rabiticide
Member
 
Registered: Dec 2008
Posts: 42

Original Poster
Rep: Reputation: 15
Yes, I'm pretty sure I do. I just installed the freshest Xubuntu about 3 weeks ago and it has worked fine until this morning.
 
Old 11-18-2011, 02:01 PM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Try entering "xfwm4" in a terminal.
 
Old 11-18-2011, 02:18 PM   #5
rabiticide
Member
 
Registered: Dec 2008
Posts: 42

Original Poster
Rep: Reputation: 15
I get:

(xfwm:5420): gtk warning** cannot open display;

but I was in another terminal (ctrl-alt-f4). I will try it here but I have to close the browser... I can only have one window open at a time right now!!!
 
Old 11-18-2011, 02:19 PM   #6
rabiticide
Member
 
Registered: Dec 2008
Posts: 42

Original Poster
Rep: Reputation: 15
"warning - another window manager is already running"

when typed here in tty7
 
Old 11-18-2011, 02:22 PM   #7
rabiticide
Member
 
Registered: Dec 2008
Posts: 42

Original Poster
Rep: Reputation: 15
I did it. I typed:

xfwm4 --replace

and everything is working. But did that just replace for this session? I'd like it to work all the time,of course,so I am going to log out/in and see if that still works. What did that do?
 
Old 11-18-2011, 02:39 PM   #8
rabiticide
Member
 
Registered: Dec 2008
Posts: 42

Original Poster
Rep: Reputation: 15
Okay, it still works after re-booting.

Just for my own education,what did that do to type xfwm4 --replace?
 
Old 11-18-2011, 02:49 PM   #9
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by rabiticide View Post
Just for my own education,what did that do to type xfwm4 --replace?
It stopped the existing window manager (I have no idea what it could have been, since you say you had no window borders) and started xfwm4 (Xfce's window manager).
 
Old 12-02-2012, 03:08 PM   #10
peter_dtm
LQ Newbie
 
Registered: Jun 2012
Posts: 9

Rep: Reputation: Disabled
Talking thank you

not only did I not have windows controls but I also had only one desktop; and any system window was 'always on top'

I had been poking around with the various systme setting control applications before it all went west

good fix - thanks
 
Old 12-02-2012, 05:56 PM   #11
peter_dtm
LQ Newbie
 
Registered: Jun 2012
Posts: 9

Rep: Reputation: Disabled
oops

no does not survive either re-boot or log off/on

re-installed xubuntu and still does this - no windows controls after a re-start unless xfwm4 --replace is issued as a command

it does NOT complete

ctrl - c and the windows go back to no controls

kill the window (file- quit) and all remains good until next re-boot

these are the errors if I issue xfwm4 --replace as root and ctrl-c so I can copy the text ! :

pete@pete-desktop:~$ sudo xfwm4 --replace
[sudo] password for pete:

(xfwm4:5103): GLib-WARNING **: (/build/buildd/glib2.0-2.32.3/./glib/gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)

(xfwm4:5103): xfwm4-WARNING **: Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
^Cg_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
pete@pete-desktop:~$
 
Old 12-03-2012, 06:07 PM   #12
peter_dtm
LQ Newbie
 
Registered: Jun 2012
Posts: 9

Rep: Reputation: Disabled
this has the final bit

Quote:
Originally Posted by titopoquito View Post
Remove/clear the cache folder in your home directory:

rm -r ~/.cache

bingo ! not only do I get my windows back but skype behaves again (it had decided to always open instead of opening to task bar)
 
  


Reply

Tags
xfce


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 7 acting up with samba shares alienDog Linux - Server 1 08-27-2010 05:35 PM
Avant Windows Navigator acting weirdly - graphical glitches... Adamantus Linux - Desktop 0 02-19-2009 01:49 AM
gDesklets, objects acting as own windows baadkarma Linux - Desktop 0 05-06-2007 07:48 AM
Nautilus Acting Like Windows Explorer jawaking00 Ubuntu 2 07-25-2005 01:53 PM
Floppy drive acting strange (I'm trying to transfer files from linux to windows) jolly_good2000 Linux - General 10 11-19-2002 09:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:29 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