New answers tagged

5

you need to copy the script into gedit then save the code as a file , then load the file in the browser, Ctrl + o is the shortcut to open a file directly from a browser. Note: for security reasons browsers sometimes won't allow direct execution of javascript from local files. Because the browser expects it should have been served by a webserver.


13

From the comments: No the button is there but it has no function. On the website it will provide a date and time when clicked. But it does nothing when I copy it into gedit. Gedit is a text editor. It can edit text (and source code, etc.). To run the code, save it with a .html (for example, as datetime.html) because this is HTML code. Then double-...


1

I just went into one of my PHP files in gedit (Ubuntu 16.04). It does come up nicely color-coded. I then did ^P, selected an HP Photosmart C4100 series printer in the print dialog. All the color-coding printed beautifully. It worked painlessly for me. I hope this helps. Will that printer print color from another application?


0

You can stop seeing this behavior simply by launching gedit from the launcher rather than the command line as was intended. If you indeed require an editor that you can launch from the command line without seeing these errors, you might try nano (a simple to use editor) launched from the command line or vi (a more advanced editor) also launched from the ...


4

So, I gave Bruni a screenshot for their answer to show what they meant. But then I tested the result. You can indeed select UTF-8 encoding in gedit, or any other text editor. However, unless these files contain non-ASCII characters**, they will be detected as ASCII. Indeed, the same holds if you create a "plain text" (dubious term*) file by any method, and ...


14

You can see from ls that you already compiled your program with the compiler javac. The command you used javac hello.java creates hello.class without sending any output to stdout, so there won't be any messages in your terminal unless there are errors - what you see is the expected behaviour. If you actually want to see some output, you can add an option: ...


0

This does not solve the question in full but my particular problem arose from installing neuron with the debian installer that they provide. Removing the following from .bashrc file did the job (and of course now I can not access neuron but I do not need it anymore) # Neuron # export PYTHONHOME="/home/heberto/miniconda2" # export LD_LIBRARY_PATH="/home/...


0

By default, the text editor (Gedit) does not autosave documents unless you manually saved them at least once beforehand. So if you didn't save your file, it's lost, unfortunately. If you did save your file, the newer autosaved copy is in the same place as where you saved the file, but with "~" appended. This is a hidden file, so enable "Show hidden files" ...


0

It's fine in gedit 3.20.2. This maybe help you http://www.omgubuntu.co.uk/2016/06/install-gedit-3-10-ubuntu-16-04-lts


0

FOR UBUNTU OK, lets check some main problems... 1 Drivers don't transfer arround with Ubuntu because drivers are binary un-compatable with Ubuntu. If No.1 is your problem- see below INSTALLING THE DRIVERS. https://sourceforge.net/projects/cupsdriverkodak/ seems to have a good driver in tar format. Download that and follow with this code tar -xzf ...


0

I know this is an old thread, but I just ran into the same problem. In the end, I figured out that it was because I was still logged in as the superuser. Once I logged out of the terminal and reopened the terminal, everything went back to normal. Just thought I'd throw that out there in case anyone else hits the same problem. If you're seeing a # instead ...



Top 50 recent answers are included