Big Screen

Kwin Scripts by thomas12777 27 comments

I also thought about "Swedish-made screen enlarger pump" - but i'm not swedish :-P - Feb 02 2014
Steady Screen

Kwin Scripts by thomas12777 9 comments

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) - Dec 17 2013
Steady Screen

Kwin Scripts by thomas12777 9 comments

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) - Dec 17 2013
Steady Screen

Kwin Scripts by thomas12777 9 comments

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) - Dec 16 2013
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

tl;dr: no, sorry :-(

Gtk+ is EOL and Qt4 is close to it.

Aside that, Gtk+ can not deal with several configurations typical for Bespin, because many elements hardcode the textcolor (to black) and Gtk+ styling does not even allow the kind of deep impact that would be necessary to "fix" that. As result, elements became unreadable when eg. inverting colors of headers or on hovering.

Currently I frankly bet on everyone (such as recently LXDE or Wireshark) aborting Gtk in favor of Qt anyway =) - Nov 07 2013
Should be fine.

FTR: i also blindly ran "override" on all themes - no problem spotted, but rather ensure to have a backup copy of your most beloved theme before doing so ;-) - Oct 10 2013
See https://git.reviewboard.kde.org/r/113185/diff/#index_header

Apparently the hashes for bdiag and fdiag are swapped in the cursor kcm - which I unfortunately used as reference to build the links...

Once that's clarified, i'll release a version 0.2 which fixes that up (ie. also fixes wrongly linked files) - Oct 10 2013
Yes, if it finds a usable source (is more a Qt thing, though)

If you've a still incomplete theme or get a warning, just link the theme here so the name group can be extended for everyone. - Oct 09 2013
BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

Which branch?
4.10 or master (for 4.11 use master)

If master build fails on 4.11, please elaborate on "how", ie. please post the error message. - Sep 25 2013
Kontainer

Various KDE 1.-4. Improvements by thomas12777 27 comments

Not this way, because there's a difference between windows and processes.

What however would likely be possible was to specify some window attributes (class, type, title; "class" is *usually* a case insensitive variant of the process name) and autoadd them when they show up ("if" in the next ten seconds or so) - similar to how kstart operates. - Sep 22 2013
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

> Is it feasible and/or desirable to add a Bespin workaround that would place a Bespin stylized filter input into the Dolphin toolbar?

There's one filterbar per view, that means two if you spliit the view and [n,2n] for n tabs.

There's only one toolbar ...

* You'd be in a conflict for a split view, since it's not clear which filterbar is currently active
* The toolbar can be vertically layouted (at runtime), in this case the filterbar should rather not be inside.
* Dolphin has two toolbars (main and search), ie. you've to select the "proper" one.

Doing this means to keep track of view/filterbar combinations and the focused view (to show the proper filterbar which is no longer logically parented by the attached view - fighting dolphins own and unrelated visibility management of the filterbar) as well as deleting the (now reparented) filterbar with the view.

That as long as the code does not change in dolphin...

It is probably possible, but rather not trivial or robust.

Btw, i guess actually the searchbar should be on the top right shoulder, not the filter? ;-)
(Which mostly bears the same issues since it's as well attached to a view and not a global instance) - Sep 17 2013
BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

as stated in the description ;-P

https://sourceforge.net/p/bekwinfx/

This is a direct link to the code tool
https://sourceforge.net/p/bekwinfx/code/ci/master/tree/

with a git url or the option to download a snapshot.

- May 24 2013
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

what i missed:
-- Found Qt-Version 5.0.1 (using /usr/bin/qmake)
^^^

CMake finds the wrong Qt - you'll have to
cd build
ccmake ..
and configure the correct path to qmake/qt - that's however a major issue on compiling each and everything KDE related.
Alternatively adjust your PATH environment so that qmake from Qt4 is has precendence. - May 12 2013
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

QT_QT_INCLUDE_DIR isn't found.
Either the parallel installation of 4&5 screwed things or you just lack the *-dev package.
Could also be that Ubuntu has them conflictive and only allows the headers of one version.

In any case: after installing Qt5 next to formerly present Qt4, wipe any pre-existing config caches (ie. "rm -r build" - if you had one) - May 12 2013
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

The emboss is far too strong on that bg color (value) - i weakened it and also added a config option (since iff there's a style for Qt5 by me, it'll be rather flat ;-) - Apr 20 2013
BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

nevermind. "kwin --replace" will do as well, but the effect plugins are not reloaded after startup. - Apr 11 2013
BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

current git version?
in case please send me the output of "qdbus org.kde.kwin /KWin supportInformation" - otherwise just use the current git version (there've been major KWin/GL changes between 4.9 & 4.10) - Apr 11 2013
Kontainer

Various KDE 1.-4. Improvements by thomas12777 27 comments

fixed, sorry. stupid bug. - Apr 07 2013
Kontainer

Various KDE 1.-4. Improvements by thomas12777 27 comments

Yes, but that's not related (is required to actually embed sth.)
The tabkey should only be taken when ctrl is held.
I'm looking into it. - Apr 07 2013
GameMode

Kwin Scripts by thomas12777 21 comments

Sounds like XBMC doesn't support _NET_WM_STATE_FULLSCREEN?

Try:
kwriteconfig --file kwinrc --group Windows --key LegacyFullscreenSupport true
kwin --replace &

This will detect "screensize borderelss window is fullscreen"
Be aware that this will eg. break the plasma-netbook shell - Mar 28 2013
GameMode

Kwin Scripts by thomas12777 21 comments

Just a random thought - the script is enabled, is it?
(run "kcmshell4 kwinscripts") - Mar 27 2013
GameMode

Kwin Scripts by thomas12777 21 comments

That output is unrelated.

The window does not seem to enter the fullscreen mode at all (at least the script doesn't print anything in return of the line you hopefully added befre restarting kwin to get this ;-)

If you don't use it w/ an w/o fullscreen mode, just add a window rule to apply always. - Mar 27 2013
GameMode

Kwin Scripts by thomas12777 21 comments

var runTheShow = function(client, isFullscreen) {
+ print(client.resourceClass.toString());
if (runsTheShow(client)) {
client.blocksCompositing = isFullscreen;
}
};

run "kdebugdialog" and enable 1212 (KWin), then "kwin --replace &" from konsole.

Run XBMC, make it enter FS state.

Whatever is printed out then is the term you want to match.

Please share your findings so i can add it for an updated version of the script ;-)
- Mar 27 2013
GameMode

Kwin Scripts by thomas12777 21 comments

run xbmc and konsole. in konsole run "xprop | grep CLASS" and click xbmc.

Add the *second* value to GAMES array in ~/.kde/share/apps/kwin/scripts/gamemode/contents/code/main.js

restart kwin ("kwin --replace &" - you could also reload the script but i don't know how out of my mind ;-) - Mar 25 2013
Kontainer

Various KDE 1.-4. Improvements by thomas12777 27 comments

Bespin... naturally ;-) - Mar 22 2013
Kontainer

Various KDE 1.-4. Improvements by thomas12777 27 comments

The local file is ok, but the download was not.
Must have been some upload error.

-> Uploaded again, downloaded, is now correct version.

Sorry for the trouble and thanks for noticing it! - Mar 21 2013
Kontainer

Various KDE 1.-4. Improvements by thomas12777 27 comments

if you didn't pass "--title" yes
what's the output of
qdbus org.kde.Kontainer /Kontainer

If there's no

method Q_NOREPLY void org.kde.kontainer.quit()

I either uploaded the wrong file or your binary path still points the old. - Mar 21 2013
Kontainer

Various KDE 1.-4. Improvements by thomas12777 27 comments

"semi"
The KDE global shortcut system is pretty much tailored around single instance applications and if you ran two containers you rather would not want them to act on one shortcut (if that was possible)

I added dbus support. The kontainer will try to listen under the passed --title ("Kontainer" by default) so you can
kontainer --title MediaBox --dock bottomRight &
qdbus org.kde.MediaBox toggle
(which khotkeys can bind dbus directly, no need to invoke qdbus) - Mar 19 2013
Kontainer

Various KDE 1.-4. Improvements by thomas12777 27 comments

A custom title is a nobrainer ;-)

Dynamic resizing is rather out of scope (since this is not supposed to be a complete WM anyway, at least not from my side) - however i added support for custom layouts (so you can create about any structure you want, just not change it at runtime)

The appmenu thing is not fixable from here, sorry. It will compare the applications window() (which is now a child of the kontainer) with the KWin client (being kontainer) and thus fail to determine the matching client.

The plasmoid (in the panel) might still work - at least xbar does.

What would have to happen is that appmenu looks up the entire window structure (from the kwin side) or exports the actual (X11) toplevel window depending on the active state of the window.

Reg. loosing input: do you mean the all clients loose input forever (like kontainer would grab the entire mouse) or you just cannot activate a client tile anymore? - Mar 17 2013
BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

That's why eg. my session popup button button contains my login.

For plasma, see eg.
http://kde-apps.org/content/show.php/fast+user+switch?content=127462

If you had it as a kwin effect it would be always above something - for the one moment you return to your box. - Mar 16 2013
Kontainer

Various KDE 1.-4. Improvements by thomas12777 27 comments

I probably know what the issue is.
Gonna add additional strategies and cleanup and make a new release.

If you can't hold it - The application constructor has to use an int reference, ie "int &argc", not "int argc". - Mar 16 2013
BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

Why would you want that in a kwin effect?
Eg. the current login (or name) in the session menu in the panel (no, i don't know whether there's a similar plasmoid) what does also work w/o compositing.

The login is not like the time, you could just run "whoami" in konsole once and be sufficiently informed for the rest of the session (while you will look at the clock every now and then, so you need much simpler access) - Mar 16 2013
Kontainer

Various KDE 1.-4. Improvements by thomas12777 27 comments

It's supposed to work in Release mode.
If you can recause the segfault this way, please have a look at the mentioned gdb backtrace and whether it matches Marks. - Mar 16 2013
Kontainer

Various KDE 1.-4. Improvements by thomas12777 27 comments

#0 0x00007ffff4c8eaa1 in __strlen_sse2_pminub () from /usr/lib/libc.so.6
#1 0x00007ffff7473675 in XSetCommand () from /usr/lib/libX11.so.6
#2 0x00007ffff7477dd5 in XSetWMProperties () from /usr/lib/libX11.so.6
#3 0x00007ffff5bb6d5c in QWidgetPrivate::create_sys(unsigned long, bool, bool) () from /usr/lib/libQtGui.so.4
#4 0x00007ffff5b6a0b1 in QWidget::create(unsigned long, bool, bool) () from /usr/lib/libQtGui.so.4
#5 0x00007ffff5b7297b in QWidget::winId() const () from /usr/lib/libQtGui.so.4
#6 0x00007fffeb5d8557 in MenuBarAdapter::registerWindow() () from /usr/lib/qt4/plugins/menubar/libappmenu-qt.so
#7 0x00007fffeb5d9763 in AppMenuPlatformMenuBar::createMenuBar() () from /usr/lib/qt4/plugins/menubar/libappmenu-qt.so


Because for the überdramatic
m_menu = new QMenuBar(this);

try "pacman -R appmenu-qt"

If that works, i'll work around it by explicitly moving the UI construction into the eventloop (ie. when the window is actually there)

I'd move this to some git if there's much update demand ;-) - Mar 16 2013
Kontainer

Various KDE 1.-4. Improvements by thomas12777 27 comments

Please compile w/o Release mode (cd build; ccmake ..; [clear CMAKE_BUILD_TYPE, press "c" then "g" and "q"]

and run
gdb kontainer
run
[wait for crash]
bt
[enter until no more output]
detach
quit

and post the backtrace - i've right now no idea what could segfault it (i required this to check on some pot. kwin bugs and ran it ~100 times the last two or three days)

Only exception: never tested with oxygen so far ;-)
Try "kontainer -style cde" (random shot in the dark) - Mar 15 2013
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

Clearly works here.
What does not work (never did) is online updating (ie. apply presets to present windows)

If it does not work for sure, please mail me the [Deco] section of ~/.config/Bespin/Style.conf for inspection. - Feb 26 2013
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

No, as mentioned please just fetch latest svn commits ("svn up") to resolve the issue (the initially suggested solution won't actully work, because libX11 is required by libQtBespin but not resolved by X11_LIB but X11_X11_LIB) - Feb 25 2013
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

libXft is no more linked in the latest svn commit (r1657) - Feb 24 2013
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

Is there a blank in the original output?
/usr/lib /libXft.so
^^

Otherwise:
libXft is likely added by the ${X11_LIBRARIES} makro (from KDE CMake) and usually comes in it's own package "libxft"

Try replacing ${X11_LIBRARIES} by ${X11_LIB} in the toplevel CMakeLists.txt (testing that atm. as well and if it works will push the change) - Feb 24 2013
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

you likely just lack some dev packages (x11-dev, qt-dev, kdelibs-dev and kdebase-workspace-dev)

Notice that you seem to have kde installed (kde4-config is present) but the cmake modules are not present.
Without the kdeworkspace development packages, none of the KDE parts will be build (esp. the kwin decoration - nor the xbar plasmoid)

http://packages.ubuntu.com/raring/libqt4-dev
http://packages.ubuntu.com/raring/kdelibs5-dev
http://packages.ubuntu.com/raring/kdebase-workspace-dev
http://packages.ubuntu.com/raring/libxrender-dev - Feb 18 2013
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

What's the output of "kde4-config --prefix"?

in doubt, run
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..

from the build dir. (this just picks /usr as install path) - Feb 18 2013
BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

please get recent sources from https://sourceforge.net/p/bekwinfx/

Those should work for sure, otherwise please file a bug (there) - Feb 09 2013
BeClock

Various KDE 1.-4. Improvements by thomas12777 285 comments

current and developed version here:
https://sourceforge.net/p/bekwinfx/

GHNS does not work for effects which need to be written in cpp. - Feb 07 2013
Bespin "Baghira"

Be-Shell/Bespin by thomas12777 14 comments

Rather this:
http://arpinux.deviantart.com/art/BespinDoneRight-MysteriousDev-158388786 - Feb 06 2013
Bespin "Baghira"

Be-Shell/Bespin by thomas12777 14 comments

http://www.deviantart.com/morelikethis/157890989#/d2matki - Feb 06 2013
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

None.
If i'll do in a Qt5 style (reg. time and also QWidget/QML gravity), it'll capture some elements of the present bespin, but change several other.

New Qt, new look ;-)

Sorry, i was sure i had responded on sf.net before. - Feb 04 2013
Generic Animations (BeGeneric ;-)

Various KDE 1.-4. Improvements by thomas12777 117 comments

Please obtain the sources from here:
https://sourceforge.net/p/bekwinfx/

And do no longer build against the bundled versions of animationeffect - the class is maintained in kwin and up-to-date there.
(The git sources and probably even this package should actually have them completely deactivated - was only required for KDE 4.8) - Jan 19 2013
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

There's nothing such as a "current preset"

The presets just load values from a present setting, ie. alter the various options automatically.

I could store what preset was loaded last, but that wouldn't necessarily reflect the current look at all.

You can after loading the preset walk around and alter the config options individually, even by a texteditor or through the commandline, try "bespin help" for more info.

So the next step would be to match the settings of the last loaded preset against the current settings, what would eg. already fail if you altered the minum button height or similar "minor" settings.

Sorry for the long delay of the reply. - Jan 12 2013
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

r1639 - thanks for getting me aware of this. - Dec 26 2012
Bespin

Be-Shell/Bespin by thomas12777 1662 comments

That's a pure visual thing - i don't have any control on the active area.
Just didn't want it to be too far away from the text (due to the absence of the hinting lines)

I could however see the reason of the issue.
Try "zooming out" icons (ctrl+-) and see what happens ;-)
The active area is obviously padded in relation to the icon size (height)

Gonna try what works best (growing triangle, moving it away etc.) - Dec 26 2012