Recent

Author Topic: Programs on Ubuntu 22.04  (Read 1799 times)

lainz

  • Hero Member
  • *****
  • Posts: 4659
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Programs on Ubuntu 22.04
« on: March 01, 2024, 12:21:03 am »
Hi, I was using lazarus without problems, then installed LazPaint and it look like this, as well any lazarus app (including the IDE), black menus and strange font rendering.

I'm using a VM of Ubuntu 22.04 64.bit

TRon

  • Hero Member
  • *****
  • Posts: 3788
Re: Programs on Ubuntu 22.04
« Reply #1 on: March 01, 2024, 01:31:34 am »
widgetset gtk ? ubuntu using wayland ?
I do not have to remember anything anymore thanks to total-recall.

lainz

  • Hero Member
  • *****
  • Posts: 4659
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: Programs on Ubuntu 22.04
« Reply #2 on: March 01, 2024, 11:04:59 am »
widgetset gtk ? ubuntu using wayland ?

GTK, ubuntu default 22.04 I've not changed nothing else.

TRon

  • Hero Member
  • *****
  • Posts: 3788
Re: Programs on Ubuntu 22.04
« Reply #3 on: March 01, 2024, 11:08:00 am »
GTK, ubuntu default 22.04 I've not changed nothing else.
The problem is that I do not know what is ubuntu default... I did a quick search but the answer was inconclusive whether or not ubuntu 22.04 uses wayland by default. In case it is then you have your answer. In that case there is usually a switch in the configuration setting/setup that allows you to switch to xwayland (or x).

Because I constantly stumble on pages like this I can only assume that wayland is the default server (and the page also shows you how to switch  :) )
« Last Edit: March 01, 2024, 11:11:22 am by TRon »
I do not have to remember anything anymore thanks to total-recall.

Thaddy

  • Hero Member
  • *****
  • Posts: 16387
  • Censorship about opinions does not belong here.
Re: Programs on Ubuntu 22.04
« Reply #4 on: March 01, 2024, 11:33:11 am »
check export, i.e. type export in a terminal. You will see if wayland is used or not. Look for this line:
Code: Bash  [Select][+][-]
  1. declare -x WAYLAND_DISPLAY="wayland-0"
or similar.
« Last Edit: March 01, 2024, 11:37:17 am by Thaddy »
There is nothing wrong with being blunt. At a minimum it is also honest.

lainz

  • Hero Member
  • *****
  • Posts: 4659
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: Programs on Ubuntu 22.04
« Reply #5 on: March 01, 2024, 01:25:27 pm »
check export, i.e. type export in a terminal. You will see if wayland is used or not. Look for this line:
Code: Bash  [Select][+][-]
  1. declare -x WAYLAND_DISPLAY="wayland-0"
or similar.

Yes I found that line. So it is wayland.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1790
Re: Programs on Ubuntu 22.04
« Reply #6 on: March 01, 2024, 02:27:24 pm »
FYI.
I encounter many problems related to Wayland (and also GTK2) on modern Linux systems.
I have switched to QT5/QT6. Now, all apps run wonderful on any display server.

lainz

  • Hero Member
  • *****
  • Posts: 4659
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: Programs on Ubuntu 22.04
« Reply #7 on: March 02, 2024, 12:25:21 am »
Thanks for the information.  :)

 

TinyPortal © 2005-2018