Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4777

Advanced users • Wayland Autostart Multiple Windows on Dual Displays

$
0
0
(I decided to open a new topic since I realized that I was "hijacking" someone else's before.)

I have Raspberry Pi 5 running Bookworm with Wayland and Wayfire with two 4k monitors (HDMI).

I am trying to bring up on boot VLC in full-screen on the first display and two chromium windows, side-by-side, filling the second display together.

I can successfully bring up applications on the first display at boot, but am having trouble getting things to show up on the second.

Based on the documentation, this is what I have at the bottom of "~/.config/wayfire.ini" for vlc and a single chromium window:

Code:

[autostart]vlc = vlc <filename> :network-caching=1500 --fullscreen --no-video-title-show --loop --quietchromium = chromium-browser "<address>" --noerrdialogs --disable-infobars --no-first-run --ozone-platform=wayland --enable-features=OverlayScrollbarscreensaver = falsedpms = false[window-rules]rule_1 = on created if app_id is "vlc" then start_on_output "HDMI-A-1"rule_2 = on created if app_id is "chromium" then start_on_output "HDMI-A-2"[output:HDMI-A-1]mode = 3840x2160@60000position = 0,0transform = normal[output:HDMI-A-2]mode = 3840x2160@60000position = 0,2160transform = normal
With this, both windows show up on the first display. VLC is full-screen, and chromium is small and in the center of the display over VLC.

I also tried chromium-browser with the option "--window-position=0,2160", to no avail.

So, what is the correct way to accomplish what I am trying to do here? It seems like the rules are being ignored.
Your time and input are appreciated.

Statistics: Posted by do_lai — Mon May 06, 2024 1:42 am



Viewing all articles
Browse latest Browse all 4777

Trending Articles