You are not logged in.
Good day y'all!
I'm setting up a KVM-Qemu home server. Its acting as a dual purpose where I want a user to login (physically at the machine) and have it auto-start a VM in full screen. I have Xorg install as the minimum desktop experience. No KDE. No Gnome. Just Xorg. So far, I am able to start virt-viewer (a gtk app) but I can't remove/hide the titlebar/window decoration. I tried adding a GTK-3.0 theme that suppose to be borderless; I found a gtk.css on google that also suppose to remove it but get a error simply stating the height is not a valid property. Tried the Gnome Tweaks tool and unsuccessfully with xprop; i'm just coming empty-handed with everything I'm trying.
Any suggestions on how to remove window borders/titlebars of all apps running in Xorg? Or atleast when running a GTK application?
xprop -f _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 2, 0, 0, 0, 0 xprop -f _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS '0x2, 0x0, 0x0, 0x0, 0x0'tried xprop locally on my laptop before trying on the said computer. On both systems, can't get xprop to work.
Thanks everyone
Last edited by RedLizzard2 (2022-04-01 20:34:39)
Offline
-f, --full-screen
Start with the window maximised to fullscreen
or
-k, --kiosk
Start in kiosk mode. In this mode, the application will start in fullscreen with minimal UI.
Last edited by Trilby (2022-04-01 00:24:47)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Tried those as well. Full Screen just opens as a maximize window. Kiosk the same thing except it prevent the window from being closed. Unless it behaves different when not in Xorg?
Offline
In that case you're likely S.O.L., as any of the borders / decorations are drawn by the client itself - if it can't be configured to not draw them, there's not really anything that can be done. But there are other qemu front-ends that would likely be a better fit.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I thought xprop was able too. Never used it, just something in searching. I didn't try running virt-viewer on my local machine but just did it few seconds ago and the full-screen actually work as one would expect. So, something with xorg or not all the necessary packages installed? May just go ahead and install the lightest weight desktop I can find with GTK as its backing and just call it a day. Tired of messing with this system. Wanted xorg for the smallest footprint possible (if xorg is the smallest??) just for this one window.
thanks.
Offline
When you say fullscreening didn't work on the home server, do you mean it didn't fill the full screen, or it didn't hide the client UI properly (or both)?
Resizing the window to fill the screen would often be the responsibility of a window manager, but the client program itself would have to hide it's UI elements. If fullscreen / kiosk modes hide the UI properly but don't expand the window fully, there are simple ways to get the window resized.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
It didn't hide the window border/decoration. When it goes to fullscreen, it just maximes the window. For now, I installed XFCE and it works as intended going to full screen. For now, I'm gonna leave it with that and just try to get everything else working. Still running into problems outside the scope of this issue.
I never used kvm/libvirt before. Right now, not sure if I'm running into a cockpit issue or if something not set up right on the system. In cockpit, starting a VM just throws a error of: setlocale: directory or domain not found. ... just giving me one headache after another. Using session instead of system works but not without other issues. I want to use system, which I got working since I overlook about adding user to group kvm. but now it won't start with the setlocale error. But I'm gonna take a breather and research more later.
Thank you for chirping in. *pun intended* ![]()
Offline