I'm using Ubuntu 22.04 and I'm seeing these gray square icons on the side bar of Ubuntu.

gray square icons in Ubuntu sidebar

Why are they shown and how to remove them?

  • Are you dual booting with another OS?
    – Raffa
    Aug 16 at 3:33
  • Yep, I'm using windows 10 in the same device @Raffa
    – Akash C
    Aug 16 at 6:43

1 Answer 1


These are disk partitions in your device. In order to disable viewing them in your dock, go to SettingsAppearanceConfigure dock behaviour and turn off Show Volumes and Devices.

  • +1 ... That many volumes are probably from Windows dual boot ... only a guess :-)
    – Raffa
    Aug 16 at 3:47
  • If you want to get rid of those specific disks and not all disks, you can add them to fstab as noauto. If that's useful, let me know and I'll expand this to an answer.
    – user10489
    Aug 16 at 5:12
  • It worked! Thanks a lot!
    – Akash C
    Aug 16 at 6:44
  • 1
    @user10489 I think that this would be quite useful as a new Q&A! From a search I did, I didn't find a question for how to get rid of specific disks. Aug 16 at 13:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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