I’m new to Ubuntu. I don't know where the log out, reboot and shut down icons in my application list came from. I just need to remove this from here.

Activities window


If we talking about these gray colored icons:

Logout Reboot Shutdown

then they are provided by session-shortcuts package.

We can hide them by copying to current user settings folder and then adding property NoDisplay=true here:

mkdir -p ~/.local/share/applications/
cp /usr/share/applications/{logout,reboot,shutdown}.desktop ~/.local/share/applications/
echo "NoDisplay=true" | tee -a ~/.local/share/applications/{logout,reboot,shutdown}.desktop > /dev/null

then logout (and login again) or reboot.


Open a terminal and run the following command:

sudo apt purge session-shortcuts

Logout and then login again.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.