Mastodon

Adding lamp to kde menu

If you have installed xampp / lampp in linux then you must have observed that there is no launcher shortcut created under kde menu.  You need to launch it manually from command line.  To create a launcher shortcut, here is the procedure.

  1. Right click on kde launcher icon and select “Edit Application”
  2. In the left pane, select one of the category under which you wish to add the shortcut.  for example: Development
  3. Create a new item by selecting “New Item”
  4. In the right page, enter following details:
    • Name: lamp
    • Description: Linux Apache MySQL Php framework
    • Command: /opt/lampp/manager-linux-x64.run
    • Under advanced tab:
      • Run as different user: root
  5. Press ‘Save’ and you are done.

Now you will find the lampp shortcut under kde menu -> Developmenet -> lampp.

Eclipse crash in KDE 4.11

For those who have experienced Eclipse crashing with error “C [libgobject-2.0.so.0+0x19528] g_object_get_qdata+0x18” in KDE specially with version 13, here is a quick solution.

1) Open System Settings
2) Select Application Appearance
3) Select GTK
4) Change the GTK2 theme to anything but oxygen-gtk
5) Start eclipse and perform the required operation which caused the crash
6) Close eclipse
7) Revert settings back to use oxygen-gtk for GTK2 apps

The crash was observed specially when trying to close the find/replace window in eclipse.

Happy coding!!!