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.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to