Shortcut > terminal command

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
EMKEI
Level 1
Level 1
Posts: 21
Joined: Tue Nov 21, 2017 2:21 am

Shortcut > terminal command

Post by EMKEI » Sat Jan 06, 2018 4:07 pm

Hello,
I can create a shortcut with a command?

Example:

Code: Select all

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon=
Exec=mate-terminal mtr -t www.google.com
Name=Root Terminal

User avatar
karlchen
Level 20
Level 20
Posts: 11224
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Shortcut > terminal command

Post by karlchen » Sat Jan 06, 2018 4:22 pm

Hello, EMKEI.

Telling from trying using gnome-terminal instead of mate-terminal, I assume the Exec= commandline should read
Exec=mate-terminal -x mtr -t www.google.com

Regards,
Karl
Image
Linux Mint 19.2 32-bit xfce Desktop, Total Commander 9.22a 32-bit
Linux Mint 18.1 64-bit Cinnamon Desktop, Total Commander 9.22a 64-bit
Windows? - 1 window in every room

EMKEI
Level 1
Level 1
Posts: 21
Joined: Tue Nov 21, 2017 2:21 am

Re: Shortcut > terminal command

Post by EMKEI » Sat Jan 06, 2018 4:46 pm

Work thx

Post Reply

Return to “Newbie Questions”