--===============0238530072== Content-Type: multipart/signed; boundary="nextPart1429317.80Kiq85y0o"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1429317.80Kiq85y0o Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Wednesday 25 March 2009, David Boosalis wrote: > The first argument is pluginName, being that the method is setWallpaper, I > thought it was something like "Air", but in looking at the .cpp for the > containment class it looks like you first must read a config entry for > wallpaper plugin and then pass it as this argument. yes, wallpapers are provided as plugins. currently we have: * image * color we also have some new ones lined up: * mandelbrot * virus you can get a list using Wallpaper::listWAllaperInfo.=20 the mode in setWallpaper is dependent on the plugin; for instance, the imag= e=20 plugin provides both SingleImage and Slideshow, as seen in the .desktop fil= e=20 for it: Actions=3DSingleImage;Slideshow; you can also get this programmaticaly via the wallpaper info. as for setting the default wallpaper, there are a few ways of doing it. on= e=20 is to provide a stock configuration for Image; another is to set the defaul= t=20 wallpaper for the Plasma::Theme, but putting this in the metadata.desktop f= or=20 the theme: [Wallpaper] defaultWallpaperTheme=3DthemeOrFilePath there are also some other customizations you can make in there, including=20 defaultWallpaperSuffix, defaultWallpaperWidth, defaultHeight though you=20 shouldn't generally require those. > If I want a container to have a customized wallpaper do I use the > setWallpaper? you certainly can. you can also provide your own wallpaper plugin, or you c= an=20 skip wallpapers and provide a Containment plugin that just does the backgro= und=20 painting itself. if you want an image, the easiest is to use the image wallpaper with a=20 customized theme. iirc, you're putting together a stock embedded type syste= m=20 so you could just as well provide a default plasma-desktop-appletsrc that h= as=20 this information in it and then there's no need to write any code or do=20 anything else. e.g. if i were you i'd grab the blankdesktop Containment plugin that is in= =20 trunk/playground/base/plasma/containments/blankdesktop/ and put something l= ike=20 this in the plasma-desktop-appletsrc: [$i] [Containments][1] plugin=3Dblankdesktop screen=3D0 wallpaperplugin=3Dimage wallpaperpluginmode=3DSingleImage [Containments][1][Wallpaper][image] wallpaper=3D/usr/share/wallpapers/mywallpaper.jpg that would give you a plasma desktop with nothing on the desktop layer but= =20 mywallpaper.jpg, no panel and everything locked down (the [$i] thing at the= =20 top) =2D-=20 Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Software --nextPart1429317.80Kiq85y0o Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAknK4LIACgkQ1rcusafx20PZSwCePuRZIZe/Bc2z2+R7ipbefauY T/EAnRSno7EA3WkBDTmh/jnquRPYqcvE =u0ji -----END PGP SIGNATURE----- --nextPart1429317.80Kiq85y0o-- --===============0238530072== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0238530072==--