( MAEMO-MENU )
I wanted a newlisp button on Maemo (Diablo/Hildon) menu layout, now that needs a little adjustment and Ill include it in the next release package. First created icons 26x26 40x40 and 64x64 128x128    
And a 'newlisp.desktop' file:
[Desktop Entry] Version=10.1.0 Encoding=UTF-8 Name=newLisp Exec=osso-xterm -e /usr/bin/newlisp Icon=newlisp-64x64 StartupWMClass=newlisp X-Window-Icon=newlisp-64x64 X-HildonDesk-ShowInToolbar=true X-Window-Icon-Dimmed=newlisp-64x64 X-Osso-Type=application/x-executable Type=Application |
These together will create a newlisp Menu entry on the Maemo desktop. newlisp-postinst.sh
#!/bin/sh
echo "Copying newlisp.desktop" cp ./newlisp.desktop /usr/share/applications/hildon/ cp ./newlisp-26x26.png /usr/share/icons/hicolor/26x26/ cp ./newlisp-40x40.png /usr/share/icons/hicolor/40x40/ cp ./newlisp-64x64.png /usr/share/icons/hicolor/scalable/hildon/
echo "Refreshing Icon cache" gtk-update-icon-cache -f /usr/share/icons/hicolor
echo "Installing newlisp" maemo-select-menu-location newlisp.desktop
|
Execute the script as root from an XTerm in the directory where the above files are located, the script will refresh the gtk icon cashe file and ask you "popup" where to install newlisp in the menu structure. Finaly it all looks like this: 
These is though 1 backdraw with the use of osso-xterm, you cant assign an icon to the open xterm session. All newlisp sessions will show the Xterm icon. You can ofcourse download the tool "Personal menu" that can create icons on the Personal-Menu's.
|