PDA

View Full Version : [ubuntu] How Language Package affect the Homefolder Creation



volvolinux
May 27th, 2010, 02:33 PM
Hi

I am using Chinese Interface on Ubuntu. I use run-parts to run some login scripts.

In English version the Desktop directory will be /users/Myname/Desktop
In Chinese version the Desktop Directory will be replaced by Chinese words, that will be /users/Myname/桌面

My Script will first to see if there is a file called .existcheck in the folder "桌面" , if it doesn't exist, it will try to create some files and create the file .existcheck , if it exists, it will do nothing.

The Script works well except when the user login during the first time. From what I understand the system will copy files in the /etc/skel during a first login, is there some procedure affect the scripts running during the first login? I mean the first login the Desktop is Desktop not 桌面...

Can some guy help on this?