LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-24-2013, 07:38 AM   #1
rick0612
LQ Newbie
 
Registered: Jan 2006
Posts: 25

Rep: Reputation: 0
Chrome profile


I need some help with Chrome profile.
My wife has a Truecrypt drive on her fully updated PCLOS PC. I am able to change the profile for Thunderbird from the default location to the Truecrypt drive no problem. Once the drive is mounted, it shows up in df as /media/truecrypt1. The permissions show her and her group as the owner. She can read and write to the drive and there is only 42% used.

For Chrome, the default location is: ~/.config/google-chrome. There is a command to change the location. I've tried two variants but neither works. I've tried as a user in a terminal and as an add on to the command line in menu editor. As root, it says I can't run Chrome as root.

google-chrome -–profile-directory=/media/truecrypt1/Chrome/Default/
The above command does nothing but create a profile at the default location.

google-chrome -–user-data-dir=/media/truecrypt1/Chrome/Default/
When this command is entered in a terminal, I get the following error:
[xxxx@localhost ~]$ google-chrome --user-data-dir=/media/truecrypt1/Chrome/Default/
[14261:14261:0623/192718:ERROR:process_singleton_linux.cc(263)] Failed to create /media/truecrypt1/Chrome/Default/SingletonLock: Operation not permitted
[14261:14261:0623/192718:ERROR:chrome_browser_main.cc(1197)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.
Googling the error didn't help me. Perhaps it will give someone else a clue.

Has anyone done this successfully? Any other ideas on how to make it work?

Thanks.

Rick.

Last edited by rick0612; 06-24-2013 at 07:40 AM. Reason: smilies in text
 
Old 07-06-2013, 06:39 PM   #2
äxl
Member
 
Registered: Feb 2013
Location: Germany, EU
Distribution: Debian (stable release)
Posts: 67

Rep: Reputation: 10
Where did you get the command line arguments from?
In here are the most current switches:
http://src.chromium.org/viewvc/chrom...cc?view=markup

Maybe you could also try two options at once like:
Code:
google-chrome --user-data-dir=/media/truecrypt1/Chrome/Default/ --profile-directory=/media/truecrypt1/Chrome/Default/
 
Old 07-06-2013, 07:22 PM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
just a thought but could you perhaps just move the profile to the truecrypt volume and set a soft link inside the home directory pointing to it? It's not as elegant as changing the profile path but since Chrome makes you jump through hoops to do that it might be easier,
 
Old 07-07-2013, 03:27 PM   #4
rick0612
LQ Newbie
 
Registered: Jan 2006
Posts: 25

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by äxl View Post
Where did you get the command line arguments from?
In here are the most current switches:
http://src.chromium.org/viewvc/chrom...cc?view=markup

Maybe you could also try two options at once like:
Code:
google-chrome --user-data-dir=/media/truecrypt1/Chrome/Default/ --profile-directory=/media/truecrypt1/Chrome/Default/
I got the commands from googling the problem.
 
Old 07-07-2013, 03:29 PM   #5
rick0612
LQ Newbie
 
Registered: Jan 2006
Posts: 25

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by 273 View Post
just a thought but could you perhaps just move the profile to the truecrypt volume and set a soft link inside the home directory pointing to it? It's not as elegant as changing the profile path but since Chrome makes you jump through hoops to do that it might be easier,
I tried that but chrome ignored the link.

Thanks for the suggestion though.
 
Old 07-07-2013, 03:31 PM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by rick0612 View Post
I tried that but chrome ignored the link.

Thanks for the suggestion though.
Where did it put the profile information -- did it overwrite the soft link?
 
Old 07-08-2013, 04:47 PM   #7
rick0612
LQ Newbie
 
Registered: Jan 2006
Posts: 25

Original Poster
Rep: Reputation: 0
273

Worked on the soft link some more and got it to work. Found that I needed to leave the google-chrome folder in the /home/.config folder then put the soft link to Default in there.

Thanks for the help.

Rick.
 
Old 07-09-2013, 12:25 PM   #8
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Glad it worked for you and thanks for letting us know how you did it. I sometimes do similar myself so it's good to know.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] trying to start google-chrome via reverse ssh with 2nd profile lleb Linux - Newbie 1 08-31-2012 07:45 AM
Google Chrome profile sync bbmak Linux - Software 4 10-10-2011 02:07 PM
When I open Google Chrome 13 Beta, it says that my profile couldn't be opened correct theif519 Linux - Newbie 2 07-11-2011 09:29 AM
Google Chrome New Tab Page (!)= Chrome OS Desktop Kenny_Strawn Linux - General 6 02-19-2011 05:36 PM
LXer: Chrome 9 is released! Top 5 features in the new chrome browser LXer Syndicated Linux News 0 02-05-2011 01:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration