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.
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.
I have two txt files containing x and y coordinates: xcoord.txt & ycoord.txt. I need to open them; read them line by line to get each coordinate; then each time I need to update Xs and Ys parameters inside another file called "dc.in" with the grabbed values.
Finally each time I need to run two exe files ( dc_2002 and st_vac) and produce corresponding output for each Xs and Ys ( dc.in is an input file for this exe files)
I have written the following code but it does not work:
I have installed the astercc box it is running by centos 5.2 and i want to add some text to the " login page " i dont know how its called but when i start the pc when everything is been loaded it ask for the user and password And in top of it i want add tekst there,
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?
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
I upgraded a linux box from Koala to Lucid, and everything seems ok except at boot I occasionally get an error mounting some partitions. Here is the boot.log:
Code: fsck from util-linux-ng 2.17.2 /dev/sdb1: clean, 316325/17965056 files, 5723474/71844680 blocks udevd[402]: can not read '/etc/udev/rules.d/z80_user.rules' mount: /dev/sdb1 already mounted or /backup busy mount: according to mtab, /dev/sdb1 is mounted on /
I just upgraded my 9.10 on my laptop to 10.04. I seems to have gone well except for one annoying problem. when I boot up I get a large X for the mouse pointer instead of the normal arrow. When I start an application it will not go to full screen and there are no close/minimise/maximise options. Nor can I get to the top or bottom menu bars.
I can cure this on a temporary basis by right-clicking on the desktop and changing the visual effects from none to normal. The problem is that it does not stick. Each time I boot up I have to make this change.
I recently upgraded my Ubuntu from 9.10 to 10.04 and now it's messed up my Windows Vista partition. When I try to load Windows it boots to a strange login menu with low resolution. It then takes me to a screen with options like Repair/Fix, Recovery, Complete Recovery... I'll click Repair and and then it will say No errors found, Shut down, Restart.
I tried posting this before and I'm not sure what happened but I don't think it worked, so if it did please forgive the double post.am very very new to centOS and linux in general. I just want to setup a test web server that more closely mirrors our actual web server that is hosted by rackspace. I've installed centOS and tried to setup Apache, PHP and MySQL from a guide on the web using Yum. When I go to localhost in the web browser I'm able to see the default apache page. However when I create a php page it's just blank.When I look at the apache error logs I get this: PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
I've been searching alot on the internet and I know the issue is permission related, but I don't know how to fix it. I've seen some forum posts that say you need to use the chmod 775 command on the /var/www/html folder.Currently when I do ls -l /var/www/html it returns
-rw------- 1 root root 19 May 5 13:16 index.php -rw------- 1 root root 19 May 5 13:15 index.php~
I'm sure that this isn't correct but like I said I don't know much about how to set permissions or who the owner needs to be. I've done alot of searching and seen similar posts, but no one seems to explain it clearly.
This evening, my iPower desktop AMD64, running 10.10, is suddenly inflicted with blanked out letters, like some spotty plague.I'm attaching a screen shot (I hope).
I hope I am pasting this in the correct place. I am a big fan of minimalist software- and Gedit is an excellent program. Now I am not a a programmer or anything, but I do like to write, and Gedit seems very well suited towards what I want. A simple word-bashing-out program.
But my problem is that it does text-wrap to the margin. Now I don't particularly want to do this manually, and the option in the preferences menu doesn't seem to work.
I use a text editor mostly for opening up and editing ascii text files that are used by the programs I write. For example, manually editing comma separated value data files.
I've been using Gedit for this, and it's been very frustrating because I started noticing new-line characters (hex 0A) were creeping into my CSV ascii data. It turns out that Gedit has an undocumented "feature" where it silently introduces a new line character at the end of any file you edit, and there is no way to turn this feature off! See this bug report. I installed GVim, and a quick test shows that GVim does the same thing.
I would like a recommendation for a more straightforward text editor, which:
1) Doesn't add extra bytes to the file (or if it does, this behavior can be turned off). 2) Allows you to force ASCII when opening a file (sometimes Gedit will make an incorrect assumption about encoding because of a stray non-printable character)
More advanced features would be nice, like regular expressions for search and replace, but I need this basic functionality first.
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.
I have a small script that takes input from one file, and uses this input to do a find/replace (with sed) to make an executable snmp trap.The input file could look something like this :JOHBURG SOUTH AFRICAOSLO NORWAY..etcThe script takes the input from this file, and preserves all words in one line as a variable (so that the variables are "JOHBURG SOUTH AFRICA" and "OSLO NORWAY", instead of JOHBURG, SOUTH, AFRICA, OSLO, NORWAY.This is working ok (in the given example, I get two variables).sed is supposed to take this variable, and use it to substitute "HITME" with the new variable.
I have installed Ubuntu 6.06 LTS via the command line interface. I installed onto Microsoft Virtual PC on the mac. The installation completed successfully. On first boot, I see the text is spread out very wide on the screen. It's like the screen has been zoomed out greatly.
I assume I have to modify the x11 configuration, but I forget how to do this.
Here is an image of the screen:
I tried installing a more recent version of Ubuntu but ran into other troubles. more on that later.
I have to delete a certain line of text from the a textfile via ubuntu's shell scripting.I have done research, and it seems that most people advocate the usage of sed /d option. sed makes does not edit the text file. Hence, most options I discovered involved the use of a temporary variable/textfile and then overwriting the old file with the temporary new file. Is there anyway whereby I can bypass the use of temporary storage containers? I hope there is any magical combination of commands to edit the file directly.
I recently decided to install ubuntu netbook remix 10.10 to my Toshiba NB200. I was using windows and I wanted to completely erase them. I burned the USB, I followed every single instruction the site had, and even though the installation seemed to work, and a message to reboot my computer appeared at the end, the installation finally fails. When I reboot, the only thing I get is a black screen with an underscore at the top left corner. I tried the installation four to six times and even tried older versions as well but all I get is the black screen.
I have a few .txt files that when opened in gedit give me an error "Could not open the file - gedit has not been able to detect the character encoding" HOWEVER, I can see some of the contents of the files (a few words) in the icon preview in nautilus. Also, I can open these documents in notepad (using wine) though I'd prefer to use gedit.
These might not all be txt files. I know one is directory of important phone numbers that was in some obscure format that could only be opened on a nokia phone.
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?
How can I list the following with grep. I want to extract 2 lines fron a text file The fixed known part if it exists will static text and the text line after it will change.
A sample file . . textline1
[code]....
If the fixed part does Not exist how can I return error code 1
a sed command to add a text before line number in text file? I have text file with 500 lines, and i want to add 3 more lines with text after line 300, OR before line 302, isn't no problem.