<div dir="ltr">Glad it was solved. Sorry for the drama of people telling you who you should be steering your boat without knowing why you are steering it the way and direction you do.<div><br></div><div>There are also some browser backup tools out there that might do this automatically for you.</div><div><br></div><div>Personally, I use the browser account sync on all machines I use. When I set up a new machine, I log into Chrome (well, Chromium) and I immediately get all my stuff. That said, it doesn't handle the issue of multiple profiles and you still have to log into each of them individually before you can use them. But at least with the account sync, any profile you log in is (almost) instantly properly configured with all bookmarks, logins, passwords...</div><div><br></div><div>One simple directory copy (of 2 directories) is an elegant solution. Create a script to do that. Put it on a shared drive (say dropbox or Google Drive) and you don't even have to remember the actual directories to sync! :)</div><div><br></div><div>Gilles</div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-24 8:09 GMT+08:00 David L <span dir="ltr"><<a href="mailto:david4lists@gmail.com" target="_blank">david4lists@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Mar 16, 2018 at 12:50 PM, David L <span dir="ltr"><<a href="mailto:david4lists@gmail.com" target="_blank">david4lists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I have historically had problems with my desktop environment when I use the same user home directory on a dual boot system (eg, when I have 16.10 on one partition and 18.04 on another). Therefore, I like to use different user home directories for myself for each environment and copy or symlink directories that I can share without compatibility quirks. I would like to be able to have ALL data related to google-chrome accessible in both systems. I have dozens of user-data-dir's for various things I work on, each with their own stored passwords, cookies, etc. Based on some google searches, I thought I could copy everything I needed between the two home directories by copying the user-data-dir directories and the .config/google-chrome directory, but my stored passwords do not transfer. Does anybody know how I can get everything I need (and nothing I don't need) from one home directory and put it in another to get google-chrome (or chromium-browser) to just work on a dual boot system with isolated home directories for the same user?<div><br></div><div>Thanks,</div><div><br></div><div>          David</div><div><br></div><div>PS - I don't want to have to export passwords and import them... it seems like I should be able to just copy the right files/directories, which I can do from the command line quickly for dozens of user-data-dirs that each maintain different passwords.</div><div><br></div></div>
</blockquote></div><div class="gmail_extra">Thanks to Colin Law for pointing me in the right direction, I figured this out.</div><div class="gmail_extra"><br></div><div class="gmail_extra">In kubuntu, this was the missing stuff:</div><div class="gmail_extra"><br></div><div class="gmail_extra">.local </div><div class="gmail_extra">└── share </div><div class="gmail_extra">   └── kwalletd </div><div class="gmail_extra">       ├── kdewallet.kwl </div><div class="gmail_extra">       └── kdewallet.salt</div><div class="gmail_extra"><br></div><div class="gmail_extra">I didn't need anything from .kde, nor .config... only:</div><div class="gmail_extra"><br></div><div class="gmail_extra">.local/share/kwalletd</div><div class="gmail_extra"> /home/david/chrome-user-data-<wbr>dir*</div><div class="gmail_extra"><br></div><div class="gmail_extra">Extracting those directories is all I needed to get multiple google-chrome profiles up and running with passwords working. I suspect I would have needed .config/google-chrome if I used the default profile without a custom user-data-dir, but I have not verified that suspicion.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I assume there is an equivalent directory that would need to be copied for gnome, but I haven't investigated that either.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra"><br></div><div class="gmail_extra">         David</div><div class="gmail_extra"><br></div><div class="gmail_extra">PS - For those that questioned the motivation for doing this, here are the times when I found I needed this functionality:</div><div class="gmail_extra"><br></div><div class="gmail_extra">1) When I was on vacation once, I wanted to log into a web site for which I had forgotten the password, but I knew it was stored in a specific profile to which I had access via scp. But copying the profile directory alone didn't work.</div><div class="gmail_extra">2) When I'm beta testing a new Ubuntu release, before committing to upgrade, I test the environment for a few days and make sure that everything I do on a daily basis (including accessing multiple chrome profiles) is working well. So I copy a subset of my home directory to a temporary account on the beta test partition.</div><div class="gmail_extra">3) When I have a hard drive crash and I want to extract all of the stuff from my backup that I use on a daily basis without years of cruft.</div><div class="gmail_extra">4) When an ubuntu upgrade behaves poorly with respect to my desktop environment and I want to blow away almost all desktop related config and start from nearly scratch, I want to pull a minimal set of stuff from my backup and start with a fresh home directory wrt environment, but I still want my chrome passwords.</div><div class="gmail_extra"><br></div><div class="gmail_extra">And as for why I have many (10 to 20 ... I exaggerated when I said 100) chrome profiles, I work for multiple companies, and I have gmail accounts for several of them. Google tools are much happier when run from independent profiles. Also I do a lot of genealogy research, and I maintain a profile for each relative whose DNA I have tested on 3 different testing sites and I have the passwords cached for each of the 3 sites for each person. When I am researching a specific person, I run from that google profile and can get into all of the sites without diddling with which login I need to use. I have shortcuts to open google-chrome for each relative and each employer and it works very well for me except for the now-solved issue with migrating the profiles.</div><div class="gmail_extra"><br></div></div></div>
<br>--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com" target="_blank">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailm<wbr>an/listinfo/ubuntu-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-1366040338539722080gmail_signature" data-smartmail="gmail_signature">Gilles Gravier - <a href="mailto:ggravier@fsfe.org" target="_blank">ggravier@fsfe.org</a><br>Using Google Apps web mail</div>
</div></div>