Editing /.config/dconf/user
Posted
by
user86322
on Ask Ubuntu
See other posts from Ask Ubuntu
or by user86322
Published on 2012-08-29T15:14:40Z
Indexed on
2012/08/29
15:50 UTC
Read the original article
Hit count: 294
I am having a problem with Gnome3 (actually, I have it set to fallback mode, or
Gnome 2). I have two displays and I need an X screen (I used
nvidia-xconfig and nvidia-settings to do this) for each screen.
However, every time I either restart X or log in, Gnome seems to
be adding the objects values under /gnome/gnome-panel/layouts
(ex.
first time I set the two separate X screens I had clock, then log
out/in, there was clock and clock1 under objects, and then log out/in
there were three, clock, clock1, clock2,.......log out/in,
............30 times....clock, clock1, clock2, ......clock 42.....!! The
same thing goes for top-panels, menu-bars, etc.)
After a while, I found out I could remove all those using the
dconf-editor, going to /gnome/gnome-panel/layouts
, removing all the
repetitions under fields objects-id-list and top-id-list and leaving
one value of each object. This is not a solution but at least allow me
to keep using Linux without so much problem. However, the problem
persists every time I restart X or log in.
I now finally learned about "dconf" and where the user profile
settings are located (~/.config/dconf/user
) and one can use "dconf
" to
see the keys. In my case, I need to change/remove many keys (all those
clocksX, workspace-X, menu-bar-X, etc., where goes from 1 to 42 and
still counting) so it's really tedious and boring to be changing one by one
using "dconf write". So I found "dconf dump
", which actually allow me
to dump everything into a .txt file and edit the file really quick
(i.e, "dconf dump / >> dump_user.txt
"). The problems? Two of them:
How do I "load" back "dump_user.txt" I edited into the user profile? (I read somewhere there was a "
dconf reload
" but reload doesn't exist as a command under "dconf")How do I stop Gnome from keep adding more objects to my desktop environment every time I log in/restart X?
NOTE: The problem doesn't occur when I set the displays to use TwinView feature (i.e., the desktop is extended/shared by both displays). However, for my case I need two separate X's.
Any help/suggestion would be greatly appreciated.
Thanks
© Ask Ubuntu or respective owner