Setting old GUI as default


ROOT Version: 6.39.01
Platform: osx/linux
Compiler: clang/gcc


Hi!

I have been wondering for a while if I am perhaps missing a simple flag set the old TBrowser GUI as default for all graphical operations: file browser, canvas and 3D visualisations.

As shared in this answer, it sufficed to change only one parameter in the past, but it seems it has been split into 4 now. So far, I have to change the following lines in my /path/to/root-install/etc/system.rootrc file every time I install root anew:

# As options for Canvas.Name, ROOT provides TWebCanvas and the legacy TRootCanvas.
Canvas.Name:                TRootCanvas
#...
# Type of Browser: TRootBrowser or TRootBrowserLite
Browser.Name:                ROOT::TRootBrowser
#...
# Type of tree viewer: TTreeViewer or RTreeViewer
TreeViewer.Name:             TTreeViewer

# Type of geometry painter: root or web
GeomPainter.Name:            root

I am aware of starting root with the –web=off flag, but for me it’s nice to be able to keep the command input minimal. Is there a compile flag I may have missed by chance where one could set this? Many thanks in advance!

If you build ROOT from source, you can use the -Dwebgui=OFF option

I see, that is perfect, thanks!

1 Like