gnome-panel doesn't work correctly with separate x screens
Solution 1
Use dconf load
, not dconf reload
. Try dconf help
to see the available commands. dconf dump
is the inverse of dconf load
.
So in this regard, if you backed up and modified your dconf settings with:
dconf dump / > settings.txt
You can modify them on file using any text editor, and then populate them into ~/.config/dconf/user
by:
dconf load / < settingsModified.txt
Solution 2
It will stop when someone fix the bug in gnome panel.
Solution 3
If you would like to edit dconf
configuration files I would suggest you use the dconf-editor
gui or the gsettings
frontend.
dconf-editor
can be installed by running sudo apt-get install dconf-tools
. gsettings
should already be installed, but it is much harder to use.
Related videos on Youtube
Degisim
Updated on September 18, 2022Comments
-
Degisim over 1 year
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 trouble. 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.
EDIT: I found a way to remove the keys permanently.
"This is possible using the dconf reset command, though it's not clear if that's a side-effect of a bug.
For a single key:
dconf reset "/path/to/the/key" Must not end with a /.
For a whole path:
dconf reset -f "/path/to/the/path/" Must end with a /."
from http://askubuntu.com/questions/45535/how-do-i-clean-up-my-dconf-database
But again (as the author of the original post said), it's a temporary patch not the solution. I have no idea why dconf (or whatever piece of software does that) keeps adding keys every time I restart X/log in.
Thanks
-
Degisim over 11 yearsI was using those tools.