Lazarus won't start lazarus / 1-Linux ---------------------------------------------------------------------- Drannok · 2007-10-21 05:13 Hello all... I installed Lazarus on my Fedora 7 without any warnings / errors at all (i tried both RPM and Compilation methods). But when i try: # lazarus or # startlazarus nothing happens i must use Ctrl + C to retrieve the bash prompt I tried to let the application appear but after 30 min i decided to Ctrl + C one more time. Can anyone help me please ? Thanks by advance Fedora 7 with KDE + Compiz-Fusion Lazarus-0.9.22-0.rpm fpc-2.0.4-0.rpm fpc-src-2.0.4-0.rpm ---------------------------------------------------------------------- Drannok · 2007-10-22 07:21 Well, i finally found the problem... Actually i'm using Fedora 7 with Compiz-Fusion (a 3D desktop environment) and this works in the XGL session mode. But actually Lazarus seems not to support that mode, so i use a trick to make it work: launching Lazarus on another display. Here is a script i put in the /usr/bin path: Code: [Select]#!/bin/sh if [ "$1" = "-h" ] || [ "$1" = "--help" ] || [ $# -eq 0 ] ; then echo "Usage : noxgl [options]" echo "        noxgl -b [options]" echo "              (-b option means 'border' so it adds a window border)" exit fi if [ "$1" = "-b" ]; then if [ -x /usr/bin/kwin ]; then WM=kwin else WM=metacity fi DISPLAY=:0.0 $WM& shift $@ killall $WM else DISPLAY=:0.0 "$@" fi i named this scrip "noxgl" so if i want to launch an app without XGL i just type for example: noxgl -b startlazarus it works for all the apps Thanks to Nicofo for his help ---------------------------------------------------------------------- Almindor · 2007-10-22 09:02 I'm not sure why this is a problem, on ubuntu/nvidia lazarus works fine in both gtk1 and gtk2 with compiz [fusion]. I guess AIGLX is just better... On the other hand Qt gives problems with window borders but that's probably compiz bug.