9

I'm using Ubuntu 18.04.1, the other day I installed Ark from the Ubuntu Software app but ended up uninstalling it after a couple minutes because it wasn't working well.

Recently I noticed that the icon is still there so now I'm wondering how to remove it. Thanks in advance!

enter image description here

Ravexina
  • 54,268
  • 25
  • 157
  • 179
Lucy C
  • 435
  • 2
  • 4
  • 13

2 Answers2

10

the standard places where *.desktop-Files are stored are:

/usr/share/applications/ and

~/.local/share/applications/

To check if there is an ark in these folders I'd in a Terminal (Ctrl+Alt+t) do a:

ls -la /usr/share/applications/ | grep -i 'ark' and

ls -la ~/.local/share/applications/ | grep -i 'ark'

if so I'd delete it with sudo rm <pathtofile>/<*.desktop-file>, sudo is not necessary when deleting the file in your home folder.

Afterwards, or even if there is no arc*.desktop-File I'd do a forced update to my menu via:

sudo xdg-desktop-menu forceupdate --mode system

d1bro
  • 2,274
  • 12
  • 23
  • Hi! When I run `ls -la /usr/share/applications/ | grep -i 'ark'` and `ls -la ~/.local/share/applications/ | grep -i 'ark'` nothing happens. Is there something I'm doing wrong? – Lucy C Dec 02 '18 at 18:03
  • no , nothing is wrong, this simple means there aren't any. then a simple `sudo xdg-desktop-menu forceupdate --mode system`should do the trick – d1bro Dec 03 '18 at 00:33
  • ps: stumbled over this one https://askubuntu.com/questions/40884/how-can-i-remove-orphaned-start-menu-entries – d1bro Dec 03 '18 at 00:40
  • Do I have to reboot after trying `sudo xdg-desktop-menu forceupdate --mode system` ? – Lucy C Dec 03 '18 at 03:10
  • sorry forgot, a simple logout should be enough – d1bro Dec 03 '18 at 05:10
  • Sadly, it didn't work out :/ What can I try now? I took a look at that link you gave me, but that didn't work either – Lucy C Dec 03 '18 at 14:03
  • For me the desktop file was at `/usr/local/share/applications`. – Krisztián Balla Jan 01 '21 at 21:32
-2

If you're command-line challenged, you could:

  1. Position the cursor over the unwanted icon.
  2. Hold down the Right mouse button. This will bring up a menu.
  3. Scroll down to "Move to Trash", and release the mouse button.
waltinator
  • 35,099
  • 19
  • 57
  • 93
  • 1
    You mean after opening the correct location in file manager? Otherwise this may very well be interpreted as "*right clicking on the app icon in 'Show Applications'*" (as in [screenshot](https://i.stack.imgur.com/HuFUK.png)) which I believe won't work. – pomsky Dec 01 '18 at 17:11
  • How can I find the location in file manager? – Lucy C Dec 24 '18 at 22:51