Re: Intone (0.24) Elementary based mplayer frontend

2009-04-21 Thread c_c

Hi,

Thomas Seiler wrote:
 
EAPI void elm_theme_overlay_add(const char *item);
EAPI void elm_theme_extension_add(const char *item);
 
I think these allow the application to add their own themes app dependent
*.edj,
either _before_ ELM_THEME (that would be elm_theme_overlay_add() )
or _after_ ELM_THEME (that would be elm_theme_extension_add() )
 
 Yup. That works. Thanks!

@Mirko : Well, here's what I did to get entry's back to black text. 

Added these line in the program:-
  const char *theme = intone;
  elm_theme_iverlay_add(theme);

Cut out the entry group from the original elementary theme default.edj.
Saved it as intone.edj in /home/root/.elementary/themes/intone.edj.

 And, its done. I get back black text for my entries. Simple - once you know
how - and with people to show you the way!

  Thanks again Thomas!



-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.30---beta-release%29-Elementary-based-mplayer-frontend-tp2587826p2673661.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.24) Elementary based mplayer frontend

2009-04-14 Thread c_c

Hi,

   Oh - and paroli gives me an error that it wants to replace default.edj 
 owned by elementary theme. Is that related by any chance?

The elm theme we install sets the text color in elm-entries to white rather 
than black.

 Ah! That explains it. Hmmm - Well, it looks like I'll have to see if I can 
change over my entry's (there's only 1) background to black. But there must be 
a better way - we surely can't have changes applied system-wide based on the 
theme used for one App. 
 Frankly, I'm not all that adept at elementary - I guess someone else will have 
to show us a way forward. 
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.30---beta-release%29-Elementary-based-mplayer-frontend-tp2587826p2632421.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.24) Elementary based mplayer frontend

2009-04-14 Thread Mirko Lindner
Hi,

   Oh - and paroli gives me an error that it wants to replace default.edj 
 owned by elementary theme. Is that related by any chance?

I think paroli might play a role here. The elm theme we install sets the 
text color in elm-entries to white rather than black. Afaik there is no 
way to apply themes on a widget by widget basis (at least not in py-elm) 
that is why I chose that path. So if you need black text and can't see 
it anymore after paroli is installed that might be the reason ...

Not sure how to change this ... any ideas?

/mirko

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.24) Elementary based mplayer frontend

2009-04-14 Thread Thomas Seiler
Hi,

c_c wrote:
Mirko Lindner wrote:
The elm theme we install sets the text color in elm-entries to white rather 
than black.

 Ah! That explains it. Hmmm - Well, it looks like I'll have to see if I can 
change over
 my entry's (there's only 1) background to black.
 But there must be a better way - we surely can't have changes applied 
 system-wide
 based on the theme used for one App.

I think there is some infrastructure already there, working on the
edje group level...

Please check the Elementary wiki page:
http://trac.enlightenment.org/e/wiki/Elementary

Quoting the section about elementary envionment variables...

 ELM_THEME - This sets the theme(s) to be used in order from most
 preferential, to least, just with the theme name (minus the .edj extension)
 with a : character delimiting the name. A simple personal theme would be
 mytheme. If you wish to primarily use your personal theme, and then fall
 back to another, you can do: mytheme:fallback.
 This allows as many levels as you like. It is always assumed that the final
 fallback theme is the default theme. A complex example would be:
 mytheme:fallback:systemfallback:othersystem. Remember theme names
 like mytheme mean it assumes a mytheme.edj is in $HOME/.elementary/themes
 OR if not found here first, it is in $ELM_DATA_DIR/themes under the same
 name.
 Themes in your users theme dir always take precedence. A Theme name can
 ALSO be a relative or full path to a file. In this case the fill filename
 including extensions needs to be given. i.e. 
 /path/to/file.edj:mytheme:fallback:
 ../../relative/path/file.edj:./dir/file.edj. With full or relative paths 
 searching in order
 still happens. Note that there is a convenience shortcut for the users home
 directory of ~/. So if a theme element is ~/dir/file.edj then ~/ is expanded 
 to
 the the value of $HOME (the users home directory).

The way I understand this is that for every edje groud that is needed
to render a
 widget, elementary will check the *.edjes in the order they are listed in the
ELM_THEME env variable. If a group is not found, it will check the next *.edj

Digging deeper, there are two undocumented API calls in Elementary.h:

EAPI void elm_theme_overlay_add(const char *item);
EAPI void elm_theme_extension_add(const char *item);

I think these allow the application to add their own themes app dependent *.edj,

either _before_ ELM_THEME (that would be elm_theme_overlay_add() )
or _after_ ELM_THEME (that would be elm_theme_extension_add() )

The relevant code is at:
http://trac.enlightenment.org/e/browser/trunk/TMP/st/elementary/src/lib/elm_theme.c?rev=#L50

I have not tested this, but the code looks as if it would be in working shape.
Hope this is usefull nevertheless...

Cheers,
Thomas


-- 
Excercise 17:
If the human brain was simple enough for us to understand we'd be so
simple we couldn't understand.
Prove this by induction.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.24) Elementary based mplayer frontend

2009-04-10 Thread Yorick Moko
am i the only one that doesn't see a link in c_c's messages?

On Thu, Apr 9, 2009 at 3:24 PM, c_c cchan...@yahoo.com wrote:

 Hi,
  A basic wiki page is available here  now.
 --
 View this message in context: 
 http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2611074.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.24) Elementary based mplayer frontend

2009-04-10 Thread Russell Hay
If you follow the link back to nabble, the links are visible from there.

for example;

 View this message in context:
http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2610455.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.

Russ


2009/4/10 Yorick Moko yorickm...@gmail.com

 am i the only one that doesn't see a link in c_c's messages?

 On Thu, Apr 9, 2009 at 3:24 PM, c_c cchan...@yahoo.com wrote:
 
  Hi,
   A basic wiki page is available here  now.
  --
  View this message in context:
 http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2611074.html
  Sent from the Openmoko Community mailing list archive at Nabble.com.
 
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.24) Elementary based mplayer frontend

2009-04-10 Thread c_c

Hi,

am i the only one that doesn't see a link in c_c's messages?

I've been using nabble - and hence the links embedded in html. WIll post text 
links at the bottom of my mail in the future. Thanks for pointing that out!
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2619520.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.24) Elementary based mplayer frontend

2009-04-09 Thread c_c

Hi,
 Sorted out the error on exit. Here's the latest version intone_0.24_arm.ipk 
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2610455.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.24) Elementary based mplayer frontend

2009-04-09 Thread kimaidou
Hi

Could you please give the link the the mplayer version to use ?
There are a lot of different builds, with glamo, ppt, etc. I am completely
lost :D
Do you have a wiki page where you give installation and usage instructions
as mplayer config file, playlist backup, etc. ?

thanks in advance

2009/4/9 c_c cchan...@yahoo.com


 Hi,
  Sorted out the error on exit. Here's the latest version
 intone_0.24_arm.ipk
 --
 View this message in context:
 http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2610455.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.24) Elementary based mplayer frontend

2009-04-09 Thread c_c

Hi,

Could you please give the link the the mplayer version to use ? There are a lot 
of different builds, with glamo, ppt, etc. I am completely lost :D

Well, I've been using the standard version that comes with the unstable FSO 
repository. No particular version required - just that whichever one you use 
should support the audio files you want to play.

Do you have a wiki page where you give installation and usage instructions as 
mplayer config file, playlist backup, etc. ?

 Sorry, haven't gotten around to making a wiki page. Will do so today. There 
are no particular mplayer config files required. No playlist backups etc - my 
mail with all the sql stuff was only because I changed one table and so needed 
to replace the db file for everyone.

-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2610676.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.24) Elementary based mplayer frontend

2009-04-09 Thread c_c

Hi,
I have been using this  version of mplayer from FSO.

Gen usage details
Type   CPUMem
ogg   ~53%3.1%
m4a  ~21%2.7%
mp3  ~8.7%   2.4%

PaulTT has compiled a version of mplayer with tremor available here .
This is better for ogg as below :-
Gen usage details
Type   CPUMem
ogg   ~25.9%2.7%
m4a  ~24.7%3.1%
mp3  ~7.5%  2.5%

Just thought I'll tell everyone. 
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2610833.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.24) Elementary based mplayer frontend

2009-04-09 Thread c_c

Hi,
  A basic wiki page is available here  now.
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2611074.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.24) Elementary based mplayer frontend

2009-04-09 Thread kimaidou
thanks very much

2009/4/9 c_c cchan...@yahoo.com


 Hi,
  A basic wiki page is available here  now.
 --
 View this message in context:
 http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2611074.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.24) Elementary based mplayer frontend

2009-04-09 Thread c_c

Hi,
   I have experienced an only black page when running intone while I was 
upgrading packages. This might be related to the elementary theme default.edj. 
After upgrading, things are back to normal - except that I cant see text in 
entry boxes anymore.
  Any Ideas?
  Oh - and paroli gives me an error that it wants to replace default.edj owned 
by elementary theme. Is that related by any chance?
  I'm using FSO 5.1 - but my feeds point to openmoko.org/unstable.
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2614319.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.24) Elementary based mplayer frontend

2009-04-09 Thread Marco Trevisan (Treviño)
c_c wrote:
 Hi,
I have experienced an only black page when running intone while I was 
 upgrading packages. This might be related to the elementary theme 
 default.edj. After upgrading, things are back to normal - except that I cant 
 see text in entry boxes anymore.
   Any Ideas?

Who knows... I'm still getting the black page bug since the day 1
I've run it, and I'm using e17 svn compiled on 2009-04-02 :/

I'll have to try with a new elementary theme... Mhmh

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community