Ubuntu :: Can't Edit A File
May 7, 2010
I am trying to edit a C++ source file, but gedit wont allow me to save changes to it. Gedit says:
Code:
A file with the same name already exists. Please use a different name.
Right. Of course the file exists, I am trying to edit an existing file.
About the same happens with kate... Kate opens the file in read-only mode.
However, if I edit the same file with nano, editing and saving works. So the problem shouldn't be with access rights. Also "ls" shows rw rights to the file.
What could be the problem? I can use nano, but I would need the syntax highlightind, and other features of a better editor.
And whether I use sudo or not has no effect. The same happens with or without sudo, and I am the owner of the file.
PS. luckily I am still dual booting with Hardy. I can always go back.
Oh and this is a new installation of ubuntu 10.04
View 2 Replies
ADVERTISEMENT
Mar 3, 2011
I have a linux.img image for ubuntu.I want to edit file inside it, how can open it, edit a file, then remake the bin file?
View 7 Replies
View Related
Aug 24, 2010
When i open any .pps file with OO.org (impress), it starts a slideshow and it doesn't let me edit the file. If i click on "end slideshow", the program exits.i ran it in a terminal and there's no error messages.[EDITED]Well, i found the answer, just renaming it to ".ppt".
View 2 Replies
View Related
Jan 4, 2011
i want to find a command line way to edit a text file to delete all commas in the file. i do not want to replace them w/ anything.
View 2 Replies
View Related
Jul 8, 2010
What linux software is available that allows you to edit a PDF file?
View 8 Replies
View Related
Jun 22, 2010
I need a way to edit a pdf as ether a .odt or .doc file and I read that I should be able to do that using Kword so i installed kword. However, when I try to open or import a .pdf there not listed at all. When I looked in the file format filter drop down menu I don't see PDF. I look in synaptic for any additional packages I might need and I didn't find anything that helped. I also did find and useful documentation on the koffice website.
View 1 Replies
View Related
Jul 5, 2010
i log in and went to the policy folder to erase the file prefernces.fdi and it would not let me delete this file /move it to the trash or even edit it it said something like you are not the owner ,so i could not change the permissions to overwrite this file.what should i do i just want to be able to change this file to true so it will see my internal sc dar reader right now when i put in a sd card it does not show up.i also tried changing this in the terminal there was a post on one blog that showed how ,but i was having trouble edit the xml file in the terminal so for me it would be easier to just overwrite the prefernces.fdi file since im a beginner.
View 3 Replies
View Related
Aug 22, 2010
i have to edit grub etc/default file but when i open it, it is a read only file (i have to put "i915.modeset=1" in it ) i think i need to do it through the terminal
View 4 Replies
View Related
Oct 4, 2010
Since I updated my 10.04 LTS program from 2.6.32-24 to 2.6.32-25, both of these show up at the dual boot start up menu. Back when I had 8.04 LTS, I was able to edit my menu.lst file to delete past versions. How do I remove past versions from the grub.cfg file at present?
View 9 Replies
View Related
Feb 20, 2011
I hate ubuntu because EVERYTHING i need a permission. How can i edit an stupid file? Said i have no permission. **** IM THE ADMINISTRATOR, HOW CAN I HAVE TOTAL CONTROL ON MY COMPUTER -.-' ?
View 9 Replies
View Related
May 16, 2011
I want to create a group called scripts, add www-data to that group. I then want to edit the sudoers file and tell it that the script group doesn't need a password. Where should I put this line excatly in the sudoers file?
View 2 Replies
View Related
Jan 18, 2010
if I can create a bash script that once executer will edit or replace a line a in a file this line is the first one and its just one character that needs to be changed from a 1 to a 0.
How do I go about this? it is for a game called EVE Online, heres what my .sh look like atm
#!/bin/sh
echo fixing prefs.ini
#fix for prefs goes here
echo starting eve
eve
View 4 Replies
View Related
Mar 24, 2010
ive been looking for a program to edit a .dat file for my r4 card thats used on my nintendo ds does anyone know anythign that
View 1 Replies
View Related
Apr 18, 2010
I want to edit it so I can do this: [URL]
View 2 Replies
View Related
May 31, 2010
I am trying to edit limits.conf, changed file permissions:
sudo chmod limits.conf -rwxrwxrwx
But got this message:
"Could not save the file /etc/security/limits.conf. You are trying to save the file on a read-only disk. Please check that you typed the location correctly and try again."
I followed these instructions:
"copy - paste this code into terminal
gedit $HOME/.gnome2/nautilus-scripts/Open as root
copy-paste this text into that file and push 'save'
for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
gnome-sudo "gnome-open $uri" &
done
now copy-paste this code into terminal
chmod +x $HOME/.gnome2/nautilus-scripts/Open as root
Now you can right click on the file you want to edit, select 'scripts' and say 'open as root' to let you modify it". [URL] the right click worked but the file didn't open.
View 9 Replies
View Related
Jun 8, 2010
in shell ,i can usegedit /home/test.txtto open my file /home/test.txti want to know ,in shell how to use command to close the file which gedit edit?
View 2 Replies
View Related
Oct 3, 2010
Everything was running fine, then I installed ardour (doesn't work, but that not what I am here for), I rebooted and now everything is in low res, and looks horrible, I tried uninstalled and re-installing the driver and that did nothing. When I go into the control panel for the video card I get:
You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.
View 7 Replies
View Related
Oct 4, 2010
I installed apache and when i go to my 127.0.1.1 ip i see the welcome page. I found the directory where the html is located (var/www/index.html but i cannot edit the file. what is going on here? why cant i edit the HTML file?
View 1 Replies
View Related
Oct 22, 2010
I've been using 10.04 for a few months without any problems, but today, I tried to boot into Ubuntu and just got a black screen. I tried the tutorial on this site, and it worked.
I have to do this after every reboot unless I edit the /etc/default/grub file (the second part of the tutorial). I'm not sure how to go about doing this since the article is very vague.
View 3 Replies
View Related
Apr 1, 2011
I have a few music videos in mkv format that are edited. I'm trying to replace the words that have been edited out, but having trouble aligning the audio and saving a finished product. In Windoze I would use Goldwave and/or Multiquence for any simple editing needs. I tried using Multiquence via wine, but it needs DirectX and winetricks isn't enough to alleviate the problem.
I figured there must be some similar apps available for ubuntu and there definitely are, however they're not for simple editing like I'm attempting and more for the advanced user looking to do multi-track creating and editing. I've tried to find online tutorials and help via searching but am just getting a headache.
View 3 Replies
View Related
Jun 13, 2011
I want to customize my ubuntu 11.04 desktop. How can i edit the desktop configuration file?
View 2 Replies
View Related
Oct 9, 2009
i want to edit the file menu.lst in /boot/grub i m facing a problem of not to enter in to the graphical interphase, so i m using only the boot terminal whn i try to edit this file it says the file is read only. i tried to change the permission of file with chmod also
but it is also not working i tried the comand gksu gedit /boot/grub/menu.lst but it is not opening the file to edit since the graphical interphase is not there.
View 5 Replies
View Related
May 13, 2010
I need to edit my xorg.conf file. I can navigate to it in Terminal but do not know how to open it. If I navigate to it outside of terminal I can change it but cannot save the changes (not allowed) I can't seem to find a "how to" for this. (Debian 504 on a Toshiba laptop)
View 3 Replies
View Related
Sep 4, 2010
I need to change one word in over a thousand pages of HTML. I think sed is the only way to do this, but I've never used sed before.
After reading the documentation, I see that it is pretty easy to alter files to standard output, in other words, the screen.
But I don't want to do just alter text to the screen, I want to alter the original file, else I am not doing any Stream EDiting as near as I can tell.
None of the documentation explains how to take a file, apply sed to alter that file. How do you do this?
Code:
[myuser@myhost dir]#sed s/changethis/tothis/ /mydir/myfile
How do I apply sed to actually make the changes to myfile?
View 3 Replies
View Related
Nov 3, 2009
I have installed Centos on my pc. Then I installed Emacs for text editing. when I brows on www folder and try to open a php file it opens but I don't have permission to edit the filehow can I open a file with Emacs with edit permission?
View 2 Replies
View Related
May 9, 2010
getting this error when I try to use gedit to open and edit a file through terminal: (gedit:4423): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply:Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See [URL]... 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.) GConf Error: Failed I'm using ubuntu 10.04.
View 5 Replies
View Related
Jul 28, 2010
Trying to get this server to work and abandoned trying to do it with Xubuntu last night and installed Ubuntu server. But now I'm stuck on Samba again as I decided to use the vi editor to edit the smb.conf file and now I can't get out of it.
View 4 Replies
View Related
Oct 21, 2010
I just modified the grub file in 10.10 in order to see what the text line boot is like. Well now I want to go back, but when I try to gedit /etc/default/grub it gives an error that he couldn't display. How can I edit the file to go back to gnome??? I am on macbookpro 6.2 tripleboot Mac OS 10.6, Win7 and Ubuntu 10.10.
View 3 Replies
View Related
Feb 12, 2011
I am trying to edit my /etc/resolv.conf file while under root. After saving the changes and reboot my computer, file has not changed. I read a thread on chattr and lsattr on this fourm.(see link below) I ran in terminal lsattr /etc/resolv.conf and got the following results:-----------------e- /etc/resolv.confWhat does the dashes and e mean? I thought I would get ----ia------------ /etc/resolv.conf instead, as shown in the link. What am I doing wrong?
View 4 Replies
View Related
Jul 3, 2011
I installed digikam 1.4.0 I guess it's the last version on ubuntu 10.10. I can browse my photos but I cannot edit for example I have a jpg file, click edit all the menu like disabled, gray for example menu color, color balance is gray like curve /black and white and all the menu.
View 2 Replies
View Related