View previous topic :: View next topic |
Author |
Message |
matroskin Apprentice
Joined: 21 Jan 2003 Posts: 214
|
Posted: Fri May 27, 2005 9:24 pm Post subject: [Tip] prevent firefox from using gconf |
|
|
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 |
|
|
anfpunk Apprentice
Joined: 29 May 2003 Posts: 275 Location: Columbus, Oh
|
Posted: Tue May 31, 2005 6:36 pm Post subject: |
|
|
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 |
|
|
liuspider Apprentice
Joined: 03 Feb 2003 Posts: 237
|
Posted: Tue May 31, 2005 11:31 pm Post subject: |
|
|
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 |
|
|
|