Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove the right click menu in VLC Media Player?

I am adapting VLC to make a custom video player. I chose VLC because of its ability to play lots of formats, and because it allows me develop a custom skin for it very easily.

But I also want to restrict user access to the file system, for which I need to disable the right click menu. Is there a way to do this?

like image 432
awreccan Avatar asked Jan 12 '15 01:01

awreccan


People also ask

How do I disable right click on VLC?

To do so right-click on the AddtoPlaylist folder and select New > String Value. Name it LegacyDisable and save it. You will no longer see the VLC's Add to Playlist option in the context menu. To redo these changes, just delete the LegacyDisable file and the option will make its way back to the right-click menu.

How do I get rid of right click menu options?

Click Run. Type in regedit and click ENTER. Browse to the following: HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers. You simply delete or export then delete the keys you do not want.

How do I hide the control bar in VLC?

Right-click on the video, click Open with from the option and select VLC Media Player. Use the keyboard shortcut. Just press Ctrl + H to hide the control panel.


2 Answers

  1. Open the Registry Editor (regedit.exe). Find HKEY_CLASSES_ROOT\Directory\shell
  2. Under this key find each VLC key you would like to remove from folder context menus
  3. (Optional) right-click each key and choose Export. Save the exported reg files as PlayWithVLC-dir and AddToPlaylistVLC-dir. These .reg files can later be used to restore the context menu entries.
  4. Delete the key

Unfortunately VLC doesn't have an Preferences option to toggle this.

Solution found in the Remove context menu forum thread.

like image 193
TheAtomicOption Avatar answered Oct 14 '22 23:10

TheAtomicOption


Instead of playing around in the registry:

  1. uninstall VLC. You will be asked, if you want to keep your user settings. Say yes if you want to.
  2. download VLC installer again http://www.videolan.org/vlc/
  3. during installation uncheck the "Context Menus" install option.

For some people it was possible to skip step 1. But that may not work always.

enter image description here

like image 27
Blechdose Avatar answered Oct 14 '22 23:10

Blechdose