-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans  . 

Steady Screen

   1.0  

KWin Scripts

Score 50%
Steady Screen
zoom


Minimum required   KDE 4.x
Downloads:  33
Submitted:  Dec 14 2013

Description:

Keeps windows attached to screen when the screen number (primary screen) or count (top/left adition) changes.

ONLY TESTED ON DUAL SCREEN!

Doesn\'t mean it will implode your 3rd and 4th screen, but i\'ve no idea whether it will work as expected.


--
The preview is certainly a copyright violation, but i couldn\'t resist and just hope that Matt won\'t sue kde-look ... or me ;-)




LicenseGPL
(SteadyScreen script)
Send to a friend
Subscribe
Other  Artwork  from thomas12777
Report inappropriate content



-

 Doesn't work with panels

 
 by koko2k on: Dec 16 2013
 
Score 50%

I've a panel on the left screen (call it 1), and one on the right (call it 2).
Whan i disable the right screen, 1 goes to the right screen, when i enable the right panel again, 1 stays on the right screen.
Panels are is a windows. Is there a way to manage them?
Thanks


Reply to this

-

 Ops, i wrote it wrong:

 
 by koko2k on: Dec 16 2013
 
Score 50%

I've a panel on the left screen (call it 1), and one on the right (call it 2).
Whan i disable the left screen, 1 goes to the right screen, when i enable the left screen again, 1 stays on the rightmost screen.
Panels are windows.
Is there a way to manage them?
Thanks


Reply to this

-

 Re: Ops, i wrote it wrong:

 
 by thomas12777 on: Dec 16 2013
 
Score 50%

if (clients[i].specialWindow || clients[i].noBorder) {
// ignore docks etc. as well as undecorated but keep tool- and utility windows

I explicitly skipped them since stuff like desktop, docks or yakuake usually fixes themselve on screen changes (in a "better" way than a generic handling could be)

I guess i could add a whitelist matching the window class (what's the output of "xprop WM_CLASS" on the panel - plasma panels should follow the desktop)


Reply to this

-

 Re: Re: Ops, i wrote it wrong:

 
 by koko2k on: Dec 17 2013
 
Score 50%

I'll try to change the code by myself, thanks for pointing out.
However, what i was trying to do was a workaround for a long standing bug:
https://bugs.kde.org/show_bug.cgi?id=293453


Reply to this

-

 Re: Re: Re: Ops, i wrote it wrong:

 
 by thomas12777 on: Dec 17 2013
 
Score 50%

Hehe - i had absolute panel lengths in be::shell for ~10 minutes before figuring that it would be a stupid idea.

That bug could partially be worked around by a kwin script but is absolutely not subject to this one (which doesn't change window sizes to begin with)

However, it would be much better to fix the bug (to avoid nasty heuristics; the script would have to guess the orientation of the panel, as you want to adjust the length, but not the thickness)


Reply to this

-

 Re: Re: Ops, i wrote it wrong:

 
 by koko2k on: Dec 17 2013
 
Score 50%

xprop report this:

WM_STATE(WM_STATE):
WM_WINDOW_ROLE(STRING) = "panel_2"
WM_CLIENT_LEADER(WINDOW): window id # 0x1c00009
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_NAME(STRING) = "plasma-desktop"
WM_LOCALE_NAME(STRING) = "it_IT.UTF-8"
WM_CLASS(STRING) = "Plasma", "Plasma"
WM_HINTS(WM_HINTS):
WM_NORMAL_HINTS(WM_SIZE_HINTS):
WM_CLIENT_MACHINE(STRING) = "Gozer"
WM_COMMAND(STRING) = { "/usr/bin/plasma-desktop" }


Reply to this

-
.

 mmh

 
 by koko2k on: Dec 17 2013
 
Score 50%

Just tried, but didn't succeeded.
Maybe i didn't understood well what this script does.
Not only the panel from the left screen went and stayed on the right one.
I've had a kwrite window on the left screen, but after turning the screen "off" and "on" again, the kwrite window went to the right screen as well and stayed there as well.

Without the script, after re-enabling the left screen, all of the windows (but the panels) went to the left screen.


Reply to this

-

 Re: mmh

 
 by thomas12777 on: Dec 17 2013
 
Score 50%

This is pretty mcuh what the script does and "it's complicated"

tl; dr:
with the script, windows are supposed to stay on the primary or secondary screen.

See bug #286146

KWin does only ensure the windows remain visible but it doesn't stick them to a screen.
So if you add a screen on the left, windows from the other screen would "move" there (actually they they where they are in global coordinates, but the 0,0 corner moved from the right screen to the left) and there's request to stop that and keep the windows on the right screen.

That's however not all. The dominant screen layout thinks of "primary" and "secondary" rather than "left" and "right", so if you remove the primary screen, the secondary will become the primary and all windows moved there. If you then re-add the primary screen, the seconary screen becomes the secondary screen and the windows would (by the script) move from the former primary screen (the actual secondary one) to the new (and actual) primary screen.

Eg. just changing the primary screen would swap windows.

What you describe (remove,re-add) is kinda special case and not handled.
The KWin core will maintain the former geometry of windows that have "not been touched" (ie. moved or resized by the user)
This was added mostly to deal with window resizes due to screen resolution changes (gameplay case)


Reply to this

Add commentBack






-

-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.