LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-01-2013, 01:03 AM   #1
Old Pete
Member
 
Registered: Apr 2012
Posts: 45

Rep: Reputation: Disabled
Html


Why can't I add to a saved HTML document with Debian in Open Office 3
 
Old 12-01-2013, 02:15 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,007

Rep: Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192
Add to what? You might want to explain a bit further
 
Old 12-01-2013, 03:37 AM   #3
Old Pete
Member
 
Registered: Apr 2012
Posts: 45

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by grail View Post
Add to what? You might want to explain a bit further
I started writing a document and saved it as a Html, when i reopened the document if found I could not continue writing in the document.
 
Old 12-01-2013, 07:40 AM   #4
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,007

Rep: Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192
Well I have not experienced this before, so I created a simple test html but did not come across any issues.

Maybe have a look at the file on the command line with:
Code:
ls -l /path/to/your/file/file.html
Post the output here and we can try going from there.
 
1 members found this post helpful.
Old 12-01-2013, 09:30 AM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
In addition to the command suggested by grail. perhaps you could tell us what program you're using to edit the HTML file. What error message do you get when you try to add to it?
 
Old 12-01-2013, 03:53 PM   #6
Old Pete
Member
 
Registered: Apr 2012
Posts: 45

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by grail View Post
Well I have not experienced this before, so I created a simple test html but did not come across any issues.

Maybe have a look at the file on the command line with:
Code:
ls -l /path/to/your/file/file.html
Post the output here and we can try going from there.
I have never gotten into the innards of that stuff, sorry, but I get into enough trouble as it is.
 
Old 12-01-2013, 04:00 PM   #7
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Without a few more details about the HTML file, its permissions, and what program you're using to edit it, it's going to be difficult to help you. All you need to do is open a command prompt, paste in the command grail gave, and substitute the actual path to your file for "/path/to/your/file/file.html". If you need help with doing this, please let us know what desktop environment you're using. There's az terminal available somewhere that you can run from it.
 
Old 12-01-2013, 04:02 PM   #8
Old Pete
Member
 
Registered: Apr 2012
Posts: 45

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by btmiller View Post
In addition to the command suggested by grail. perhaps you could tell us what program you're using to edit the HTML file. What error message do you get when you try to add to it?
There is no error message, it just refuses to let me re-enter the pages to edit or continue writing.

I was using Openoffice write 3. and using whatever editing is there.

I do think I have other issues, as the reason I used the Html Save was because the normal Save As....Name odt brought the page up being a bout 100mm X 100mm and too small to read.

I used to have no trouble changing the ODT. Document to Windows doc, for sending to otherI have gone to Permissions and made it Read adn Write, but it makes no difference.

A bit of a stuff up really. I may have to get either Debian or Ubuntu reloaded to the top version...About $90.00 for that. So there goes the Lexus I was going to put a deposit on next pension day!!!!
 
Old 12-01-2013, 07:06 PM   #9
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

Quote:
Originally Posted by Old Pete View Post
I have never gotten into the innards of that stuff, sorry, but I get into enough trouble as it is.
well it looks like now is the time to. Grail is trying to help you but he needs more information. Running that command and posting the output here is likely to be the best way forward.

Cheers,

Evo2.
 
Old 12-01-2013, 07:38 PM   #10
Old Pete
Member
 
Registered: Apr 2012
Posts: 45

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,



well it looks like now is the time to. Grail is trying to help you but he needs more information. Running that command and posting the output here is likely to be the best way forward.

Cheers,

Evo2.
Okay! So what buttons do I press to arrive at where to put that (code)?
 
Old 12-01-2013, 07:50 PM   #11
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by Old Pete View Post
Okay! So what buttons do I press to arrive at where to put that (code)?
you need to start a "terminal emulator". You should be able to find one lurking in the menu perhaps under applications or accessories. Once you have found that we can proceed.


Evo2.
 
Old 12-01-2013, 10:26 PM   #12
Old Pete
Member
 
Registered: Apr 2012
Posts: 45

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,

you need to start a "terminal emulator". You should be able to find one lurking in the menu perhaps under applications or accessories. Once you have found that we can proceed.


Evo2.
Easy - Peasy.....In Applications desktop I find Debian - Applications, Terminal Emulator and I have Gnome Terminal, X Terminal, X Terminal as root (GKsu), x Terminal (Unicode)

I am so excited LOL.
 
Old 12-01-2013, 11:26 PM   #13
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

ok, open one of them, I suggest "Gnome Terminal", but any one that is not "root" will be fine.

Time to get your hands dirty. First you need to learn three commands.

1.
Code:
pwd
This command prints the name of the Current Working Directory. A directory is what some people call a "folder". Ie it tells you "where you are". Just type those three letters and press enter. It should print something like:
Code:
/home/oldpete
This is your home directory. Usually when you open a new terminal you'll find yourself here.

2.
Code:
ls
This command will list the contents of the directory. Ie it will show you what files a (and "folders") are in your current directory. You can use this to see if the file you are interested in is in this directory.

3.
Code:
cd Pictures
This command will Change Directory to "Pictures" assuming that directory exists in the current working directory - you can use ls to determine this. Note that you don't have to fully type out the whole file or directory name when using comands like cd. Instead you can use a nice little feature "Tab completion". This works by typing the start of the file name and then pressing the "tab" key. Eg you could type:
Code:
cd Pic
then press tab and the line would automatically become
Code:
cd Pictures
Finally, to cd to the "parent directory" you can you can use "cd ..". Here is an example: the commands you would type are indicted by the lines begining with the "%" prompt, the other lines are the output from those commands
Code:
% pwd
/home/oldpete
% ls
Documents Music Pictures
% cd Pictures
% pwd
/home/oldpete/Pictures
% ls
bar.jpeg foo.jpeg
% cd ../
% pwd
/home/oldpete
% ls
Documents Music Pictures
% cd Documents
% pwd
/home/oldpete/Documents
% ls
mybook.odf mypaper.html
% ls -l mypaper.html
The output of the last command is what we ultimately want to see.

Please give it a try.

Evo2.
 
Old 12-02-2013, 12:17 AM   #14
Old Pete
Member
 
Registered: Apr 2012
Posts: 45

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,

ok, open one of them, I suggest "Gnome Terminal", but any one that is not "root" will be fine.

Time to get your hands dirty. First you need to learn three commands.

1.
Code:
pwd
This command prints the name of the Current Working Directory. A directory is what some people call a "folder". Ie it tells you "where you are". Just type those three letters and press enter. It should print something like:
Code:
/home/oldpete
This is your home directory. Usually when you open a new terminal you'll find yourself here.

2.
Code:
ls
This command will list the contents of the directory. Ie it will show you what files a (and "folders") are in your current directory. You can use this to see if the file you are interested in is in this directory.

3.
Code:
cd Pictures
This command will Change Directory to "Pictures" assuming that directory exists in the current working directory - you can use ls to determine this. Note that you don't have to fully type out the whole file or directory name when using comands like cd. Instead you can use a nice little feature "Tab completion". This works by typing the start of the file name and then pressing the "tab" key. Eg you could type:
Code:
cd Pic
then press tab and the line would automatically become
Code:
cd Pictures
Finally, to cd to the "parent directory" you can you can use "cd ..". Here is an example: the commands you would type are indicted by the lines begining with the "%" prompt, the other lines are the output from those commandsadn
Code:
% pwd
/home/oldpete
% ls
Documents Music Pictures
% cd Pictures
% pwd
/home/oldpete/Pictures
% ls
bar.jpeg foo.jpeg
% cd ../
% pwd
/home/oldpete
% ls
Documents Music Pictures
% cd Documents
% pwd
/home/oldpete/Documents
% ls
mybook.odf mypaper.html
% ls -l mypaper.html
The output of the last command is what we ultimately want to see.

Please give it a try.

Evo2.
It opened with peter@debianSquiggly line)$
pwd (enter)
/home/peter
peter@debianSquiggly line)$
It opens a selection of folder names and jpg image files but not the html I am after, worms html or worms doc. which seems to need Chromium web browser

I tried cd pictures. I tried pc documents, and then cdpitcures and cddocuments all entries said 'no command found'or 'no such file or directory'

The frown face is supposed to be a (

Last edited by Old Pete; 12-02-2013 at 12:19 AM.
 
Old 12-02-2013, 12:34 AM   #15
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by Old Pete View Post
It opened with peter@debianSquiggly line)$
pwd (enter)
/home/peter
peter@debianSquiggly line)$
It opens a selection of folder names and jpg image files but not the html I am after, worms html or worms doc. which seems to need Chromium web browser
Your file is probably in one of those folders.

Quote:
I tried cd pictures. I tried pc documents, and then cdpitcures and cddocuments all entries said 'no command found'or 'no such file or directory'
The directory and file names are case sensitive ie "Documents" is not the same as "documents". Use ls to see what folders are there, and then look in those folders.

Evo2.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
html : force the fonts size for whole html page? Xeratul Programming 6 11-27-2012 11:54 AM
Nginx + Apache. Always get /var/www/html/index.html angryrabbit Linux - Server 1 11-27-2011 04:56 PM
adding index.html to /var/www/html not working dannyboy990 Linux - Newbie 1 09-30-2007 08:43 AM
Search & Replace Technique to Fix html HREFs w/o html extension donv2 Linux - Newbie 1 01-30-2007 11:59 PM
Konqueror + file:/usr/share/doc/HTML/index.html jon_k Linux - Software 2 11-25-2003 05:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration