terminal command for Espruino Web IDE
I installed the Espruino Web IDE on my Ubuntu laptop a year or so ago. I am presently grouping my coding tools together in the Dock using this script
[Desktop Entry]
Type=Application
Name=Programming
GenericName=Programming
Comment=Open-source electronics prototyping platform
Exec="~/ArduinoLatest/Arduino-1.8.13/arduino-1.8.13/arduino"
Icon=~/Bilder/Icons/Clock.png
Terminal=false
Categories=Development;IDE;Electronics;
MimeType=text/x-arduino;
Keywords=embedded electronics;electronics;avr;microcontroller;
Actions= ArduinoBeta;UIFlow;M5_Burner;Espruino;;
[Desktop Action ArduinoBeta]
Name=Arduino-Beta
Exec=~/ArduinoLatest/Arduino-2/arduino-ide_2.0.0-beta.5_Linux_64bit/arduino-ide
[Desktop Action UIFlow]
Name=UI Flow
Exec=~~/UIFlowIDE/bin/uiflow-desktop-ide
[Desktop Action M5_Burner]
Name=M5_Burner
Exec=~/UIFlowIDE/M5Burner/bin/electron-m5burner-v2-eletron
[Desktop Action Espruino]
Name=Espruino
Exec=
The problem is that although I can search for and find and execute Espruino Web IDE vie the Activities menu and in Dock and "Dash to Dock" I cannot find the actual command used to launch the app. How can I find out what command the Dock is using?
Solution 1:
For the .desktop
file you should be able to run the Espruino Web IDE with --app
mode in Chrome.
Exec=google-chrome --app="https://www.espruino.com/ide/"
Hope this helps!