From b4105df7f5176d95f2a0ca25d959c16a199bd85b Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 7 Feb 2013 02:24:39 +0900 Subject: [PATCH] do not run xinitrc when login with ssh --- xinitrc | 1 + 1 file changed, 1 insertion(+) diff --git a/xinitrc b/xinitrc index 42b271b..edbd4d8 100644 --- a/xinitrc +++ b/xinitrc @@ -1,5 +1,6 @@ test -n "$DISPLAY" || return test -z "$ROXTERM_PID" || return +test -z "$SSH_CONNECTION" || return test "`hostname`" == "arch-aspireone" && setxkbmap -model "acer_laptop" -layout "jp" # this line must comes first