justforlxz
deepin
2018-01-23 23:27 /etc/environment文件不需要使用export。
格式为:
Copy the Code
格式为:
- PATH=$PATH:/home/idn-lee/.config/composer/vendor/bin
Reply Like 0 View the author
https://bbs.deepin.org/post/152263
/etc/environment文件不需要使用export。
格式为:
https://bbs.deepin.org/post/152263
很有意思,发现不管有没有export,都会导致lightdm无法启动,并且在TTY2登录的时候会出现找不到“[”和“ ...
https://bbs.deepin.org/post/152263
/etc/environment文件不需要使用export。
格式为:
https://bbs.deepin.org/post/152263
斑竹大人,这些小方面很让人崩溃啊。有的看网上教程可以,有的是deepin单独配置的,但没有什么比较全面的 ...
https://bbs.deepin.org/post/152263
既然你需要做的事情与root有关,那就不是普通用户应当涉及的领域。因此最好通过自己钻研来解决问题,而不 ...
https://bbs.deepin.org/post/152263
斑竹大人,这些小方面很让人崩溃啊。有的看网上教程可以,有的是deepin单独配置的,但没有什么比较全面的 ...
https://bbs.deepin.org/post/152263
作为一个操作系统,自己的文档全面了,用的人也会多吧?
Ubuntu的文档就很不错,可deepin和Ubuntu还是有 ...
https://bbs.deepin.org/post/152263
我很奇怪你没提到 ~/.profile ?
另外 /etc/profile 是对的,你怎么看出对 root 用户不生效的?把你改后的 ...

https://bbs.deepin.org/post/152263
Deepin的受众不是专业用户。
折腾Deepin的受众需要是专业用户,或者是有志成为专业用户的用户。 ...
https://bbs.deepin.org/post/152263
相信我,我也是一直被坑的。 我现在只写.xprofile,最起码只影响一个用户的。 ...
https://bbs.deepin.org/post/152263
是啊,都分开在.bashrc里面也是可以设置的
我是想知道,就没有个地方可以只设置一次,所有用户都生效吗? ...
https://bbs.deepin.org/post/152263
所以需要对不是特别懂,又想尝试下的人做点事情呀
相信我,纯粹电脑白痴不会有人想装linux的,都是想折腾 ...
https://bbs.deepin.org/post/152263
你到底改没改 /etc/profile ?还是只创建了 /etc/profile.d/jdk.sh ?
不管怎么说,sudo su 和直接以 root ...
https://bbs.deepin.org/post/152263
不折腾才是终极真理。不用怀疑,Linux 很多需要“折腾”的地方,都属于缺陷,明智的态度是了解和避开。在 ...
https://bbs.deepin.org/post/152263
你到底改没改 /etc/profile ?还是只创建了 /etc/profile.d/jdk.sh ?
不管怎么说,sudo su 和直接以 root ...
https://bbs.deepin.org/post/152263
/etc/profile不是会自动读取 profile.d目录下的东西吗?必须得写到/etc/profile?
https://bbs.deepin.org/post/152263
双手双脚赞同。
但现实总是需要妥协的,也许有神的世界会不一样吧
Popular Events
More
我以为是/etc/environment,在里面这样设置的
export PATH=$PATH:/home/idn-lee/.config/composer/vendor/bin
在自己的用户下source了下,美滋滋。
之后重启,结果卡在启动界面了,简直被吓屎,然后tty2发现,路径真的被设置成$PATH:/home/idn-lee/.config/composer/vendor/bin,一个字没改……
很疑惑为什么他不解析$PATH呢?
搜索论坛发现可以更改/etc/profile,然后改了以后发现root用户压根也不用这个配置。难道我只能在用户各自的.bashrc中分别设置吗?