# ~/.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" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
export QUARTUS_ROOTDIR=/opt/altera/quartus
export NIOS2EDS=/opt/altera/nios2eds
export PATH=$PATH:$QUARTUS_ROOTDIR/bin::$NIOS2EDS/bin
#export LM_LICENSE_FILE="$HOME/mentor.lic"
export MATLAB_USE_USERPATH=1
export USER_USERPATH="$HOME/Documents/MATLAB"
export GTK_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
export QT_IM_MODULE=fcitx
export http_proxy=http://127.0.0.1:8087/
export https_proxy=$http_proxy
export HTTP_PROXY=$http_proxy
export HTTPS_PROXY=$HTTP_PROXY
#ibus-daemon -d -x
export MODEL_TECH="/opt/questa_sim/linux"
export LM_LICENSE_FILE="$HOME/mentor.lic"
$MODEL_TECH/lmgrd -c $LM_LICENSE &
VBOX_USB=usbfs
sudo VBoxClient-all &
#python $HOME/goagent/local/proxy.py &
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
. startx
logout
fi
# 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" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
export QUARTUS_ROOTDIR=/opt/altera/quartus
export NIOS2EDS=/opt/altera/nios2eds
export PATH=$PATH:$QUARTUS_ROOTDIR/bin::$NIOS2EDS/bin
#export LM_LICENSE_FILE="$HOME/mentor.lic"
export MATLAB_USE_USERPATH=1
export USER_USERPATH="$HOME/Documents/MATLAB"
export GTK_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
export QT_IM_MODULE=fcitx
export http_proxy=http://127.0.0.1:8087/
export https_proxy=$http_proxy
export HTTP_PROXY=$http_proxy
export HTTPS_PROXY=$HTTP_PROXY
#ibus-daemon -d -x
export MODEL_TECH="/opt/questa_sim/linux"
export LM_LICENSE_FILE="$HOME/mentor.lic"
$MODEL_TECH/lmgrd -c $LM_LICENSE &
VBOX_USB=usbfs
sudo VBoxClient-all &
#python $HOME/goagent/local/proxy.py &
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
. startx
logout
fi