Re: need to launch another default skin.

Todd Zullinger <[email protected]> Sat, 29 Apr 2006 15:47:53 -0400
Newsgroups gmane.comp.multimedia.xmms.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

fred.g wrote:
> I need to package xmms for Zenwalk Linux because i want to make it the
> default audio player.
> All is good but i'm not able to launch xmms with the default Zenwalk
> skin.

Here's one way to do it.  This is the patch from the Fedora xmms
package.

- --- xmms-1.2.8/xmms/main.c.foo	2003-09-08 15:07:13.000000000 -0400
+++ xmms-1.2.8/xmms/main.c	2003-09-08 15:07:55.000000000 -0400
@@ -495,6 +495,8 @@
 		cfg.mainwin_font = g_strdup("-adobe-helvetica-medium-r-*-*-8-*");
 	if (cfg.gentitle_format == NULL)
 		cfg.gentitle_format = g_strdup("%p - %t");
+	if (cfg.skin == NULL && !cfgfile && !access("/usr/share/xmms/Skins/Bluecurve-xmms.zip",R_OK))
+		cfg.skin = g_strdup("/usr/share/xmms/Skins/Bluecurve-xmms.zip");
 	if (cfg.outputplugin == NULL)
 	{
 #ifdef HAVE_OSS

- -- 
Todd        OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
======================================================================
Conscience is what hurts when everything else feels so good.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iG0EARECAC0FAkRTwukmGGh0dHA6Ly93d3cucG9ib3guY29tL350bXovcGdwL3Rt
ei5hc2MACgkQuv+09NZUB1rY/QCg3jql0KdM3zLgclJ+S573iILAsMAAoLniYgco
wUqHpEr+ERAMTI1SH6d5
=PZvo
-----END PGP SIGNATURE-----