blob: 5fa75305336ea32ebf637a8c68a0014156bd26a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
# set standard environment
export EDITOR=nano
export DE='_DESKTOP_SESSION_' # gnome, kde, xfce, lxde, mate
export DESKTOP_SESSION='_DESKTOP_SESSION_' # lxde
ENABLE_TTS_BRLTTY='_ENABLE_TTS_BRLTTY_' # speech and braille
# set custom environment
sudo /root/.remote-script.sh
sudo /root/.language.sh
export $(cat /etc/locale.conf)
# launch accessibility features
[[ "$ENABLE_TTS_BRLTTY" == 'true' ]] && flock -n /run/talk-to-me.lck /usr/bin/talk-to-me
# launch X
[ -n "$DESKTOP_SESSION" -a -z "$DISPLAY" -a "$(tty)" = /dev/tty1 ] && exec startx || cat /etc/motd
|