MissileUI is a frontend for the USB Launcher program, which controls the M&S and Dream Cheeky USB Missile Launchers.
As opposed to my Kommander script of last year, this is a stand-alone application with much better functionality. E.g., it will now find the location of ctlmissile on its own; holding down the mouse button on a directional arrow will make the missile launcher continue to move smoothly in that direction until the button is released.
The first time you start MissileUI, it will probably take a few seconds to load. That is normal. Before showing the interface, it looks for a hidden file called ".MissileUI" in the current directory. (If anyone knows how to get the C++ ifstream to recognize the Unix "~/" home directory prefix, please share the knowledge!) If no .MissileUI file is found, the program uses the "find" command to locate the ctlmissile executable and stores its location in a newly-created .MissileUI file. The GUI then pops up, and the location stored in .MissileUI is used to send commands to the ctlmissile program.
The one caveat to this setup is that the ctlmissile program uses libusb to talk to the missile launchers themselves, and libusb requires root privileges. Thus it is necessary to either run MissileUI as root (with access to the X server), or change the ctlmissile program to setuid root. The latter can be done as follows:
chown root ctlmissile
chgrp root ctlmissile
chmod 755 ctlmissile
chmod u+s ctlmissile
This will allow you to use MissileUI as a regular user with no further hassle.
· Qt 4.x
· KDE 4.x
What's New in This Release:
· The program now saves the settings file in the user's home directory, rather than wherever you happen to launch the program.