summaryrefslogtreecommitdiff
path: root/source/x/x11-skel
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/x11-skel')
-rw-r--r--source/x/x11-skel/scripts/xwmconfig.desktop4
-rwxr-xr-xsource/x/x11-skel/x11-skel.SlackBuild8
2 files changed, 10 insertions, 2 deletions
diff --git a/source/x/x11-skel/scripts/xwmconfig.desktop b/source/x/x11-skel/scripts/xwmconfig.desktop
new file mode 100644
index 00000000..c604f74d
--- /dev/null
+++ b/source/x/x11-skel/scripts/xwmconfig.desktop
@@ -0,0 +1,4 @@
+[Desktop Entry]
+Name=Xsession default
+Comment=Use Xsession to start the desktop configured by xwmconfig
+Exec=/etc/X11/xdm/Xsession
diff --git a/source/x/x11-skel/x11-skel.SlackBuild b/source/x/x11-skel/x11-skel.SlackBuild
index 553e7766..c934c669 100755
--- a/source/x/x11-skel/x11-skel.SlackBuild
+++ b/source/x/x11-skel/x11-skel.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2011, 2012, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2011, 2012, 2018, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=x11-skel
VERSION=7.7
-BUILD=${BUILD:-5}
+BUILD=${BUILD:-6}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -63,6 +63,7 @@ mkdir -p usr/lib${LIBDIRSUFFIX}/X11
mkdir -p usr/bin
mkdir -p var/log/setup
mkdir -p usr/man/man1
+mkdir -p usr/share/xsessions
# obsolete:
#cp -a $CWD/scripts/xorg.conf-fbdev etc/X11
@@ -79,6 +80,9 @@ cp -a $CWD/scripts/setup.xwmconfig var/log/setup
chown root:root var/log/setup/setup.xwmconfig
chmod 755 var/log/setup/setup.xwmconfig
cat $CWD/manpages/xwmconfig.1 | gzip -9c > $PKG/usr/man/man1/xwmconfig.1.gz
+cp -a $CWD/scripts/xwmconfig.desktop usr/share/xsessions
+chown root:root usr/share/xsessions/xwmconfig.desktop
+chmod 644 usr/share/xsessions/xwmconfig.desktop
mkdir -p install
zcat $CWD/doinst.sh.gz \