Midori Browser Bookmarks - Location?

I have a hard disc containing the a previous Manjaro build from a PC whose motherboard is broken. I have saved some very precious bookmarks in the Midori browser, I wish to find and copy the bookmarks file from the root directory of that old HDD and replace the bookmarks file of the Midori in the new Manjaro build.

What I can find is a bookmarks.plugin in /usr/lib/midori/, and it contains no bookmarks that I have saved. Can anyone show me the right place?

They are more likely to be in home somewhere.
Like ~/.cache or similiar.

Midori has also changed a lot over the years with different owners and trajectories…

But according to some search

which seemed to be true for that user in 2020. :person_shrugging:

Thanks. When I go to ~/.config/midori, what I found is in the current OS (based on the dates shown), it is not openning from the old HDD. How to open that location when it is not in the boot drive but in the secondary drive?

~ is equal to $HOME which is equal to /home/$USERNAME

If I understand correctly that you have a previous system accessible then it would be something like
/home/travellersolo/.config/midori on that disk.
Maybe if you are mounting it from your current system it may look something like


( if I make some guesses as to the usernames and label then it might look something like
/run/media/travellersolo/BACKUP/home/travellersolo/.config/midori )

Of course depending on the mount point used.

Yeah, found them. So I copied the 3 bookmarks (.db, .db-shm, .db-wal) from the old drive:

and pasted them into the new root’s location (/home/ales/.config/midori/), and restarted the system, yet midori still doesn’t show those old bookmarks.

Is there a way to extract those bookmarks links in the text format?

There is no ~/.config/midori for me, for the midori browser I just installed.

Like Firefox, which keeps it’s config files in ~/.mozilla
Midori creates ~/.midori
with the same (or very similar) structure as Firefox does - the user profiles are inside it

therefore the bookmarks are in the file “places.sqlite” in one of the profiles

They may be encrypted - if you used a master password for your browser profile.
In that case you’d likely have to use the whole profile with everything in it, not just that one file.

Midori bookmarks are typically stored in the user’s home directory. Look for the file at ~/.config/midori/bookmarks.db on your old HDD. Copy this file to the same location on your new Manjaro build to restore your bookmarks.

In the users home directory: yes
but not in ~/.config/midori

The Midori profile is in ~/.midori

I just installed it and looked at it.

But perhaps it was once the case in prior versions that it was in ~/.config/midori
Not now, though.
At least not by default.

The obvious thing will be to paste the files in the new location. Maybe the new version just changed the location. If they also changed the database format, you can find an older version (it is probably still on the old disk), run it and use its export function. And then import in the new one.

1 Like

I just checked, in my new build, sudo ~/.midori anf ls -l after that shows total 0. Does it mean it doesn’t exist?

~ >> ~/midori
~/midori >> ls -l
total 0

I have done that as in post #5, no effect at all.


The profile directory is not:

it is:

I did not build it - I chose to use the -bin version, the already built version.

Why would I waste my time by actually compiling the whole browser from scratch?
Browsers are among the most complex things to compile and it takes a long time.
Why would you want to do that?

The -bin version just get’s unpacked and installed.

What is that supposed to be good for?
Why sudo? Without any actual command …

I’m booting up my VM where I tested this - where I have my knowledge from
to show you what I see.

Here we go:

yay -S midori-bin
was how I installed it

Here is the directory:

ls -al ~/.* | grep midori
drwx------  4 jo jo  4096 Jun 29 07:53 midori

these are the profiles - one of them is the default, the other one is where all the files are

ls -l ~/.midori/
total 16
drwx------ 12 jo jo 4096 Jun 29 08:18 c1y4qtzy.default-release
-rw-r--r--  1 jo jo   62 Jun 29 07:53 installs.ini
-rw-r--r--  1 jo jo  259 Jun 29 07:53 profiles.ini
drwx------  2 jo jo 4096 Jun 29 07:53 vsza388q.default

this is what is in it:

ls -al ~/.midori/c1y4qtzy.default-release/
total 11780
drwx------ 12 jo jo    4096 Jun 29 08:18 .
drwx------  4 jo jo    4096 Jun 29 07:53 ..
-rw-r--r--  1 jo jo       0 Jun 29 08:15 .parentlock
-rw-r--r--  1 jo jo    1676 Jun 29 08:18 AlternateServices.txt
-rw-r--r--  1 jo jo     390 Jun 29 08:18 SiteSecurityServiceState.txt
drwxr-xr-x  2 jo jo    4096 Jun 29 07:54 Workspaces
-rw-r--r--  1 jo jo    5673 Jun 29 07:54 addonStartup.json.lz4
-rw-r--r--  1 jo jo      24 Jun 29 07:54 addons.json
drwxr-xr-x  2 jo jo    4096 Jun 29 08:04 bookmarkbackups
-rw-r--r--  1 jo jo     221 Jun 29 07:55 broadcast-listeners.json
-rw-------  1 jo jo  229376 Jun 29 08:17 cert9.db
drwxr-xr-x  3 jo jo    4096 Jun 29 07:54 chrome
-rw-------  1 jo jo     154 Jun 29 07:53 compatibility.ini
-rw-r--r--  1 jo jo     988 Jun 29 07:54 containers.json
-rw-r--r--  1 jo jo  262144 Jun 29 08:16 content-prefs.sqlite
-rw-r--r--  1 jo jo  524288 Jun 29 08:18 cookies.sqlite
drwxr-xr-x  3 jo jo    4096 Jun 29 07:54 datareporting
-rw-r--r--  1 jo jo    1690 Jun 29 07:54 extension-preferences.json
drwxr-xr-x  2 jo jo    4096 Jun 29 07:54 extension-store
-rw-r--r--  1 jo jo   30414 Jun 29 07:54 extensions.json
-rw-r--r--  1 jo jo 5242880 Jun 29 08:18 favicons.sqlite
-rw-r--r--  1 jo jo  262144 Jun 29 08:00 formhistory.sqlite
-rw-r--r--  1 jo jo     456 Jun 29 07:54 handlers.json
-rw-------  1 jo jo  294912 Jun 29 07:54 key4.db
lrwxrwxrwx  1 jo jo      15 Jun 29 08:15 lock ->
drwxr-xr-x  2 jo jo    4096 Jun 29 07:53 newtabImages
-rw-r--r--  1 jo jo   98304 Jun 29 08:17 permissions.sqlite
-rw-------  1 jo jo     465 Jun 29 07:53 pkcs11.txt
-rw-r--r--  1 jo jo 5242880 Jun 29 08:18 places.sqlite
-rw-------  1 jo jo   12525 Jun 29 08:18 prefs.js
-rw-r--r--  1 jo jo   65536 Jun 29 08:18 protections.sqlite
-rw-r--r--  1 jo jo     355 Jun 29 07:54 search.json.mozlz4
drwxr-xr-x  2 jo jo    4096 Jun 29 07:54 security_state
-rw-r--r--  1 jo jo     288 Jun 29 08:18 sessionCheckpoints.json
drwxr-xr-x  2 jo jo    4096 Jun 29 08:18 sessionstore-backups
-rw-r--r--  1 jo jo    3292 Jun 29 08:18 sessionstore.jsonlz4
drwxr-xr-x  2 jo jo    4096 Jun 29 07:54 settings
drwxr-xr-x  6 jo jo    4096 Jun 29 08:05 storage
-rw-r--r--  1 jo jo    4096 Jun 29 08:18 storage.sqlite
-rwx------  1 jo jo      50 Jun 29 07:53 times.json
-rw-r--r--  1 jo jo   98304 Jun 29 08:05 webappsstore.sqlite
-rw-r--r--  1 jo jo     713 Jun 29 08:18 xulstore.json

… we good? :grinning:

the browser has got a bookmark import function, too.
It is even right there in the toolbar, as a bookmark.

Use it and just point it to wherever your old bookmarks are …

A bit late to the party here, but anyway. If it doesn’t work (topic wasn’t closed), you could try something like the following:

A “.db” file usually suggests a SQLite database file. It can probably be opened in the “DB Browser for SQLite”, which you should be able to find using pamac (I’m having a busy computer at the moment so I can’t check right now). From there (on backups!) you can probably extract whatever you want, unless, as someone stated above, it’s encrypted somehow.

You can also extract things using Python. But that’s on another level and requires more knowledge, and above all, more patience:

I’m sure there are other options as well.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.