Linux UE4 and Codelite

Hi,
I have looked at various posts and pretty much done all I think is necessary

  1. Got 4.12 UE4 built from scratch
  2. Installed codelite on my xubuntu 15.04
  3. In LinuxEngine.ini I set PreferredAccessor=CodeLiteSourceCodeAccessor
  4. In UE4 editor settings too I set the source code as codelite
  5. Associated .workspace files to Codelite

Still every time I create a C++ project, it ends up opening the .workspace file in mousepad (default text editor for xubuntu) and the terminal shuts down.

I noticed something weird in my terminal, could this be the problem

[2016.08.27-13.37.14:519][797]Discovering modules, targets and source code for project...
[2016.08.27-13.37.17:728][797]LogHAL: Child 3836 is no longer running (zombie), Wait()ing immediately.
[2016.08.27-13.37.17:728][797]LogHAL: Child 3836's return code is 0.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = "en_IN:en",
	LC_ALL = (unset),
	LC_NUMERIC = "en_US",
	LANG = "en_IN"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_IN").
[2016.08.27-13.37.17:879][798]Cmd: QUIT_EDITOR

(process:5656): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
[2016.08.27-13.37.17:903][798]LogALAudio: Closing ALAudio device : OpenAL Soft

Can someone please help?

Ananth

Can someone please help out here?

This is a xdg-open issue. Unfortunately some distros are messing around with the location of the default files for the associations. UE4 is using xdg-open to open files with their associated programs. Check the net for issues regarding that issue. Xfce is causing some issues in terms of that.

After you create c++ project the terminal will close. This is a normal behavior. After creating a c++ project CodeLite should open and the terminal will close.

Furthermore, I recommend everyone wants to seriously develop game using UE4 on gnux use LTS version of Ubuntu (If you use Ubuntu or one of its favours). Don’t mess around with short lived distros. It will cause you pain for nothing.

Thank you Yaakuro
So xfce file association is causing the issue, so I will figure out how to do that.

One question - if it is normal for the terminal to close and codelite to open, then we have to manually open the editor again? Just wanted to confirm…

Thanks for your help.
Ananth

Yes you have to open the ue4 editor by hand again. The CodeLite support is made so that you can start programming and run your ue4 game without starting the editor. Of course you need the editor to add assets and edit your lecel etc. Guess I don’t have to tell you that. Check the video tutorials I made that shows how to do so. When I have time again I might add some more tuts.

I had the same problem.

Solution (in my case spanish language):

sudo apt remove language-pack-es

That will remove also language-pack-es-base language-pack-gnome-es language-pack-gnome-es-base

sudo apt install language-pack-es language-pack-es-base language-pack-gnome-es language-pack-gnome-es-base

With this action, the problem is SOLVED.