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

So, I've moved Grouping Desktop to kdeplasma-addons.
KDE now has a nice wiki with a lot of documentation for the users. If you're willing to help you could write some documentation at http://userbase.kde.org/Plasma/GroupingDesktop .
It would really be appreciated! :)

Report

9

Murz

10 years ago

How I can activate this plasmoid?
package kdeplasma-addons is installed.

I have use Kubuntu 10.10 and KDE 4.5.3, but can't find it on any list!

I check in plasmoids list, new activity, new panel...

How I can install it in my system?

Report

C

giucam

10 years ago

groupingdesktop isn't in 4.5's kdeplasma-addons. you must download the sources and compile it, or wait for 4.6

Report

9

Murz

10 years ago

Thank's! I will try to compile from sources.
Can you create the PPA for kubuntu users with your plasmoid? Because compiling from sources in not so easy process for not-advanced users, and after each KDE update they must do the recompile and reinstall.

Or you may add your package to any other ppa, for example, in this: https://launchpad.net/~samrog131/+archive/ppa/

Report

Saleel

10 years ago

I compiled without the panel, and was wondering if you could somehow let the grouping widgets be differently/seperately themed? currently they seem to be using transparent-background.svgz.

Wonderful widget btw.

Report

C

giucam

10 years ago

I guess i could make it load a new svg, but then the theme creators would need to do it. ;)
On the other hand i find that the current background fits quite well, so i don't know.

Report

Saleel

10 years ago

can you let it search for a custom svg, but if it isnt found then have it drop to transparentbackground.svgz?

I ask because if a plasma theme is doing some with the borders then it makes it look slightly odd : see screenshot (http://imagebin.ca/img/mgpM8dwy.png)

Another Bug to report is that the widgets seem to lose their rightclick menus when placed on to tabbing group, this isnt really all destructive for most widgets but for the folderview widget it makes it behave oddly since you cant drag folders around, and you cant right click to open dolphin.

Report

C

giucam

10 years ago

Hu, i didn't notice that. Anyway it seems it happens only when i click on a non selected icon. I'll investigate on that.

As regards the svg, currently GroupingDesktop is in the process of being moved into KDE, after that i can see what I can do :)

Report

Saleel

10 years ago

Awesome, this really beats the newspaper activity hands down. :D

Report

Saleel

10 years ago

after reading that bug description doesnt make much sense. To reproduce:

1.create tabbing group
2. place folderview in a tab
3. try to drag on of the files/folders displayed in the folderview
3. the whole folderview instead of just the particular grabbed file/folder moves.
4.right click folderview, you lose the options to sort icons and to open in dolphin.

Report

C

giucam

10 years ago

ah ok, now i can see it. Yes, it's definitely broken.

Report

C

giucam

10 years ago

Fixed on svn ;)

Report

AlejandroNova

10 years ago

These are my wishes.

1. Physics. I love what happens if you drag a plasmoid beyond the screen border in SC 4.5 with a Desktop containment. Can you replicate that?

2. Grid. Since SC 4.0 some of us have been crying for a grid to align Plasmoids to. Can you implement that?

3. Desktop switching in the containment, with previous/next buttons and a small indicator coverable by Plasmoids, as implemented by Aaron Seigo. Can you port that? ;)

Report

C

giucam

10 years ago

Hi,

1) Yes, I can do that, but not so soon :) i don't find it so important, so i've other priorities.

2) I've already tried to do that. Actually it requires very little work, so expect to see it. I've only to decide some things like if it is better to do a new containment type or an option in the config dialog.

3) I don't think, sorry :) I find it rather unuseful while it requires a bit of work to do it. Without saying that it can be in the way when managing widgets. And with the new Activity switcher in 4.5 it will be anyway fast and easy to change it.

Report

C

giucam

10 years ago

The svn version has a desktop containment (Grid Desktop) that snap its widgets to a grid.

Report

mreloads

10 years ago

What are advantages of Grouping Panel compared to an ordinary one?

Report

C

giucam

10 years ago

Well, it has grouping support. So you can have more that one row and build more complex layouts.

Report

TheBlackCat

10 years ago

Great idea! I have been looking for something like this.

I do have a suggestion, though. It would be nice if there was an option to change what sort of containment the widgets were told they are in. So for instance many widgets will behave differently if they think they are in a panel than they do if they think they are in a desktop.

So it would be nice if users could set your widget to report different containment types to the widgets inside it. That way, for instance, someone could put desktop widget in a panel, or panel widgets on the desktop. You could even allow people to set whether the widget should act as though they are in a vertical panel or a horizontal one. And if there are other types of containments that also change widgets' behavior (like the netbook containment or mid containment), this would provide even more flexibility.

Report

C

giucam

10 years ago

Currently it is not possible. I have however asked for the inclusion of this in trunk, so i hope to find a solution once it's in.

Report

lbl

10 years ago

This is dedicated to everybody who upgrades from an older version to 0.2:

There's a change in the TabbingGroup (so all other's should have no problem) which changes the name of some config entries.
To fix it open .kde/share/config/plasma-desktop-appletsrc and change all "SiteIndex" to "TabIndex".

Should then look this way:
[Containments][404][Applets][371][GroupInformation]
Group=3
Position=-60.083279967308,-7.32438063621521
TabIndex=0

That should fix it (at least worked for me)

Report

lbl

10 years ago

I forgot some stuff:

Another name changed: it's right within the config for the group. It's now "Tabs" instead of "tabs" and "CurrentIndex" instead of "currenttab" (later one is not very important).

The entry should then look similar to this:
[Containments][404][Groups][3]
geometry=861,37,313,314
plugin=tabbing
zvalue=2

[Containments][404][Groups][3][Configuration]
CurrentIndex=0
Tabs=Wetter,Musik,Sonstiges

Report

C

giucam

10 years ago

oh right, i forgot about that. Thanks! :)

Report

nerdopolis

10 years ago

This plasmoid looks very awesome! I've been waiting for a plasmoid like this.

I can't get it to compile though... Even after I installed kdelibs5-dev
I get:
[ 0%] Built target plasma_groupingcontainment_automoc
Scanning dependencies of target plasma_groupingcontainment
make[2]: Warning: File `../lib/gridgroup.cpp' has modification time 42 s in the future
[ 6%] Building CXX object CMakeFiles/plasma_groupingcontainment.dir/lib/gridgroup.o
Linking CXX shared library lib/libplasma_groupingcontainment.so
make[2]: warning: Clock skew detected. Your build may be incomplete.
[ 75%] Built target plasma_groupingcontainment
[ 75%] Built target plasma_containment_groupingdesktop_automoc
Linking CXX shared module lib/plasma_containment_groupingdesktop.so
[ 87%] Built target plasma_containment_groupingdesktop
[ 87%] Built target plasma_containment_groupingpanel_automoc
[ 93%] Building CXX object CMakeFiles/plasma_containment_groupingpanel.dir/panel/groupingpanel.o
/home/nerdopolis/groupingdesktop-0.2/panel/groupingpanel.cpp:31:28: error: kephal/screens.h: No such file or directory
/home/nerdopolis/groupingdesktop-0.2/panel/groupingpanel.cpp: In constructor ‘GroupingPanel::GroupingPanel(QObject*, const QVariantList&)’:
/home/nerdopolis/groupingdesktop-0.2/panel/groupingpanel.cpp:40: error: ‘Kephal’ was not declared in this scope
/home/nerdopolis/groupingdesktop-0.2/panel/groupingpanel.cpp: In member function ‘void GroupingPanel::updateBorders(const QRect&)’:
/home/nerdopolis/groupingdesktop-0.2/panel/groupingpanel.cpp:123: error: ‘Kephal’ has not been declared
/home/nerdopolis/groupingdesktop-0.2/panel/groupingpanel.cpp:144: error: ‘Kephal’ has not been declared
/home/nerdopolis/groupingdesktop-0.2/panel/groupingpanel.cpp: In member function ‘virtual void GroupingPanel::constraintsEvent(Plasma::Constraints)’:
/home/nerdopolis/groupingdesktop-0.2/panel/groupingpanel.cpp:198: error: ‘Kephal’ has not been declared
make[2]: *** [CMakeFiles/plasma_containment_groupingpanel.dir/panel/groupingpanel.o] Error 1
make[1]: *** [CMakeFiles/plasma_containment_groupingpanel.dir/all] Error 2
make: *** [all] Error 2

Report

Saleel

10 years ago

are you missing kdebase-workspace-dev?

install apt-file
[code]sudo aptitude install apt-file [/code]
then search what that missing file is about:
[code]apt-file search screens.h[/code]

you should get a list of packages that contain that missing file, you are probably missing one of those.

Report

Saleel

10 years ago

Perhaps not, this is as far as I got:

Quote:Scanning dependencies of target plasma_containment_groupingpanel
[ 93%] Building CXX object CMakeFiles/plasma_containment_groupingpanel.dir/plasma_containment_groupingpanel_automoc.o
[100%] Building CXX object CMakeFiles/plasma_containment_groupingpanel.dir/panel/groupingpanel.o
/home/islington/Programs/Kde/groupingdesktop/panel/groupingpanel.cpp:31:28: error: kephal/screens.h: No such file or directory
/home/islington/Programs/Kde/groupingdesktop/panel/groupingpanel.cpp: In constructor ‘GroupingPanel::GroupingPanel(QObject*, const QVariantList&)’:
/home/islington/Programs/Kde/groupingdesktop/panel/groupingpanel.cpp:40: error: ‘Kephal’ was not declared in this scope
/home/islington/Programs/Kde/groupingdesktop/panel/groupingpanel.cpp: In member function ‘void GroupingPanel::updateBorders(const QRect&)’:
/home/islington/Programs/Kde/groupingdesktop/panel/groupingpanel.cpp:123: error: ‘Kephal’ has not been declared
/home/islington/Programs/Kde/groupingdesktop/panel/groupingpanel.cpp:144: error: ‘Kephal’ has not been declared
/home/islington/Programs/Kde/groupingdesktop/panel/groupingpanel.cpp: In member function ‘virtual void GroupingPanel::constraintsEvent(Plasma::Constraints)’:
/home/islington/Programs/Kde/groupingdesktop/panel/groupingpanel.cpp:198: error: ‘Kephal’ has not been declared
make[2]: *** [CMakeFiles/plasma_containment_groupingpanel.dir/panel/groupingpanel.o] Error 1
make[1]: *** [CMakeFiles/plasma_containment_groupingpanel.dir/all] Error 2
make: *** [all] Error 2

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
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 5