Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] fluxbox: add xsession profile
@ 2011-10-10  9:21 yegorslists at googlemail.com
  2011-10-10  9:21 ` [Buildroot] [PATCH 2/3] xdm: bump to 1.1.11 yegorslists at googlemail.com
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: yegorslists at googlemail.com @ 2011-10-10  9:21 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

add .xsession profile to get fluxbox being started automatically
by XDM

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 package/fluxbox/.xsession  |    1 +
 package/fluxbox/fluxbox.mk |    6 ++++++
 2 files changed, 7 insertions(+), 0 deletions(-)
 create mode 100644 package/fluxbox/.xsession

diff --git a/package/fluxbox/.xsession b/package/fluxbox/.xsession
new file mode 100644
index 0000000..3775bad
--- /dev/null
+++ b/package/fluxbox/.xsession
@@ -0,0 +1 @@
+exec startfluxbox
diff --git a/package/fluxbox/fluxbox.mk b/package/fluxbox/fluxbox.mk
index 85a8eae..e0f6e4e 100644
--- a/package/fluxbox/fluxbox.mk
+++ b/package/fluxbox/fluxbox.mk
@@ -13,4 +13,10 @@ FLUXBOX_CONF_OPT = --x-includes=$(STAGING_DIR)/usr/include/X11 \
 
 FLUXBOX_DEPENDENCIES = xlib_libX11 $(if $(BR2_PACKAGE_LIBICONV),libiconv)
 
+define FLUXBOX_INSTALL_XSESSION_FILE
+	$(INSTALL) -m 0644 package/fluxbox/.xsession $(TARGET_DIR)/root/.xsession
+endef
+
+FLUXBOX_POST_INSTALL_TARGET_HOOKS += FLUXBOX_INSTALL_XSESSION_FILE
+
 $(eval $(call AUTOTARGETS))
-- 
1.7.1.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-12-07 20:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-10  9:21 [Buildroot] [PATCH 1/3] fluxbox: add xsession profile yegorslists at googlemail.com
2011-10-10  9:21 ` [Buildroot] [PATCH 2/3] xdm: bump to 1.1.11 yegorslists at googlemail.com
2011-12-07 10:32   ` Yegor Yefremov
2011-12-07 20:18   ` Peter Korsgaard
2011-10-10  9:22 ` [Buildroot] [PATCH 3/3] xdm: install startup script yegorslists at googlemail.com
2011-12-07 10:32   ` Yegor Yefremov
2011-12-07 20:32   ` Peter Korsgaard
2011-12-07 10:31 ` [Buildroot] [PATCH 1/3] fluxbox: add xsession profile Yegor Yefremov
2011-12-07 20:14 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox