PDA

View Full Version : [kubuntu] I cannot mange my widows!



CheatCat
July 3rd, 2009, 06:52 PM
Something strange have happens. My widows have lost its borders and I cannot move them, resize them, switch between them.. Nothing! Look:
http://img197.imageshack.us/img197/1666/skrmdump3.th.png (http://img197.imageshack.us/i/skrmdump3.png/)
http://img197.imageshack.us/img197/4016/skrmdump4.th.png (http://img197.imageshack.us/i/skrmdump4.png/)

I tried to type in kwin --replace in the console and I get the borders back and can mange them. BUT.. If I close the console window or press Ctrl + C to quit the kwin --replace code, the window loose its borders and I cannot mange them. Also get some errors:


X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x2800117
kwin: X Error (error: BadPixmap [4], request: X_FreePixmap[54], resource: 0x280226d)
kwin: X Error (error: BadPixmap [4], request: X_FreePixmap[54], resource: 0x280226e)
kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x2802204)
kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x2802cf7)

Please help! :'(

mine070
July 3rd, 2009, 07:07 PM
Try going to a Backup Or Reinstalling. Is it on the one user?

snl2587
July 3rd, 2009, 07:16 PM
Try going to a Backup Or Reinstalling. Is it on the one user?
Err...I wouldn't recommend reinstalling to fix things unless they we failing from the very start (and even then only if an odd setting was selected during the install)

Did you recently change any X server settings, install a different video driver, etc.?

Jarkycat
July 3rd, 2009, 08:00 PM
This isn't a fix per say, but try turning off the desktop acceleration/effects to see if that returns the window borders.

pritamps
July 3rd, 2009, 08:05 PM
Sorry to be of no help, but your subject is really funny! :lolflag:


Something strange have happens. My widows have lost its borders and I cannot move them, resize them, switch between them.. Nothing! Look:
http://img197.imageshack.us/img197/1666/skrmdump3.th.png (http://img197.imageshack.us/i/skrmdump3.png/)
http://img197.imageshack.us/img197/4016/skrmdump4.th.png (http://img197.imageshack.us/i/skrmdump4.png/)

I tried to type in kwin --replace in the console and I get the borders back and can mange them. BUT.. If I close the console window or press Ctrl + C to quit the kwin --replace code, the window loose its borders and I cannot mange them. Also get some errors:


X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x2800117
kwin: X Error (error: BadPixmap [4], request: X_FreePixmap[54], resource: 0x280226d)
kwin: X Error (error: BadPixmap [4], request: X_FreePixmap[54], resource: 0x280226e)
kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x2802204)
kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x2802cf7)

Please help! :'(

sdlynx
July 3rd, 2009, 08:06 PM
ah if only you were running GNOME the fix would be easy...

pritamps
July 3rd, 2009, 08:09 PM
Instead of typing in a console, you should press Alt+F2 and type "kwin --replace"

Here's some other stuff you can do:

Goto System Settings -> Default Applications -> Window Manager and make sure it's set to "Use the default KDE Window Manager"

If that is already set and since you say "kwin --replace" works, here's a sort of fix:

Create a start a file called wm.sh with the following contents


kwin --replace

Then in a terminal


chmod +x wm.sh

Then goto System Settings -> Advanced -> Autostart...Choose "Add Script", navigate to the folder in which the above is saved and add it.

That should work...


Something strange have happens. My widows have lost its borders and I cannot move them, resize them, switch between them.. Nothing! Look:
http://img197.imageshack.us/img197/1666/skrmdump3.th.png (http://img197.imageshack.us/i/skrmdump3.png/)
http://img197.imageshack.us/img197/4016/skrmdump4.th.png (http://img197.imageshack.us/i/skrmdump4.png/)

I tried to type in kwin --replace in the console and I get the borders back and can mange them. BUT.. If I close the console window or press Ctrl + C to quit the kwin --replace code, the window loose its borders and I cannot mange them. Also get some errors:


X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x2800117
kwin: X Error (error: BadPixmap [4], request: X_FreePixmap[54], resource: 0x280226d)
kwin: X Error (error: BadPixmap [4], request: X_FreePixmap[54], resource: 0x280226e)
kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x2802204)
kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x2802cf7)

Please help! :'(

CheatCat
July 13th, 2009, 01:26 PM
Well, I cannot find neither Default Applications nor Window Manager in System Settings. Are you sure that you haven't mix it up with GNOME?

But anyway it seems to be fixed now after restarting computer..

Zorael
July 13th, 2009, 05:00 PM
FWIW, the "if only you were using GNOME" comments are unnecessary.

When you enter terminal commands and you want them to start as child processes ("running in the background"), append an ampersand (&) after the command.

$ kwin --replace &

Or just run the command via the alt+f2 run box, that should do it, too. No need for the ampersand then.

mine070
March 16th, 2010, 10:08 PM
Only fixes I can find are for Gnome :S

Fersure
March 17th, 2010, 12:03 AM
fwiw, the "if only you were using gnome" comments are unnecessary.


+1