Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Lubuntu-invalid open with(right click menu) entry


  • Please log in to reply
3 replies to this topic

#1 HrcaA3000

HrcaA3000

  • Members
  • 64 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:04:58 AM

Posted 21 August 2016 - 12:04 PM

How can I remove invalid entry from right click open with menu.



BC AdBot (Login to Remove)

 


#2 wizardfromoz

wizardfromoz

  • Banned
  • 2,799 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:58 PM

Posted 23 August 2016 - 01:21 AM

Hi HrcaA3000 - and :welcome: to the Linux & Unix section.

You will need to begin with telling us a fair bit more about the environment you are in, eg:

 

Which version of Lubuntu?

 

Once we know a bit more, someone can likely help you.

 

Cheers

 

:wizardball: Wizard


Edited by wizardfromoz, 23 August 2016 - 01:22 AM.


#3 A Future Pilot

A Future Pilot

  • Members
  • 78 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:TN, USA
  • Local time:09:58 PM

Posted 25 August 2016 - 09:32 AM

If you mean "Invalid Entry" as in you right clicked on something, hit "Open With" and then created a custom command line, that you now want to remove, you can do it like so:

 

In ~/.local/share/applications there will be a mimeinfo.cache file and at least one .desktop file. The .desktop files are the custom commands you created. They will have the name userapp-<name>-<string>.desktop where <name> is the name you gave the custom command and <string> is a random string of letters and numbers.

 

To remove it from the menu, simply delete the .desktop file of the command you wish to remove. You can also remove its entry from the mimeinfo.cache file (though that's not necessary).



#4 wizardfromoz

wizardfromoz

  • Banned
  • 2,799 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:58 PM

Posted 25 August 2016 - 07:34 PM

Hi all

 

Just in case we are getting ahead of the OP's (Original Poster's) level of knowledge, and to clarify what A Future Pilot has said:

 

"~/.local/share/applications" means "home/<yourusername>/.local/share/applications". The "dot" before "local" means it is hidden normally.

 

In Lubuntu the default File Manager is likely PCManFM. If that is so, then you can reveal the hidden files and folders by pressing Ctrl-h.

 

Using mine from SparkyLinux, see without having pressed that

 

npcMlSM.png

 

 

and then, with:

 

tJSHUpj.png

 

(You will not have all the Devices in the left pane) - I have highlighted that .local folder. You can also choose from the menu bar View - Hidden Files and check it.

 

HOWEVER, we may be getting ahead of ourselves - the OP has not said the problem is with the File Manager right-click context menu.

 

There is a chance he/she is speaking of the buggy Firefox 48, since replaced (don't know if that affected Lubuntu) or other possibilities.

 

Can you enlighten us, please, HrcaA3000?

 

Thanks

 

:wizardball: Wizard






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users