You are not logged in.

#1 2008-03-08 21:28:40

Xs1t0ry
Member
From: Canada
Registered: 2007-07-01
Posts: 181

Obscure question

Hi there

I was just wondering, how do you get rid of dead menu links? Recently I downloaded xemacs, decided I didn't like it and then removed the package using

pacman -Rs xemacs

It was removed and life was good. Unfortunately, when I right-click a text file, the option to open the file with xemacs is still there. How do I make it go away?

Offline

#2 2008-03-08 21:36:42

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Obscure question

You still have the desktop file in ~/.local/share/applications. Remove that file (not the whole directory) and the problem disappears.

Last edited by skottish (2008-03-08 21:39:45)

Offline

#3 2008-03-08 22:01:08

Xs1t0ry
Member
From: Canada
Registered: 2007-07-01
Posts: 181

Re: Obscure question

The only content of /root/.local/share/applications is defaults.list... should I delete that? Also, is .local hidden in the file mananger? I had to cd to it.

Offline

#4 2008-03-08 22:48:32

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Obscure question

Well crap! Yes, files that start with '.' are usually hidden from file managers. Although, file managers can toggle that feature on and off.

No, don't delete defaults.lst.

Another place to look is in /usr/share/applications

Offline

#5 2008-03-08 23:09:28

Xs1t0ry
Member
From: Canada
Registered: 2007-07-01
Posts: 181

Re: Obscure question

Oh, ok. Well it's not there, either! (The program or the mysterious desktop file)

Offline

#6 2008-03-09 07:58:34

Jansson
Member
From: Sweden
Registered: 2006-09-10
Posts: 106

Re: Obscure question

Just kind of noticed the path you specified: '/root/.local/share/applications'
If you want to remove it from your normal user, you should probably search in '/username/.local/share/applications'.
But perhaps it was a typo (cause you aren't running everything as root, are you?).

Offline

#7 2008-03-09 08:04:51

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Obscure question

when removing package, you can pacman -Rns

[eb@blackout ~]$ pacman -Rnh
usage:  pacman {-R --remove} [options] <package>
options:
[---snip---]
  -n, --nosave         remove configuration files as well

Offline

Board footer

Powered by FluxBB