| (8 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
| + | |||
A feature of Plasma is the ability to theme desktop elements using '''Scalable Vector Graphics (SVGs)'''. This means there is no need for theme authors to know C++ or any other programming language to create a great looking theme. They need only use common graphics tools many are already familiar with (e.g. Krita, Inkscape, The GIMP, Karbon, etc.). Depending on your prowess with such tools, a great looking plasma theme can be created in under an hour. | A feature of Plasma is the ability to theme desktop elements using '''Scalable Vector Graphics (SVGs)'''. This means there is no need for theme authors to know C++ or any other programming language to create a great looking theme. They need only use common graphics tools many are already familiar with (e.g. Krita, Inkscape, The GIMP, Karbon, etc.). Depending on your prowess with such tools, a great looking plasma theme can be created in under an hour. | ||
==Creating a Plasma Theme in 7 Easy Steps== | ==Creating a Plasma Theme in 7 Easy Steps== | ||
| − | # Copy and rename an existing plasma theme folder. The new folder name can be the name of the theme. Installed themes are stored in ''share/apps/desktoptheme/'' in either your .kde directory or your kde installation directory. You can also find Plasma themes on [http://kde-look.org KDE-Look]. Edit the .desktop file in the theme folder to match your theme name. See [[Projects/Plasma/Theme#Theme_Storage|Theme Storage]] if you need help. | + | # Copy and rename an existing plasma theme folder. The new folder name can be the name of the theme. Installed themes are stored in ''share/apps/desktoptheme/'' in either your .kde directory or your kde installation directory. You can also find Plasma themes on [http://kde-look.org KDE-Look]. Edit the '''metadata.desktop''' file in the theme folder to match your theme name. See [[Projects/Plasma/Theme#Theme_Storage|Theme Storage]] if you need help. |
| − | # Open the SVG file associated with the plasma element you would like to theme (panel background, clock, etc.) in an SVG editor (e.g. Inkscape, Karbon). See [[Projects/Plasma/Theme#Current_Theme_Elements|Current Theme Elements]] if you need help understand what each SVG file does. | + | # Open the SVG file associated with the plasma element you would like to theme (panel background, clock, etc.) in an SVG editor (e.g. Inkscape, Karbon). See [[Projects/Plasma/Theme#Current_Theme_Elements|Current Theme Elements]] if you need help understand what each SVG file does. |
| − | # Each SVG file may have several elements (e.g. objects with element id = left, right, top, topright, center, clock face, etc.). Modify existing elements OR delete and create replacement elements. Elements can be any SVG primitive or object group. '''''Hint''': You can embed raster images as SVG elements if you creatively prefer raster editors like Krita, the GIMP, etc. | + | # Each SVG file may have several elements (e.g. objects with element id = left, right, top, topright, center, clock face, etc.). Modify existing elements OR delete and create replacement elements. Elements can be any SVG primitive or object group. '''''Hint''': You can embed raster images as SVG elements if you creatively prefer raster editors like Krita, the GIMP, etc. '''Remember to embed, instead of link, each image (inkscape: effects->images->embed all images)'''.'' |
| + | # To make renaming of the theme elements easier is possible to use an Inkscape extension located at [http://websvn.kde.org/trunk/playground/artwork/Oxygen/notmart/inkscapeextensions/ this address] | ||
# Check to make sure that the element id for each new element is correctly set. '''''Hint''': In Inkscape you can check the element id for each object by right-clicking on the object and choosing Object Properties.'' | # Check to make sure that the element id for each new element is correctly set. '''''Hint''': In Inkscape you can check the element id for each object by right-clicking on the object and choosing Object Properties.'' | ||
| − | # Add or remove any hint element you desire. It doesn't matter how these look, just that objects with the element ids matching the hint elements either exist or don't exist. See [[Projects/Plasma/Theme# | + | # Add or remove any hint element you desire. It doesn't matter how these look, just that objects with the element ids matching the hint elements either exist or don't exist. See [[Projects/Plasma/Theme#Backgrounds_format|Backgrounds format]] for a description of available hint elements. |
# Save the SVG file. | # Save the SVG file. | ||
# Repeat steps 3 - 6 for any other plasma element for which you would like to create a new theme. | # Repeat steps 3 - 6 for any other plasma element for which you would like to create a new theme. | ||
| Line 12: | Line 14: | ||
==Testing the Theme== | ==Testing the Theme== | ||
* If you have not already done so, copy your new theme folder to the ''share/apps/desktoptheme'' directory in either your .kde folder or your kde install folder. | * If you have not already done so, copy your new theme folder to the ''share/apps/desktoptheme'' directory in either your .kde folder or your kde install folder. | ||
| − | * Choose the theme from the | + | * Choose the theme from the Configure Desktop dialog (may require kde restart) or edit your ''plasmarc'' file to point to the new theme. |
* Carefully check the appearance of all new theme elements. | * Carefully check the appearance of all new theme elements. | ||
* If you created separate non-composite themes (SVGs in the opaque folder), remember to test your theme with compositing (Desktop Effects) turned off. | * If you created separate non-composite themes (SVGs in the opaque folder), remember to test your theme with compositing (Desktop Effects) turned off. | ||
A feature of Plasma is the ability to theme desktop elements using Scalable Vector Graphics (SVGs). This means there is no need for theme authors to know C++ or any other programming language to create a great looking theme. They need only use common graphics tools many are already familiar with (e.g. Krita, Inkscape, The GIMP, Karbon, etc.). Depending on your prowess with such tools, a great looking plasma theme can be created in under an hour.
Contents |