Hi,
I have Raspberry 4b with the latest updates, with Wayland & Wayfire. I have two HDMI monitors @1920x1024 connected to Raspberry.
When I boot up to the desktop I want to open two chromium instances; one for each screen in kiosk mode with a defined https-page.
I am using wayfire.ini [autostart] section to start the Chromiums:
[autostart]
chrome1=chromium-browser --user-data-dir="User1" https://www.mypage1.com --ozone-platform-wayland --kiosk #plus other definitions
chrome2=chromium-browser --user-data-dir="User2" https://www.mypage2.com --ozone-platform-wayland --kiosk #plus other definitions
and I have
[window-rules]
rule_1=on created if app_id is "chrome1" then start_on_output "HDMI-A-1"
rule_2=on created if app_id is "chrome2" then start_on_output "HDMI-A-2"
and the outputs are defined:
[output:HDMI-A-1]
mode=1920x1080@60000
position=0,0
transform=normal
[output:HDMI-A-2]
mode=1920x1080@60000
position=1920,0
transform=normal
in the [core] section the window-rules is listed in the plugins
The problem is, that the start_on_output does nothing! The both Chromiums start on the same screen on top of each other. How can I get the other Chromium start on the second display?
I have also tried to "move 0 0" and move "1920 0", but I can only move inside the same output. So nothing moves to the other display.
Same with Chromium's parameter --window-position; it doesn't go to the other display.
Any ideas?
I have Raspberry 4b with the latest updates, with Wayland & Wayfire. I have two HDMI monitors @1920x1024 connected to Raspberry.
When I boot up to the desktop I want to open two chromium instances; one for each screen in kiosk mode with a defined https-page.
I am using wayfire.ini [autostart] section to start the Chromiums:
[autostart]
chrome1=chromium-browser --user-data-dir="User1" https://www.mypage1.com --ozone-platform-wayland --kiosk #plus other definitions
chrome2=chromium-browser --user-data-dir="User2" https://www.mypage2.com --ozone-platform-wayland --kiosk #plus other definitions
and I have
[window-rules]
rule_1=on created if app_id is "chrome1" then start_on_output "HDMI-A-1"
rule_2=on created if app_id is "chrome2" then start_on_output "HDMI-A-2"
and the outputs are defined:
[output:HDMI-A-1]
mode=1920x1080@60000
position=0,0
transform=normal
[output:HDMI-A-2]
mode=1920x1080@60000
position=1920,0
transform=normal
in the [core] section the window-rules is listed in the plugins
The problem is, that the start_on_output does nothing! The both Chromiums start on the same screen on top of each other. How can I get the other Chromium start on the second display?
I have also tried to "move 0 0" and move "1920 0", but I can only move inside the same output. So nothing moves to the other display.
Same with Chromium's parameter --window-position; it doesn't go to the other display.
Any ideas?
Statistics: Posted by Kivik — Wed Feb 21, 2024 2:42 pm