From 9e4c0f0278c04b9623eff2dada53ea17431a6853 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 24 Jun 2014 15:03:26 +0200 Subject: [PATCH] another fix --- .bash_profile | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.bash_profile b/.bash_profile index 5d8256b..dc8c05f 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,13 +1,3 @@ -# ~/.profile: executed by the command interpreter for login shells. -# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login -# exists. -# see /usr/share/doc/bash/examples/startup-files for examples. -# the files are located in the bash-doc package. - -# the default umask is set in /etc/profile; for setting the umask -# for ssh logins, install and configure the libpam-umask package. -#umask 022 - # if running bash if [ -n "$BASH_VERSION" ] && [ -f "$HOME/.bashrc" ]; then ."$HOME/.bashrc" @@ -19,6 +9,6 @@ if [ -d "$HOME/bin" ] ; then fi # start gui -if [ -z $DISPLAY ] && [ $XDG_VTNR -eq 1 ]; then +if [ -z $DISPLAY ]; then exec startx fi