I have a Asus laptop with Ubuntu 16.04, It has a function shortcut (fn+f7) which I used to turn off the display.
I connected it to an external display via HDMI
, removed the cable, shut it down. but now after a fresh boot It locks my account instead and not turning the display off!
Any idea or suggestion is appreciated.
If I understood the problem correct.... You are saying that the behavior of fn+f7 is changed after you attached and detached your device to an external display.
Here are some pointers to find out what fn+f7 is mapped to after this action https://superuser.com/questions/428945/defining-keyboard-shortcuts-involving-the-fn-key
There are at least two possibilities here 1) When connected to external display, fn+f7 key can't turn that display off (depends upon display type) so it rather changes to display lockout. Maybe you don't remember and you shut it down in that state and so it stays in that stays (some persistent configuration?). 2) fn+f7 is multiplexed at the keyboard hw level and may have a HW bug (passive electronics component used) where attaching to HDMI modified one of it's state holding. This is very less likely and should be cleared after a complete power shutdown and a wait before restart.