简体   繁体   中英

How can I create desktop shortcut for a command

I'm trying to execute the following command by clicking an icon on desktop:

LANG=EN geany

I tried creating a Bash script however it just opened the file with Gedit, after double clicking. How can I create a shortcut and execute it?

#!/bin/sh
LANG=EN geany

Save it as a whatever.sh , make it executable, double click and let me know how it goes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM