You are not logged in.

#1 2012-06-18 16:04:41

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

[SOLVED] Remove gconf and dconf settings?

Hey all,

Some time ago I gave GNOME SHELL another spin and today I've started with a system cleanup. Before GS got installed, I did not have gconf nor dconf installed but I assume they leave their schemas behind when you remove them. Where can I find these and how can I remove every schema and/or setting they have stored on my laptop?

EDIT: Also, when removing GDM, pacman returned this:

error: command failed to execute correctly

I guess this means that it also left some files on my laptop. Perhaps the gdm user/group it makes, but maybe something different. Can I check what it left behind?

Last edited by Unia (2012-06-19 15:50:05)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#2 2012-06-18 21:07:13

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: [SOLVED] Remove gconf and dconf settings?

The schemas for gconf are in /etc/gconf and /usr/share/gconf. I've never made the mistake of installing dconf but I imagine they are in similar directories.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#3 2012-06-18 21:10:05

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: [SOLVED] Remove gconf and dconf settings?

I was under the impression they also have other directories to which they link/store settings. Is this correct? I have deleted those directories now


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#4 2012-06-19 00:25:32

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED] Remove gconf and dconf settings?

Did you check your $HOME and $HOME/.config folders too?

Offline

#5 2012-06-19 09:43:18

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: [SOLVED] Remove gconf and dconf settings?

anonymous_user wrote:

Did you check your $HOME and $HOME/.config folders too?

Yep, all deleted. I just looked inside a PKGBUILD and found this directory:

/usr/share/glib-2.0/schemas/

Glib-2.0 is not gconf/dconf related (I think) but it does have alot of org.gnome.* schemas. Is is safe to remove these?


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#6 2012-06-19 14:24:45

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED] Remove gconf and dconf settings?

I would run pacman -Qo against the files and see what packages owns them.

BTW the error in your first post, is exactly like it says. It tried to run a command but couldn't. Here's gdm's post_remove:

post_remove() {
  glib-compile-schemas /usr/share/glib-2.0/schemas
  dconf update
  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
  getent passwd gdm >/dev/null 2>&1 && userdel gdm
  getent group gdm >/dev/null 2>&1 && groupdel gdm
}

Maybe the dconf package got removed before gdm or something.

Offline

#7 2012-06-19 15:14:07

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: [SOLVED] Remove gconf and dconf settings?

I didn't know about -Qo, nice one! Seems like those files are owned by gsettings-desktop-schemas, which is a dependency of glib-networking, which in turns belongs to libsoup.

If I run all the post_remove things, would then ensure that GDM is all removed? I just installed dconf and ran all the commands without errors and deleted dconf again.


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#8 2012-06-19 15:33:33

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED] Remove gconf and dconf settings?

Well pacman should've already run those commands for you. If you are really concerned about the message, I think just running "sudo dconf update" would be sufficient.

Offline

#9 2012-06-19 15:49:50

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: [SOLVED] Remove gconf and dconf settings?

Thanks, that's the confirmation I wanted. I guess I have removed everything now but if I'll find something, I'll post it here.

Thanks!


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

Board footer

Powered by FluxBB