|
发表于 2009-10-5 14:12:56
|
显示全部楼层
我認爲比較適當的地方是/etc/xprofile或~/.xprofile。
- $ cat /etc/X11/gdm/Xsession | grep xprofile
- # Second read /etc/xprofile and .xprofile for X specific setup
- test -f /etc/xprofile && . /etc/xprofile
- test -f "$HOME/.xprofile" && . "$HOME/.xprofile"
复制代码 |
|