TIPS: the solution "the shell script of the starter will call xterm to run"
This article also applies to CentOS 7.0 (x86_64) and ArchLinux 2014.10.01 (x86_64) in Mate 1.8.1 desktop environments.
(I only use these two Release versions)
Problem proposal
Add the initiator pointing to the. sh script in the panel according to the old idea. Take this as an example:
- /Home/myname/Scripts/pacman_Update.sh
However, xterm is called by default during running. The interface is neither beautiful nor used to it. What's more troublesome is that it does not support pasting.
Solution
You need to change the initiator:
- /Usr/bin/mate-terminal-x/bin/sh-c '/home/myname/Scripts/pacman_Update.sh'
The Startup type must be set to "application" instead of "program on the terminal ".
The execution result is as follows:
If this article is helpful to you, you are welcome to repost and share it. Thank you!
This article permanently updates the link address: