Running 20.04 fresh install.
I created a pair of shortcuts for computer Restart and Shutdown . I have them set up to fire with keyboard keyboard events. The restart works as expected in all circumstances. But the shutdown behaves differently depending on whether I fire it with a keyboard or a mouse click. If I use the mouse, it behaves as expected. When I use the keyboard, it does not. I have tried deleting and recreating it. I get the same result.
The reboot command fully shuts down the OS and triggers a full reboot, BIOS screen and all. It does not matter whether I click or keyboard, it behaves as expected.
The shutdown command behaves as follows:
mouse click event: power down computer.
Keyboard event: computer remains under power, goes to OS log-in screen.
What I want is for it to power down on both types of events.
This is exactly the same set up I had under 18.04 and 20.04 upgrade and it worked as expected.
What could be going on?
I created a pair of shortcuts for computer Restart and Shutdown . I have them set up to fire with keyboard keyboard events. The restart works as expected in all circumstances. But the shutdown behaves differently depending on whether I fire it with a keyboard or a mouse click. If I use the mouse, it behaves as expected. When I use the keyboard, it does not. I have tried deleting and recreating it. I get the same result.
The reboot command fully shuts down the OS and triggers a full reboot, BIOS screen and all. It does not matter whether I click or keyboard, it behaves as expected.
Code:
qdbus org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout 0 1 3
mouse click event: power down computer.
Keyboard event: computer remains under power, goes to OS log-in screen.
Code:
qdbus org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout 0 2 3
This is exactly the same set up I had under 18.04 and 20.04 upgrade and it worked as expected.
What could be going on?
Comment