Jeremy 提到:
> Carsten Haitzler (The Rasterman) wrote:
>>  On Sun, 4 May 2008 11:25:32 +0200 Koen Kooi 
> <[EMAIL PROTECTED]> babbled:
>>
>>  you can install it in PREFIX/share/enlightenment/data/themes/ and it 
> will be
>>  perfectly fine and work. :) (where PREFIX is the install prefix of
>>  enlightenment - normally /usr (and in our case it is /usr).
> I was thinking install default.edj to PREFIX/share/etk/themes/ cause
> it's for etk theme.
> PREFIX/share/enlightenment/data/themes/ also works and better?
> 
> Regards.
> Jeremy

Hi all,

I hopes to use update-alternatives.
If install libetk-themes, the default.edj, a symbolic link, will refer
to original-default.edj.
If install etk-theme-ninja, the default.edj will refer to the
default.edj under ninja directory.

It keeps the original default.edj and its priority is lowest.
But it chages the structure of original theme directory a little bit.

It works like below

[EMAIL PROTECTED]:/# opkg install libetk-themes
Installing libetk-themes (1:0.1.0.042+cvs20080508-r0.02) to root...
Downloading
http://192.168.0.200/build/deploy/glibc/ipk/armv4t/libetk-themes_0.1.0.042+cvs20080508-r0.02_armv4t.ipk
Configuring libetk-themes
update-alternatives: Linking //usr/share/etk/themes/default.edj to
/usr/share/etk/themes/original-default.edj

[EMAIL PROTECTED]:/# opkg install etk-theme-ninja
Installing etk-theme-ninja (0.0.1+svnr3-r0) to root...
Downloading
http://192.168.0.200/build/deploy/glibc/ipk/armv4t/etk-theme-ninja_0.0.1+svnr3-r0_armv4t.ipk
Configuring etk-theme-ninja
update-alternatives: Linking //usr/share/etk/themes/default.edj to
/usr/share/ninja/default.edj

[EMAIL PROTECTED]:/# opkg remove etk-theme-ninja
Removing package etk-theme-ninja from root...
update-alternatives: Linking //usr/share/etk/themes/default.edj to
/usr/share/etk/themes/original-default.edj

[EMAIL PROTECTED]:/# opkg remove libetk-themes
Removing package libetk-themes from root...
update-alternatives: removing //usr/share/etk/themes/default.edj as no
more alternatives exist for it

Is it good or not?

Cheers,

-Julian

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to