I have installed dmg2img-1.6.2 on my Virtual Computer. when I say installed I mean I can see the folder dmg2img-1.6.2 and contents in my home directory. I am using linux 12.04. I have been trying for a week now to convert a dmg file to img using terminal. The response to "dmg2img lightroom_5_LS11.dmg" is syntax error. Other commands usually respond as " cannot open input file lightroom _5_LS11.dmg. Any help would be appreciated. Not sure which set of commands to use. Just been using trial and error method, none of which has worked.
Ubuntu – How to convert a dmg file to img in ubuntu
12.04
Related Solutions
To get your synclient settings to stick you can add them to xorg.conf. I did this recently for my macbook pro in 12.10 and it works pretty well.
You can also specify a separate configuration file in /etc/X11/xorg.conf.d/ file to keep things neater. Here's a step by step:
Create /etc/X11/xorg.conf.d (if it doesn't already exist)
sudo mkdir /etc/X11/xorg.conf.d
Create and edit /etc/X11/xorg.conf.d/10-synaptics.conf
gksudo gedit /etc/X11/xorg.conf.d/10-synaptics.conf
Make it look like the following:
#Sample /etc/X11/xorg.conf.d/10-synaptics.conf Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchDevicePath "/dev/input/event*" MatchIsTouchpad "true" Option "SHMConfig" "true" Option "TapButton1" "1" Option "TapButton2" "2" Option "TapButton3" "3" EndSection
Save and logout/login again. If the xserver fails to load and you get forced into low graphics mode then edit the file again and comment everything out, or
mv /etc/X11/xorg.conf.d/10-synaptics.conf ~/10-synaptics.conf.backup
and reload again to get back to normal.
For posterity, my current setup for my macbook pro 2012 13" is as follows (warning, I like my touchpad rather sensitive). Try any of these options using synclient before putting them into xorg.conf!
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
MatchProduct "bcm5974"
MatchIsTouchpad "true"
Option "SHMConfig" "true"
Option "FastTaps" "1"
Option "MaxDoubleTapTime" "100"
Option "BottomEdge" "6000"
Option "FingerLow" "60"
Option "FingerHigh" "90"
Option "ClickFinger3" "2"
# Option "FingerLow" "30"
# Option "FingerHigh" "80"
Option "VertTwoFingerScroll" "1"
Option "HorizTwoFingerScroll" "1"
Option "VertScrollDelta" "100"
Option "HorizScrollDelta" "100"
Option "MultiFingerButton" "2"
#Option "TapButton1" "1"
Option "TapButton2" "3"
Option "TapButton3" "2"
Option "MinSpeed" "1"
Option "MaxSpeed" "2"
Option "AccelFactor" "0.01"
# Option "AreaBottomEdge" "5000"
EndSection
This was anti-climatic…
I was able to fix it by changing one line in my sudoers file.
I altered this line
Defaults env_reset
and I changed it to
Defaults !env_reset
This was because I noticed that sudo -E was working. So I did some research and found out a way to prevent sudo from wiping out your environmental variables. So far that seems to have fixed it. What I need to do is figure out which environmental variable needs to be kept and I'll add it in with env_keep+=
That you all for your help and support, I'll keep updating this. I'm not sure if someone had suggested sudo -E before let me know, and I'll award the bounty to that person.
ed1
So I might be creating security issues with the !env_reset. I'll keep updating.
Best Answer
You can use DMG2IMG.
To install, Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:
To use, just do
dmg2img -i <input.dmg> -o <output.img>
See manpage