Yesterday, 05:09 AM
System Specs
| Operating System – Linux Lite | Linux Lite 7.4 |
| CPU / Processor | Core i7 3520M |
| Memory (RAM) | 8 GB |
| Storage | mSATA SSD |
| Graphics (GPU) | Intel HD Graphics 4000 |
| Network device | Centrino advanced n-6205 |
By searching on the internet, I found the following solution.
sudo nano /usr/local/bin/xfce-logout-focus.sh
Then, input;
#!/bin/bash
/usr/bin/xfce4-session-logout
sleep 0.25
xdotool key Tab key Tab
(You need to install xdotool for this to work.)
sudo chmod +x /usr/local/bin/xfce-logout-focus.sh
Then, Alt+F3, and edit "Logout" to execute this command instead.
This works when I select ¨Launch¨ from the dropdown from "Logout", as well as from the shortcut placed on the desktop, but the "Shutdown button" in the lower part of the start menu does not work. It seems it does not execute this script.
So, my question is;
Is it possible to "edit" Shutdown switch", which is in the lower part of the start menu, so it execute the scriipt?
If not, is there another (and easy) way to have "Shutdown" focused or selected when I logout?
Can someone help?
