Forum > Linux
Programs on Ubuntu 22.04
lainz:
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:
widgetset gtk ? ubuntu using wayland ?
lainz:
--- Quote from: TRon on March 01, 2024, 01:31:34 am ---widgetset gtk ? ubuntu using wayland ?
--- End quote ---
GTK, ubuntu default 22.04 I've not changed nothing else.
TRon:
--- Quote from: lainz on March 01, 2024, 11:04:59 am ---GTK, ubuntu default 22.04 I've not changed nothing else.
--- End quote ---
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 :) )
Thaddy:
check export, i.e. type export in a terminal. You will see if wayland is used or not. Look for this line:
--- Code: Bash [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---declare -x WAYLAND_DISPLAY="wayland-0" or similar.
Navigation
[0] Message Index
[#] Next page