On 19 Apr 99 17:24:42 +0100, you wrote:

[we were discussing the gnome rpms as build by SuSE,
ftp://ftp.suse.com/pub/suse_update/GNOME/glibc/1.0.x/]

>(As I said in my original mail) I think the only way is to remove all the
>orginal rpms and then install the new ones. It seems the package names
>don't match up at all and also the contents of the packages don't match up.
>
>The main thing I couldn't get working was gnome starting windowmaker as the
>window manager. When I log in (from kdm for a gnome session) it doesn't
>start a windowmanager and I have to type wmaker at the prompt. This is a
>real pain. I've set wmaker as the window manager in the gnome control
>center but it doesn't seem to take any notice of it... :(
(this was starting wmaker as the window manager for gnome)

I've fixed this by copying the "gnome" and "gnomewm" scripts from
/usr/X11R6/bin as installed by the "other" gnome SuSE rpms (from
http://www.tu-harburg.de/skf/Pub/ifmpc118.ifm.uni-hamburg.de/gnome.html) to
/usr/X11R6/bin (i.e. I've kept them). I can now log on using KDM to a gnome
session and it starts up windowmaker. I also copied the icons/pixmaps that
were included from the other rpms from the directories:
/usr/X11R6/lib/X11/WindowMaker/Pixmaps
/usr/X11R6/lib/X11/WindowMaker/Icons
And things are fine now.

I've attached the two scripts to this mail as they are only quite small.

The *only* problem I now have is that I can't add the pager applet to the
gnome panel, it complains saying I'm not running a gnome compliant window
manager, try Enlightenment DR0.15. Has gnome changed between 1.0.3 and
1.0.5 so that windowmaker is no longer compliant? I've been using wmaker
0.51.0-2 with gnome 1.0.3 and the pager applet works fine - with SuSE's
gnome 1.0.5 and wmaker 0.51.1-8 it isn't?

Cheers,
Jamie

___________________________________________________________________________ 
Jamie O'Shaughnessy                        e-mail: [EMAIL PROTECTED] 
Designer Impact Analysis Team              phone : 0118 92 45052 
______________________________________________________  __  __ _  __ .   __ 
Opinions are my own and not those of...                (__)|-</-\(__ |__ -_ 
#!/bin/bash

#
# (C) 1998, S.u.S.E. GmbH, Fuerth
# Author: Martin Scherbaum <[EMAIL PROTECTED]>
#

export GNOMEDIR=/opt/gnome
export LD_LIBRARY_PATH=$GNOMEDIR/lib
export PATH=$GNOMEDIR/bin:$PATH

#
# try to get the right window manager
#
WINDOWMANAGER=`gnomewm`

#
# if it failed, do fvwm2 as standard
#
test -z "$WINDOWMANAGER" && WINDOWMANAGER=fvwm2
export WINDOWMANAGER

#
# start the window manager
#
$WINDOWMANAGER & 

#
# exec gnome-session as last program, so everything stops when
# gnome is ended
#
exec gnome-session

#!/bin/bash

#
# (C) 1998, S.u.S.E. GmbH, Fuerth
# Author: Martin Scherbaum <[EMAIL PROTECTED]>
#

#
# get language from environment
#
case "$LANG" in

    de*)
        TITLE="Windowmanager-Auswahl"
        LANGUAGE=german
        ;;
    fr*)
        TITLE="S�lection du gestionnaire de fen�tre"
        LANGUAGE=english
        ;;
    it*)
        TITLE="Selezione del window manager"
        LANGUAGE=english
        ;;
    *)
        TITLE="Choose a Window Manager"
        LANGUAGE=english
        ;;
esac

case "$1" in 

    #
    # called if interactive selection is wanted
    #
    -list)

        type -p wmlist &> /dev/null \
            && OLDLIST=`wmlist` \
            || OLDLIST="fvwm2"

        WMLIST=""
        for i in $OLDLIST
        do
            case "$i" in

                gnome|*kde|kwm) continue;;
                *)              WMLIST="$WMLIST$i ";;
            esac
        done

        cd /usr/X11R6/bin

        case "`rpm -q listexec 2> /dev/null`" in
            listexec-0.4*) TOPT="-t";;
            *)             TOPT="-i";;
        esac

        echo "$WMLIST" | listexec -g +160+120 $TOPT "$TITLE" -l "$LANGUAGE" -e 
"gnomewm"

        #
        # .gnomewm always has to contain something!
        #
        test -f ~/.gnomewm || echo "fvwm2" > ~/.gnomewm
        ;;

    #   
    # just to read the settings
    #
    "")
        test -f ~/.gnomewm \
            && cat ~/.gnomewm \
            || gnomewm -list;;

    #
    # do this to write settings, called from   gnomewm -list
    #
    *)
        echo "$1" > ~/.gnomewm
        echo "$1";;
esac

#
# we are always happy...
#
exit 0














Reply via email to