2 removed OS-specific information
source | link

Most Ubuntu versionsoperating systems (every one I've used -- Kubuntu 14.04 and 16.04Windows, and MATE 16.04Mac, Linux) have some means of manually locking the screen. This will engage the screen saver (if you have one set) and require password entry before the system will respond to other inputs.

I don't know a way to make the screen saver ignore keyboard input, but I can't swear there isn't a setting for that -- try looking in the screen saver settings.

An alternative for laptops is that you could set your power management to "do nothing" when the lid is closed, and just close the lid when you walk away. Shorty will still have his warm spot, but the keyboard will be protected.

Most Ubuntu versions (every one I've used -- Kubuntu 14.04 and 16.04, and MATE 16.04) have some means of manually locking the screen. This will engage the screen saver (if you have one set) and require password entry before the system will respond to other inputs.

I don't know a way to make the screen saver ignore keyboard input, but I can't swear there isn't a setting for that -- try looking in the screen saver settings.

Most operating systems (Windows, Mac, Linux) have some means of manually locking the screen. This will engage the screen saver (if you have one set) and require password entry before the system will respond to other inputs.

I don't know a way to make the screen saver ignore keyboard input, but I can't swear there isn't a setting for that -- try looking in the screen saver settings.

An alternative for laptops is that you could set your power management to "do nothing" when the lid is closed, and just close the lid when you walk away. Shorty will still have his warm spot, but the keyboard will be protected.

1
source | link

Most Ubuntu versions (every one I've used -- Kubuntu 14.04 and 16.04, and MATE 16.04) have some means of manually locking the screen. This will engage the screen saver (if you have one set) and require password entry before the system will respond to other inputs.

I don't know a way to make the screen saver ignore keyboard input, but I can't swear there isn't a setting for that -- try looking in the screen saver settings.