如何在Ubuntu中的终端中自动运行应用程序?

Tom*_*Tom 1 bash ubuntu gnome autorun

我autorun在各种USB设备上创建了一些脚本文件,这些设备bash在安装时运行脚本.这些脚本"在后台运行",如何让它们在终端窗口中运行?(就像"终端中的应用程序"gnome Launcher类型.)

Vag*_*err 5

将它们作为两个阶段的过程运行,使用"autorun"脚本在新终端中调用第二个脚本,例如

gnome-terminal -e top --title Testing
Run Code Online (Sandbox Code Playgroud)

将在新的gnome终端窗口中运行程序"top",标题为"Testing"您可以添加其他参数,例如设置几何图形以确定窗口的大小和位置,检查gnome-terminal的手册页和"X"手册页了解更多详情