Re: [Bulk] Re: Trying to find startup script that loads appliecations in the gnome-sessons app ?!?

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

 



On Thu, 2010-07-08 at 17:32 -0400, William Case wrote:
> On Thu, 2010-07-08 at 14:06 -0600, Kevin Fenzi wrote:
> > On Thu, 08 Jul 2010 15:53:54 -0400
> > William Case <billlinux@xxxxxxxxxx> wrote:
> > 
> 
> > > xev | grep -m 1 ReparentNotify; firefox & xchat-gnome &

I have the following script in /usr/bin/compiz-gtk

        #!/bin/bash
        
        function runCompiz() {
        	gtk-window-decorator &
        	if ( [ -e /usr/lib/compizconfig/backends/libgconf.so ] ||
        [ -e /usr/lib64/compizconfig/backends/libgconf.so ] )
                then
                        exec compiz --ignore-desktop-hints ccp $@
                else
                	exec compiz --ignore-desktop-hints glib gconf
        gnomecompat $@
                fi
        }
        
        ISSW=`glxinfo | grep "Software Rasterizer" -c`
        
        # Try with direct rendering
        HAVETFP=`glxinfo | grep texture_from_pixmap -c`
        
        if ( [ $ISSW == 0 ] && [ $HAVETFP -gt 2 ] ); then 
        	runCompiz $@
        fi
        
        # Try again with indirect rendering
        export LIBGL_ALWAYS_INDIRECT=1
        
        HAVETFP=`glxinfo | grep texture_from_pixmap -c`
        
        if ( [ $ISSW == 0 ] && [ $HAVETFP -gt 2 ] ); then 
        	runCompiz $@
        fi
        
        # Fall back to metacity
        exec metacity $@

I was thinking of inserting the above xev line in here somewhere before
runCompiz function. Or perhaps as a separate function.  But I can't find
where compiz-gtk gets called from on startup.


-- 
Regards Bill
Fedora 13, Gnome 2.30.2
Evo.2.20.2, Emacs 23.2.1

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux