[Seek Help] dde桌面环境启动自定义的idea软件, 不加载env环境变量
Tofloor
poster avatar
whoami
deepin
2022-06-01 23:40
Author

dde方式启动idea.sh软件, 没有加载我自定义的IDEA_VM_OPTIONS环境变量, 如果使用terminal方式启动, 则可以加载env信息。如下图为idea.desktop启动文件的内容, 但是没有加载上述的IDEA_VM_OPTIONS环境变量配置的vm文件路径, 而是使用的默认的。 不知道我说清楚了没有。。。

image.png

Reply Favorite View the author
All Replies
whoami
deepin
2022-06-01 23:51
#1

求助

Reply View the author
心平气和
deepin
2022-06-02 00:28
#2

这个 desktop文件是你自己写的吗,你给这个桌面图标最高权限试试

Reply View the author
Jokul
deepin
2022-06-02 00:28
#3

掐指一算 你是为了激活

Reply View the author
red13
deepin
2022-06-02 00:50
#4

睁眼一瞄,建议如果是加载破解包,直接写到 idea64.vmoptions 里

Reply View the author
whoami
deepin
2022-06-02 01:40
#5
Jokul

掐指一算 你是为了激活

NONONO

为了升级后修改的jvm内存参数依旧生效, deepin每次升级idea后会覆盖已配置的jvm参数

Reply View the author
whoami
deepin
2022-06-02 01:41
#6
red13

睁眼一瞄,建议如果是加载破解包,直接写到 idea64.vmoptions 里

都好会瞄, 好会掐指算confused

Reply View the author
whoami
deepin
2022-06-02 01:43
#7
心平气和

这个 desktop文件是你自己写的吗,你给这个桌面图标最高权限试试

自己写的和用desktop-entry-editor生成的都不行

Reply View the author
心平气和
deepin
2022-06-02 02:03
#8
whoami

自己写的和用desktop-entry-editor生成的都不行

IDEA_VM_OPTIONS 这个环境变量你配置到哪里去了

Reply View the author
whoami
deepin
2022-06-02 16:52
#9

在.profile中export的

Reply View the author
whoami
deepin
2022-06-02 16:53
#10
心平气和

IDEA_VM_OPTIONS 这个环境变量你配置到哪里去了

使用terminal直接执行./idea.sh是可以正常加载到IDEA_VM_OPTIONS, 但是通过dde的图标方式启动就不行

Reply View the author
心平气和
deepin
2022-06-02 17:53
#11
whoami

使用terminal直接执行./idea.sh是可以正常加载到IDEA_VM_OPTIONS, 但是通过dde的图标方式启动就不行

配置在 /etc/profile 试试,配置完 source /etc/profile 一下 或者 重启下

Reply View the author