discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WindowMaker Dock problem


From: Andreas Höschler
Subject: Re: WindowMaker Dock problem
Date: Sat, 10 Mar 2007 11:27:41 +0100

Hello Chris,

On 2007-03-10 00:42:19 +0100 Nicola Pero <nicola.pero@meta-innovation.com> wrote:
You need to provide us with more information on your environment. ;-)
Anyway, it looks like you are on GNU/Linux, and are trying to
start up an application without sourcing GNUstep.sh.  Good. :-)
If so, did you add /opt/GNUstep/Local/Libraries and /opt/GNUstep/System/Libraries to your /etc/ld.so.conf ? Did you run ldconfig as root ?

No, IIRC he's on Solaris, so there wouldn't be /etc/ld.so.conf.

Exactly!

If you want to avoid sourcing GNUstep.sh, you need to run ldconfig
every time you install a new library.  That's the "native" pain you
suffer for going "native". ;-)

Adding the path(s) to crle(1) once would do the trick.

Normally it does. I have

crle -c /var/ld/ld.config -l /lib:/usr/lib:/local/lib:/usr/local/lib:/usr/local/ssl/lib:/usr/sfw/ lib:/usr/local/teTeX/lib:/opt/GNUstep/System/Library/Libraries:/opt/ GNUstep/Lcoal/Library/Libraries:/usr/local/pgsql/lib:/opt/sfw/cups/lib

Starting the appication with "/opt/GNUstep/Local/Applications/SmartClient.app/SmartClient" from the command line works. However, doubleclicking the item does not. The application won't start. :-( I am stuck. Even trashingthe icon and recreating it by startingthe app from the command line and draggingthe icon to the dock does nt help. All I can do is manually editing the start command to be "openapp SmartCLient.app" then it works. But I don't want to do that for 7 apps and 30 users. Any idea why thi sno longer works. "/opt/GNUstep/Local/Applications/SmartClient.app/SmartClient" should do, shouldn't it. What can be the difference between startingthe app from the command line and clickingthe window maker dock icon?

Yes it should do.
It might be a good idea the try and find out what the application (or GNUstep) is dumping to the console or syslog during startup of the application as to why it fails.

Yes, I wondered where Window Maker dumps its output to. Nothing is logged to /var/log/syslog! :-(

Where and when does the GNUstep.[c]sh get sourced in?

I have

. /opt/GNUstep/System/Library/Makefiles/GNUstep.sh

at the end of /etc/profile.

If you don't want to add the sourcing to the users' profile files, you could add it to the system wide profile in /etc.
How does WindowMaker get started?

        pico /etc/dt/config/Xinitrc.CSWwmaker

#Start Window Maker
if [ -x /opt/SUNWut/bin/utaudio ]
then
        AUDIODEV=`/opt/SUNWut/bin/utaudio`;export AUDIODEV
fi
/opt/csw/bin/wmsetbg -u -s /opt/csw/share/WindowMaker/Images/ClassicAquaBlue.jpg /opt/GNUstep/System/Tools/defaults write NSGlobalDomain "Local Time Zone" Europe/Berlin /opt/GNUstep/System/Tools/defaults write NSGlobalDomain NSLanguages "English" /opt/GNUstep/System/Tools/defaults write NSGlobalDomain NSPortIsMessagePort YES /opt/GNUstep/System/Tools/defaults write NSGlobalDomain WMShowApplicationIconInMenu YES /opt/GNUstep/System/Tools/defaults write NSGlobalDomain GSFontAntiAlias YES /opt/GNUstep/System/Tools/defaults write NSGlobalDomain GSX11HandlesWindowDecorations YES /opt/GNUstep/System/Tools/defaults write NSGlobalDomain UseWindowMakerIcons YES /opt/GNUstep/System/Tools/defaults write NSGlobalDomain NSInterfaceStyleDefault NSMacintoshInterfaceStyle /opt/GNUstep/System/Tools/defaults write NSGlobalDomain GSAppOwnsMiniwindow NO /opt/GNUstep/System/Tools/defaults write NSGlobalDomain XWindowBufferUseXShm NO /opt/GNUstep/System/Tools/defaults write NSGlobalDomain GSAppKitUserBundles '("/opt/GNUstep/Local/Library/Bundles/Camaelon.themeEngine","/opt/ GNUstep/Local/Library/Bundles/EtoileMenus.bundle")'
/opt/GNUstep/System/Tools/defaults write Preview GSPrinting SRCUPS
/opt/GNUstep/System/Tools/defaults write Camaelon Theme Nesedah
openapp EtoileMenuServer.app &
/opt/GNUstep/System/Tools/make_services
exec /opt/csw/bin/wmaker

You might want to consider adding the sourcing to that startup procedure, right before WM gets launched.

I modified it as follows

...
. /opt/GNUstep/System/Library/Makefiles/GNUstep.sh
exec /opt/csw/bin/wmaker

Now it works. Thanks!!!

Regards,

  Andreas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]