12/2/2023 0 Comments Find file in terminal chrome![]() On Windows and ChromeOS, the user cache dir is the same as the profile dir. Open the info dialog for the new application and select the icon in the top left.You will see a blue highlight around the icon. Select the icon at the top left of the info dialog.Select the Google Chrome application and choose File > Get Info.If you want, you can give this application the same icon as Chrome: This opens a Chrome instance pointing to your new profile. Save the script in your Applications directory with the file format “Application”.Ĭlose the Script Editor, find your newly created application, and run it. Modify as needed for your installation path, Chrome versus Chromium, and desired user data directory. Set userdatadir to "\"$HOME/Library/Application Support/Google/Chrome Alt\""ĭo shell script chrome & " -user-data-dir=" & userdatadir & " > /dev/null 2>&1 &" Set chrome to "\"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome\"" Open Applications > Utilities > Script Editor. On Mac OS X, you can create an application that runs Chrome with a custom -user-data-dir: Writing an AppleScript wrapper (Mac OS X) If you want to use the local Chrome profile in CRD sessions, quit Chrome and delete these folders from ~/.config/chrome-remote-desktop/, then reboot the host device. The CRD host will continue to set these environment variables if either chrome-config/ or chrome-profile/ exists in ~/.config/chrome-remote-desktop/. Therefore, CRD no longer sets these environment variables for new installations after CRD host M105. However, with the obsolescence of dbus-x11, most modern Linux distros have lost the ability to simultaneously run multiple graphical sessions for the same user without running into difficult-to-trace dbus cross talk issues, and Chrome can only be run on a single X display per user in reality. Chrome Remote Desktop sessions (Linux)Ĭhrome Remote Desktop (CRD) used to set $CHROME_USER_DATA_DIR or $CHROME_CONFIG_HOME on the virtual session on a Linux host, since a single Chrome instance cannot show windows on multiple X displays, and two running Chrome instances cannot share the same user data directory. The -user-data-dir flag takes precedence if both are present. On Linux, the user data directory can also be overridden with the $CHROME_USER_DATA_DIR environment variable. google-chrome -user-data-dir=/path/to/foo.Overriding the user data directory via the command line is not supported on iOS. ![]() Platforms not building with the file may not have implemented the override. The override happens in chrome/app/chrome_main_. On most platforms, the user data directory can be overridden by passing the -user-data-dir command-line flag to the Chrome binary. Overriding the User Data Directory Command Line Library/Application Support/Google/Chrome.The default location is inside the application support directory in the app sandbox. The default location comes from Context.getDir and is specific to the app.Įxample: /data/user/0//app_chrome iOS The default location is: /home/chronos Android Note that $XDG_CONFIG_HOME affects all applications conforming to the XDG Base Directory Spec, while $CHROME_CONFIG_HOME is specific to Chrome and Chromium. The ~/.config portion of the default location can be overridden by $CHROME_CONFIG_HOME (since M61) or by $XDG_CONFIG_HOME. (The beta and dev channel suffixes are determined from $CHROME_VERSION_EXTRA, which is passed by the launch wrapper script.) (The canary channel suffix is determined using the CrProductDirName key in the browser app's ist.) Linux ~/Library/Application Support/Chromium.~/Library/Application Support/Google/Chrome Canary.~/Library/Application Support/Google/Chrome Beta. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |