Can you export/import customized hotkey settings?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Eoghanar
Blank Cone
Blank Cone
Posts: 14
Joined: 07 Aug 2011 01:44

Can you export/import customized hotkey settings?

Postby Eoghanar » 30 Aug 2012 07:25

(I'm assuming this wouldn't be OS specific, unless the answer is something like "they're stored in a file in such'n'such directory".)

So, can you?

I only found one post on the forums about it from a couple years back, and there were no replies.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Can you export/import customized hotkey settings?

Postby Jean-Baptiste Kempf » 30 Aug 2012 08:49

It is stored it your vlcrc preference file.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Eoghanar
Blank Cone
Blank Cone
Posts: 14
Joined: 07 Aug 2011 01:44

Re: Can you export/import customized hotkey settings?

Postby Eoghanar » 30 Aug 2012 08:57

Which is?

I tried searching "preference" in VLC in my program files, but...

Nor does searching the wiki or google for "preference file" easily find the info.

Eoghanar
Blank Cone
Blank Cone
Posts: 14
Joined: 07 Aug 2011 01:44

Re: Can you export/import customized hotkey settings?

Postby Eoghanar » 30 Aug 2012 09:00

Aha! Is it "hotkeys.luac" that I want?

EDIT: It wasn't; I tried copying it to VLC on my other computer and it did nothing I could see. Then I replaced it with the backup I made, just in case.

Eoghanar
Blank Cone
Blank Cone
Posts: 14
Joined: 07 Aug 2011 01:44

Re: Can you export/import customized hotkey settings?

Postby Eoghanar » 30 Aug 2012 09:15

Found it!
Windows 95/98/ME: C:\Windows\Application Data\vlc\vlcrc
Windows 2000/XP: C:\Documents and Settings\%username%\Application Data\vlc\vlcrc
Windows Vista/7: C:\Users\%username%\Application Data\vlc\vlcrc
It didn't occur to me to google "vlcrc" first cuz I kinda assumed the "rc" was a typo without really thinking about it :P

Eoghanar
Blank Cone
Blank Cone
Posts: 14
Joined: 07 Aug 2011 01:44

Re: Can you export/import customized hotkey settings?

Postby Eoghanar » 30 Aug 2012 09:20

Head. Hit. Keyboard.

Turns out it's not there either.

I searched my entire harddrive and couldn't find anything named "vlcrc" anywhere....

Eoghanar
Blank Cone
Blank Cone
Posts: 14
Joined: 07 Aug 2011 01:44

Re: Can you export/import customized hotkey settings?

Postby Eoghanar » 30 Aug 2012 09:44

FINALLY! ACTUAL SUCCESS!

The actual path for Windows Vista/7 is:

Code: Select all

C:\Users\[user]\AppData\Roaming\vlc
NOT:

Code: Select all

C:\Users\%username%\Application Data\vlc\vlcrc
Verified by moving the vlcrc file from one computer to the other, and the hotkey settings DID change :mrgreen:

Okay, so I opened the file with notepad and ctrl-f'd a bit, and found the key settings ARE in there in a human readable format (not EASILY, but...)

The hotkey settings seem to start at "Control interfaces" and... end right before "Simple DirectMedia Layer video output"?

Seems like an automated import/export system would be relatively easy to set up.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 21 guests