Search code examples
javascriptappletcinnamon

Developing task bar applets for Cinnamon: How to reload the code?


Working on a Cinnamon Javascript applet (Example).

How can I reload the code, so that the applet in the task bar reflects the changes I make in the Javascript?

Manually removing the applet from the task bar and then re-adding it seems not to reload the code, and is cumbersome anyway. I have to log off and log in again to see the changes.


Solution

  • Copying from my other answer:

    Use the Melange-Cinnamon debugger. To open it:

    • Right click on the task bar and select TroubleshootLooking Glass.
    • Alternatively, press Win key + L.
    • Alternatively, press Alt + F2 → type "lg" → Enter.

    Reload the code of the applet by finding the applet under the extensions tab, right click → reload code.