You are not logged in.

#1 2012-02-16 17:23:57

Lockheed
Member
Registered: 2010-03-16
Posts: 1,550

Remove wine trash from context menu

If I right-click on most files in linux, there is all kinds of wine options there that I do not want. Namely, notepad (2 instances), Internet Explorer, etc.

How do I get rid of it without uninstalling wine? I am using XFCE with PCMANFM as desktop manager.

Offline

#2 2012-02-16 17:31:51

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Remove wine trash from context menu

I guess those are entries which are in ~/.local/share/applications Look out for files named *.desktop and stuff that handles mimetypes. I currently don't have any of it here, so I don't know it exactly, but you'll find it.

Last edited by Army (2012-02-16 17:32:42)

Offline

#3 2012-02-16 17:51:02

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Offline

#4 2012-02-16 18:45:28

Lockheed
Member
Registered: 2010-03-16
Posts: 1,550

Re: Remove wine trash from context menu

Thanks. Got it sorted.

Now, I'd like to add WinRAR option appearance when I right-click on a folder.
Here it is how it looks for an ARJ file:

[Desktop Entry]
Type=Application
Name=WinRAR
MimeType=application/x-arj;
Exec=env WINEPREFIX="/home/juha/.wine-bottles/winrar" wine start /ProgIDOpen WinRAR %f
NoDisplay=true
StartupNotify=true
Icon=D1BD_WinRAR.0

Can it be modified to work on folders?

Offline

#5 2012-02-17 20:05:27

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Remove wine trash from context menu

I know the feeling, bro. It's like Wine crapped all over my system too.

In Dolphin, for .txt files, I have TWO "notepad" entries!

YiRlQ.png

Even for avi and mkv files I have a "notepad" entry in there (not by default, obviously). What the hell.

.jpg files have a "Wine Internet Explorer" entry but .html files don't? Unbelievable...

Too bad pacman doesn't delete their config files when you uninstall programs. Because I got rid of Wine a long, long time ago and I just couldn't be bothered to search how clean up the context menu leftovers. Hmph. It's about time I reinstalled Arch anyway (switching to x86_64). Now I know not to install Wine ever, EVER again. VirtualBox all the way, baby!

Last edited by DSpider (2012-02-17 20:06:19)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#6 2012-02-17 21:04:02

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: Remove wine trash from context menu

DSpider wrote:

Now I know not to install Wine ever, EVER again.

# ~/.bashrc
export WINEDLLOVERRIDES=winemenubuilder.exe=d

Offline

Board footer

Powered by FluxBB