1

I use laptop and need to use keyboard between baby activities...

Is there any software for ubuntu that does all these things by pressing just one key (or predefined combination/password)? I tried program lk4b but it does not locks CD and mouse, this is unsufficient for my baby...

Also how can i disable power button?

1

1 Answer 1

3

how can i disable power button?

You'll need hardware support for that. Or nice "there, I fixed it!" tape. A longer press on this button will inevitably power down the PC very roughly, no matter what OS you run on it or what program you try to have that prevent it.

For just ignoring the simple "hits" on it, go to your power settings and let it do nothing on pressing it:

enter image description here

Above screenshot is in KDE, but similar settings should be available in your Desktop Environment too (e.g. Unity, GNOME, ...) See this answer for Unity.

Locking keyboard, mouse

Have you tried setting a password to your screensaver? Or set up a custom shortcut to activate the screen locker (default Ctrl+Alt+L)?

CDROM

Use

eject -i on

to lock the optical drive :)

13
  • Thank you, gertvdijk, but i cannot use screensaver and screenlocker with clr+alt+l, since i usually need baby lock while spoking via skype with baby's grandmother.... Sorry for initially uncorrect question...
    – AVIA
    Jan 16, 2013 at 21:13
  • Yeah, that's why I suggested setting up a custom keyboard shortcut, e.g. one of your unused media keys on your keyboard.
    – gertvdijk
    Jan 16, 2013 at 21:17
  • Mmmm... Again my incorrect behavior. Sorry. :) We using skype with video. Do you have a solution?
    – AVIA
    Jan 16, 2013 at 21:22
  • 1
    imagine what kind of explosion can do baby by touching so badly charged laptop! :) So i really need to lock it quickly with just few keypresses! :)
    – AVIA
    Jan 16, 2013 at 21:34
  • 1
    As I said in my answer. keyboard: lockscreen. Power button: hardware. But this can't be solved in any OS. Holding power button for several seconds will turn off the PC no matter what you run on it. This is hard coded in the BIOS/system board.
    – gertvdijk
    Jan 16, 2013 at 22:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .