gconf help
Steve Blackwell
zephod at cfl.rr.com
Mon Mar 29 23:53:37 UTC 2010
I trying to create a user and limit them to only one virtual workspace
from a script but my results make me think I am not understanding
something.
In the script I use useradd to create the user with the default
settings. Then I copied this file:
<?xml version="1.0"?>
<gconf>
<entry name="num_workspaces" mtime="1269905813" type="int"
value="1"/>
</entry>
</gconf>
to the new user's .gconf/apps/metacity/general/%gconf.xml file after
making the necessary parent directories. Now, here is where it gets
strange.
If I leave the permissions set to 755 and the owner as root, when the
new user logs in, the workspace_switcher applet shows just 1 workspace
but if I correct the ownership of the file and directory to be owned by
the new user, then the user gets the default 4 workspaces when logging
in.
When a user logs in, don't all the %gconf.xml directories get read?
Any insight would be appreciated.
Thanks,
Steve.
More information about the users
mailing list