--- "R.I.P. Deaddog" <[EMAIL PROTECTED]> wrote:
> I must admit I have forgotten this case: a multiuser
> machine, where some
> use KDE and others use GNOME. But my argument (it
> invades users who use
> default theme in GNOME) still holds true. Everything
> boils down to the
> scriptlets:
> 
> %post
> if [ $1 != 2 ]; then
>       if [ ! -f /etc/gtk/gtkrc ]; then
>               ln -s %{_datadir}/themes/Geramik/gtk/gtkrc
> /etc/gtk/gtkrc
>       fi
>       if [ ! -f /etc/gtk/gtkrc-2.0 ]; then
>               ln -s %{_datadir}/themes/Geramik/gtk-2.0/gtkrc-2.0
> /etc/gtk-2.0/gtkrc
>       fi
> fi
> 
> %preun
> if [ $1 == 0 ]; then
>         if grep %{name} /etc/gtk/gtkrc > /dev/null
> 2>&1 ;then
>               rm -f /etc/gtk/gtkrc
>         fi
>       if grep %{name} /etc/gtk-2.0/gtkrc > /dev/null 2>&1
> ;then
>               rm -f /etc/gtk-2.0/gtkrc
>       fi
> fi
> 
> If one says that:
> since sysadmins installed Geramik on those systems,
> and sysadmins are
> supposed to be in control, users who use default
> theme in GNOME-only
> environment shouldn't complain about their default
> theme changed, as
> sysadmins are always correct.
> Then I'll give up.

Well, there's two things you're overlooking though. 
For one, the sysadmin still has the power to just
delete those system-wide gtkrc's, and the scripts make
sure to not put them back on any future upgrades of
the package.  So even though at first install the
action is to make Geramik default, the sysadmin has a
choice, and their choice is honored forever.

Secondly, having Geramik as the default system-wide
theme does *not* stop users from picking a different
Gtk+ theme for themselves.

> Hope GTK2_RC_FILE can be a solution. I'll wait and
> see.

Yep.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Reply via email to