0

Running Xubuntu 18.04 and use Cairo-Dock. Upon unlocking my desktop I saw a notification in my tray that YouTube had been installed. I don't have the exact text of the message as I cleared it prior to saving the full text.

Clicking through the Applications menu, I cannot find a YouTube app anywhere. If I type "YouTube" in the Application menu search box I can find it though. Running it opens the www.youtube.com in Google Chrome. I have Google Chrome installed but it is not my default browser, Firefox is.

I'm pretty sure the bookmark is somehow related to Google Chrome but I cannot find a reference to it anywhere. I do not use Google Chrome as my default browser and have zero bookmarks. The history is also entirely cleared and I've never visited YouTube using Google Chrome (outside of trying out the shortcut and then clearing history).

I thought that maybe Google Chrome did some kind of auto update and added the bookmark. But my Google Chrome is not set to automatically update and the current version is not the latest version (so I don't think that happened). The binary timestamp on google-chrome confirms that it hasn't been updated.

Note that the core xfce Application launcher does not include any YouTube links in the menu or search results. Only the Cairo-Dock one does.

Things I want to figure out are:

  • What installed the YouTube bookmarks?
  • How do I remove them?
  • Does Does Cairo-Dock have some kind of advanced search that asks programs to provide their own search results, and if so, can I turn it off?
  • Even if there is a link there, why does it not respect the system wide default browser?

EDIT: Thanks to @pomsky for suggesting to look in ~/.local. I see an application launcher in there that loads YouTube directly in Google Chrome.

$ cat  ~/.local/share/applications/chrome-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-Default.desktop 
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=YouTube
Exec=/opt/google/chrome/google-chrome --profile-directory=Default --app-id=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Icon=chrome-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-Default
NoDisplay=true
StartupWMClass=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

There are additional files in there for launching Gmail, Google Docs, and Google Drive. What's odd though is that the file has not been updated recently. They were last modified over three weeks ago so I'm not sure what triggered the "New app installed" notification for YouTube.

  • Which extensions do you have in your Google Chrome? – pomsky Feb 27 at 14:24
  • None. It's a stock install of Google Chrome that is not used for any day to day browsing. – Sam Jacobson Feb 27 at 14:28
  • Could you tell me the output of the following command in Terminal: grep -ir youtube ~/.local/share/applications/? – pomsky Feb 27 at 14:34
  • Bingo! Yes I see it listed in there along with links for Gmail, Docs, and Google Drive. I had checked ~/.config but not ~/.local. The date on all the files is from three weeks ago though so that doesn't explain why it suddenly showed up as a "new installed app". – Sam Jacobson Feb 27 at 14:39

Your Answer

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

Browse other questions tagged or ask your own question.