Ubuntu :: Copy O/p Of Terminal To Gedit?

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


ADVERTISEMENT

General :: Formatting Gets Changed When Trying To Copy Text From Gedit To Vim?

Mar 7, 2011

I want to copy/paste some text to vim from gedit. The original text looks like this:

I start vim, press "i", then right click, paste, and get this:

How could i set vim to not to do this? How can I copy/paste my text so that I don't need to delete those unnecessary tabs?

View 2 Replies View Related

Ubuntu Networking :: Copy Files From XP Infact Folders Using TERMINAL In Netbook, Not Copy And Paste Using Mouse?

Jul 9, 2010

just installed ubuntu couple of days back on my netbook. I am still a beginner, enjoying my adventure exploring ubuntu. I have another desktop which runs on XP. I am able to access XP shared folders through my netbook(linux). However, i wanted to copy files from XP infact folders using TERMINAL in my netbook, not copy and paste using my mouse. Are there any commands for it?

View 1 Replies View Related

Ubuntu :: Changing A Line In Gedit Using Terminal?

Jun 28, 2010

I have a .sh file that I need to change one line every time I execute it. Right now I keep having to open up the file and change the line to use it.How can I create a .sh file that creates a random name whenever it's executed.Here is the line:Code:cattach /home/user/.tag mockI need to change the word "mock" every time I execute the .sh file. How could I do that?en on the other .sh that I have, this word "mock" also needs to be changed, but it needs to mirror the random name given in the first .sh file.

View 9 Replies View Related

Ubuntu :: Gedit Command In Terminal Not Working

May 1, 2011

I am trying to use the gedit command to edit my smb.conf file. It was originally working and all of a sudden it has stopped working. I have typed.. 'gedit /etc/samba/smb.conf' but it is a no go. I used the chmod command to set permissions as.. 'chmod 744 smb.conf' However I am still unable to get the file to open. If I do the 'more smb.conf' command I am able to read the contents of the file, however I am unable to edit them.

View 9 Replies View Related

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 View Related

Ubuntu :: Got Possible Nautilus Error When Opening Gedit From Terminal / Sort It?

Apr 25, 2010

I received this odd error when opening gedit from the terminal . gedit opened, but this error worries me code...

After changing the hostname, you need to reboot your machine. That fixed it

View 3 Replies View Related

Debian :: Gedit: Colours Of Embedded Terminal?

Aug 23, 2010

I searched the menu-bar of gedit, i searched the web, i searched the help of gedit.(try a search on "change background to black for gedit" and similar and you know what i have gone through).If i use the embedded terminal in gedit (the only reason i use gedit at all) its background color is set to white.I barely can read it and it is useless.This is not a gnome-installation. Perhaps i miss a package needed ?

View 4 Replies View Related

Debian :: Gedit - Gnome Terminal Missing Theme?

Sep 2, 2011

This seems to be a gnome theme probs (even thought the panel and other stuff (QT etc...) is being themed. Does anyone have any idea as to how to fix this? [URL] edit the notification has the same prob...

View 1 Replies View Related

Fedora :: Different Behaviour When Invoking Gedit From Root Terminal

Nov 27, 2009

Every time I invoke gedit from the root terminal I get:-

[AnOther@FSLServer ~]$ su
Password:
[root@FSLServer AnOther]# gedit

(gedit:6447): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

followed by 33 occurrences of:-

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]. (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.)gedit opens fine but it seems really odd. My exposure to linux is not vast but this has never happened before Fedora12 It doesn't happen if I just use the terminal as an ordinary user.It also has nothing to do with the Bad & Ugly Gstreamer plugins as this happened from the moment the system was installed from the DVD and before the plugins were loaded even after removing them and rebooting I still get the ream of GConf errors if I start Gedit after su,

View 4 Replies View Related

Fedora :: Error Open Files With Gedit From Terminal

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

Fedora :: Can't Run GEdit And Other Tools From A Terminal By Logging In As Root?

Jul 20, 2011

Everyone is wondering why we can't run gEdit and other tools from a terminal by logging in as root(e.g"su-"), I understand that by making changes they are trying to force us as users of Linux to learn better habits that are more secure, but the issues are driving people nuts!

I for one really like being able to log as root and open gEdit to make drive changes without having to login as root, I would normally still have access to all my things like email etc. So changing Linux to force everyone to not use tools like gEdit as root is becoming more of an inconvenience than they realize, there must be a safe way to do this!

View 12 Replies View Related

Fedora :: Won't Open When Run Gedit Command Through Terminal To Edit Files

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

Ubuntu :: Installing Explorer - Command Gedit User.reg (gedit:2573): Gtk-WARNING ** Cannot Open Display

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

OpenSUSE :: Gedit With Sudo - (gedit:7137): Gtk-WARNING : Cannot Open Display

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

Software :: Scroll One Line Each Time Like Gedit Does When Scrolling In Gedit?

Oct 29, 2010

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 Related

Ubuntu :: Can't Copy Or Paste In Terminal ?

Jul 14, 2010

I'm running Lucid, and whenever I run a program in gnome-terminal that captures the mouse (dvtm, elinks, mc) I cannot highlight any text, which prevents me from copying any text from the terminal.

View 2 Replies View Related

Ubuntu :: Copy Text From Web In Terminal?

Aug 26, 2010

I'm attempting to write a bash script to retrieve information from a websitemy problem is I can't seem to figure out how to simply copy the text from the website (I have tried multiple text-only browsers but they all seem to require some input to be able to do this where I'm looking for it to be done silentlyThe purpose of this is I have created a google doc that is a bash script itself and I want the one I'm writing to download this bash script and execute it (the original will be hard coded on a cd and I'm doing it this way for easy updating) only thing is when I use wget it downloads the html file with the script embedded in it and not the script itself

View 3 Replies View Related

Ubuntu :: Script For Copy To Terminal?

Jan 25, 2011

I found this great script that let me add a open as admin option to my right clickso I was wondering if anyone knows of or can whip up a script that would let me highlight text for example on a web page right click and have an option to open and terminal and paste the text with one click.Instead of highlighting text right clicking selecting copy, then opening terminal and pasting manually. just an idea I had for a time saver but what I have tried didnt work right

View 3 Replies View Related

Ubuntu :: Copy Pasting From Terminal?

May 29, 2011

I installed the LAMP packages and got them up and running.

Now I want to use a cms: modx and I need to copy paste the cms files in the root folder. But I am not able to paste anything in the root folder. I figured out that apache directories are readonly for a general user. So how do I paste that as a super user? I know about the sudo command but that works only in the terminal. Is there a command to copy paste the whole directory from the terminal?

View 1 Replies View Related

Ubuntu :: Copy .jpg To Desktop Folder In Terminal?

Jan 27, 2010

I have been sitting here practising linux commands and I cannot seem to copy a picture from home/pictures to the desktop, specifically a folder I created on the desktop "test"

View 4 Replies View Related

Ubuntu :: Bulk Find & Copy In Terminal?

Mar 29, 2010

I have found KRename to be very useful for bulk find and renames; however, I'd like to do a find a copy, which KRename doesn't appear to do.

For example, I'd like to (case insensitively) search all subdirectories for files called "cover.jpg", "cover.gif", or "cover.png" and create a copy of these called "thumb.xxx", in the same subdirectory the original is found, with the same extension as the original.

View 4 Replies View Related

Ubuntu :: Move / Copy Files From Terminal?

Sep 11, 2010

im using ubuntu 10.04 sometimes i find more useful to use the terminal to copy or move folders or files to other directories (more important when they need admin permission)

today i tried to copy ALL files from a directory to another. and i realized that i dont know. i know that that "~ mv /ThisThing/ /ThisFolder/" "~ cp /ThisThing/ /ThisFolder/" but howould i be able to copy EVERYTHING from a folder into another. tis is diferent from copying the folder itself (which i also would like to know)i bet is a simple thing that i havent figured out!

View 5 Replies View Related

Ubuntu :: Copy A File To A Flash Drive From Terminal?

Jun 2, 2011

how can I either copy a file (say, ~/file.txt) directly to the flash drive? I know that I can use the command

Code:
sudo cp ~/file.txt ???
to copy it, but what goes in the question marks?

View 1 Replies View Related

General :: Copy DB From Server Using Terminal?

Jul 2, 2010

i have been created DB at server..i'm using XAMPP..how to copy the database from server PC using terminal..

View 1 Replies View Related

Programming :: Copy At Terminal With Progress Bar

Mar 9, 2009

After searching I cant find script that can deal with directories. All the found scripts work file to file and not directory to directory. Someone know script that can deal with all this situation?

View 8 Replies View Related

Ubuntu :: Terminal Server Client - Copy Window To Clipboard?

Feb 24, 2010

In windows using remote desktop connection you can press Ctrl+Alt+minus to copy the current window on the remote desktop to the clipboard. How do you do that in Ubuntu's terminal server client? I have not found any key combination that works

View 2 Replies View Related

Ubuntu :: Copy A Line By Number In Text Files On Terminal?

Apr 10, 2010

I got a text file. Now I want to write a line by its number in a bash variable. That is all.

View 1 Replies View Related

General :: Short Cut To Copy From Terminal Output?

Dec 10, 2010

if we type a command such as "locate somefilename" in the terminal we will get all the paths to the file name as output. If i want to copy only one line from that output how do i do that without using mouse?i need terminal short cut to copy one line

View 8 Replies View Related

General :: Copy And Paste Text Among Documents In Terminal

Mar 28, 2010

What is the best way to copy and paste some text among text documents in Linux terminal environment? Suppose I have 2 documents, A and B, and I want to copy some part of A to B. What is the way to achieve this?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved