Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Disable users to change background and theme
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Pizza67
n00b
n00b


Joined: 19 Mar 2007
Posts: 6

PostPosted: Tue Mar 20, 2007 8:59 pm    Post subject: Disable users to change background and theme Reply with quote

Hi all.

I'm trying to find a way to inhibit a non-privileged user from changing the desktop background and the theme (icons, colors, etc.) in Gnome.

I tried:

Code:
chown -R root:root /home/<username>/.gnome2


but I've got an error when the user try to log into the system (cannot create the directory .gnome/accel - Permission denied).

Any suggestion?

Thanks in advance,
Pizza67
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Tue Mar 20, 2007 9:28 pm    Post subject: Reply with quote

try
Code:

chmod 770 /usr/bin/gnome-background-properties
chmod 770 /usr/bin/gnome-theme-manager
Back to top
View user's profile Send private message
nutbar21
Apprentice
Apprentice


Joined: 05 Dec 2004
Posts: 205
Location: USA

PostPosted: Tue Mar 20, 2007 9:29 pm    Post subject: Reply with quote

There isn't some kind of admin option built in to disallow this?
_________________
"Your voice is like the sound of sirens to a house on fire..." -The Alkaline Trio
Back to top
View user's profile Send private message
Pizza67
n00b
n00b


Joined: 19 Mar 2007
Posts: 6

PostPosted: Wed Mar 21, 2007 9:51 am    Post subject: Reply with quote

r3solve wrote:
There isn't some kind of admin option built in to disallow this?


Yes it is!

It's quite simple: just run gconf-editor, find the right key (i.e. /desktop/gnome/background/picture_filename), right click on it and "Set as mandatory".

That's it: the user won't be able to change the desktop background! :twisted:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum