sedwards2009 / extraterm

The swiss army chainsaw of terminal emulators
https://extraterm.org
MIT License
2.51k stars 116 forks source link

(Ubuntu22) Crash #375

Closed newsera closed 1 year ago

newsera commented 2 years ago

Extraterm latest version & QT version crashes on a fresh install of Ubuntu 22.

TheCodeHeist commented 2 years ago

Same with me!! 😭

erichiller commented 2 years ago

Same here, but I found a fix (it's just a missing package):

sudo apt install qt5dxcb-plugin

I installed via the .deb file, tried both 64 and 65 versions. Then I tried downloading the binaries, received the error:

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

Installing sudo apt install xcb did not fix it, so I looked for something something qt xcb and the above qt5dxcb-plugin did it. Maybe the .deb package needs updating?

This may be because I selected "minimal" install when installing Ubuntu 22.04.

Hopefully this helps others.

sedwards2009 commented 2 years ago

I've been very busy lately banging new old features into the Qt version, so I haven't looked into this.

@erichiller That is an interesting discovery. I'm guessing that you people are running Ubuntu on Wayland instead of old Xorg, and installing qt5dxcb-plugin pulled in some other X11 libraries which are needed to run Extraterm. (qt5dxcb-plugin itself is for the Deepin desktop environment, but it does depend on a lot of things.)

Is everyone else here using minimal Ubuntu installs with little to no X based applications?

sedwards2009 commented 1 year ago

There has been no response to this issue for a long time. Also, the based Qt version is now 6 which may have fixed the problem already.