Re: [ubuntu-uk] System Wide Settings

2011-07-17 Thread Dino T.
Great email Robert, thank you very much.

*Dino Tassigiannis BA (Hons)*





On 17 July 2011 15:12, Robert McWilliam  wrote:

> On Sun, 17 Jul 2011 09:11 +0100, "Dino T."  wrote:
> > Does anyone know how to transfer settings from .config to system wide so
> > when using Remastersys, the settings stay saved?
>
> Where/if an application looks for system wide settings is really
> application dependent - have a look in the man pages (or other
> documentation) for the applications you care about.
>
> I know many will look for a config file somewhere in /etc/ and then
> whatever is in ~ can override some of that, but where in /etc/ the
> application is going to expect the config and exactly how that will
> interact with one in ~ is application dependent (e.g. gconf has both
> default (that can be overridden by the user) and mandatory (that can't)
> settings:
>
> http://muzso.hu/2009/07/23/gnome-settings-changing-global-defaults-and-setting-a-keyboard-shortcut-for-all-users
> ).
>
> One option might be to put the configuration files you want in
> /etc/skel/ - these will be copied into ~ when a new user is created.
>
> That only gives a starting point for the configs in ~ though, if you
> make changes to /etc/skel/ after a user has been created they wont be
> reflected in the user's ~. You could do something with links to get that
> to work but it would require your users to remove the link and make a
> normal file before they could make changes.
>
> Robert
> 
> Robert McWilliam r...@allmail.netwww.ormiret.com
>
> The opinions expressed herin are not necessarily those of my
> employer, not necessarily mine, and probably not necessary.
>
>
> --
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] System Wide Settings

2011-07-17 Thread Robert McWilliam
On Sun, 17 Jul 2011 09:11 +0100, "Dino T."  wrote:
> Does anyone know how to transfer settings from .config to system wide so
> when using Remastersys, the settings stay saved?

Where/if an application looks for system wide settings is really
application dependent - have a look in the man pages (or other
documentation) for the applications you care about. 

I know many will look for a config file somewhere in /etc/ and then
whatever is in ~ can override some of that, but where in /etc/ the
application is going to expect the config and exactly how that will
interact with one in ~ is application dependent (e.g. gconf has both
default (that can be overridden by the user) and mandatory (that can't)
settings:
http://muzso.hu/2009/07/23/gnome-settings-changing-global-defaults-and-setting-a-keyboard-shortcut-for-all-users).
 

One option might be to put the configuration files you want in
/etc/skel/ - these will be copied into ~ when a new user is created. 

That only gives a starting point for the configs in ~ though, if you
make changes to /etc/skel/ after a user has been created they wont be
reflected in the user's ~. You could do something with links to get that
to work but it would require your users to remove the link and make a
normal file before they could make changes. 

Robert

Robert McWilliam r...@allmail.netwww.ormiret.com

The opinions expressed herin are not necessarily those of my 
employer, not necessarily mine, and probably not necessary.


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/