Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Tip] prevent firefox from using gconf
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
matroskin
Apprentice
Apprentice


Joined: 21 Jan 2003
Posts: 214

PostPosted: Fri May 27, 2005 9:24 pm    Post subject: [Tip] prevent firefox from using gconf Reply with quote

How to prevent firefox from using gconfd-2
Even so firefox was compiled without gnome support, it still looks for gconf
on start up and run it. It's not a big problem but annoying. I want to have minimalistic gtk2+ based system without gnome. So even if I do install gnome to try some program I still want the rest of my desktop not to use it.

Solution is to give firefox a personal, fake, nonworking gconf :-)
Here we go.

  • cd to firefox installation directory. it is ~/apps/firefox in my case
    Code:
    ls -dl firefox firefox-bin plugins
    -rwxr-xr-x  1 tolik users    6338 Апр 14 22:16 firefox
    -rwxr-xr-x  1 tolik users 9785208 Май 27 22:50 firefox-bin
    drwxr-xr-x  2 tolik users     208 Май 27 23:28 plugins
    if you see something like that you're in a right place
  • go to plugins directory
    Code:
    cd plugins
    ls -l
    -rwxr-xr-x  1 tolik users 18840 Апр 14 22:16 libnullplugin.so

  • prepare fake gconf
    Code:
    sed 's/gconfd-2/gconfd-3/g' < /usr/lib/libgconf-2.so.4 > libgconf-2.so.4
    chmod 755 libgconf-2.so.4

  • we're done, lets test it
    Code:
    killall -9 gconfd-2
    firefox &
    ps ax | grep gconf

Back to top
View user's profile Send private message
anfpunk
Apprentice
Apprentice


Joined: 29 May 2003
Posts: 275
Location: Columbus, Oh

PostPosted: Tue May 31, 2005 6:36 pm    Post subject: Reply with quote

Yep, it worked for me.

Do I have to do this everytime I reinstall? Also, the only benefit is that it's one less process running right?

I like doing random stuff and no one else replied so I figured I'd do it. :o)
Back to top
View user's profile Send private message
liuspider
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 237

PostPosted: Tue May 31, 2005 11:31 pm    Post subject: Reply with quote

cool.

I always wondered why I have a gconfd running when I logout of KDE: I do not use gnome apps.
_________________
BLOG: http://liucougar.scim-im.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum