[英]How to start python program with a terminal window on ubuntu startup
I want to start a python program on ubuntu startup and im using session and startup option for it.我想在 ubuntu 启动时启动一个 python 程序,我使用会话和启动选项。 But each time the system boots python program starts but without a terminal window that I need.
但是每次系统启动 python 程序时,都没有我需要的终端窗口。 Is there any option to force program to start with terminal window?
是否有任何选项可以强制程序从终端窗口启动?
要在启动时使用终端窗口打开 python 应用程序,只需使用以下命令将其添加到Settings >> Session and Startup
gnome-terminal -- python3 path/to/app
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.