-
 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   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (3) . 

Kontainer

   0.5  

KDE Improvement

Score 69%
Kontainer
zoom


Minimum required   KDE 4.x
Downloads:  253
Submitted:  Mar 15 2013
Updated:  Nov 7 2013

Description:

A rudimentary nested Windowmanager, tiling clients vertically, horizontally or a row or column oriented grid.

NOTICE:
This is NOT intended as full featured windowmanager (tiling or not), but as sidearm to combine some windows in one.

It will work with most windowmanagers, for KWin you currently have to keep WORKAROUND_KWIN enabled (a workaround including a usleep...)

More thought for playing around and to trigger some feedback.




Changelog:

0.2
---
* fixed QApplication API invocation (geee, that's really picky ;-)
* added two apparently prominent tiling modes (with a major window and many sidearms)
* regrab button for the active tile when the window gets deactivated (thus the focus usually somewhere else)
* use a QMainWindow (to get the menubar integrated with the decoration or the panel in case)
* added license stuff

0.3
----
* Added Ctrl+Tab shortcut to cycle tiles
* added "--title" switch
* added "--rowlayout" or "--collayout" custom layouts
* added hinting label for the switches ;-)

0.4
-----
* added dbus interface, supporting "toggle" and "toggleMenu" to be used eg. by khotkeys
* added dock mode (eg. "--dock topLeft", "--struts"
* releasing windows on sigsegv

0.4a
------
* fix slide hint and struts for some dock modes
* add KStyleFeatureRequest hint for shadows on docks (applies to recent bespin and upcoming oxygen)
* added "quit" to dbus interface

0.4b
-----
* Only grab ctrl/ctrl+numlock + tab

0.5
------
* Grab ctrl+alt/ctrl+alt+numlock + tab for cycling the active window




LicenseGPL
(Sources)
Send to a friend
Subscribe
Other  Apps  from thomas12777
Report inappropriate content



goto page:  1  2 

-
.

 Sounds great!.. Segfaults :'(

 
 by Moviuro on: Mar 15 2013
 
Score 50%

Well, you really are an awesome person. Because I was thinking about writing an idea of such a software for KDE since tiling was removed, but well, you were faster ^_^

This sounds really great, but well, even after
$ ./configure
$ make && su -c "make install"

Everything works fine (install works) but I can't launch kontainer since it segfaults (everything in the paste)...

(http://pastebin.com/Y4YVYGeB)

I hope I didn't do anything wrong...

Still, thank you very much for sharing with us your incredible creativity & software ;)


\"Our life is the immortals\' death\"
Reply to this

-

 Re: Sounds great!.. Segfaults :'(

 
 by Moviuro on: Mar 16 2013
 
Score 50%

Sorry, I forgot the debug info: I run ArchLinux x86_64, running KDE 4.10.1, uptodate.

I don't know anything about Qt (except it's nice in KDE) nor anything about programming apps... :$


\"Our life is the immortals\' death\"
Reply to this

-

 Re: Re: Sounds great!.. Segfaults :'(

 
 by thomas12777 on: Mar 16 2013
 
Score 50%

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)


Reply to this

-
.

 Re: Re: Re: Sounds great!.. Segfaults :'(

 
 by Moviuro on: Mar 16 2013
 
Score 50%

I was using you bespin theme engine with my own theme.

Now that I cleared the "Release" and put some other text (I put "CustomSchizophrenia"), it works :)

Now it works and it's really kool :D


\"Our life is the immortals\' death\"
Reply to this

-

 Re: Re: Re: Re: Sounds great!.. Segfaults :'(

 
 by thomas12777 on: Mar 16 2013
 
Score 50%

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.


Reply to this

-

 Re: Re: Re: Re: Re: Sounds great!.. Segfaults :'(

 
 by thomas12777 on: Mar 16 2013
 
Score 50%

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".


Reply to this

-

 Another segfault

 
 by markc on: Mar 16 2013
 
Score 50%

Same here, Archlinux with KDE 4.10.1

http://pastebin.com/xGYPf3aB

What about pushing this into Github?


Reply to this

-

 Re: Another segfault

 
 by thomas12777 on: Mar 16 2013
 
Score 50%

#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 ;-)


Reply to this

-

 AUR package

 
 by D-- on: Mar 16 2013
 
Score 50%

here: https://aur.archlinux.org/packages/kontainer


Reply to this

-

 yakuake mode?

 
 by herrbatka on: Mar 17 2013
 
Score 50%

I wonder if it's possible to add yakuake like behavior to this so you can show/hide Kontainer after pressing keyboard key.


Reply to this

-

 Re: yakuake mode?

 
 by thomas12777 on: Mar 19 2013
 
Score 50%

"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)


Reply to this

-

 Re: Re: yakuake mode?

 
 by herrbatka on: Mar 19 2013
 
Score 50%

Thanks, this sounds good.


Reply to this

-
.

 This is great!

 
 by Flintheart on: Mar 17 2013
 
Score 50%

Something like this is just what I needed!

It's still a bit unstable, windows are not accessible after a little while, but this is understandable. It is release 0.2 after all.

Some suggestions:

1. I would love some way of customizing the window title. Something with Variables like "My Project 1 ($nameOfActiveSubWindow)". Maybe even a way to customize the window icon.

2. An option to show some resize handles between the sub-windows would be great, so one can easily change the proportions the individual sub-windows take of the container window surface.

3. I'm using the new window menu feature in KDE 4.10. Sadly the menus of sub-windows go lost when using Kontainer. Some workaround for that would be great. Maybe there is even some way to merge the Kontainer menu with the menu of the active sub-window. Wishful thinking, I presume.


Reply to this

-

 Re: This is great!

 
 by thomas12777 on: Mar 17 2013
 
Score 50%

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?


Reply to this

-

 0.4a

 
 by D-- on: Mar 21 2013
 
Score 50%

Hi, is "qdbus org.kde.Kontainer /Kontainer quit
" right to activate the quit method? Does not seem to work in 0.4a


Reply to this

-

 Re: 0.4a

 
 by thomas12777 on: Mar 21 2013
 
Score 50%

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.


Reply to this

-

 Re: 0.4a

 
 by thomas12777 on: Mar 21 2013
 
Score 50%

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!


Reply to this

goto page:  1  2 

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
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

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

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.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.