Difference between revisions of "Plasma"

From ArchWiki
Jump to: navigation, search
(Get new plasmoids)
m (Format fixes.)
(21 intermediate revisions by 12 users not shown)
Line 1: Line 1:
[[Category:Desktop environments (English)]][[Category:Eye candy (English)]]
+
[[Category:KDE]]
=Introduction=
+
[[Category:Eye candy]]
Plasma is the component of the [[KDE]] project that actually displays the desktop (i.e. wallpapers, panels, etc).
+
[[it:Plasma]]
 +
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 [http://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 hem 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.
 
+
[[KDEmod]] users can easily install new plasmoids from the kdemod-extragear repository.
+
 
+
=Tips & tricks=
+
==Decoupling the Dashboard from the Desktop==
+
===Introduction===
+
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.}}
+
{{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 {{Codeline|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''':
+
{{File|name=~/.kde4/share/config/plasma-appletsrc|content=[Containments]['''$desktop_activity_number''']
+
...
+
plugin=desktop      # search for these lines to easily find the Desktops
+
...
+
  
[Containments]['''$dashboard_activity_number''']
+
== Tips and tricks==
...
+
plugin=desktop
+
...}}
+
  
 +
=== 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
  
In this second file we will tell Plasma to use the new Activity as the Dashboard of our Desktop:
+
=== Adding an OSX style or so-called "fancy" panel ===
{{File|name=~/.kde4/share/config/plasmarc|content=[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
+
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 will not remember any settings.}}
DashboardContainment='''$dashboard_activity_number'''    # add this line}}
+
  
===Re-start plasma===
+
=== Having different wallpapers for each side of your cube ===
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===
+
click on top right cashew - zoom out - (new screen, look at new menu top left) configure plasma - different activity for each desktop
If it doesn't work maybe this example with real numbers will help you find your error:
+
{{File|name=~/.kde4/share/config/plasma-appletsrc|content=[Containments]['''13''']
+
...
+
plugin=desktop
+
...
+
  
[Containments]['''25''']
+
=== Mixing desktop and folder view activities in one cube ===
...
+
plugin=desktop
+
...}}
+
{{File|name=~/.kde4/share/config/plasmarc|content=[ViewIds]
+
...
+
'''13'''='''8'''
+
...
+
  
[PlasmaViews]['''8''']
+
click on top right cashew - zoom out - (new screen, look at new menu top left) configure plasma - different activity for each desktop
...
+
DashboardContainment='''25'''}}
+

Revision as of 22:25, 4 March 2014

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 and 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 will not 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