Grouping Desktop

Plasma 4 Extensions

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

21
7 .0
Description:

This is an activity containment that adds to the desktop the ability to group your widgets inside frames in various arrangements.
Currently there is a group that layouts the widgets inside a grid, one that puts them in a stack, one that puts them in tabs and one that leaves them free to move.

How to install
First compile it, so extract the package, go into the folder which was created with a terminal, and execute:
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) ../
make
sudo make install
kbuildsycoca4 --noincremental

After that open the "Desktop Preferences", select "Activity" and then from the drop-down menu "GroupingDesktop". Now you could relogin to make sure it will all go ok.
Now you have only to right click on the desktop, add a group, drop your widgets in it and enjoy!

Be aware that it requires at least KDE SC 4.5, cause 4.4 has some nasty bugs that will break it.

You can see a video preview (already old, actually) on http://www.youtube.com/watch?v=SL0PU2-u0E8

You can find the most recent code on http://websvn.kde.org/trunk/KDE/kdeplasma-addons/containments/groupingdesktop/.
You can download it with "svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeplasma-addons/containments/groupingdesktop".
Last changelog:

10 years ago

0.2.1
-not using kephal anymore

0.2
-added a working panel
-much more stable

0.1.1
-urgent bugfix

0.1
-new TabbingGroup, done by lbl
-fixes

0.1 rc2
-the widgets in the grid group don't have the normal handle
-various fixes

0.1 rc1
-the widgets and groups in a grid group have a lightier "look" when the widgets are locked.
-in the grid group you can change the size of the rows and column.
-many crash and bug fixes
-minor graphics changes

C

giucam

10 years ago

can you check if you have the file /usr/include/kephal/screens.h ?

Report

Saleel

10 years ago

I dont actually, I installed the kdebase-workspace-dev but no kephal folder appears in /usr/include.

Its only necessary for multiple monitors right?

Report

nerdopolis

10 years ago

Looking at http://packages.ubuntu.com/karmic/i386/kdebase-workspace-dev/filelist kdebase-workspave-dev used to have the kephal headers. This might be a packaging error?

Report

C

giucam

10 years ago

It seems like KDE SC 4.5 doesn't install anymore the kephal headers.
I didn't notice this because i build trunk, so i have them anyway.
I've sent a mail to a KDE mailing list, so i hope i'll be able to have an answer early.

Anyway you can still compile the desktop if in the CMakeLists.txt you comment (putting a # at the start of the line) all the lines regarding the panel.

Report

steveke

10 years ago

I don't think it's only a kubuntu issue as I have the same thing with arch's kde-unstable 4.5 RC2 packages.

Report

xax200

10 years ago

The problem happens because you're using the KDE 4.5 beta packages from kubuntu beta ppa. It's either a bug, or it could be that they in the process of separating libkephal into it's own package. I think the latter is probably the case, as there is a package called libkephal4. I might expect something like libkephal4-dev to come out in the future, but for now, the headers are not to be found at all, which is pretty lame.

Report

C

giucam

10 years ago

I think so. Kephal *is* in kdebase-workspace as you can see on http://websvn.kde.org/trunk/KDE/kdebase/workspace/libs/ so it must be a package bug.

Report

C

giucam

10 years ago

i think it does that also, but i use it to read the size of the screen and set the panel width/height.

Report

nerdopolis

10 years ago

I don't even have the /usr/include/kephal folder...

Report

C

giucam

10 years ago

so you're missing some package. I don't use ubuntu so i don't know the exact name but it should be something related to kdebase-workspace.

Report

mreloads

10 years ago

Could it be possible to add containers to panel, thus hiding associated widgets? That way I could add to panel those plasmoids that don't use PopupApplet widget.

Report

C

giucam

10 years ago

i'm currently working on the panel, in fact most of the changes since the release of 0.1.1 are for the panel.
anyway there isn't a group that does what you want, yet. i want to do it but after i'm finished with the panel.

Report

mreloads

10 years ago

IMHO, this is the most useful KDE improvement since Smooth Tasks. Especially Tabbing group helps reduce desktop clutter by hiding away less needed plasmoids.

No crashes so far, the only minor problem was that some fullscreen desktop container is shown when enabling Grouping desktop activity for first time. Had to close it several times before it disappeared completely without returning at next Plasma startup. Fingers crossed.

Report

C

giucam

10 years ago

hi, i didn't encounter that bug, but on svn i did a change that has likely fixed that.

anyway, as a workaround there is a safer, while harder, way to change the desktop to GroupingDesktop:
in a shell do:
-quit plasma with "kquitapp plasma-desktop"
-modify the file (~/.kde4 or ~/.kde)/share/config/plasma-desktop-appletsrc
locate in the file an entry titled [Containment][number] in which there is a line "plugin=desktop". change it with "plugin=groupingdesktop" and restart plasma calling plasma-desktop

Report

Morgenstern

10 years ago

I really like your work, but since i use Grouping Desktops, everytime i try to lock widgets Plasma crashes...

Report

Morgenstern

10 years ago

I'm using Sidux Hypnos and Kde 4.4 and your 0.1.1 version (not svn cause i can't compile it).

Report

C

giucam

10 years ago

hi, i can't reproduce the crash, so i need more information. can you provide the backtrace?

Report

Morgenstern

10 years ago

Sorry, how can i have the backtrace?

Report

C

giucam

10 years ago

when plasma crashes a window will appear, right? (if it doesn't appear anymore you have to quit and restart plasma with "kquitapp plasma-desktop" and "plasma-desktop". the next time that plasma crashes it will appear.)

in that window click on the "Developer information" tab, wait for it to load and copy the output on a pastebin, then link it here.

Report

Morgenstern

10 years ago

No, when it crashes no window appears and it doesn't restart by itself.
With "kquitapp plasma-desktop" and "plasma-desktop" nothing changes, it simply restarts but the problem remains, that's what i get

morgenstern@sidux:~$ kquitapp plasma-desktop
<unknown program name>(2482)/: "Application plasma-desktop could not be found using service org.kde.plasma-desktop and path /MainApplication."
morgenstern@sidux:~$ plasma-desktop
QDBusObjectPath: invalid path ""
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QDBusObjectPath: invalid path ""
QGraphicsLinearLayout::removeAt: invalid index 0
plasma-desktop(2484)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "systemsettings" not found
plasma-desktop(2484)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "/home/morgenstern/.kde/share/apps/RecentDocuments/Downloads.desktop" not found
plasma-desktop(2484)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "/home/morgenstern/.kde/share/apps/RecentDocuments/newversion.zip.desktop" not found
plasma-desktop(2484)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "/home/morgenstern/.kde/share/apps/RecentDocuments/WhiteGlass.zip[2].desktop" not found
plasma-desktop(2484)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "/home/morgenstern/.kde/share/apps/RecentDocuments/schermata4.jpeg.desktop" not found
plasma-desktop(2484)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "/home/morgenstern/.kde/share/apps/RecentDocuments/schermata3.jpeg.desktop" not found
plasma-desktop(2484)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "/home/morgenstern/.kde/share/apps/RecentDocuments/WhiteGlass.zip.desktop" not found
plasma-desktop(2484)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "/home/morgenstern/.kde/share/apps/RecentDocuments/116926-groupingdesktop-0.1.1.tar.bz2.desktop" not found
plasma-desktop(2484)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "/home/morgenstern/.kde/share/apps/RecentDocuments/tabbinggroup.cpp.desktop" not found
plasma-desktop(2484)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "/home/morgenstern/.kde/share/apps/RecentDocuments/groupingpanel.h.desktop" not found
plasma-desktop(2484)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "/home/morgenstern/.kde/share/apps/RecentDocuments/groupingpanel.cpp.desktop" not found
plasma-desktop(2484)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/solid_hal_power.so" does not offer a qt_plugin_instance function.
QGraphicsLinearLayout::removeAt: invalid index 0
Kross: "Loading the interpreter library for javascript"
Kross: "Successfully loaded Interpreter instance from library."
Kross: "KjsScript::KjsScript"
Kross: "KjsScript::initialize"
Kross: "KjsScript::~KjsScript"
Kross: "KjsScript::KjsScript"
Kross: "KjsScript::initialize"
Kross: "KjsScript::~KjsScript"
Kross: "KjsScript::KjsScript"
Kross: "KjsScript::initialize"
Kross: "KjsScript::~KjsScript"
Kross: "KjsScript::KjsScript"
Kross: "KjsScript::initialize"
Kross: "KjsScript::~KjsScript"
Kross: "KjsScript::KjsScript"
Kross: "KjsScript::initialize"
Kross: "KjsScript::~KjsScript"
Kross: "KjsScript::KjsScript"
Kross: "KjsScript::initialize"
Kross: "KjsScript::~KjsScript"
Kross: "KjsScript::KjsScript"
Kross: "KjsScript::initialize"
Kross: "KjsScript::~KjsScript"
Kross: "KjsScript::KjsScript"
Kross: "KjsScript::initialize"
Kross: "KjsScript::~KjsScript"
Kross: "KjsScript::KjsScript"
Kross: "KjsScript::initialize"
Kross: "KjsScript::~KjsScript"
Kross: "KjsScript::KjsScript"
Kross: "KjsScript::initialize"
Kross: "KjsScript::~KjsScript"
plasma-desktop(2484)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/solid_networkmanager07.so" does not offer a qt_plugin_instance function.
Kross: "KjsScript::KjsScript"
Kross: "KjsScript::initialize"
QGraphicsLinearLayout::removeAt: invalid index 0
Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found while parsing introspection
QGraphicsItem::setParentItem: cannot assign 0x864adb0 as a parent of itself

Report

Morgenstern

10 years ago

Tnx, now it seems to work fine...

Report

C

giucam

10 years ago

uh-ho, that "QGraphicsItem::setParentItem: cannot assign 0x864adb0 as a parent of itself" doesn't look good. it means there's some troubles in the config file that causes a group to try to enter in itself. you must quit plasma and edit your $HOME/.kde4/share/config/plasma-appletsrc. locate the [Containment] section that contains a line that says "plugin=groupingdesktop", then remove all the sections titled with [Group] and [GroupInformation] below it.
You will lose all your groups but plasma won't crash anymore.

Report

dovidhalevi

10 years ago

Switching to this mode kills my desktop layout. So does switching out.

In the grouping mode, non-plasmoid icons (i.e. folders, devices, programs) can no longer be moved, are stuck in the upper left corner where they got mashed. Since it was these I wanted to group, I did not try further but went back to regular desktop. Had to move and resize everything to restore.

Report

C

giucam

10 years ago

That was a known problem, i discovered it little after the release of the rc1 here. Anyway it is already fixed on svn :)

Report

Izo

10 years ago

Superb work, this is exactly what I needed to do some serious KDE modding.

/izo\

Report

10 years ago

0.2.1
-not using kephal anymore

0.2
-added a working panel
-much more stable

0.1.1
-urgent bugfix

0.1
-new TabbingGroup, done by lbl
-fixes

0.1 rc2
-the widgets in the grid group don't have the normal handle
-various fixes

0.1 rc1
-the widgets and groups in a grid group have a lightier "look" when the widgets are locked.
-in the grid group you can change the size of the rows and column.
-many crash and bug fixes
-minor graphics changes

12345678910
4
product-maker gravity0 Nov 25 2010 9 excellent
product-maker Murz Nov 11 2010 9 excellent
product-maker MetalByte Nov 01 2010 9 excellent
product-maker KAnton Oct 17 2010 9 excellent
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
Murz
Nov 10 2010
opaflamme
Oct 16 2010
dgvirtual
Aug 17 2010
jsimek
Aug 12 2010
karoshiboy
Jul 28 2010
OdinEidolon
Jul 27 2010
mreloads
Jul 25 2010
nerdopolis
Jul 19 2010
Lole
Jul 19 2010
Okanda
Jun 30 2010
janet
Jun 29 2010
sWirus
Jun 19 2010
kudlaty
Jun 19 2010
lbl
Jun 18 2010
Znurre
Jun 17 2010
markum
Jan 02 2010
DaiVied
Dec 19 2009
SeaJey
Dec 12 2009
Genserowski
Dec 12 2009
gooler
Dec 12 2009
devport
Dec 11 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.2.1
updated Jul 24 2010
added Dec 11 2009
downloads 24h
0
mediaviews 24h 0
pageviews 24h 4