Ubuntu :: Use Gedit To Open And Edit A File Through Terminal?
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
ADVERTISEMENT
May 31, 2011
When 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.
View 6 Replies
View Related
Jun 10, 2011
How to open a file using command line in terminal and edit the code within it ?code...
View 6 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
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
Dec 4, 2010
I get error when trying to open files with gedit from terminal, here the esteps:
Code:
1. Open Terminal
2. Show: [tgp@nobocanuser ~]$
3. type: su
4. password: ******
5. Show: [root@nobocanuser tgp]#
6. Type: gedit /etc/X11/xorg.conf (or another file to edit)
7. Show: (gedit:2687): EggSMClient-WARNING **: Failed to connect to the session
manager: None of the authentication protocols specified are supported
[Code]...
View 2 Replies
View Related
Jun 4, 2011
Ok, 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?
View 6 Replies
View Related
Jan 12, 2010
I 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
View 3 Replies
View Related
Jun 18, 2011
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 Related
Feb 8, 2010
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?
View 9 Replies
View Related
Jun 6, 2011
I can do it with mousepad. Below is what I get when trying to open with gedit
[Code]...
View 3 Replies
View Related
Feb 15, 2011
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).
View 1 Replies
View Related
Oct 8, 2010
What is it gedit uses additional that causes so many problems in root account? When run Code: # gedit /some/file it either doesn't open file at all or opens it with lots of errors...
View 3 Replies
View Related
Apr 28, 2010
openSUSE 11.2 Simple Chinese is supported as second language. the primary language is English. But I can't open Chinese file using gedit. it only support English? how can I solve this issue? the Chinese file is GB18030 encoding.
View 5 Replies
View Related
Apr 19, 2011
If a file is opened from the common prompt with something like:
gedit somefile &
Is there a way to close somefile while leaving the instance of gedit still open? My idea is that sometimes I will have more than one file open in gedit. I run a script daily that updates to a log file. The log file is then opened and viewed with gedit.
View 5 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
May 4, 2011
I want to know how to edit a simple text file of 5 pages without open it on cui or gui. i want to replace some of its content like name and value with other for further use.
View 1 Replies
View Related
Mar 20, 2011
I 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 Related
May 14, 2011
whether it is possible to split open a file and edit only one of the open windows.
View 2 Replies
View Related
Feb 4, 2011
I 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]
View 3 Replies
View Related
Oct 27, 2010
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 Related
Nov 13, 2010
Recently I migrated from Ubuntu to Debian, first thing i wanted to do was to give myself sudo permissions and lock the roir account. By default sudo group don't have permissions to do this on debian, so i wanted to edit sudoers file by typing visudo. But i keep getting this
error: Error opening terminal: vanilla How can i solve this.
View 1 Replies
View Related
Aug 8, 2011
I'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
View 1 Replies
View Related
Jul 4, 2010
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 Related
Jan 25, 2010
How can I edit the system proxy setting using the terminal? Which file contains this settings? I want to edit this automatically using cronjobs, cause from 8-5 I need to use a proxy, but at home I don't need the proxy. How do I fix this?
View 3 Replies
View Related
Sep 16, 2010
In Gnome, How do I open a file browser in the current directory? I assume its [command] . Whats the command?
View 3 Replies
View Related
Mar 6, 2011
For some reason bash is acting really really weird. When I use my gui terminal, and I tryto use tab completion, it freezes up the terminal, and I can't edit the line at all unless I do a ctrl+c.and when I try to do tab completion in text only mode it prints out : "Error: Can't open display: (null)"again and again and again, and I have to do a ctrl+c, also in text only mode it will randomly log me out. I have tried checking for blown caps, but there weren't any, and all the other programs work fine except for the command line. I am using bash version: 4.1.5(1)-releaseand gnome-terminal version: 2.30.2
View 5 Replies
View Related
Jun 24, 2011
I wish to copy o/p of lsusb command to gedit.But I am getting following error>
root@jay-laptop:/home/jay/proj# lsusb -v |
gedit No protocol specified
(gedit:4310): Gtk-WARNING **: cannot open display: :0.0
root@jay-laptop:/home/jay/proj# lsusb -v | gedit hi
No protocol specified
View 9 Replies
View Related
Jul 8, 2010
How to open a file or application in terminal?
View 4 Replies
View Related
Mar 5, 2011
Usually in Gnome, under Ubuntu, the terminal command I use is:
Code:
gnome-open (path)
In most cases, I won't know the path and I'd rather not search for it with:
Code:
locate (file name)
View 1 Replies
View Related