diff --git a/hw/xquartz/bundle/Makefile.am b/hw/xquartz/bundle/Makefile.am
index e8d5167b7..573443497 100644
--- a/hw/xquartz/bundle/Makefile.am
+++ b/hw/xquartz/bundle/Makefile.am
@@ -15,6 +15,9 @@ endif
clean-local:
rm -rf build
+resourcedir=$(libdir)/X11/xserver
+resource_DATA = Xquartz.plist
+
EXTRA_DIST = \
org.x.X11.plist \
Info.plist \
diff --git a/hw/xquartz/bundle/Xquartz.plist b/hw/xquartz/bundle/Xquartz.plist
new file mode 100644
index 000000000..e15704516
--- /dev/null
+++ b/hw/xquartz/bundle/Xquartz.plist
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+ apps_menu
+
+
+ Terminal
+ xterm
+ n
+
+
+ xman
+ xman
+
+
+
+ xlogo
+ xlogo
+
+
+
+
+
diff --git a/hw/xquartz/bundle/org.x.X11.plist.in b/hw/xquartz/bundle/org.x.X11.plist.in
index 36849cf60..26eca968a 100644
--- a/hw/xquartz/bundle/org.x.X11.plist.in
+++ b/hw/xquartz/bundle/org.x.X11.plist.in
@@ -4,8 +4,6 @@
Label
org.x.X11
- Program
- @APPLE_APPLICATIONS_DIR@/X11.app/Contents/MacOS/X11
ProgramArguments
@APPLE_APPLICATIONS_DIR@/X11.app/Contents/MacOS/X11
diff --git a/hw/xquartz/xpr/Makefile.am b/hw/xquartz/xpr/Makefile.am
index c2419cae6..87ed195e1 100644
--- a/hw/xquartz/xpr/Makefile.am
+++ b/hw/xquartz/xpr/Makefile.am
@@ -67,5 +67,4 @@ EXTRA_DIST = \
x-hash.h \
x-hook.h \
x-list.h \
- Xplugin.h \
xpr.h