counsel-ffdata icon indicating copy to clipboard operation
counsel-ffdata copied to clipboard

Guess counsel-ffdata-database-path on macOS

Open xuchunyang opened this issue 5 years ago • 5 comments

I have the following setting which works for me:

(setq
 counsel-ffdata-database-path
 "/Users/xcy/Library/Application Support/Firefox/Profiles/nvzyvh9v.default-release/places.sqlite")

However, I also have a yz7cgomb.default directory which doesn't contains places.sqlite

~/Library/Application Support/Firefox/Profiles $ ls -l
total 0
drwx------@ 49 xcy  staff  1568 Jul  2 12:08 nvzyvh9v.default-release
drwx------@  3 xcy  staff    96 Jun  8 18:40 yz7cgomb.default
~/Library/Application Support/Firefox/Profiles $ find . -type f -name places.sqlite
./nvzyvh9v.default-release/places.sqlite
~/Library/Application Support/Firefox/Profiles $

I have not figured how to change the code.

xuchunyang avatar Jul 02 '19 05:07 xuchunyang

I would like to add an option to allow user to select different profiles. Currently you can speficy the profile you want to use by customizing counsel-ffdata-database-path

cireu avatar Jul 03 '19 06:07 cireu

I second this. I also noticed it didn't detect the database path for Firefox Developer Edition on my system. I'm also willing to send a PR when I have a few free moments. Thanks for a great package!

mnewt avatar Aug 27 '19 20:08 mnewt

On Wed, 28 Aug 2019 04:19:05 +0800, Matthew Newton wrote:

[1 <text/plain; UTF-8 (7bit)>] [2 <text/html; UTF-8 (7bit)>] I second this. I also noticed it didn't detect the database path for Firefox Developer Edition on my system. I'm also willing to send a PR when I have a few free moments. Thanks for a great package!

― You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

I guess Firefox developer edition should use same(or similar) directory as stable edition, I don't have a Mac computer so counsel-ffdata lacks for path detection under MacOS :(.

cireu avatar Aug 28 '19 15:08 cireu

Great package!

peng051410 avatar Oct 18 '19 04:10 peng051410

Great package!

It can be greater if you have idea on how to detect database path on MacOS ;)

cireu avatar Oct 18 '19 05:10 cireu