You are not logged in.

koniczynek

Beginner

  • "koniczynek" started this thread

Posts: 3

Occupation: Network Administrator

  • Send private message

1

Thursday, July 5th 2007, 10:25am

System-wide settings

Is there a way to configure date format for all users using the system? I am setting up a corporate workstation and there are guidelines that main language for the interface must be english but the date should be displayed in european format (eg. 24h clock, YYYY-MM-DD). Is there a way to set this up globally? I am using Fedora 7 with the latest KDE available for this distribution.

2

Monday, July 9th 2007, 2:38pm

RE: System-wide settings

Quoted

Originally posted by koniczynek
Is there a way to configure date format for all users using the system? I am setting up a corporate workstation and there are guidelines that main language for the interface must be english but the date should be displayed in european format (eg. 24h clock, YYYY-MM-DD). Is there a way to set this up globally? I am using Fedora 7 with the latest KDE available for this distribution.


In the ./share/config/kdeglobals file, you can set the option there. You will have to add the locale portion of the file, and make it immutable. You can look in your personal file for the settings ($HOME/.kde/share/config/kdeglobals). Mine looks like this

Source code

1
2
3
4
5
[Locale]
Country=ca
DateFormat=%A %B %e %Y
DateFormatShort=%d/%m/%Y
Language=en_US


Set your kde settings the way that you want them to appear, copy and paste it into the global file ($KDEDIR/share/config/kdeglobals) and put [$i] after the [Locale] portion to make it reset on each login. I don't know if that will prevent the users from changing it, but it should set it on each login.

Let me know if that works. If not, I'll dig deeper.

koniczynek

Beginner

  • "koniczynek" started this thread

Posts: 3

Occupation: Network Administrator

  • Send private message

3

Monday, July 9th 2007, 2:50pm

It appears that this solution is working fine. I am most grateful ;)

4

Monday, July 9th 2007, 3:10pm

Wow, thanks for the quick reply! Now, just for my records, does the immutable bit prevent the users from changing the default under the control center?

The immutable bit seems to be handled differently by different programs. Kmail, for instance, allows the user to change account settings after the immutable bit is set, but will revert them on the next login. I haven't tried setting this under the global kde settings, but under the user settings, it allows the user to change it.

koniczynek

Beginner

  • "koniczynek" started this thread

Posts: 3

Occupation: Network Administrator

  • Send private message

5

Monday, July 9th 2007, 6:11pm

I have not tested the immutable bit yet. If this is of great value to you, I can do it tomorrow.

6

Monday, July 9th 2007, 6:22pm

Don't worry too much about it. I will give it a shot on a non-production server this week.