Difference between revisions of "Plasma"

From ArchWiki
Jump to: navigation, search
m (Get new plasmoids)
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[Category:Desktop environments]]
 
[[Category:Desktop environments]]
[[Category:Eye candy (English)]]
+
[[Category:Eye candy]]
{{i18n|Plasma}}
+
[[it:Plasma]]
 
+
=Introduction=
+
 
Plasma is the component of the [[KDE]] project that actually displays the desktop (i.e. wallpapers, panels, etc) using 'containments'. The containments are capable of containing other widgets called plasmoids.
 
Plasma is the component of the [[KDE]] project that actually displays the desktop (i.e. wallpapers, panels, etc) using 'containments'. The containments are capable of containing other widgets called plasmoids.
  
=Get new plasmoids=
+
==Get new plasmoids==
 
You can get new plasmoids from [http://www.kde-look.org/index.php?xsortmode=new&logpage=0&xcontentmode=70x77x78&page=0 kde-look.org].
 
You can get new plasmoids from [http://www.kde-look.org/index.php?xsortmode=new&logpage=0&xcontentmode=70x77x78&page=0 kde-look.org].
  
There are a large amount of plasmoids in the AUR, including [https://aur.archlinux.org/packages.php?ID=21084 kde-extragear-plasmoids] which collects popular plasmoids from [http://www.kde-look.org/index.php?xsortmode=new&logpage=0&xcontentmode=70x77x78&page=0 kde-look.org] and places them in a single package.
+
There are a large amount of plasmoids in the AUR, including {{AUR|kde-extragear-plasmoids-meta}} which collects popular plasmoids from [http://www.kde-look.org/index.php?xsortmode=new&logpage=0&xcontentmode=70x77x78&page=0 kde-look.org] and places them in a single package.
  
=Tips & tricks=
+
==Tips & tricks==
==Decoupling the Dashboard from the Desktop==
+
===Decoupling the Dashboard from the Desktop - the plasma way===
===Introduction===
+
click on top right cashew - zoom out - (new screen, look at new menu top left) configure plasma - use a separate dashboard
The Dashboard is what shows up when you press the Ctrl+F12 keys (if Plasma is running and if you didn't change the shortcut of course). <cite>By default, this "brings forward" your desktop and helps address the "but I never see my desktop!" problem</cite>, explains Aaron Seigo in [http://aseigo.blogspot.com/2008/09/howto-decoupling-dashboard-from-desktop.html HOWTO: decoupling the dashboard from the desktop].
+
  
{{Note|as of KDE 4.2 there is no GUI to accomplish this task so we have to edit the Plasma configuration files, this is not really a user-friendly procedure.}}
+
===Adding an OSX style or so-called "fancy" panel===
{{Warning|you should make a backup of the Plasma configuration files cited below before starting.}}
+
 
+
===Create a new desktop===
+
The first thing to do is create a new "Desktop" that will become our Dashboard:
+
#zoom out using the Cashew on the upper-right corner of your desktop
+
#find a button to add an Activity (you might have to unlock the plasmoids for this button to appear)
+
 
+
===Quit plasma===
+
The second step is to quit Plasma so it won't interfere while we are editing its configuration files:
+
*execute {{Ic|kquitapp plasma}}
+
{{Note|don't feel lost because your desktop has disappeared, your applications are still here and Alt+Tab and KRunner (Alt+F2 by default) still work too!}}
+
 
+
===Edit the files===
+
We have '''2 numbers''' to find in the following file, '''write them down''':
+
{{hc|~/.kde4/share/config/plasma-appletsrc|2=[Containments]['''$desktop_activity_number''']
+
...
+
plugin=desktop      # search for these lines to easily find the Desktops
+
...
+
 
+
[Containments]['''$dashboard_activity_number''']
+
...
+
plugin=desktop
+
...}}
+
 
+
In this second file we will tell Plasma to use the new Activity as the Dashboard of our Desktop:
+
{{hc|~/.kde4/share/config/plasmarc|2=[ViewIds]
+
...
+
# find the line below to find out the '''$desktop_view_id''', if the line doesn't exist just add it using an unused view id
+
'''$desktop_activity_number'''='''$desktop_view_id'''
+
...
+
 
+
[PlasmaViews]['''$desktop_view_id''']    # find or add this section
+
...
+
DashboardContainment='''$dashboard_activity_number'''    # add this line}}
+
 
+
===Re-start plasma===
+
You can now re-start plasma and press Ctrl+F12 or whatever shortcut you gave for the Dashboard to check if you did things right.
+
 
+
===Troubleshooting===
+
If it doesn't work maybe this example with real numbers will help you find your error:
+
{{hc|~/.kde4/share/config/plasma-appletsrc|2=[Containments]['''13''']
+
...
+
plugin=desktop
+
...
+
 
+
[Containments]['''25''']
+
...
+
plugin=desktop
+
...}}
+
{{hc|~/.kde4/share/config/plasmarc|2=[ViewIds]
+
...
+
'''13'''='''8'''
+
...
+
 
+
[PlasmaViews]['''8''']
+
...
+
DashboardContainment='''25'''}}
+
 
+
==Decoupling the Dashboard from the Desktop - the plasma way==
+
click on top right cashew - zoom out - (new screen, look at new menu top left) configure plasma - use a separate dashboard
+
==Adding an OSX style or so-called "fancy" panel==
+
 
Right click on the desktop - add panel - fancy panel
 
Right click on the desktop - add panel - fancy panel
 
{{Warning|At the time of writing it is possible to edit a fancy panel extensively but it won't remember any settings.}}
 
{{Warning|At the time of writing it is possible to edit a fancy panel extensively but it won't remember any settings.}}
==Having different wallpapers for each side of your cube==
+
 
 +
===Having different wallpapers for each side of your cube===
 
click on top right cashew - zoom out - (new screen, look at new menu top left) configure plasma - different activity for each desktop
 
click on top right cashew - zoom out - (new screen, look at new menu top left) configure plasma - different activity for each desktop
==Mixing desktop and folder view activities in one cube==
+
 
 +
===Mixing desktop and folder view activities in one cube===
 
click on top right cashew - zoom out - (new screen, look at new menu top left) configure plasma - different activity for each desktop
 
click on top right cashew - zoom out - (new screen, look at new menu top left) configure plasma - different activity for each desktop

Revision as of 03:40, 18 March 2013

Plasma is the component of the KDE project that actually displays the desktop (i.e. wallpapers, panels, etc) using 'containments'. The containments are capable of containing other widgets called plasmoids.

Get new plasmoids

You can get new plasmoids from kde-look.org.

There are a large amount of plasmoids in the AUR, including kde-extragear-plasmoids-metaAUR which collects popular plasmoids from kde-look.org and places them in a single package.

Tips & tricks

Decoupling the Dashboard from the Desktop - the plasma way

click on top right cashew - zoom out - (new screen, look at new menu top left) configure plasma - use a separate dashboard

Adding an OSX style or so-called "fancy" panel

Right click on the desktop - add panel - fancy panel

Warning: At the time of writing it is possible to edit a fancy panel extensively but it won't remember any settings.

Having different wallpapers for each side of your cube

click on top right cashew - zoom out - (new screen, look at new menu top left) configure plasma - different activity for each desktop

Mixing desktop and folder view activities in one cube

click on top right cashew - zoom out - (new screen, look at new menu top left) configure plasma - different activity for each desktop