Can not unlock from and lock to Launcher
6,186
I found that answer. But to be more helpfule, i will show you how to debug it.
- Since it's something related to Launcher, And i don't know how does Launcher work, so i just need to find something related to Launcher. Which is
Appearance
in Dash.(I found this by Google). - Under
Behavior
tab, I can't change everything, i can click the checkbox, but nothing happen. - So, now i think there should be some output information in terminal. So i need to know how to open
Appearance
in terminal - Found
Appearance
in/usr/share/applications
, the command isunity-control-center appearance
- Type
unity-control-center appearance
in Terminal. And do the same thing as step 2. Terminal show output like this:dconf-WARNING **: failed to commit changes toconf:GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code17: Cannot open dconf database: invalid gvdb header
- Of course i don't know what the hell it is. But i now get some new key word to search on the Google! Yeah! I searched
Cannot open dconf database: invalid gvdb header
- And I found solution, just remove
~/.config/dconf/
(Of course backup first)
Related videos on Youtube
Author by
demonguy
Updated on September 18, 2022Comments
-
demonguy about 1 year
I just use
dd -ip /dev/sda -op /dev/sdb
to clone my old disk to new disk, and boot from my new disk. All the things remain the same except that applications in Launcher changed back to default. Why? And I cannot unlock from Launcher and lock to Launcher, it sucks, any help?-
Jacob Vlijm over 8 yearsNot sure what you exactly did, but launcher icons are defined by
.desktop
files in theIcon=
-line. These.desktop
files are stored in/usr/share/applications
(globally) and/or in~/.local/share/applications
(locally). If they exist in both (for the same application), the local ones overrule the global ones. -
demonguy over 8 yearsSorry maybe I mislead you, "icon" I just mean "application", not the icon picture
-
Byte Commander over 8 yearsYou cloned your hdd with the dd command and now have only the copy plugged in. And there you have not your custom launcher applications, but the default ones of a fresh install. Did I understand you right so far? What was your partitioning setup (separate partitions for
/home
or other directories, or just/
andswap
)? -
demonguy over 8 years@ByteCommander yeah.exactly. And I have home directory as a separated partition
-
Byte Commander over 8 yearsAnd the partitions are all recognized and mounted correctly (
sudo parted -l
)? Or maybe it lost somehow the link to the /home partition (maybe different UUID does not match the one in /etc/fstab - don't know how a dd-clone would look like according to this) -
demonguy over 8 yearsActually, i can get access to my /home directly without problem. Are all files in ~/.local/share/applications will show in the launcher?
-
demonguy over 8 yearsActually, what i want to know is that, how does ubuntu determine what to show on the Launcher? Not all of files in
/usr/share/applications
will show on the Launcher right? -
demonguy over 8 yearsSorry, i forget to mention, i cannot lock anything to Launcher and cannot unlock anything from Launcher either, why?
-