After installing Ubuntu 13.04, it is found that the Appmenu is working well and no longer needs to be removed. However, after the installation of Lazarus (from source), it has been crash, appmenu problems, of course, the official source of Lazarus is not entirely normal. So the solution, replace Lazarus with the latest version, and find a way to make it run without loading appmenu.
The specific procedures are as follows:
1. First uninstall Lazarus related documents, including FPC:
$ sudo apt-get purge Lazarus FPC Fpc-source
You may not be able to remove the clean, this time use the following command to judge again:
$ sudo dpkg-l | grep Lazarus (also can be sentenced to fpc/fp)
If found, use Dpkg-r or dpkg-p to remove all.
2. Delete the original Lazarus configuration file
Find the directory at the beginning of Lazarus in/usr/lib,/usr/share and delete it
Find the directory at the beginning of Lazarus in the/etc directory and delete it, find the file at the beginning of FPC delete it
Find the. Lazarus directory in the $HOME directory and delete it
3. To SourceForge search and download Lazarus 1.0.8, use the following command to install
$ sudo dpkg-i *.deb
4. After the installation is complete, execute the following command
$ Su-(current user)
$ lazarus-ide
This time can be found, Lazarus Boot, did not load Appmenu, the menu is shown in a regular manner, because there is no appmenu will not produce crash.
So far, Lazarus 1.0.8 is ready to run, and for the sake of insurance, the following changes can be made:
1. Delete Overlay-scrollbar
2. Recompile lazarus-ide
3. The Exec in the/usr/share/applications/lazarus.desktop is directed to $HOME/.lazarus/bin/lazarus