Remove program from right click context menu

Please post all general support questions for LXDE here.
schnappi
Posts: 4
Joined: Fri Mar 17, 2017 1:29 am

Remove program from right click context menu

Postby schnappi » Fri Mar 17, 2017 1:34 am

Hi,

Love LXDE. Looking forward to LXQT. Keep up great work!

Opened a file one time with LXTerminal. Now LXTerminal is always in the right click context menu for files of a certain type. How does one remove a program from the right click context menu?

Thanks.

drooly
Posts: 384
Joined: Mon Apr 08, 2013 6:45 am

Re: Remove program from right click context menu

Postby drooly » Fri Mar 17, 2017 3:21 pm

right-click => properties => open with

schnappi
Posts: 4
Joined: Fri Mar 17, 2017 1:29 am

Re: Remove program from right click context menu

Postby schnappi » Tue Mar 21, 2017 6:09 pm

Thanks. Might have phrased question wrong though. How does one remove LXTerminal (or any other program) from the right click menu shown in screenshot?

Image

seppalta
Posts: 396
Joined: Tue Sep 20, 2011 6:09 am
Location: USA
Contact:

Re: Remove program from right click context menu

Postby seppalta » Tue Mar 21, 2017 9:04 pm

The computer procedure for picking what comes up when you right click a file is rather chaotic, depends upon the mimeinfo associations, which are determined in several files in several ways. To make a long story short it is easy to add apps but hard to remove them. See https://lkubaski.wordpress.com/2012/10/29/understanding-file-associations-in-lxde-and-pcmanfm. You might get lucky by just removing the associations to lxterminal in /usr/share/applications/mimeinfo.cache.

drooly
Posts: 384
Joined: Mon Apr 08, 2013 6:45 am

Re: Remove program from right click context menu

Postby drooly » Thu Mar 23, 2017 5:34 am

i don't recommend to go sudo-ing around for that.
you could first try to remove something called lxterminal-usercreated-***.desktop in ~/.local/share/applications.
or the mimeinfo.cache in the same folder.

Lew_Rockwell_fan
Posts: 45
Joined: Wed Aug 07, 2013 4:28 am
Location: Trantor

Re: Remove program from right click context menu

Postby Lew_Rockwell_fan » Tue May 23, 2017 10:40 pm

Is there a penalty for heresy here?

You might try spacefm as a gui file browser instead of pcmanfm. Takes a little getting used to, because the dev IgnorantGuru chose to ignore all sorts of conventions that are common to graphical file browsers and start from scratch. But it makes these sorts of things EASY. Best gui file browser ever. Hands down. You don't have to uninstall what you are used to. Just install spacefm and try it. Menu editing begins from the View menu. You really need to read the docs to get the full benefit of it, because a lot of things don't work the way you expect but once you catch on you realize they work better.

schnappi
Posts: 4
Joined: Fri Mar 17, 2017 1:29 am

Re: Remove program from right click context menu

Postby schnappi » Thu Jun 22, 2017 11:34 pm

Just decided to let it go. Laptop is getting old and new LXDE/LXQT install will go on new laptop eventually. Still thanks for all the suggestions. As with all things Linux could probably fix if put in time.


Return to “General Help”

Who is online

Users browsing this forum: No registered users and 1 guest