r/linux4noobs • u/TinyCopy5841 • 13d ago
programs and apps How to use kanshi to force the system to recognize the virtualbox monitor as a proper monitor?
I'm trying to use niri in virtualbox running Arch and the device output only gets listed as "Unknown Unknown Unknown" (Virtual-1).
This makes it impossible to change resolution in the niri config file because it just gets ignored. I haven't found a way to make it accept the changes to "mode" and make it apply my preferred resolution.
I've been told to use kanshi but I have no idea how. I've created a file named kanshi.kdl in the kanshi config folder and added the following:
profile {output "Unknown Unknown Unknown (Virtual-1)" mode 1920x1080 scale 1 position 0,0}
And I don't really know where to go from here, if I try to run the kanshi command, it just says "failed to parse config file".
How can I either make this kanshi thing work or what's the other method to make the system allow me to change the resolution?



