9

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

0

2 Answers 2

15

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.

0
0

Open a terminal and run the following command:

sudo apt purge session-shortcuts

Logout and then login again.

You must log in to answer this question.

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