Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HowTo? - completely remove gnome???
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
madtomkidd
Apprentice
Apprentice


Joined: 13 Jan 2003
Posts: 170
Location: Dayton, OH

PostPosted: Sat Apr 30, 2005 4:47 am    Post subject: HowTo? - completely remove gnome??? Reply with quote

I thought I'd give gnome 2.10 a try, and it borked my kde 3.4 install (menu is totally hosed, lost my control center, etc...) and really, I just want to get rid of it. If the fork comes (as one of the devs mentioned in a blog i read linked from slashdot) then I may reconsider, but I'm just not happy with it right now.

So, i want to remove it from my system, but if I do:
Code:
emerge --unmerge gnome

Then I only get the main gnome entry off... i still have epiphany and all the other gnome control tools.

so, what's the secret? How do I get rid of it totally?

and please, no flames... i'd rather use something lightweight like fluxbox, or xfce maybe, but my wife shares this, and I'm just thankful she likes this better than MS Win.

Thanks in advance for any help!
_________________
> It is pitch black. You are likely to be eaten by a grue.
Back to top
View user's profile Send private message
monkey89
Guru
Guru


Joined: 08 Mar 2004
Posts: 596

PostPosted: Sat Apr 30, 2005 5:00 am    Post subject: Reply with quote

emerge --depclean -pv | less

Go through the list, make sure there isn't anything you actually want unrelated to gnome (if there is, add it to /var/lib/portage/world and test again), and then actually run the command.

BE CAREFUL. You could kill some really important packages with this command.

-Monkey
Back to top
View user's profile Send private message
LostSon
Guru
Guru


Joined: 21 Nov 2003
Posts: 514
Location: Wisconsin

PostPosted: Sat Apr 30, 2005 5:24 am    Post subject: Reply with quote

here is a list of all the gnome packages that get installed

Code:

Calculating dependencies ...done!
[ebuild  N    ] app-text/sgml-common-0.6.3-r4
[ebuild  N    ] app-text/opensp-1.5.1
[ebuild  N    ] app-text/openjade-1.3.2-r1
[ebuild  N    ] app-text/docbook-sgml-dtd-4.1-r2
[ebuild  N    ] app-text/docbook-sgml-dtd-4.0-r2
[ebuild  N    ] app-text/docbook-xml-simple-dtd-4.1.2.4
[ebuild  N    ] dev-perl/SGMLSpm-1.03-r5
[ebuild  N    ] app-text/docbook-dsssl-stylesheets-1.77-r2
[ebuild  N    ] app-text/docbook-sgml-dtd-3.0-r2
[ebuild  N    ] app-text/docbook-sgml-dtd-3.1-r2
[ebuild  N    ] www-client/lynx-2.8.5
[ebuild  N    ] app-text/build-docbook-catalog-1.2
[ebuild  N    ] app-text/docbook-xsl-stylesheets-1.66.1
[ebuild  N    ] app-text/docbook-xml-dtd-4.3
[ebuild  N    ] app-text/docbook-sgml-utils-0.6.12
[ebuild  N    ] app-text/docbook-xml-dtd-4.1.2-r5
[ebuild  N    ] app-text/scrollkeeper-0.3.14
[ebuild  N    ] gnome-base/libgnomecanvas-2.8.0
[ebuild  N    ] gnome-extra/zenity-2.8.2
[ebuild  N    ] gnome-base/gnome-mime-data-2.4.2
[ebuild  N    ] dev-util/indent-2.2.9-r2
[ebuild  N    ] gnome-base/orbit-2.12.0
[ebuild  N    ] gnome-base/gconf-2.8.1-r1
[ebuild  N    ] gnome-base/libbonobo-2.8.0
[ebuild  N    ] gnome-base/gnome-vfs-2.8.4-r1
[ebuild  N    ] gnome-base/gail-1.8.1
[ebuild  N    ] dev-util/desktop-file-utils-0.9
[ebuild  N    ] media-sound/esound-0.2.34
[ebuild  N    ] gnome-base/libgnome-2.8.0
[ebuild  N    ] gnome-base/libbonoboui-2.8.0
[ebuild  N    ] gnome-base/gnome-keyring-0.4.0
[ebuild  N    ] gnome-base/libgnomeui-2.8.1-r1
[ebuild  N    ] gnome-base/eel-2.8.2
[ebuild  N    ] x11-themes/hicolor-icon-theme-0.5
[ebuild  N    ] x11-themes/gnome-icon-theme-2.8.0
[ebuild  N    ] x11-themes/gtk-engines-2.2.0
[ebuild  N    ] x11-themes/gnome-themes-2.8.1
[ebuild  N    ] app-dicts/aspell-en-0.51.1
[ebuild  N    ] net-print/libgnomecups-0.1.14
[ebuild  N    ] gnome-base/libgnomeprint-2.8.2
[ebuild  N    ] gnome-base/libgnomeprintui-2.8.2
[ebuild  N    ] x11-libs/gtksourceview-1.1.1
[ebuild  N    ] app-editors/gedit-2.8.2
[ebuild  N    ] media-gfx/eog-2.8.2
[ebuild  N    ] x11-libs/startup-notification-0.7
[ebuild  N    ] gnome-base/gnome-desktop-2.8.1
[ebuild  N    ] x11-libs/libzvt-2.0.1-r2
[ebuild  N    ] app-admin/gnomesu-0.3.1
[ebuild  N    ] net-print/gnome-cups-manager-0.28
[ebuild  N    ] dev-libs/libcroco-0.6.0
[ebuild  N    ] gnome-base/librsvg-2.8.1-r1
[ebuild  N    ] gnome-base/nautilus-2.8.2-r1
[ebuild  N    ] x11-libs/libwnck-2.8.1
[ebuild  N    ] gnome-base/gnome-panel-2.8.2
[ebuild  N    ] x11-libs/libxklavier-1.04-r1
[ebuild  N    ] sys-apps/apmd-3.2.1_p4
[ebuild  N    ] gnome-base/libgtop-2.8.2
[ebuild  N    ] gnome-base/gnome-applets-2.8.2
[ebuild  N    ] x11-wm/metacity-2.8.8
[ebuild  N    ] gnome-extra/gnome2-user-docs-2.8.1
[ebuild  N    ] gnome-base/gnome-session-2.8.1
[ebuild  N    ] gnome-extra/gal-2.2.4
[ebuild  N    ] media-libs/gstreamer-0.8.8
[ebuild  N    ] app-crypt/opencdk-0.5.5
[ebuild  N    ] net-libs/gnutls-1.0.17
[ebuild  N    ] net-libs/libsoup-2.2.1
[ebuild  N    ] gnome-extra/evolution-data-server-1.0.3
[ebuild  N    ] gnome-base/control-center-2.8.1-r1
[ebuild  N    ] gnome-extra/gnome-system-monitor-2.8.1-r1
[ebuild  N    ] gnome-extra/gconf-editor-2.8.2
[ebuild  N    ] app-arch/file-roller-2.8.3
[ebuild  N    ] net-analyzer/gnome-netstatus-2.8.0
[ebuild  N    ] gnome-extra/libgtkhtml-2.6.0
[ebuild  N    ] gnome-extra/yelp-2.6.5
[ebuild  N    ] media-libs/gst-plugins-0.8.7
[ebuild  N    ] media-plugins/gst-plugins-ogg-0.8.7
[ebuild  N    ] media-plugins/gst-plugins-alsa-0.8.7-r1
[ebuild  N    ] media-plugins/gst-plugins-oss-0.8.7
[ebuild  N    ] media-plugins/gst-plugins-mad-0.8.7
[ebuild  N    ] media-plugins/gst-plugins-vorbis-0.8.7
[ebuild  N    ] gnome-extra/gnome-media-2.8.0
[ebuild  N    ] gnome-extra/gnome-utils-2.8.1
[ebuild  N    ] gnome-extra/libgtkhtml-3.2.4
[ebuild  N    ] gnome-base/gdm-2.6.0.6
[ebuild  N    ] gnome-extra/gucharmap-1.4.2
[ebuild  N    ] sys-fs/device-mapper-1.00.19-r2
[ebuild  N    ] sys-fs/cryptsetup-0.1-r1
[ebuild  N    ] app-cdr/cdrtools-2.01-r2
[ebuild  N    ] gnome-extra/nautilus-cd-burner-2.8.6
[ebuild  N    ] net-misc/vino-2.8.1
[ebuild  N    ] sys-devel/gdb-6.0
[ebuild  N    ] gnome-extra/bug-buddy-2.8.0
[ebuild  N    ] app-text/enchant-1.1.5
[ebuild  N    ] app-text/gnome-spell-1.0.5-r2
[ebuild  N    ] dev-libs/nspr-4.4.1-r2
[ebuild  N    ] dev-libs/nss-3.9.2-r2
[ebuild  N    ] dev-perl/PodParser-1.28
[ebuild  N    ] dev-perl/digest-base-1.05
[ebuild  N    ] dev-perl/Digest-MD5-2.33
[ebuild  N    ] dev-perl/Digest-SHA1-2.07
[ebuild  N    ] dev-perl/Digest-HMAC-1.01-r1
[ebuild  N    ] dev-perl/MIME-Base64-3.05
[ebuild  N    ] dev-perl/Net-DNS-0.40
[ebuild  N    ] dev-perl/HTML-Tagset-3.03-r2
[ebuild  N    ] dev-perl/HTML-Parser-3.34-r1
[ebuild  N    ] dev-perl/DB_File-1.811
[ebuild  N    ] mail-filter/spamassassin-3.0.2-r1
[ebuild  N    ] dev-util/gob-2.0.9
[ebuild  N    ] app-pda/gnome-pilot-2.0.10-r1
[ebuild  N    ] app-pda/gnome-pilot-conduits-2.0.10-r1
[ebuild  N    ] mail-client/evolution-2.0.3-r2
[ebuild  N    ] gnome-base/gnome-volume-manager-1.0.2-r1
[ebuild  N    ] app-text/gpdf-2.8.2
[ebuild  N    ] gnome-extra/evolution-webcal-2.0.1
[ebuild  N    ] gnome-extra/gnome-games-2.8.2
[ebuild  N    ] app-text/ggv-2.8.1
[ebuild  N    ] www-client/mozilla-1.7.6-r1
[ebuild  N    ] www-client/epiphany-1.4.6
[ebuild  N    ] gnome-extra/gcalctool-4.4.20
[ebuild  N    ] x11-libs/vte-0.11.11-r2
[ebuild  N    ] x11-terms/gnome-terminal-2.8.2
[ebuild  N    ] app-admin/gnome-system-tools-1.0.2-r1
[ebuild  N    ] gnome-base/gnome-2.8.2


Go through the list and unmerge them all this is based on 2.8 mind you but im pretty sure they should still be the same.

and yes i have copies of KDE and XFCE as well i like to keep a record of what is in my machine :wink:
Back to top
View user's profile Send private message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Sat Apr 30, 2005 5:33 am    Post subject: Reply with quote

Try this:
Code:

# qpkg -I -nc gnome | xargs emerge -C


That should do it for any package with "gnome" in the name. You can then try "revdep-rebuild" to see which packages you broke by unmerging all the gnome libraries, then unmerge those too. There are probably a few ways to do what you want to do...
_________________
Let me guess, you picked out yet another colorful box with a crank that I'm expected to turn and turn until OOP! big shock, a jack pops out and you laugh and the kids laugh and the dog laughs and I die a little inside.
Back to top
View user's profile Send private message
philip3270
n00b
n00b


Joined: 21 Feb 2005
Posts: 29

PostPosted: Wed May 04, 2005 4:40 pm    Post subject: Reply with quote

I did that and now i have a ton of files left like ggv and eog. how do i get rid of the executables?
Back to top
View user's profile Send private message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Wed May 04, 2005 9:44 pm    Post subject: Reply with quote

Try using "qpkg -f /path/to/file" to find out which packages owns the binary in question.

From "man qpkg":
Code:

-f, --find-file     Finds package that owns file <file>

_________________
Let me guess, you picked out yet another colorful box with a crank that I'm expected to turn and turn until OOP! big shock, a jack pops out and you laugh and the kids laugh and the dog laughs and I die a little inside.
Back to top
View user's profile Send private message
philip3270
n00b
n00b


Joined: 21 Feb 2005
Posts: 29

PostPosted: Wed May 04, 2005 10:32 pm    Post subject: Reply with quote

i did, and it returns without finding anything.

how do i find all of these stranded zombie files?
Back to top
View user's profile Send private message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Thu May 05, 2005 1:18 am    Post subject: Reply with quote

Did you use the full path to the file? not just "ggv" but "/usr/bin/ggv" or whatever.
_________________
Let me guess, you picked out yet another colorful box with a crank that I'm expected to turn and turn until OOP! big shock, a jack pops out and you laugh and the kids laugh and the dog laughs and I die a little inside.
Back to top
View user's profile Send private message
philip3270
n00b
n00b


Joined: 21 Feb 2005
Posts: 29

PostPosted: Thu May 05, 2005 3:13 am    Post subject: Reply with quote

Code:
philslaptop png # qpkg -vv -f /usr/X11R6/bin/eog
philslaptop png # qpkg -vv -f /usr/X11R6/bin/eog
philslaptop png # qpkg -vv -f /usr/X11R6/bin/eog


no such beans. I can of course erase eog, but that's not fun. I want to figure the number of stranded files. I run revdep-rebuild and i get a ton of entries.
Back to top
View user's profile Send private message
llsardonicll
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2004
Posts: 110

PostPosted: Thu May 05, 2005 5:26 am    Post subject: Reply with quote

Code:
cp /usr/kde/3.4/etc/xdg/menus/applications.menu /etc/xdg/menus/applications.menu


will put your kde menu back to normal.
Back to top
View user's profile Send private message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Thu May 05, 2005 6:38 am    Post subject: Reply with quote

nahpets wrote:
Try using "qpkg -f /path/to/file" to find out which packages owns the binary in question.

From "man qpkg":
Code:

-f, --find-file     Finds package that owns file <file>

qpkg is deprecated, use "equery b /path/to/file"

There is also the blinding fast etool

"etool -f /path/to/file"
Back to top
View user's profile Send private message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Thu May 05, 2005 6:36 pm    Post subject: Reply with quote

Gherald wrote:
nahpets wrote:
Try using "qpkg -f /path/to/file" to find out which packages owns the binary in question.

From "man qpkg":
Code:

-f, --find-file     Finds package that owns file <file>

qpkg is deprecated, use "equery b /path/to/file"

There is also the blinding fast etool

"etool -f /path/to/file"


Thanks for the info. Just out of curiosity, where did you see that qpkg was deprecated? This is the first I hear of it.
_________________
Let me guess, you picked out yet another colorful box with a crank that I'm expected to turn and turn until OOP! big shock, a jack pops out and you laugh and the kids laugh and the dog laughs and I die a little inside.
Back to top
View user's profile Send private message
gwolf
Guru
Guru


Joined: 05 May 2005
Posts: 374
Location: Estonia

PostPosted: Thu May 05, 2005 6:45 pm    Post subject: Reply with quote

See, for example, gentoolkit documentation:
http://www.gentoo.org/doc/en/gentoolkit.xml
Back to top
View user's profile Send private message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Fri May 06, 2005 2:34 pm    Post subject: Reply with quote

llsardonicll wrote:
Code:
cp /usr/kde/3.4/etc/xdg/menus/applications.menu /etc/xdg/menus/applications.menu

will put your kde menu back to normal.


My system has the first file, but does not have
/etc/xdg/menus/applications.menu
--is it supposed to?
_________________
Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida
Back to top
View user's profile Send private message
gwolf
Guru
Guru


Joined: 05 May 2005
Posts: 374
Location: Estonia

PostPosted: Fri May 06, 2005 3:02 pm    Post subject: Reply with quote

gentsquash wrote:
llsardonicll wrote:
Code:
cp /usr/kde/3.4/etc/xdg/menus/applications.menu /etc/xdg/menus/applications.menu

will put your kde menu back to normal.


My system has the first file, but does not have
/etc/xdg/menus/applications.menu
--is it supposed to?


I think you won't have this file unless you have gnome 2.10 installed, and I suppose you don't have problem with KDE menus either. The /etc/xdg/menus/applications.menu is relevant only when Gnome overtakes your KDE applications menu.
Back to top
View user's profile Send private message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Fri May 06, 2005 3:10 pm    Post subject: Reply with quote

I rarely use Gnome, but I do have gnome-base/gnome-light in
my "world" file. Moreover

Code:
%  equery which gnome
/usr/portage/gnome-base/gnome/gnome-2.10.1_pre0.ebuild


I don't understand why my system doesn't have
/etc/xdg/menus/applications.menu,
but I'm not going to lose sleep over it.
_________________
Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida
Back to top
View user's profile Send private message
superstoned
Guru
Guru


Joined: 17 Dec 2004
Posts: 430

PostPosted: Fri May 06, 2005 6:08 pm    Post subject: Reply with quote

I have a similar problem. I want to remove gtk2, but how do I find out what apps depend on it?
Back to top
View user's profile Send private message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Fri May 06, 2005 6:20 pm    Post subject: Reply with quote

superstoned wrote:
I have a similar problem. I want to remove gtk2, but how do I find out what apps depend on it?
equery d ?
Back to top
View user's profile Send private message
superstoned
Guru
Guru


Joined: 17 Dec 2004
Posts: 430

PostPosted: Fri May 06, 2005 9:57 pm    Post subject: Reply with quote

Gherald wrote:
superstoned wrote:
I have a similar problem. I want to remove gtk2, but how do I find out what apps depend on it?
equery d ?

thanx. damn slow, btw. and seems to make mistakes (eg does gcc depend on gtk+???)
Back to top
View user's profile Send private message
coolsnowmen
Veteran
Veteran


Joined: 30 Jun 2004
Posts: 1479
Location: No.VA

PostPosted: Wed Aug 24, 2005 5:25 pm    Post subject: Probably correct Reply with quote

superstoned wrote:
thanx. damn slow, btw. and seems to make mistakes (eg does gcc depend on gtk+???)

That is probably not an error because gtk+ is a useflag for gcc
Code:
emerge -pv gcc
[ebuild     U ] sys-devel/gcc-3.4.4 [3.4.3-r1] (-altivec) -bootstrap -boundschecking -build +fortran -gcj +gtk -hardened -ip28 +multilib -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc -static -vanilla 27,036 kB

So it appease gcc can be installed with gtk+ support which would mean gtk+ it a dependancy of gcc
Back to top
View user's profile Send private message
superstoned
Guru
Guru


Joined: 17 Dec 2004
Posts: 430

PostPosted: Thu Aug 25, 2005 11:49 am    Post subject: Re: Probably correct Reply with quote

coolsnowmen wrote:
superstoned wrote:
thanx. damn slow, btw. and seems to make mistakes (eg does gcc depend on gtk+???)

That is probably not an error because gtk+ is a useflag for gcc
Code:
emerge -pv gcc
[ebuild     U ] sys-devel/gcc-3.4.4 [3.4.3-r1] (-altivec) -bootstrap -boundschecking -build +fortran -gcj +gtk -hardened -ip28 +multilib -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc -static -vanilla 27,036 kB

So it appease gcc can be installed with gtk+ support which would mean gtk+ it a dependancy of gcc
yeah, but it IS compiled with -GTK, as all other software on my PC, so - it should not mention it, i guess...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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