PDA

View Full Version : [ubuntu] Editing file from ubuntu in another o/s



phil66
December 8th, 2012, 11:15 PM
Ubuntu-10.04

I have Ubuntu-10.04 on sda1 and Mageia2 on sdb5

After mounting Mageia from Ubuntu I want to edit a file that is in the /opt folder

When doing this the file from Ubuntu /opt opens not the one in Mageia

Both files in Ubuntu and Mageia are in the /opt folder

How can I open the one in mageia ??

audiomick
December 8th, 2012, 11:22 PM
Tell us how you are trying to open the file. That may well have a bearing on the problem.

phil66
December 8th, 2012, 11:44 PM
Audiomick

Thanks for the reply

In Ubuntu I click on places > and mount Mageia it shows on desktop as mounted

In Mageia I click on /opt/Moneydance/Moneydance

It then opens the Ubuntu Moneydance file instead of the Mageia file

audiomick
December 8th, 2012, 11:54 PM
Hmmm, that sounds quite odd.

The first thing I would do is open gedit and try open the file from there instead of clicking on it.

The folder /opt belongs to root, so you will need root privileges to change anything in there. I think you will need to start gedit with

gksudo gedit
from a terminal and then choose "open" from the file menu and navigate to the location of the file you want to edit.

phil66
December 9th, 2012, 08:16 PM
Micheal

Using gedit and navigating to the application still opens the Ubuntu one

A suggestion in the irc channel said to use /media/mountpoint /mnt

How would I use that command

Thanks
Ray

audiomick
December 10th, 2012, 01:58 AM
Sorry, can't help you with that.