You are not logged in.

#1 2008-03-29 09:40:08

miggols99
Member
Registered: 2007-06-10
Posts: 424

System wide gtkrc?

I don't want to have to change the theme for all 6 users...is there a system wide file I can change to change the Gtk theme?

Offline

#2 2008-03-29 09:51:23

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: System wide gtkrc?

Not sure about the proper way to do it, but you could just use /root/.gtkrc-2.0 and /root/.gtkrc.mine and put symbolic links to them in the home directories of the other users.


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#3 2008-03-29 12:24:07

BC
Member
Registered: 2008-01-29
Posts: 83

Re: System wide gtkrc?

maybe /etc/gtk-2.0/gtkrc?

Offline

#4 2008-03-29 12:37:31

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: System wide gtkrc?

dyscoria wrote:

/root/.gtkrc.mine and put symbolic links

That would of course be a huge security hole, if Linux allowed it wink

Offline

#5 2008-03-30 18:01:17

freakcode
Member
From: São Paulo - Brazil
Registered: 2007-11-03
Posts: 410
Website

Re: System wide gtkrc?

I guess this is do the trick:

- Install your theme on /usr/share/themes
- Include the desired theme on /etc/gtk-2.0/gtkrc with:

include "/usr/share/themes/<desired theme>/gtk-2.0/gtkrc"

Ff the user sets a theme, it will override - so, the users configs must be clean for this to work.

Or you can use pessulus to lock Gnome resources - in case, all users to a default theme.

Offline

Board footer

Powered by FluxBB