Changing defaults for all users to be created in the future

Petter Adsen petter at nillabs.com
Wed May 10 14:25:13 UTC 2017


On 10/05/17 14:48, Amichai Rotman wrote:
> Hi all,
> 
> I'd like to change some of the default setting for all users created on
> an Ubuntu 14.04 system. Something similar to changing the /etc/skel/ -
> but in the GUI.
> 
> For instance, the default key binding to change the keyboard layout
> (Called 'Switch to next source using:' in Text Entry).
> 
> How do I do this?

One way would be to create a default ~/.xsessionrc in /etc/skel that
calls 'setxkbmap -option grp:...' with the right option. See the
xkeyboard-config man page under 'switching to another layout' for a list.

That should work no matter which desktop/wm the user has.

Petter




More information about the ubuntu-users mailing list