[TriLUG] Gnome configuration

Janyne Kizer janyne_kizer at ncsu.edu
Tue Dec 9 10:24:32 EST 2003



On 12/5/2003 7:42 AM, Roy Vestal wrote:
> Okey, before I get started, I'm NOT trying to start a Gnome vs. KDE war.
> Please don't take it that way and run with it.
> 
> Now my question:
> 
> Janyne, what is the reason for the change? 

KDE now uses OpenGL and some of our clients do not support that.  After 
discussing this with some other groups that have similar set ups (City 
of Largo, etc.) we elected to go with Gnome rather than rolling our own 
KDE.

> I'm not a Gnome expert by any
> means, so I won't be able to really help you on the question, other than
> tell you that I tried mod'ing the menus before in Gnome. They removed
> the menu editor and it was a pain.  Search the trilug archives for Gnome
> and my user (rvestal) to see the threads...That's why I went back to
> KDE.

I do have a bit of something going at this time.  I have the panels more 
or less working in a locked down state and we are confirming that the 
menus cannot be modified by the user.  What we really want is for the 
menu and the panel to always be the way that we (IT) want them when 
users log in.  We don't actually care what the do during their session 
so long as when they log off and log back in they always get the 
"official" menu and panel.

Now as far as removing the Known Applications, no progress so far.  I 
need to figure out where it is getting the list of applications from 
because it doesn't appear to be showing *all* applications.  If we can 
modify the list, that would be good.

This is what I have so far for the Gnome panel:

# need to add a awy to loop through to get all of the IDs including root 
# but excluding sa.  this is fine for testing at this time.
USERID=wxyz
GNOME_DEFAULT_PATH='/mydirectory'

# set up the directory structure
mkdir /home/$USERID/.gconf
mkdir /home/$USERID/.gconf/apps
mkdir /home/$USERID/.gconf/apps/panel
mkdir /home/$USERID/.gconf/apps/panel/profiles
mkdir /home/$USERID/.gconf/apps/panel/profiles/default
mkdir /home/$USERID/.gconf/apps/panel/profiles/default/general
mkdir /home/$USERID/.gconf/apps/panel/profiles/default/objects
mkdir /home/$USERID/.gconf/apps/panel/profiles/default/applets
mkdir /home/$USERID/.gconf/apps/panel/profiles/default/panels/
chown $USERID:$USERID /home/$USERID/.gconf/
chown $USERID:$USERID /home/$USERID/.gconf/apps
chown $USERID:$USERID /home/$USERID/.gconf/apps/panel

# set the general gnome panel settings.  this file lists the items to be 
on the panel.
cp $GNOME_DEFAULT_PATH/panel_general.%gconf.xml 
/home/$USERID/.gconf/apps/panel/profiles/default/general/%gconf.xml
chown root:root 
/home/$USERID/.gconf/apps/panel/profiles/default/general/%gconf.xml
chmod +r /home/$USERID/.gconf/apps/panel/profiles/default/general/%gconf.xml

# set panel attributes
mkdir /home/$USERID/.gconf/apps/panel/profiles/default/panels/bottom_panel
chown root:root 
/home/$USERID/.gconf/apps/panel/profiles/default/panels/bottom_panel
cp $GNOME_DEFAULT_PATH/bottom_panel.%gconf.xml 
/home/$USERID/.gconf/apps/panel/profiles/default/panels/bottom_panel/%gconf.xml
chown root:root 
/home/$USERID/.gconf/apps/panel/profiles/default/panels/bottom_panel/%gconf.xml
chmod +r 
/home/$USERID/.gconf/apps/panel/profiles/default/panels/bottom_panel/%gconf.xml

# create StarWriter panel entry
mkdir 
/home/$USERID/.gconf/apps/panel/profiles/default/objects/writer_launcher
chown root:root 
/home/$USERID/.gconf/apps/panel/profiles/default/objects/writer_launcher
cp $GNOME_DEFAULT_PATH/writer.%gconf.xml 
/home/$USERID/.gconf/apps/panel/profiles/default/objects/writer_launcher/%gconf.xml
chown root:root 
/home/$USERID/.gconf/apps/panel/profiles/default/objects/writer_launcher/%gconf.xml
chmod +r 
/home/$USERID/.gconf/apps/panel/profiles/default/objects/writer_launcher/%gconf.xml

# create Mozilla Mail panel entry
mkdir 
/home/$USERID/.gconf/apps/panel/profiles/default/objects/mozilla_mail_launcher
chown root:root 
/home/$USERID/.gconf/apps/panel/profiles/default/objects/mozilla_mail_launcher
cp $GNOME_DEFAULT_PATH/mozilla.mail.%gconf.xml 
/home/$USERID/.gconf/apps/panel/profiles/default/objects/mozilla_mail_launcher/%gconf.xml
chown root:root 
/home/$USERID/.gconf/apps/panel/profiles/default/objects/mozilla_mail_launcher/%gconf.xml
chmod +r 
/home/$USERID/.gconf/apps/panel/profiles/default/objects/mozilla_mail_launcher/%gconf.xml

# create Mozilla browser panel entry
mkdir 
/home/$USERID/.gconf/apps/panel/profiles/default/objects/mozilla_launcher
chown root:root 
/home/$USERID/.gconf/apps/panel/profiles/default/objects/mozilla_launcher
cp $GNOME_DEFAULT_PATH/mozilla.%gconf.xml 
/home/$USERID/.gconf/apps/panel/profiles/default/objects/mozilla_launcher/%gconf.xml
chown root:root 
/home/$USERID/.gconf/apps/panel/profiles/default/objects/mozilla_launcher/%gconf.xml
chmod +r 
/home/$USERID/.gconf/apps/panel/profiles/default/objects/mozilla_launcher/%gconf.xml

# create the main menu panel entry
mkdir /home/$USERID/.gconf/apps/panel/profiles/default/objects/main_menu
chown root:root 
/home/$USERID/.gconf/apps/panel/profiles/default/objects/main_menu
cp $GNOME_DEFAULT_PATH/main.menu.%gconf.xml 
/home/$USERID/.gconf/apps/panel/profiles/default/objects/main_menu/%gconf.xml
chown root:root 
/home/$USERID/.gconf/apps/panel/profiles/default/objects/main_menu/%gconf.xml
chmod +r 
/home/$USERID/.gconf/apps/panel/profiles/default/objects/main_menu/%gconf.xml

# add the clock applet to the panel (including clock preferences)
mkdir /home/$USERID/.gconf/apps/panel/profiles/default/applets
mkdir /home/$USERID/.gconf/apps/panel/profiles/default/applets/clock_applet
chown root:root /home/$USERID/.gconf/apps/panel/profiles/default/applets
chown root:root 
/home/$USERID/.gconf/apps/panel/profiles/default/applets/clock_applet
cp $GNOME_DEFAULT_PATH/clock.applet.%gconf.xml 
/home/$USERID/.gconf/apps/panel/profiles/default/applets/clock_applet/%gconf.xml
chown root:root 
/home/$USERID/.gconf/apps/panel/profiles/default/applets/clock_applet/%gconf.xml
chmod +r 
/home/$USERID/.gconf/apps/panel/profiles/default/applets/clock_applet/%gconf.xml
mkdir 
/home/$USERID/.gconf/apps/panel/profiles/default/applets/clock_applet/prefs
chown root:root 
/home/$USERID/.gconf/apps/panel/profiles/default/applets/clock_applet/prefs
cp $GNOME_DEFAULT_PATH/clock.applet.prefs.%gconf.xml 
/home/$USERID/.gconf/apps/panel/profiles/default/applets/clock_applet/prefs/%gconf.xml
chown root:root 
/home/$USERID/.gconf/apps/panel/profiles/default/applets/clock_applet/prefs/%gconf.xml
chmod +r 
/home/$USERID/.gconf/apps/panel/profiles/default/applets/clock_applet/prefs/%gconf.xml

> 
> 
> On Thu, 2003-12-04 at 06:27, Janyne Kizer wrote:
> 
>>I was wondering if someone on this list could point me to a Gnome 
>>list/newsgroup or Gnome book?  We are most likely changing over from KDE 
>>to Gnome and I am having fun playing with gconf (not).
>>
>>Some of the things that I am looking to do are:
>>- remove the "Known Applications" drop down list box from the Run menu
>>- remove the "save current setup" from teh logoff dialog box
>>- set up what KDE calls the Kicker panel (not sure what the Gnome lingo 
>>is on this one)
>>
>>Thanks a bunch!
>>-- 
>>
>>Janyne Kizer
>>Systems Programmer Administrator
>>NC State University, College of Agriculture & Life Sciences
>>Extension Information Technology
> 
> 

-- 

Janyne Kizer
Systems Programmer Administrator
NC State University, College of Agriculture & Life Sciences
Extension Information Technology




More information about the TriLUG mailing list