Ubuntu :: How To Close File Which Gedit Edit
Jun 8, 2010in 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 Repliesin 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 Repliesgetting 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 RelatedI need to switch the "lucid" parts in my ppa's to "maverick" in the format that gedit uses. I believe this will fix some of the software conflicts I am having.
View 7 Replies View RelatedI use a linux machine at work and a mac at home. I can ssh from my machine at home to my work machine. But the only editor that I have access to on the command line then is vi, which I don't like.
Is there a way to use gedit on my mac to edit files remotely over an ssh connection?
This page says that it can be done, but I think that it assumes that you are using gedit on ubuntu. On my mac (os 10.5.8) I don't have the "bookmark" option when I click "connect to server".
[URL]
We All know Gedit Autocomplete plugin (nagaozen / gedit-plugin-autocomplete 0.10.1). It has a cool feature where it reads words from a "Library". How to Edit that library?
View 2 Replies View RelatedI'm using Fedora 15 on my Dell Inspiron 17R (dual booting with Win7) I'm trying to edit the GRUB menu after an update, but when I try to gedit the menu.lst file, I'm getting an error.
(gedit:1884): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting. Terminated Is this an error I can resolve? Did I do something to break it
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 RelatedWhen I try and run gedit command through terminal to edit files it won't open them
Quote: (gedit:4113): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Similar to this question [URL] but I am asking for filezilla in linux. I am using ubuntu lucid 10.0.4. Currently my filezilla opens files using openoffice. I want to change to gedit for all the .log files etc. Some reason, my filezilla has no File Edit and other settings. This is the screenshot [URL].
View 1 Replies View RelatedIs there any gedit plugin, which expands folders of file browser side pane and shows currently editing file, while user switches between tabs?
View 1 Replies View RelatedI am trying to make wine work for explorer. I followed some instructions on this link [URL] To follow this link, I am supposed to
cd ~/ies4linux/ie6
cp user.reg ~/user.reg.old
gedit user.reg
1st and 2nd line went well 3rd line when I try to execute the command gedit user.reg (gedit:2573): Gtk-WARNING ** cannot open display I then /ies4linux/ie6# ls dosdevices(in blue) drive_c(in blue) system.reg(in white) userdef.reg(in green) user.reg
I set-up my Sudo it works but when I use Gedit I get the following message
Jean-Luc@localhost:~> sudo gedit /etc/fstab
(gedit:7137): Gtk-WARNING **: cannot open display:
samething with /etc/sudoers
If I use vi it's ok, I can modify and save. In Fedora it run ok, but with opensuse?
When scrolling down in nano with keyboard (holding "down" key), nano scrolls several lines at once each time. Is there any possibility to configure it so it will scroll one line each time like gedit does when scrolling in gedit?
View 3 Replies View RelatedI created the document in gedit and save button is disabled. It says "Changes to document 'Unsaved Document 1' will be permanently lost. saving has been disabled by system administrator"
View 9 Replies View RelatedOk, so I'm trying to do this: [URL]
The problem is, when I get to the part where I have to open the file in gedit, it says it can't open it, file not found, or something or other..So, when I manually browse to the directory '.local/share/..' there is no folder named 'applications,' only a text file. When I open it, it appears to be the home launcher file, but its in the wrong place and has the wrong name. What's going on? Shouldn't there be a folder there with my applications in it?
i want to save my file as gbk encoding with gedit,gedit can't do it, see the attachment
View 1 Replies View RelatedI typed in a text file (Feb.txt) at work using the basic Microsoft Notepad text editor and emailed it home. When I tried to open it from the email using the default gedit I got an error message - Could not open the file /tmp/Feb.txt gedit has not been able to detect the character encoding. check that you are not trying to open a binary file. Select a character encoding from the menu and try again.The character encoding is set to 'automatically detected'.
How come it can't detect the encoding? I had to manually set the encoding to Western(ISO 8599-15) to load it. I can't remember this happening in the past, and it was OK loading one I sent earlier (Jan.txt) which presumably had the same encoding, as it was written in the same way.
I've noticed that for files longer than about 8000 lines that gedit has problems opening the file. Was gedit not designed for long files or is there another problem? The same thing also happens on complicated html files. So I hope there is a way to fix this.
View 4 Replies View RelatedI mounted a remote directory using sshfs and I can't save files using gedit, while saving same file using vi works. Changin permission to o-r (640) allows gedit to save files OK. Is there a way to change sshfs connection to make gedit work without chmodding every file? (I use -o uid=`id -u` -o gid=`id -g`, so that remote files seem to be owned by me)
Code:
$ touch test.txt
[!] test.txt appears
$ vi test.txt
[!] :wq -> saves just FINE
[Code]...
I connect with ssh to an Ubuntu server to edit some files in /var/www witch I have set the setgid bit:
# sudo chgrp -R www-data /var/www
# sudo chmod -R 770 /var/www
# sudo chmod -R g+s /var/www
I have added the user "user" to www-data group. Now I connect using ssh as user "user" to my server with nautilus. When I copy files using nautilus file get the group permission 'www-data' as they should. But if I edit a file using Gedit and save it, the file's group get changed to "user" group ?
Using the latest version of Ubuntu desktop on an emachine t5062 if it matters. I have a text file of keywords that is one-three words line after line for like 5000 lines. How would I go about adding a word to each line.Aside from typing it in or copying and pasting.If it can`t be done with Gedit I am all for using another program.
View 8 Replies View RelatedIf i type gedit while as root it give this warningQuote:(gedit:5655): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supportedGConf 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 http://projects.gnome.org/gconf/ for information. (Details - 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.)And over the time, the paragraph block from GConf Error.... to ...was broken is repeated again and again
View 2 Replies View RelatedIs there anyway to force gedit to be aware of changes made to file permissions? The thing is, sometimes I open a readonly file and I just go back to the terminal and set write permissions on that file, but I have to close and open the file again so that gedit saves it. Is there anyway we can make gedit aware of changes to file permissions?
View 2 Replies View RelatedI have text files (.txt) to open with gedit but every time I try to open a text file it says:
Code:
Do you want to run "Installed programs", or display its contents?
And if I press Display it will open. How do I make it open automatically?
I am using GEDIT and I would like to have a shortcut key that allows me to tell GEDIT (on Ubuntu) to force reloading from file system the currently opened file.
How can I do that?
How do I get rid of this new tab when I open gedit with some file? Because that tab has "*" in it which means I need to reject save-confirmation every time I exit gedit.
View 1 Replies View RelatedWhen 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 RelatedI have a new install of Karmic (not an upgrade) on my home network. All the other machines are XP sp2 or sp3. I have the following line in /etc/fstab:
Code:
//desktop/ddrive /home/dram/aDesktop-D cifs credentials=/etc/credentials.dt,nobrl,uid=1001,gid=1001 0 0
[code]....
I can do it with mousepad. Below is what I get when trying to open with gedit
[Code]...
I know GEdit has a bug which prevents it from opening a file with null () characters in it. This is a huge inconvenience for me because I frequently have to open big log files with only a couple rogue 's in them.
Sometimes I just run a quick tr -d '' < file.log > file.log.correct and open the correct file. This is a big nuisance. I would like to have maybe an external tool in GEdit that would execute the above command. I tried writing an external tool action (GEdit plugin) using just:
#!/bin/bash
tr -d ''
Input is "current document", output action is "replace current document". But this isn't working. When I open the file, GEdit shows the familiar red warning; activating the external tool with the warning showing apparently has no effect (I think the script is being called but its input/output are not set).