On 2002.11.21 David Walser wrote:
> --- J.A._Magall?n <[EMAIL PROTECTED]> wrote:
> > Someone should be thrown down a bridge
> > 
> > __WHY THE H.LL IS GERAMIK CHANGING SYSTEM WIDE
> > DEFAULT FILES ?????__
> 
> Dude, calm the heck down.  Number one if you *look* at
> the actual code it doesn't change them at all if
> there's something else already in place.
>

werewolf:~# rpm -qf /etc/gtk-2.0/gtkrc
file /etc/gtk-2.0/gtkrc is not owned by any package
werewolf:~# rpm -qf /etc/gtk/gtkrc
file /etc/gtk/gtkrc is not owned by any package

So nobody install a system wide default. So any theme should
assume he is going to be the default. Especially if breaks
the user ability to change.

[..]
> exactly, see how easy that was?
> 

Yup. I knew about --scripts to see what the package did.
Now think on a novice user that installs 9.1 and can't personalize
its desktop. Will throw the Mandrake CDs to trash.

> > again. But Geramik theme doesn't work.
> 
> It works great.
> 

After deleting the -rc files, I change theme on GnomeCC::Theme,
and colors change to Geramik ones but no pixmapping...

> > This escaped you, Lenny ;)
> 
> No.  The assumption is if you install it you want it
> the default.  Don't?  Don't install it. 

How can I know ? At least a line in rpm -qi ? 'This
theme will change your desktop appearance for ever'

> Also it
> doesn't override the user's theme choice.
>

It did, after installation you can't change theme.
Colors change, but engine is not changed. It only
happens when you go to or from Geramik.

And I found the bug: the file 
/usr/share/themes/Geramik/gtk-2.0/gtkrc-2.0
should be named just gtkrc. With this change Geramik
works as expected wrt other themes, ie, engines also
switch.

> It goes out of its way to not get in the sysadmin's
> way.  If they have another gtkrc there it doesn't
> touch it, and if you want to just have the Default
> default be the default, you just delete the gtkrc's.  Easy.
> 

And what if all themes decide they want to be the default ?

-- 
J.A. Magallon <[EMAIL PROTECTED]>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.1 (Cooker) for i586
Linux 2.4.20-rc2-jam0 (gcc 3.2 (Mandrake Linux 9.1 3.2-4mdk))

Reply via email to