You are not logged in.

#1 2017-12-28 03:35:58

tzhuang
Member
Registered: 2017-05-23
Posts: 45

[Solved] Removing an entry from i3-dmenu-desktop

Whenever I run i3-dmenu-desktop, and entry for "Chrome Remote Desktop" shows up when I try to look for Chromium.

>> dmenu_path | grep -i chrom
chromedriver
chromium

>>ls /usb/bin | grep -i chrom
chromedriver@
chromium*

>>pacman -Qe | grep -i chrom
chromium 63.0.3239.108-2

>>yaourt -Qe | grep -i chrom
extra/chromium 63.0.3239.108-2

Can't seem to find this Chrome Remote Desktop anywhere I look.

Last edited by tzhuang (2017-12-30 00:58:37)

Offline

#2 2017-12-28 03:42:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Removing an entry from i3-dmenu-desktop

type crd

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-12-28 04:10:56

tzhuang
Member
Registered: 2017-05-23
Posts: 45

Re: [Solved] Removing an entry from i3-dmenu-desktop

jasonwryan wrote:
type crd

>>crd
bash: crd: command not found

Last edited by tzhuang (2017-12-28 04:11:54)

Offline

#4 2017-12-28 04:18:53

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Removing an entry from i3-dmenu-desktop

Look for the desktop file in /usr/share/applications and then use pacman to see what owns the file.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2017-12-28 06:53:00

tzhuang
Member
Registered: 2017-05-23
Posts: 45

Re: [Solved] Removing an entry from i3-dmenu-desktop

jasonwryan wrote:

Look for the desktop file in /usr/share/applications and then use pacman to see what owns the file.

Don't seem to be able to find anything related to chrome remote desktop in /usr/share/applications:
/usr/share/applications> ls
mimeinfo.cache
avahi-discover.desktop
bssh.desktop
bvnc.desktop
chromium.desktop
cmake-gui.desktop
firefox-nightly.desktop
gtk3-demo.desktop
gtk3-icon-browser.desktop
gtk3-widget-factory.desktop
gvim.desktop
htop.desktop
i3.desktop
termite.desktop

Last edited by tzhuang (2017-12-28 06:53:58)

Offline

#6 2017-12-28 08:09:28

stee1rat
Member
Registered: 2013-10-22
Posts: 70

Re: [Solved] Removing an entry from i3-dmenu-desktop

The i3 wiki page says that i3-dmenu-desktop uses desktop entries, which "usually reside in /usr/share/applications or /usr/local/share/applications for applications installed system-wide, or ~/.local/share/applications for user-specific applications. User entries take precedence over system entries.". So also try looking inside ~/.local/share/applications. There probably has to be a directory related to "Chrome Remote Desktop". For example, I have an entry for "Google Play Music" in one of the files and I can see it in i3-dmenu-desktop.

Last edited by stee1rat (2017-12-28 08:14:52)

Offline

#7 2017-12-28 12:37:36

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: [Solved] Removing an entry from i3-dmenu-desktop

A bit off topic, but you should really learn how to use your package manager.

tzhuang wrote:

>>pacman -Qe | grep -i chrom
chromium 63.0.3239.108-2

That is just `pacman -Qes chrom`.  Also the -e flag really has no place here as it will exclude things you may well be looking for in this context.

More importantly, this does the exact same thing as the first pacman command you used:

tzhuang wrote:

>>yaourt -Qe | grep -i chrom
extra/chromium 63.0.3239.108-2

If you wanted to restrict output to locally installed packages (i.e. AUR packages) you still use pacman and add the '-m' flag.  But this is also irrelevant, as the single first search would include these.  So the proper search (which might still be relevant) is just `pacman -Qs chrom`.

Last edited by Trilby (2017-12-28 12:39:38)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2017-12-30 01:00:43

tzhuang
Member
Registered: 2017-05-23
Posts: 45

Re: [Solved] Removing an entry from i3-dmenu-desktop

stee1rat wrote:

The i3 wiki page says that i3-dmenu-desktop uses desktop entries, which "usually reside in /usr/share/applications or /usr/local/share/applications for applications installed system-wide, or ~/.local/share/applications for user-specific applications. User entries take precedence over system entries.". So also try looking inside ~/.local/share/applications. There probably has to be a directory related to "Chrome Remote Desktop". For example, I have an entry for "Google Play Music" in one of the files and I can see it in i3-dmenu-desktop.

Issue is resolved:
I removed "chrome-gbchcmhmhahfdphkhkmpfmihenigjmpp-Default.desktop" from ~/.local/share/applications.

There were a bunch of chrome-*-Default.desktop entries. I looked through each one until I found one with Name=Chrome Remote Desktop.

I guess removing a package from pacman doesn't remove the corresponding desktop entry?

Offline

#9 2017-12-30 01:08:20

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: [Solved] Removing an entry from i3-dmenu-desktop

tzhuang wrote:

I guess removing a package from pacman doesn't remove the corresponding desktop entry?

When removing a package, pacman will remove everything that pacman installed when installing the package.  This will never include anything in your home directory.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB