The script /etc/rc.local is for use by the system administrator. It is
executed after all the normal system services are started, at the end
of the process of switching to a multiuser runlevel. You might use it
to start a custom service, for example a server that's installed in
/usr/local.
很奇怪
init.d
不起作用。您还可以尝试将命令添加到/etc/rc.local
这里有一些细节:https://unix.stackexchange.com/a/49635好吧,经过一个又一个小时的胡闹,我终于明白了。我实际上在GNOME中使用了内置的启动管理器。我以前试过,但没用。所以这次我创建了一个条目来启动gnome计算器。。内置计算器。你知道吗
然后我在~/.config/autostart/gnome中编辑了条目-计算器.桌面使用gedit(gedit~/.config/autostart/gnome)-计算器.桌面). 我将Exec=gnome calculator更改为Exec=python/home/me/我的应用程序.py你知道吗
而且很有效。你知道吗
是的,这是一个蹩脚的解决方案,它没有确定问题是什么,但这是一个开始。谢谢你的帮助。你知道吗
相关问题 更多 >
编程相关推荐