Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
File Associations - Easy way to batch clean? [SOLVED-ish]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dufeu
l33t
l33t


Joined: 30 Aug 2002
Posts: 924
Location: US-FL-EST

PostPosted: Sun Jan 11, 2015 8:25 pm    Post subject: File Associations - Easy way to batch clean? [SOLVED-ish] Reply with quote

I recently removed a number of different packages notably media-video/vlc. The emerge --depclean process apparently did not remove all of the file associations. I use kde and it's file associats editor in settings seems to expect one at a time editing. I'm not really thrilled to do this.

What I'd like to do is remove VLC from all file association lists.

It also seems that if I've adjust associations manually for any package, these will also remain in place upon package deletion.

What I'd like to do is remove the target programs from the various file association lists in batch and then force an update of the kde menus.

Can this or something similar be done?
_________________
People whom think M$ is mediocre, don't know the half of it.


Last edited by dufeu on Mon Jan 19, 2015 12:01 am; edited 1 time in total
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Thu Jan 15, 2015 7:45 pm    Post subject: Reply with quote

Have a look in .local/share/applications/mimeapps.list
Back to top
View user's profile Send private message
dufeu
l33t
l33t


Joined: 30 Aug 2002
Posts: 924
Location: US-FL-EST

PostPosted: Mon Jan 19, 2015 12:00 am    Post subject: Thanks! Reply with quote

sebB wrote:
Have a look in .local/share/applications/mimeapps.list

Thank you for the tip. I can coble up some kind of command/script to do the minimum of what I want. For some reason, I didn't think to look outside of ~/.kde4.
_________________
People whom think M$ is mediocre, don't know the half of it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum