View previous topic :: View next topic |
Author |
Message |
pinky99 n00b
Joined: 19 Nov 2004 Posts: 45
|
Posted: Wed Oct 12, 2005 9:38 am Post subject: Nautilus encoding problem |
|
|
Hallo,
this is the problem:
My system is entirely relying on ISO8859-15/de_DE@euro encoding.
As I read, gnome is, at least for filenames in nautilus, always assuming, that the names are encoded in utf-8.
as a workaround to use the locale setting for filename encoding in nautilus, one could set the
G_BROKEN_FILENAMES environment variable.
I did it and it didn't help. but surprisingly as root, the same filenames which cannot be displayed as user are correct interpreted.
Has anybody a clue for me, which setting/environment variable can be different in these two users?
Thanks,
max |
|
Back to top |
|
|
chrbecke Guru
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Wed Oct 12, 2005 10:48 am Post subject: |
|
|
I'd suspect any of the LANG or LC_* variables. To find out, open a gnome-terminal and do as root and as your user and compare with (as root, because you need read access to the root_env.txt) Code: | diff root_env.txt user_env.txt | It will show you the differences in the environment variables (lines starting with < are from roots environment, lines starting with > are from your users environment, if you don't swap the order of the arguments to the diff command). |
|
Back to top |
|
|
pinky99 n00b
Joined: 19 Nov 2004 Posts: 45
|
Posted: Wed Oct 12, 2005 12:58 pm Post subject: |
|
|
hmm, i don't see any big differences between the two environment variables, just where it must be different like PPID, paths, HISTORY etc.
LANG and LC_* are completely the same!
can it be, that some settings in .gnome or elsewhere are responsible for the different behaviour?
Thanks,
max |
|
Back to top |
|
|
chrbecke Guru
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Wed Oct 12, 2005 1:14 pm Post subject: |
|
|
Hmm, don't know... You could try by creating a new user and see if file names display correctly if you run gnome from this new account. |
|
Back to top |
|
|
pinky99 n00b
Joined: 19 Nov 2004 Posts: 45
|
Posted: Wed Oct 12, 2005 4:00 pm Post subject: |
|
|
hmm, well, i just created a new user, and it worked with it, too!
then i moved the .gnome and .gnome2 directories to another location, but still nautilus did behave in the wrong way!
Are there any other locations, where settings are stored?
Thanks,
max |
|
Back to top |
|
|
chrbecke Guru
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Wed Oct 12, 2005 4:10 pm Post subject: |
|
|
Yes:
- ~/.gconf
- ~/.gconfd
- ~/.gnome2_private
- ~/.nautilus
|
|
Back to top |
|
|
pinky99 n00b
Joined: 19 Nov 2004 Posts: 45
|
Posted: Wed Oct 12, 2005 4:33 pm Post subject: |
|
|
chrbecke wrote: | Yes:
- ~/.gconf
- ~/.gconfd
- ~/.gnome2_private
- ~/.nautilus
|
okay, I moved all of them into a backup directory, then restarted gnome, but no result! After restart still the Ü is shown as a ? in nautilus
i got no idea what i can try next... but it is possible, is i can see with another user! |
|
Back to top |
|
|
chrbecke Guru
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Wed Oct 12, 2005 5:06 pm Post subject: |
|
|
You could try moving your entire home directory out of the way, create a new empty home dir for your user and try again. |
|
Back to top |
|
|
pinky99 n00b
Joined: 19 Nov 2004 Posts: 45
|
Posted: Wed Oct 12, 2005 5:49 pm Post subject: |
|
|
chrbecke wrote: | You could try moving your entire home directory out of the way, create a new empty home dir for your user and try again. |
okay, this would work, but so i can't see in which file the wrong setting is stored. and start with a new home directory and copy everything from the old one is something i don't want to do (now)... |
|
Back to top |
|
|
|