I am trying to open up 2 separate Chromium windows using /.config/lxsession/LXDE-pi/autostart. I am able to open both urls when adding two lines but they open in the same browser as two tabs. I would like to open them in two separate windows. Is this possible?
Posting this here so hopefully it will help others.
After a bit of digging I found out the tricks to get this working.
First in Chromium you need to create a new user, (doesn't matter what it's called).
Then when editing /etc/xdg/lxsession/LXDE-pi/autostart
Use the following
@xset s off @xset -dpms @xset s noblank @chromium-browser --new-window --start-fullscreen http://google.com --window-position=0,0 --user-data-dir=Default --start-fullscreen @chromium-browser --new-window --start-fullscreen http://bbc.co.uk --window-position=0,0 --user-data-dir='Profile 1' --start-fullscreen
Note the --user-data-dir setting and the --window-position setting, basically you need to treat the two screens as one big screen.
(I wonder if this is still relevant to anyone anymore)
For me two Chromium windows worked (almost) right away without any actual tricks. I opened a Chromium-window, moved it to the secondary screen, maximized it by double-clicking the top-bar and then opened another Chromium window in the primary screen by simply clicking the web-browser icon anew. Voila, two windows.
In order to copy/paste between the two sessions, Chromium (or Google) required of me that I installed a plug-in for off-line usage in my browser.
Happy New Year