l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 May 22 10:49

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] program uses old gtk as normal user, new gtk as root
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] program uses old gtk as normal user, new gtk as root


I wrote a small PHP script that uses GTK for a GUI.  I know that might
sound crazy.  The script isn't for the web, I run it on the desktop.  I
used the php-gtk library.

Anyway... I designed the GUI in the old version of Glade (ver. 0.6.4)
which gives a Gnome 1 feel.  If I run the script with my normal user
account, it looks like an old Gnome 1 app.  The funny thing is when I
run the script as root, the GUI looks like a Gnome 2 app.

For instance, when run as a normal user, radio buttons appear as
triangles.  And when run as root, radio buttons appear as pretty
circular buttons.

I'm just curious why this is happening.  Also... running the script with
sudo gives the old Gnome 1 feel.  I set the root $PATH to the same as my
user $PATH and that didn't change anything.

I'm guessing that the root account knows where to find the new GTK libs,
but my normal account doesn't.

Any ideas?

btw  the script is a just a GUI to shutdown, restart or suspend the


vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.