Ubuntu Installation :: Localhost Not Opening Php Files Text Editor?
Jun 17, 2011localhost not opening php files text editor
View 1 Replieslocalhost not opening php files text editor
View 1 RepliesUsing ubuntu 9.10
If I'm in a terminal window, and I open a file by typing eg :
It opens as a blank document... I know it has text in it though!
I've tried with other files and also with nano so it's not just a problem with a particular file.
How do I view the current contents of the file so I can then edit it?
I'm trying to be able to Open a text editor without needing an existing file.This is my code:
case $ans in
"Show Today") echo "$(date)";;
"Show Calendar") cal;;
[code]...
I just started using FireFTP instead of FileZilla because I got fed up with FileZilla not opening remote files and not recognising the default editor Gedit.
I really want to use keyboard shortcuts with FireFTP, which is possible according to the help docs on-line, but there is no option to use shortcuts anywhere even having enabled FireFTP to open in a new window. I tried it in Shiretoko 3.59 and Firefox 3.18 with no luck.
I just tried removing FileZilla and it does not appear in my list of installed apps. It appears in the full list as uninstalled but when ticking the box to install gives this message. FileZilla FTP client cannot be installed on your computer type (i386). Either the application requires special hardware features or the vendor decided to not support your computer type. I already have FileZilla..so how is that?
So I have Python file :
Code:
#!/usr/bin/env python
print 'python'
raw_input('')
And another :
[Code]....
as it should. I don't want to take such a hassle always running python by path.
I really hate this warning when I try to open certain types of files in gedit: (using ubuntu lucid)
Quote:
Do you want to run File.c or display its contents?
"File.c" is an executable text file.
Open in Terminal; Display; Cancel; Run
Is there any way to remove the warning? I have never once clicked anything other than display, and when I'm opening lots of files, having to hold down ALT-D to get rid of these warnings.
I have noticed and this now worries me, if I export a KeePassX xml file then open it with a text editor I can see all my �private� details.Just tested it on my old desktop with Slitaz and open the exported file with leafpad text editor and I can see my details just the same.Previously I used RoboForm and when viewing an exported file in the same way you could not make out any of my details. Is KeePassX designed this way or have I not used KeePassX correctly.I have posted this on KeePassX forum and emailed them direct with no response so far.Ubuntu 11.04.
View 9 Replies View RelatedI would like to make Firefox view text files not in its internal editor, but in the external editor (namely EmacsClient).Is it possible to change this default behavior of Firefox?I beg your pardon for being inconcise, I'll try to state the matter once again. First thing to mention is that I use the Linux version of Firefox. That means that unlike the Windows version the contents of the application bindings dialog is very scarce.
When I click on the link to a text file (be it remote or local) by default Firefox opens it in the internal browser. I've tested, somehow it looks at file extension - when for example I make a file with .mpg extension, the behaviour is as it should be - the dialog with "Open With..." and stuff. When the file has unknown extension (unknown to /etc/mime.types), in my case it's .out, pure text format - the default behaviour is to open it in a Firefox window.
I have some text files (Just plain text files, not OpenOffice files or anything) and when I try to open them in Windows they are all one line. I think I read somewhere that Linux uses for new lines whereas Windows uses or something... I am using Kate to edit them, and I have a LOT of files to fix so...
View 9 Replies View RelatedOn windows I really only used Notepad++ as my text editor, it had two features that I loved.What I need to accomplish is what I would do with Notepad++ column editor.I could have like 100 lines, and place the cursor at a column, and goto edit>column editor, and I could insert an incrementing number. (I could also pad the incrementing number with 0s, this was GREAT for making batch files among other things.)So each line at that column had a number higher than the previous line.The other feature that I used sometimes was a search/replace with regex patterns.Does anyone know of an editor that has those features for linux? I am mostly after the column editor insert feature but if you know of one with both features that would rock.
View 1 Replies View RelatedI'm looking for a light-weight text editor for general-purpose composition that can preserve indentations on wrapped lines.
View 3 Replies View RelatedIs there a simple text editor for Linux that will let you color or highlight text on demand? Something like gedit or leafpad with color? I know I can probably do this with vi or emacs, but I'm looking for something simple, need not be feature rich.
View 4 Replies View RelatedI was trying to install GTK+-2.8.20, so I installed it's necessary dependencies in this order:
pkg-config-0.23
glib-2.20.4
pango-1.24.4
jpeg library
tiff library
cairo
And I was about to install the last dependency: ATK (Accessability Toolkit).I opened the Archive Manager to extract the "atk-1.26.0.tar.gz" file (yes, I'm still switching from Windows so I'm fond of GUI), but I noticed all the text in that window was boxes, like the □ type box for every letter of text.So instead I thought it wouldn't be a big deal, because the terminal and regular windows weren't screwed up.I opened a text file in gedit (reference to commands in terminal, such as how to extract files via terminal), but yet again all of the text was □-like boxes.
When I click on a folder in "Places" the appearance editor starts up and says that for example "Home Folder" or "Documents" does not appear to be a valid theme. XDG-open has the same results. Folders on the desktop open fine. I am at a loss here, I can't figure out what I did.
View 1 Replies View RelatedI have 2 text files : file1.txt and file2.txt
cat file1.txt
15 this is a sentence containing various words and spaces
34 this is a another sentence containing various words and spaces
cat file2.txt
2 this is sentence1file2
6 this is sentence2file2
54 this is sentence3file2
I would like to join these 2 files. The result should look as follows :
cat joinedfile.txt
2 this is sentence1file2
6 this is sentence2file2
15 this is a sentence containing various words and spaces
34 this is a another sentence containing various words and spaces
54 this is sentence3file2
==> so the joined file must be sorted on the first number. Any ideas how this can be achieved ?
Is there anything like Visual C++ on linux? Or just a text editor and a seperator compiler?
What's the best C++ Compiler, and best Text Editor with C++ syntax highlighting.
I would like to use notepad++ for my text editor. Is there away to get this only my Ubuntu 10.04 Netbook?
View 5 Replies View RelatedYou know how nano, vi, vim, etc... all use the entire screen when they are started? I am wondering if it is possible to get a text editor (or modifying an existing one) that doesn't take the entire terminal. The reason for this is that I to look at the output of a different command, then modify a different file while looking at the output. I want to be able to do this very fast, and it would be great if there was some way I could this all in one shell instead of creating two terminals and resizing or flipping between them. I realize the ideal solution would be a second monitor, but I can't get that right now.
View 6 Replies View RelatedI recently scanned in a whole bunch of hand written notes and compiled them in a few pdf documents. I was just wondering if there was some way to edit the underlying searchable data, so that I may be able to give keywords to pdf pages (i.e. I have a page of notes that is dealing with energy conservation, so I could under the image data write "energyconservation, problem 2.3") and jump to that page.
View 2 Replies View RelatedI would like to start using kate to write c++ programs but kate i am not sure how to go about actually running the code. Right now i just have a simple Hello World script. How would i now run this and see an output on the konsole?
View 2 Replies View RelatedI am really trying to find a cli/console text editor that can open/edit RTF text files? I know they them for Dindows, but what about Linux?
View 1 Replies View RelatedI wanted to know what is the best (non) GUI text editor for Linux.I know there are emcas, vi(m), pico, nano, ted, ed, and so others.But I can't learn working with all of them.Which one is the best for non professional for standard text editing and a little programming?
View 7 Replies View RelatedI try to name a file in the editor with this and nothing happens...(creating a conky_start.sh file under home directory and add it to start up)$cd && touch conky_start.sh && chmod +x conky_start.sh && gedit conky_start.shAnd add these lines to that file and save it :
#!/bin/bash
sleep 30 &&
exec conky -d -c ~/.conkyrc &
[code]....
I'm an Ubuntu newbie and I'm looking for a text editor that has options for DOS-like or Unix-like end of line characters. I'm used to working with Notepad++ for windows that has an option for Unix/Mac/DOS end-of-line characters.It would be great if I could find a text editor for Ubuntu that has this built in or as a plugin instead of running the file through a converter.
View 3 Replies View RelatedI'm using Thunar, and I would like to know how to change the default text editor. It's set to emacs (due to a weird install), and I'd like it set to gedit globally.
View 3 Replies View RelatedI have just downloaded the Screem text editor source from their website.I tried to aptitude it first, but it wasn't available in the repos. So I thought maybe building from the script would be the solution. The problem is, this package doesn't build with the usual configure, make and make install commands.Well ./configure works. It checks the system and dependencies.
View 7 Replies View RelatedI'd like to set Vim as my default text editor (so it opens when I click a file). How can I do this?
View 9 Replies View Relatedtext editor that has column mode capabilities like UltraEdit?
View 5 Replies View RelatedI'm looking for a c++ IDE and/or Text editor with split screen abilities like what you see below with notepad ++. Having the ability to split your screen is very helpful when comparing code.
[URL]
I have tried geany which chokes VERY badly when trying to compile multiple files. I have tried kate which doesn't have a compiler.
Ubuntu 11.04.Dragging the Text Editor launcher into the Unity dock will create a blank space with a blank label which launches Text Editor. How can I choose an icon for it?Also, how can I make it so middle clicking on the icon (or other ways of opening multiple instances) will open more instances of Text Editor instead of doing exactly nothing (does nothing if Text Editor is already open, otherwise it opens "Untitled Document 1")?it doesn't "launch text editor" per se. instead it opens "Untitled Document 1". maybe this is why you can't middle click it to open multiple instances?
View 9 Replies View Related