Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nautilus encoding problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pinky99
n00b
n00b


Joined: 19 Nov 2004
Posts: 45

PostPosted: Wed Oct 12, 2005 9:38 am    Post subject: Nautilus encoding problem Reply with quote

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
View user's profile Send private message
chrbecke
Guru
Guru


Joined: 12 Jul 2004
Posts: 598
Location: Berlin - Germany

PostPosted: Wed Oct 12, 2005 10:48 am    Post subject: Reply with quote

I'd suspect any of the LANG or LC_* variables. To find out, open a gnome-terminal and do as root
Code:
set > root_env.txt
and as your user
Code:
set > user_env.txt
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
View user's profile Send private message
pinky99
n00b
n00b


Joined: 19 Nov 2004
Posts: 45

PostPosted: Wed Oct 12, 2005 12:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
chrbecke
Guru
Guru


Joined: 12 Jul 2004
Posts: 598
Location: Berlin - Germany

PostPosted: Wed Oct 12, 2005 1:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
pinky99
n00b
n00b


Joined: 19 Nov 2004
Posts: 45

PostPosted: Wed Oct 12, 2005 4:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
chrbecke
Guru
Guru


Joined: 12 Jul 2004
Posts: 598
Location: Berlin - Germany

PostPosted: Wed Oct 12, 2005 4:10 pm    Post subject: Reply with quote

Yes:

  • ~/.gconf
  • ~/.gconfd
  • ~/.gnome2_private
  • ~/.nautilus
Back to top
View user's profile Send private message
pinky99
n00b
n00b


Joined: 19 Nov 2004
Posts: 45

PostPosted: Wed Oct 12, 2005 4:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
chrbecke
Guru
Guru


Joined: 12 Jul 2004
Posts: 598
Location: Berlin - Germany

PostPosted: Wed Oct 12, 2005 5:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
pinky99
n00b
n00b


Joined: 19 Nov 2004
Posts: 45

PostPosted: Wed Oct 12, 2005 5:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum