From: hayao Date: Wed, 29 Apr 2020 08:50:59 +0000 (+0900) Subject: [add] : Added scripts. X-Git-Tag: beta3-alpha3~93^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1ce48765a5cece7f7d44b62fcee6788bad0a3a3c;p=alterlinux%2Falterlinux.git [add] : Added scripts. --- diff --git a/channels/lxde/airootfs/etc/profile.d/startx.sh b/channels/lxde/airootfs/etc/profile.d/startx.sh new file mode 100644 index 00000000..a4d98be1 --- /dev/null +++ b/channels/lxde/airootfs/etc/profile.d/startx.sh @@ -0,0 +1,3 @@ +if [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then + exec startx +fi \ No newline at end of file diff --git a/channels/plasma/airootfs/etc/profile.d/startx.sh b/channels/plasma/airootfs/etc/profile.d/startx.sh new file mode 100644 index 00000000..a4d98be1 --- /dev/null +++ b/channels/plasma/airootfs/etc/profile.d/startx.sh @@ -0,0 +1,3 @@ +if [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then + exec startx +fi \ No newline at end of file diff --git a/channels/xfce/airootfs/etc/profile.d/startx.sh b/channels/xfce/airootfs/etc/profile.d/startx.sh new file mode 100644 index 00000000..a4d98be1 --- /dev/null +++ b/channels/xfce/airootfs/etc/profile.d/startx.sh @@ -0,0 +1,3 @@ +if [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then + exec startx +fi \ No newline at end of file