I recently wrote an article about how to fix btscanner in Backtrack Linux and realized after the article was completed that some people may prefer to launch btscanner via the menu in Backtrack Linux instead of the command terminal by typing btscanner. This article specifically explains how to add btscanner back to the menu in Backtrack Linux under Backtrack > Information Gathering > Wireless Analysis > BlueTooth Analysis > btscanner. The information could however apply to any tools you wanted to manually add to the Backtrack menu by modifying each variable accordingly.
**NOTE** I am not 100% sure what will happen to menu items as Backtrack is upgraded/etc. so make sure that you backup any changes you make to the menu so you can implement again easily.
Add Source Compiled/Installed btscanner To Backtrack Linux Menu:
- # will add btscanner installed from source to Backtrack Menu
- # write contents to necessary BT5 R3 file for menu item
- cat <<"EOF" >/usr/share/applications/backtrack-btscanner.desktop
- [Desktop Entry]
- Exec=sh -c "btscanner -h; sudo -s"
All you need to do is copy/paste the below shell code into a file, make it executable, and run the shell script which will dump the necessary contents in the correct file and the btscanner menu item will appear immediately. Again you could modify a couple items in the script above including the output filename(backtrack-btscanner.desktop), Name, Exec, and Categories variables to apply the same script to create menu items for whatever application you want to add to the Backtrack Linux menu. I added the shell script contents above to btscanner-menu-install.sh, used chmod +x to make it executable, and then typed ./btscanner-menu-install.sh to install the btscanner menu item.