[585] in Athena User Interface
gnome configuration
daemon@ATHENA.MIT.EDU (Greg Hudson)
Sat Jan 6 01:06:02 2001
Date: Sat, 6 Jan 2001 01:05:52 -0500
Message-Id: <200101060605.BAA04834@egyptian-gods.MIT.EDU>
From: Greg Hudson <ghudson@MIT.EDU>
To: source-reviewers@MIT.EDU
Cc: aui@MIT.EDU
Here is my lovingly-hand-crafted panel configuration. I mostly
duplicated the gtest appearance, diverging on the menus and such.
Unfortunately, the gtest dotfiles were just the dump of some
gui-generated state, so I had to go to a few days' worth of effort
understanding what was going on and turning them into something
maintainable.
The standard dotfiles will copy /usr/prototype_user/.gnome over to
~/.gnome if ~/.gnome doesn't exist. (I don't know what to do if the
copy fails due to quota.) The first time panel runs, it will
overwrite all this stuff with a state dump and will write the launcher
property settings in the user's homedir, so don't worry about the fact
that applet[2-5] live in /usr/athena/lib/init; users will still be
able to edit the launcher properties without trouble.
Some notes:
* I chose not to specify properties where we accept the
defaults. That makes it much easier to see what we change.
(In a couple of cases, the default depends on screen size;
in that case, I forced the choice, since it doesn't make any
sense for the value chosen to depend on the screen
resolution the user first happens to log in on.)
* The icons chosen are not suitable for the eventual release.
I unfortunately haven't found anything better for any of
them; I'm guessing we'll have to go to PSB for help with all
of them.
* main_menu_flags=16390 in applet-config is MAIN_MENU_USER_SUB
| MAIN_MENU_SYSTEM | MAIN_MENU_DESKTOP, i.e. the desktop and
system menus on the main menu and the "Favorites" menu in a
sub-menu. This setting determines what happens when the
user left-clicks on the menu button.
* main_menu_flags=4096 in panel-globals is MAIN_MENU_PANEL,
i.e. just the panel menu (add to panel, remove from panel,
properties, global preferences, panel manual) and the
ever-present "Run..." option. This setting determines what
happens when the user right-clicks on the panel.
* The system menu is just the default system menu installed by
gnome; we'll need to replace that with a symlink into AFS
later.
Index: Makefile
===================================================================
RCS file: /afs/dev.mit.edu/source/repository/packs/dotfiles/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile 1999/06/11 15:28:07 1.9
+++ Makefile 2001/01/05 18:46:41
@@ -39,6 +39,7 @@
install -c -m 0644 temp.mh_profile ${DESTDIR}${PROTOTMP}/.mh_profile
install -c -m 0644 welcome ${DESTDIR}${PROTOTYPE}
install -c -m 0644 welcome ${DESTDIR}${PROTOTMP}
+ cd gnome && ${MAKE} $@
cd os/${OS} && ${MAKE} $@
clean:
Index: gnome/Makefile
===================================================================
RCS file: Makefile
diff -N Makefile
--- /dev/null Tue May 5 16:32:27 1998
+++ Makefile Fri Jan 5 16:45:47 2001
@@ -0,0 +1,30 @@
+# $Id$
+
+PROTOTYPE=/usr/prototype_user
+PROTOTMP=/usr/athena/lib/prototype_tmpuser
+GNOME=${PROTOTYPE}/.gnome
+GNOMETMP=${PROTOTMP}/.gnome
+DEFAULT=${GNOME}/panel.d/default
+DEFAULTTMP=${GNOMETMP}/panel.d/default
+SYSTEM=/usr/athena/lib/init
+
+install:
+ mkdir -p ${DESTDIR}${DEFAULT}
+ mkdir -p ${DESTDIR}${DEFAULTTMP}
+ mkdir -p ${DESTDIR}${SYSTEM}
+ install -c -m 0644 panel-globals ${DESTDIR}${GNOME}/panel
+ install -c -m 0644 panel-globals ${DESTDIR}${GNOMETMP}/panel
+ install -c -m 0644 panel-default ${DESTDIR}${DEFAULT}/panel
+ install -c -m 0644 panel-default ${DESTDIR}${DEFAULTTMP}/panel
+ install -c -m 0644 applet-config ${DESTDIR}${DEFAULT}/Applet_Config
+ install -c -m 0644 applet-config ${DESTDIR}${DEFAULTTMP}/Applet_Config
+ install -c -m 0644 applet2 ${DESTDIR}${SYSTEM}
+ install -c -m 0644 applet3 ${DESTDIR}${SYSTEM}
+ install -c -m 0644 applet4 ${DESTDIR}${SYSTEM}
+ install -c -m 0644 applet5 ${DESTDIR}${SYSTEM}
+ install -c -m 0644 applet6-extern ${DESTDIR}${DEFAULT}/Applet_6_Extern
+ install -c -m 0644 applet6-extern \
+ ${DESTDIR}${DEFAULTTMP}/Applet_6_Extern
+ install -c -m 0644 applet7-extern ${DESTDIR}${DEFAULT}/Applet_7_Extern
+ install -c -m 0644 applet7-extern \
+ ${DESTDIR}${DEFAULTTMP}/Applet_7_Extern
Index: gnome/applet-config
===================================================================
RCS file: applet-config
diff -N applet-config
--- /dev/null Tue May 5 16:32:27 1998
+++ applet-config Sat Jan 6 00:45:01 2001
@@ -0,0 +1,42 @@
+
+[Applet_1]
+id=Menu
+main_menu_flags=16390
+old_style_main=false
+position=3
+
+[Applet_2]
+id=Launcher
+parameters=/usr/athena/lib/init/applet2
+position=54
+
+[Applet_3]
+id=Launcher
+parameters=/usr/athena/lib/init/applet3
+position=105
+
+[Applet_4]
+id=Launcher
+parameters=/usr/athena/lib/init/applet4
+position=156
+
+[Applet_5]
+id=Launcher
+parameters=/usr/athena/lib/init/applet5
+position=207
+
+[Applet_6]
+id=Extern
+goad_id=tasklist_applet
+position=314
+
+[Applet_7]
+id=Extern
+goad_id=gen_util_clock
+position=854
+right_stick=true
+
+[Applet_8]
+id=Logout
+position=933
+right_stick=true
Index: gnome/applet2
===================================================================
RCS file: applet2
diff -N applet2
--- /dev/null Tue May 5 16:32:27 1998
+++ applet2 Sat Jan 6 00:36:31 2001
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Name=E-mail
+Comment=Read E-mail
+Exec=xmh
+Icon=/usr/athena/share/pixmaps/gnome-mailcheck.png
+Type=Application
Index: gnome/applet3
===================================================================
RCS file: applet3
diff -N applet3
--- /dev/null Tue May 5 16:32:27 1998
+++ applet3 Sat Jan 6 00:37:09 2001
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Name=WWW
+Comment=Netscape
+Exec=netscape
+Icon=/usr/athena/share/pixmaps/netscape.png
+Type=Application
Index: gnome/applet4
===================================================================
RCS file: applet4
diff -N applet4
--- /dev/null Tue May 5 16:32:27 1998
+++ applet4 Fri Jan 5 15:53:23 2001
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Name=Prompt
+Comment=Command line prompt
+Exec=gnome-terminal
+Icon=/usr/athena/share/pixmaps/gnome-term.png
+Type=Application
Index: gnome/applet5
===================================================================
RCS file: applet5
diff -N applet5
--- /dev/null Tue May 5 16:32:27 1998
+++ applet5 Thu Jan 4 09:29:45 2001
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Name=Editor
+Comment=Edit text files
+Exec=emacs
+Icon=/usr/athena/share/pixmaps/gnome-emacs.png
+Type=Application
Index: gnome/applet6-extern
===================================================================
RCS file: applet6-extern
diff -N applet6-extern
--- /dev/null Tue May 5 16:32:27 1998
+++ applet6-extern Fri Jan 5 16:25:47 2001
@@ -0,0 +1,3 @@
+
+[tasklist]
+horz_width=450
Index: gnome/applet7-extern
===================================================================
RCS file: applet7-extern
diff -N applet7-extern
--- /dev/null Tue May 5 16:32:27 1998
+++ applet7-extern Fri Jan 5 16:27:40 2001
@@ -0,0 +1,5 @@
+
+[clock]
+hourformat=12
+showdate=1
+showtooltip=0
Index: gnome/panel-default
===================================================================
RCS file: panel-default
diff -N panel-default
--- /dev/null Tue May 5 16:32:27 1998
+++ panel-default Fri Jan 5 16:15:50 2001
@@ -0,0 +1,9 @@
+
+[Config]
+applet_count=8
+panel_count=1
+
+[Panel_1]
+type=0
+rotate_pixmap_bg=true
+backcolor=#000000
Index: gnome/panel-globals
===================================================================
RCS file: panel-globals
diff -N panel-globals
--- /dev/null Tue May 5 16:32:27 1998
+++ panel-globals Sat Jan 6 00:42:21 2001
@@ -0,0 +1,9 @@
+
+[Config]
+memory_hungry_menus=true
+use_large_icons=false
+menu_flags=4096
+menu_key=Mod1-F1
+run_key=Mod1-F2
+text_labels_enabled_0=true
+text_labels_enabled_3=true