It depends on the desktop environment. Most desktop environments provide a way to extend the desktop with extensions which can be written in various languages. In the case of Cinnamon for Linux Mint, being based on Gnome, it uses JavaScript to extend the desktop with extensions, applets (extensions that display on the menu bar), and desklets (extensions that display on the desktop). In fact, a good portion of Cinnamon[1] is actually written in JavaScript.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;linuxmint&#x2F;cinnamon" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;linuxmint&#x2F;cinnamon</a>