PDA

View Full Version : [ubuntu] how to register .reg files?



ayastona
April 18th, 2009, 06:48 PM
in windows i just double click the .reg file and it automatically does what it has to do..

how do i accomplish the same thing in linux? im using wine to open the program..

supersonicdarky
April 18th, 2009, 06:51 PM
run wine regedit, then import the key there

ayastona
April 18th, 2009, 06:55 PM
i tried that it doesnt work

linuxuser21
April 18th, 2009, 06:55 PM
You can also right-click it > Open With Other Program > Wine Windows Loader.

ayastona
April 18th, 2009, 07:06 PM
it didnt work..

alfplayer
April 18th, 2009, 08:42 PM
Have you seen this: http://ubuntuforums.org/showthread.php?t=885182

ayastona
April 18th, 2009, 08:47 PM
that didn't work either, apparently...

hesjnet
April 18th, 2009, 09:07 PM
How familiar are you with the terminal? It needs to be in the same directory as the file or else you have to spell the entire path


wine regedit /home/YOURUSERNAME/Desktop/registerfile.reg

Remember that it is case sEnSiTivE. :popcorn:

doas777
April 18th, 2009, 09:13 PM
do you have execute permission on the file? not sure if you need it or not

ayastona
April 18th, 2009, 09:40 PM
im pretty familiar with terminal/console.. i was in the correct directory.. if there was an error i would have let you known that...
i know its case sensitive...

also, no permissions necessary.. its already taken care of..

when i run any of the suggested remedies given above.. it seems like there is no error and that it "did wat it was supposed to" but the affect hasn't taken place...

i even tried reinstalling the program in question into its default folder (i was using my own specified folder before so i uninstalled that first and then reinstalled into default directory)

Bölvağur
April 18th, 2009, 09:41 PM
this is all probably very silly but you can just do it this way.
type into the terminal


nautilus ~/.wine/dosdevices/c:/windows

and double click regedit.exe

the reason I will not make the terminal command open regedit is for you to understand where important programs are stored ;) have a look around there.

After you have opened the program click Registry and then Import registry file

linuxuser21
April 19th, 2009, 05:21 AM
If none of these work, there might be something wrong with it. What is happening that is makes you believe it's not working properly?

anjilslaire
April 19th, 2009, 05:52 AM
If all else fails, .reg files are simply text files fill the registry keys affected inside.
Open the .reg with notepad or gedit, and manually add the relevant registry keys/values to the registry via regedit.