ModEdit; related ticket: #18754: Cannot capture mouse pointer in video recording of Ubuntu 18.04 LiveCD guest
Hi all,
This is a repost of my question from
... which I had to wait with, because:VirtualBox recording video with mouse pointer of Ubuntu live-cd guest? - Ask Ubuntu
https://askubuntu.com/questions/1156603 ... e-cd-guest
You must be a member for 1 days and have 1 posts before you can post urls.
I'm using Ubuntu 18.04 as host, VirtualBox 6.0.8 - and Ubuntu 18.04 Live CD as guest (so not installed).
I'm trying to use the built-in recording facility of VirtualBox 6.0.8 (Machine/Display/Recording) - and it works great, except - it does not record the mouse pointer on video!
Via #12287 (VBox 4.3.2 Video Capture without cursor) – Oracle VM VirtualBox, I've learned:
I've done a ton of things:I'm not sure if we will change this. The cursor is normally drawn by the host, not the guest. To make it drawn by the guest (and to include the mouse cursor into the video), disable the mouse integration.
- Try disable mouse integration from the bottom menu - does not really matter, mouse integration icon gets grey when out of the VM window, and gets activated again anyway when I click in the VM guest window so it is focused
- Via https://superuser.com/a/1390258/39752 -> "go to 'Motherboard' tab and in pointing device, choose 'USB Tablet' instead of 'PS/2 Mouse'" - does not work
- Tried installing Guest Additions from CD after booting the live CD image, vs not installing Guest Additions -> neither works
- Via https://askubuntu.com/questions/1156593/ -> In "VirtualBox > Settings > Display" for the guest, tried for "Graphics Controller" both VBoxSVGA and VMSVGA - no change, mouse pointer still not on video capture
Edit: some more details:
First, to enable bidirectional clipboard, you need Guest additions - here is a relatively easy way to install, via:
- https://superuser.com/questions/1318231 ... lbox-5-1-2
- https://www.linuxuprising.com/2019/01/m ... tions.html
Code: Select all
# below commands need to be typed, all in guest Ubuntu terminal:
# need to enable multiverse; in:
sudo nano /etc/apt/sources.list
sudo apt update
sudo apt install virtualbox-guest-x11 virtualbox-guest-utils virtualbox-guest-dkms
sudo VBoxClient --clipboard
Code: Select all
ubuntu@ubuntu:~$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ VirtualBox mouse integration id=9 [slave pointer (2)]
⎜ ↳ ImExPS/2 Generic Explorer Mouse id=11 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Sleep Button id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]
Code: Select all
# get the VM Name
$ VBoxManage list vms
"Ubuntu 18.04 CD" {XXXXX-....}
$ VBoxManage getextradata "Ubuntu 18.04 CD" GUI/MouseCapturePolicy
No value set!
$ VBoxManage setextradata "Ubuntu 18.04 CD" GUI/MouseCapturePolicy Disabled
$ VBoxManage getextradata "Ubuntu 18.04 CD" GUI/MouseCapturePolicy
Value: Disabled
$ VBoxManage getextradata "Ubuntu 18.04 CD" GUI/MouseCapturePolicy
Value: Disabled
# empty set - restore default
$ VBoxManage setextradata "Ubuntu 18.04 CD" GUI/MouseCapturePolicy
$ VBoxManage getextradata "Ubuntu 18.04 CD" GUI/MouseCapturePolicy
No value set!
Tried it, and still `VirtualBox mouse integration` shows in `xinput list`, and no mouse pointer is captured on video.Try disabling keyboard auto-capture:This also disables mouse-autocapture.
- In the main window press File|Preferences
- Select the "Input" tab
- Uncheck "Autocapture keyboard"
Additionally turning off 3D acceleration does not work either.
Any suggestions on what I could try, to get the mouse pointer captured on the Virtualbox video recording?