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


ADVERTISEMENT

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

General :: Changing Cursor Color In Gedit?

Dec 31, 2010

I am working with scientific linux 4 with specification Linux localhost.localdomain 2.6.9-67.EL.cernsmp #1 SMP Wed Nov 21 16:22:33 CET 2007 i686 i686 i386 GNU/Linux. How can I change my cursor color from black to green in gedit

View 5 Replies View Related

Red Hat :: Changing Cursor Color In Gedit In Gnome

Jan 4, 2011

I am using Scientific linux 4 cern with the following configuration: Linux localhost.localdomain 2.6.9-67.EL.cernsmp #1 SMP Wed Nov 21 16:22:33 CET 2007 i686 i686 i386 GNU/Linux I want to change the cursor color from black to green in gedit in GNOME. How can I do this? Chnging fomt color doesnot work.

View 1 Replies View Related

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

Ubuntu :: Add Word To Each Line In A Gedit Text File?

Dec 8, 2010

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

Ubuntu Installation :: Strange Line Of Text Appeared On Open Gedit Page On First Use After Upgrade From 10.04 T0 10.10

Jun 11, 2011

Strange line of text appeared on open gedit page on first use after upgrade from 10.04 t0 10.10. I was reading something and copypasting the odd bit onto a gedit note: left the room, returned to find blank page except for "nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn". Then I saw that it was just the tail-end of a longer line which had stretched the page width to max, and by deleting backwards I arrived beneath my intact notes. The line was "I[my bolding]nnnnnnnnnn...nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnby v9898". I googled v9898. And there's a v9898. com. It provides something for Windows systems.

View 1 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 :: Scroll Terminal Up/down Line By Line?

Aug 9, 2011

I am running Ubuntu 10.04 LTS. Scrolling the Terminal window up/down works fine using the SHIFT+PAGEUP / PAGEDOWN key combination.

Many times I feel like scrolling the window, line by line to investigate the output minutely. I am wondering if there is a keyboard shortcut to scroll the Terminal up/down line by line?

Moreover, I suddenly happened to discover that SHIFT+CTRL+UP Arrow /DOWN Arrow scrolls my terminal window up and down line by line. I am glad to see that working. But it does not work that way on another Linux system (CentOS), not even on console. So I am not sure if this is a real solution. Is this a configurable item on Linux Terminal to enable / disable this keyboard shortcut?

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

Ubuntu :: Changing Gnome From Command Line?

Aug 18, 2010

I would like to make all of the computers in our lab look/behave the same. I have messed around with some of gconftool-2 to change the desktop backgrounds, but I can't figure out the following:deleting the bottom paneladding the window list to the top paneladding the force-quite applet to the top panelremoving all menu items from the system/preferences menu but soundremoving all menu items from the system/administration menu but printing and system monitor

View 1 Replies View Related

Ubuntu :: Changing GDM Setup From Terminal?

Jun 28, 2009

I have been working on this script for my install for quite awhile and almost everything is done (installs, uninstalls, setting up wireless, etc...) but now I want to get to the....prettier stuff.

Two questions:

1. How do I add GDM themes to the list from terminal? Right now I go through the login window GUI but it'd be nice to add them without having to do it through that (so I can automate it )

2. How do I then change the setup to where I can have multiple that it chooses from and that it chooses from those I've added (again, I do this through the GUI but...you get the point)

View 2 Replies View Related

Ubuntu :: Changing The Color Of Terminal Cursor?

Feb 2, 2010

Is there a way to change the color of the blinking cursor without changing the color of the text?

Or, if this cannot be done in gnome-terminal, is it possible in another terminal (yakuake, etc) ?

View 4 Replies View Related

Fedora :: Changing Keyboardmap From Command Line

Aug 24, 2011

I am using Fedora12 on desktop. I tried to change keymap from systm->preferences->keyboard->layout. This changes my keymap successfully. I want to perform above activity using command line for my powerpc target. My powerpc target environment do not have KDE,GNOME or any x-windowing support. which command and which files to be overlooked for this?

I want to change keyboard layout not keymap from command line.

View 12 Replies View Related

Ubuntu :: Changing Text Alignment In Gnome-terminal?

Jul 26, 2010

Rather than having my text aligned to the left side of the window, I was wondering if there's a way to align it to the center?

View 8 Replies View Related

General :: Changing Screen Resolution From The Command Line?

Feb 2, 2010

I am having an install problem where the distro I am installing, installed at the wrong screen resolution. The display settings menu doesn't offer the correct resolution so I'm using half my screen real estate.

View 5 Replies View Related

Ubuntu :: Customizing Terminal - Changing Prompt (Maverick / Gnome)

Jun 9, 2011

To flesh out my *nix capability, I create new identities and give them the functionality that I liked in previous ones. I've added the "open terminal here" script, which I find invaluable. Now I want to change the prompt. This is what the terminal does right now:
ITo run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
elliot@dan:/media/KINGSTON$

- Where do I go to shorten the prompt dramatically? I can't really think of a situation where a shorter prompt isn't better or color matters.
- How do I adios the 2 sentences that want to appear every time I open this terminal? I'm aware what sudo does.
- Instead, I would like the equivalent of a pwd command. Where would I put that?
- How do I get the output of this terminal to be simultaneously saved in a file. I do so much copying and pasting out of these terminals that I'm looking for easier ways to do it.

View 2 Replies View Related

Ubuntu :: Settings Of Mint 7 Terminal, Changing Colors, Fonts?

Aug 14, 2010

I was playing around with the settings of my Mint 7 terminal, changing colors, fonts etc.After closing, I tried to open it again by clicking on the icon and it shutsdown as soon as it opens. I can't do anything since the preferences require me to have my terminal open in the first place.

View 6 Replies View Related

Fedora :: Changing To TTY/Terminal In 12 Freezes System?

Dec 5, 2009

Whenever I press Crtl + Alt + F2 or any F Key Everything just freezes instead of open a new TTY/Terminal ?

View 3 Replies View Related

Ubuntu :: Directly Booting Into Tty1 / Changing Server Via The Terminal And Restore Gdm?

Apr 12, 2011

I was experimenting with new splash screens in the plymouth manager when my ubuntu stopped loading into the gnome desktop. Ive tried to search for some solutions over the internet but i cant seem to find any. and to top it all of, the server from which i used to get updates from seems to have stopped running.i need help in changing my server via the terminal and to help restore my gdm.

View 1 Replies View Related

Debian :: Terminal Window - Changing The Screen Resolution?

Jun 13, 2010

I am not use X11 in linux. I use just terminal window. How can i change screen resolution?

View 5 Replies View Related







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