Le Thu, 28 Sep 2006 17:21:53 +0200 (CEST),
Lucio Chiappetti <[EMAIL PROTECTED]> a écrit :
> On Thu, 28 Sep 2006, Dominique Michel wrote:
>
> > Another way will be to test the locale in use, and sed the value to
> > change the point against a comma when needed. But I have no idea where I
> > can
On 9/28/06, Dominique Michel <[EMAIL PROTECTED]> wrote:
scale is for limiting the number of decimals, but the problem is the comma or
the point. Alsaplayer want a comma with my french locale, and if it is a point,
it accept only the leading 1 or 0, but nothing after.
Another way will be to test
On Thu, 28 Sep 2006, Dominique Michel wrote:
> Another way will be to test the locale in use, and sed the value to
> change the point against a comma when needed. But I have no idea where I
> can test the locale.
I have never played with locales, quite hate them and happily stick to the
C loca
scale is for limiting the number of decimals, but the problem is the comma or
the point. Alsaplayer want a comma with my french locale, and if it is a point,
it accept only the leading 1 or 0, but nothing after.
Another way will be to test the locale in use, and sed the value to change the
point a
Dominque
As Thomas said, it is due to the output of BC.
Tou should try to get the 'bc' command 'scale=4' in there somewhere.
On 9/28/06, Dominique Michel <[EMAIL PROTECTED]> wrote:
I see something new. When I start alsaplayer from a terminal, and issue the
volume control command from another t
On 9/28/06, Thomas Adam <[EMAIL PROTECTED]> wrote:
On Thu, 28 Sep 2006 13:20:32 +0200
Dominique Michel <[EMAIL PROTECTED]> wrote:
> Is it possible to get this script to work in any locale case?
I am not even understanding how this is a locale-specific issue.
Though I haven't tested, this migh
On Thu, 28 Sep 2006 13:20:32 +0200
Dominique Michel <[EMAIL PROTECTED]> wrote:
> DestroyFunc Mixer-Volume
> AddToFunc Mixer-Volume
> + I SetEnv x "$0"
> + I PipeRead "echo SetEnv y $(( $[x]/100 ))"
> + I Exec exec xmessage x: $[x]
> + I Exec exec xmessage y: $[y]
> + I Exec exec $[A_Player] --
I see something new. When I start alsaplayer from a terminal, and issue the
volume control command from another term, the program understand well both 0.5
and 0,5. But not when I start it from my menu.
Dominique
Le Thu, 28 Sep 2006 13:20:32 +0200,
Dominique Michel <[EMAIL PROTECTED]> a écrit :
>
Hi, I am on gentoo and I have done a menu script to have an alsaplayer control
in the panel. I modified some fvwm-crystal scripts for that.
The problem is at I use french locales:
LANG="fr_CH.UTF-8"
LANGUAGE="fr_CH.UTF-8"
LC_ALL="fr_CH.UTF-8"
and when I change to English locales, the volume and t