ROOT Version: 6.28.6 Platform: Linux 6.2.0 Compiler: Not Provided
Hi,
I am attempting to turn off the default web based browser in root. To do this, I followed the instructions on the root website of adding the command:
Browser.Name: TRootBrowser
to my .rootrc file. Even with this line, the web based browser opens unless I include the --web=off command when starting root. I’m not quite sure what I’m doing wrong, and any advice on how to turn off this web based browser would be much appreciated!
That is name of your file? It must be .rootrc. And you have to put this file in current dir or in your home directory - check echo $HOME in your shell.
If you build ROOT yourself - you can modify $ROOTSYS/etc/system.rootrc file.
It is central place where ROOT settings are stored.
I apologize, the name of the file is .rootrc and I have it in home directory that is listed when I check echo $HOME in the terminal. When I start ROOT and give the command gEnv->GetValue("Browser.Name", "") it returns the value of ROOT::Experimental::RWebBrowserImp.
I did try moving the .rootrc file to the directory I will primarily be using root in, and the web based browser was successfully disabled. I’m not quite sure why this wasn’t happening with the rootrc file in the home directory, but this fix should work just fine. I appreciate all your help, thank you!
Ah yes, it seems the ROOTENV_NO_HOME variable was defined, although I don’t remember ever setting it. Now that I’ve unset the variable, the web browser is disabled. Thank you for the help, Sergey!!