Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 2023 01:48:34 GMT
From:      Koichiro Iwao <meta@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c196d1f5ffb8 - main - net/xrdp{,-devel}: Update startwm.sh script
Message-ID:  <202308290148.37T1mYth092675@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by meta:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c196d1f5ffb8368b0fc062ee05456818a545fbac

commit c196d1f5ffb8368b0fc062ee05456818a545fbac
Author:     Koichiro Iwao <meta@FreeBSD.org>
AuthorDate: 2023-08-29 01:45:51 +0000
Commit:     Koichiro Iwao <meta@FreeBSD.org>
CommitDate: 2023-08-29 01:45:51 +0000

    net/xrdp{,-devel}: Update startwm.sh script
    
    PR:             273191
---
 net/xrdp-devel/Makefile         |  2 +-
 net/xrdp-devel/files/startwm.sh | 11 ++++++++---
 net/xrdp/Makefile               |  2 +-
 net/xrdp/files/startwm.sh       | 11 ++++++++---
 4 files changed, 18 insertions(+), 8 deletions(-)

diff --git a/net/xrdp-devel/Makefile b/net/xrdp-devel/Makefile
index 69e3b338dd50..630040f57f0e 100644
--- a/net/xrdp-devel/Makefile
+++ b/net/xrdp-devel/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	xrdp
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.9.80.b20221213
-PORTREVISION=	3
+PORTREVISION=	4
 PORTEPOCH=	1
 CATEGORIES=	net
 PKGNAMESUFFIX=	-devel
diff --git a/net/xrdp-devel/files/startwm.sh b/net/xrdp-devel/files/startwm.sh
index 2e304eee9589..7b58c9a19240 100644
--- a/net/xrdp-devel/files/startwm.sh
+++ b/net/xrdp-devel/files/startwm.sh
@@ -1,15 +1,20 @@
 #!/bin/sh
 #
-# This script is an example. Edit this to suit your needs.
+# This script is just an example. Edit this to suit your needs.
 # If ${HOME}/startwm.sh exists, xrdp-sesman will execute it instead of this.
 
-#### set environment variables here if you want
+#### load profile if necessary
+# source /etc/profile
+
+#### you can set environment variables here whatever you want
 # export LANG=en_US.UTF-8
+# export GTK_IM_MODULE=fcitx
+# export XMODIFIERS=@im=fcitx
 
 #### start desktop environment
 # exec gnome-session
 # exec mate-session
 # exec start-lumina-desktop
-# exec startkde
+# exec ck-launch-session startplasma-x11
 # exec startxfce4
 exec xterm
diff --git a/net/xrdp/Makefile b/net/xrdp/Makefile
index f54b77b5dd2c..e48d720f4f0c 100644
--- a/net/xrdp/Makefile
+++ b/net/xrdp/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	xrdp
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.9.22.1
-PORTREVISION=	2
+PORTREVISION=	3
 PORTEPOCH=	1
 CATEGORIES=	net
 DIST_SUBDIR?=	${PORTNAME}
diff --git a/net/xrdp/files/startwm.sh b/net/xrdp/files/startwm.sh
index 2e304eee9589..7b58c9a19240 100644
--- a/net/xrdp/files/startwm.sh
+++ b/net/xrdp/files/startwm.sh
@@ -1,15 +1,20 @@
 #!/bin/sh
 #
-# This script is an example. Edit this to suit your needs.
+# This script is just an example. Edit this to suit your needs.
 # If ${HOME}/startwm.sh exists, xrdp-sesman will execute it instead of this.
 
-#### set environment variables here if you want
+#### load profile if necessary
+# source /etc/profile
+
+#### you can set environment variables here whatever you want
 # export LANG=en_US.UTF-8
+# export GTK_IM_MODULE=fcitx
+# export XMODIFIERS=@im=fcitx
 
 #### start desktop environment
 # exec gnome-session
 # exec mate-session
 # exec start-lumina-desktop
-# exec startkde
+# exec ck-launch-session startplasma-x11
 # exec startxfce4
 exec xterm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308290148.37T1mYth092675>