Alt is used to open the HUD in 12.04.
I'd like to use alt to execute a second action as well as open the HUD by having alt execute an executable script.
So Alt = script, that does HUD and other stuff.
I know how to do all of this except call the HUD from the command line.
Best Answer
The HUD service is available as a service on DBus, so if you'd just like to poll it for information you can do that with a gdbus command, like this.
If you're trying to get Unity to show the HUD prompt you can do that with the XTest extension using xdotool like this:
If you're interested in playing with HUD it's probably best to use the
hud-gtk
tool which is in the indicator-appmenu-tools package.