Rox and desktop files: how to display Comment[fr]
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
Rox and desktop files: how to display Comment[fr]
Hello,
I need you to solve a problem with Rox-Filer.
In a Rox window, if I rolls the mouse over a desktop file, the comment displayed is in English. Yet the desktop file contains the variable Comment[fr].
Is it the same for you?
Do you have a solution to offer?
Note: I use Puppy Precise 5.7.1 + rox-filer 2.11
Thank you in advance for your help.
Regards,
I need you to solve a problem with Rox-Filer.
In a Rox window, if I rolls the mouse over a desktop file, the comment displayed is in English. Yet the desktop file contains the variable Comment[fr].
Is it the same for you?
Do you have a solution to offer?
Note: I use Puppy Precise 5.7.1 + rox-filer 2.11
Thank you in advance for your help.
Regards,
- Attachments
-
- rox_comment_20150402.jpg
- (76.41 KiB) Downloaded 656 times
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
Hello, ASRI.
Same here...
My LANG variable is set to fr_CA but ROX-Filer is not picking it up.
I looked in the ROX-Filer doc and there's nothing about that problem
there.
If I launch rox with the LANG variable in front, I get the same results as above, plus this message:
Now if the above sentence sounds like a criticism, that's because it is!
À+ / TWYL.
musher0
Same here...
My LANG variable is set to fr_CA but ROX-Filer is not picking it up.
I looked in the ROX-Filer doc and there's nothing about that problem
there.
If I launch rox with the LANG variable in front, I get the same results as above, plus this message:
That's because ROX-Filer was not compiled for Puppy with internationalisation in mind.LANG=fr_CA rox
(process:14350): Gdk-WARNING **: locale not supported by C library
(process:14350): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Now if the above sentence sounds like a criticism, that's because it is!
À+ / TWYL.
musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Hello again, ASRI.
To add to the above:
In an exchange with mikeb about "pango" errors piling up in the xerrs.log
file*, he mentioned that the glibc library might have to be recompiled
from scratch to solve the non-recognition of UTF-8 locales.
I would suggest that this is a similar problem. If the C libraries** that
Puppy relies upon do not have / do not recognize / are not compiled with
localizations, we non-Anglophones are stuck with English only in a number
of applications.
BFN.
musher0
~~~~~~~~~
* Ref. : http://murga-linux.com/puppy/viewtopic. ... 646#833801
and ff.
** And maybe GTK libraries also.
To add to the above:
In an exchange with mikeb about "pango" errors piling up in the xerrs.log
file*, he mentioned that the glibc library might have to be recompiled
from scratch to solve the non-recognition of UTF-8 locales.
I would suggest that this is a similar problem. If the C libraries** that
Puppy relies upon do not have / do not recognize / are not compiled with
localizations, we non-Anglophones are stuck with English only in a number
of applications.
BFN.
musher0
~~~~~~~~~
* Ref. : http://murga-linux.com/puppy/viewtopic. ... 646#833801
and ff.
** And maybe GTK libraries also.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
who me!!!
well glibc localizations are in /usr/lib/locale ... add what you like I believe. They either come as made or built on demand. There may be other factors blocking locales working but this sounds like a rox issue.
What does another file manager do...eg xfce4 and menu generation/desktop files if LANG is set ?
I worked through speeding up the personalise/localize wizard in lucid so learned a few things along the way...also ended up 8 times faster as a bonus I also aplied said knowledge to sorting out a slax install that had locale problems ...in this case hal would not work if I set a locale other than C and there was a locale.alias file present in /usr/share/locale ... weird stuff
So I am no expert but if anything comes to mind i will post it.
mike
well glibc localizations are in /usr/lib/locale ... add what you like I believe. They either come as made or built on demand. There may be other factors blocking locales working but this sounds like a rox issue.
What does another file manager do...eg xfce4 and menu generation/desktop files if LANG is set ?
I worked through speeding up the personalise/localize wizard in lucid so learned a few things along the way...also ended up 8 times faster as a bonus I also aplied said knowledge to sorting out a slax install that had locale problems ...in this case hal would not work if I set a locale other than C and there was a locale.alias file present in /usr/share/locale ... weird stuff
So I am no expert but if anything comes to mind i will post it.
mike
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
Thank you in advance.mikeb wrote:So I am no expert but if anything comes to mind i will post it.
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
- Attachments
-
- FindNrun.png
- (92.56 KiB) Downloaded 454 times
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
Hello L18L
I will immediately test Find'N'Run
But I admit, I am looking for a solution with Rox-Filer.
I will contact the developer of Rox, but I have the impression that the problem is with the compilation (so I will also ask in woof forum).
Regards
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
Yes, well names of programs, like those of persons, should not be
translated. Firefox will never be known as "Renard de feu".
As to the rox dev, he retired many years ago.
Also -- there's no easy way to tell you this -- your findNRun doesn't work
on my Puppy. And may I have the pleasure of tightening the screw:
dmenu2 does...
As well, in Puppy, in French or in English, we are manic about adding
descriptions to application names. No-no-no-no, that is not logical at all.
In addition, it makes very wide and very ugly menus.
There are places for descriptions in the *.desktop files : the
Comment=
line or the
GenericName=
line.
Not the
Name=
line.
BFN.
musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
I was slapped around suggesting using grub4dos as it might be unmaintained and puppy does not want such things some years ago... but after investigating yaf-splash it seems that rule only applies when convenientAs to the rox dev, he retired many years ago.
So any Rox changes are down to ...erm...puppy devs then?
mike
Not only. Some rox fans are forking it on github. Do a little search there,mikeb wrote:I was slapped around suggesting using grub4dos as it might be unmaintained and puppy does not want such things some years ago... but after investigating yaf-splash it seems that rule only applies when convenientAs to the rox dev, he retired many years ago.
So any Rox changes are down to ...erm...puppy devs then?
mike
you'll see.
On the user front, archlinux fans are at least keeping rox in the loop,
while the gentoo people may really erase it from their repo. (AFAIK)
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Yes, please, you be the guinea pig!mikeb wrote:Ah ok...thanks for the info.
I too had assumed it was maintained but quiet.
One of those watch this space moments.... could one of these forks potentially help with this threads problem?
mike
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
That would mean running around eating onion skins while having snow white long hair...sounds fun...
There is quite a bundle here
http://rox.sourceforge.net/desktop/software.html
but we are looking elsewhere I assume.
mike
edit..I grabbed the 2.11 source anyway...might be an interesting start.
There is quite a bundle here
http://rox.sourceforge.net/desktop/software.html
but we are looking elsewhere I assume.
mike
edit..I grabbed the 2.11 source anyway...might be an interesting start.
Hi, mikeb.mikeb wrote:That would mean running around eating onion skins while having snow white long hair...sounds fun...
There is quite a bundle here
http://rox.sourceforge.net/desktop/software.html
but we are looking elsewhere I assume.
mike
edit..I grabbed the 2.11 source anyway...might be an interesting start.
Yep, we are looking elsewhere. The goal is to determine whose fault it is
that
Comment[fr]=blabla
is not displayed according to the LANG variable when the mouse hovers
over the *.desktop files in /usr/share/applications.
ROX-Filer? glibc?
And then correct that fault.
If you can draw upon your experience to help us, it will be greatly appreciated.
BFN.
musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Hello again, mikeb.
On the French thread about this subject I posted some ROX-Filer related
URL's that you may find useful as starting points.
http://murga-linux.com/puppy/viewtopic. ... ost#838075
BFN.
musher0
On the French thread about this subject I posted some ROX-Filer related
URL's that you may find useful as starting points.
http://murga-linux.com/puppy/viewtopic. ... ost#838075
BFN.
musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
ok getting onto the same page now and I am terrible at drawing...
Well Lucid quick test gave no locale error after I changed to fr_FR starting Rox ...it did without.... but the same lack of french comment of desktop.files.
To confuse that picture that is with my glib build but I doubt thats relevant..more likely Rox simply not handling desktop files that well as IIRC it was not included until later anyway.
Plus if gllb was the problem then my build would have cured it.
A play with the sources should confirm that.
mike
edit thanks for the link
edit 2...tested in slax...same behavoiur..and if memory serves rox was from debian not puppy.
Well Lucid quick test gave no locale error after I changed to fr_FR starting Rox ...it did without.... but the same lack of french comment of desktop.files.
To confuse that picture that is with my glib build but I doubt thats relevant..more likely Rox simply not handling desktop files that well as IIRC it was not included until later anyway.
Plus if gllb was the problem then my build would have cured it.
A play with the sources should confirm that.
mike
edit thanks for the link
edit 2...tested in slax...same behavoiur..and if memory serves rox was from debian not puppy.
Hi, mike.
Many thanks for testing.
Well, that narrows it down quite a bit, doesn't it?
if your own compile of glibc didn't cure it and we have the same behavior
in slax with a Debian-flavoured ROX, then the problem is in the "innards"
of ROX-Filer, not its packaging, not the libC basis.
What does IIRC mean, please? Thanks.
BFN.
musher0
Many thanks for testing.
Well, that narrows it down quite a bit, doesn't it?
if your own compile of glibc didn't cure it and we have the same behavior
in slax with a Debian-flavoured ROX, then the problem is in the "innards"
of ROX-Filer, not its packaging, not the libC basis.
What does IIRC mean, please? Thanks.
BFN.
musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
If I recall correctly it means if I recall correctly.musher0 wrote:What does IIRC mean, please? Thanks.
And Find'N'Run rulez, he he!
Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]
[b][color=green]Omnia mea mecum porto.[/color][/b]