I want to use this as my root window manager. Unfortunately I get weird window behavior and visual artifacts if I set it as such in my /usr/share/xsessions/chromium.desktop eg.
[Desktop Entry]
Name=chromium
Comment=This session logs you into Chromium
Exec=/usr/bin/chromium
TryExec=/usr/bin/chromium
Type=Application
DesktopNames=chromiumos
X-GDM-SessionRegisters=true
X-Ubuntu-Gettext-Domain=chromium
Describe the solution you'd like
Works like a normal maximized chromium browser.
Describe alternatives you've considered
Stick with gnome
Additional context
Multi monitor support eventually would be nice, but for now I'd be thrilled with just normal functionality.
Hm that's an interesting use-case. I don't know if Chromium supports this. I think the closest you can get is to use --start-maximized or --kiosk (the latter removes the entire browser chrome though). This is all I got from a quick search, but there might be more if you look harder.
Alternatively, you consider a lightweight WM like Openbox.
--start-maximized doesn't work but appreciate the feedback. Perhaps this could be left open? In case someone else chimes in with some thoughts on how to accomplish it.
Sure, but is there any reason you're not able to use a lightweight WM under Chromium? If you want multiple windows or dialog boxes, I don't think you can make Chromium the WM. I think --kiosk is the only way to make Chromium work as a WM without some addtional modifications.
If someone can find the changes to make or another way, that'd be great.
I like the idea of forcing myself to move the rest of my workflow into the browser.It's already >90%.
I doubt I'd need it at all but I could use docker/webvnc for anything legacy. I'll give Openbox a try tho.
Could it be, that you need to compile Chromium with Ozone and DRM/GBM, like it is done in ChromeOS?
Looks promising. Says it works on linux with
--ozone-platform=x11 or --ozone-platform=wayland in the command line.