Command Launcher

by collinss
UUID: commandLauncher@scollins
Score: 3
Last edited: 4 months ago
Last commit: a6059d31fb64b3fd2759193b88b98dd44af30013

Lets you to run command-line commands with the click of a button

Cinnamon Command Launcher

This is a simple multi-instance applet for Cinnamon which allows the user to launch commands as though from a command prompt with the click of a button. Unlike a program launcher, which typically uses a .desktop to launch a program, Command Launcher uses a direct command-line command. This means you can use any command you could use from a terminal (eg run a script, launch program with complicated command-line arguments, etc).


  • Users can add as many to the panels as they would like
  • Users can change the command, tooltip and icon (supports fullcolor and symbolic)
  • Users can set a short-cut key to launch the command
  • Option to set the path from which to run the command
  • Option to run with root priviledges (password dialog will appear)
  • Option to send Notifications on start and completion of the process

Known issues

Log In To Comment!


CottonEaster-5 months ago
I should add that I would like it were the problem I identified in another comment to be fixed; because in the meantime I have to reply on the launcher that Cinnamon itself provides, and that launcher is considerably buggy.

Perhaps I'll try the rollback of your applet, as suggested on this page by the user called 'rtikw'. (Is there some way to get an email notification when a comment is replied to?)
CottonEaster-6 months ago
Sorry for the (lack of) formatting in the comment below; the website seems not to support formatting.
CottonEaster-6 months ago
This wonderful applet is, as of today, throwing an error when I use it to launch anything. The error is:

Error invoking Glib.child_watch_add: Expected function for callback argument function, got null

Is this the result (in part) of some library being updated?
rtikw-5 months ago
I'm getting the same problem - I found a temporary fix by rolling back a recent change in the applet JS:
Comment out: GLib.child_watch_add(pid, Lang.bind(this, this.onClosed), null);
Replace with: GLib.child_watch_add(GLib.PRIORITY_DEFAULT, pid, Lang.bind(this, this.onClosed), null);
CottonEaster-5 months ago
Thanks - perhaps I'll try that.