Ubuntu 13.04 normally starts Lazarus 1.0.8

Source: Internet
Author: User

Ubuntu 13.04 normally starts Lazarus 1.0.8

After Ubuntu 13.04 is installed, it is found that the appmenu is easy to use and you do not need to delete it. However, after lazarus (from source) is installed, it has been crash. After investigation, it is an appmenu problem. Of course, lazarus in the official source is not completely normal.

So the solution is to change lazarus to the latest version and try to make it not load the appmenu at runtime.


The procedure is as follows:


1. Uninstall all lazarus-related files, including fpc
$ Sudo apt-get purge lazarus fpc-source
You may not be able to delete the files. In this case, run the following command to determine whether to delete the files.
$ Sudo dpkg-l | grep lazarus (fpc/fp can also be determined)
If found, use dpkg-r or dpkg-P to delete all


2. Delete the configuration file of the original lazarus.
In/usr/lib,/usr/share, find the directory starting with lazarus and delete it.
In the/etc directory, find the directory starting with lazarus and delete it. Find the file starting with fpc and delete it.
Find and delete the. lazarus directory in the $ HOME directory.


3. Search for and download lazarus 1.0.8 from sourceforge and run the following command to install
$ Sudo dpkg-I *. deb


4. After the installation is complete, run the following command:
$ Su-(current user)
$ Lazarus-ide
At this time, we can find that the appmenu is not loaded when lazarus is started, and the menu is displayed in the conventional mode, because crash will not be generated even if appmenu is absent.

So far, lazarus 1.0.8 can run normally. For the sake of insurance, you can also make the following changes

1. Delete overlay-scrollbar
2. recompile lazarus-ide
3. Direct Exec in/usr/share/applications/lazarus. desktop to $ HOME/. lazarus/bin/lazarus

For details about Lazarus IDE, click here
Lazarus IDE: click here

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.