Add an openbox.desktop file for the applications/ directory
authorDana Jansens <danakj@orodu.net>
Thu, 10 Dec 2009 15:27:54 +0000 (10:27 -0500)
committerDana Jansens <danakj@orodu.net>
Thu, 10 Dec 2009 15:27:54 +0000 (10:27 -0500)
This is for gnome-session to start Openbox correctly as the window manager
See the commit log for http://cvs.fedoraproject.org/viewvc/devel/openbox/openbox.desktop?revision=1.3&view=markup

Makefile.am
data/openbox.desktop [new file with mode: 0644]

index 5c312c7..660b5ef 100644 (file)
@@ -12,6 +12,7 @@ pubincludedir   = $(includedir)/openbox/@OB_VERSION@/openbox
 pixmapdir       = $(datadir)/pixmaps
 xsddir          = $(datadir)/openbox
 secretbindir    = $(libdir)/openbox
+appsdir         = $(datadir)/applications
 
 theme = Clearlooks
 
@@ -414,6 +415,9 @@ nodist_pkgconfig_DATA = \
 
 ## data ##
 
+dist_apps_DATA = \
+       data/openbox.desktop
+
 dist_pixmap_DATA = \
        data/openbox.png
 
diff --git a/data/openbox.desktop b/data/openbox.desktop
new file mode 100644 (file)
index 0000000..9c19e67
--- /dev/null
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+Name=Openbox
+Exec=openbox
+Icon=openbox
+NoDisplay=true
+# name we put on the WM spec check window
+X-GNOME-WMName=Openbox
+X-GNOME-Autostart-Phase=WindowManager
+X-GNOME-Provides=windowmanager
+X-GNOME-Autostart-Notify=true