FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 07-08-2010, 11:19 PM
William Case
 
Default Trying to find startup script that loads appliecations in the gnome-sessons app ?!?

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@rogers.com> 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@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 08:56 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org