![]() |
#16 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,068
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Ctrl-C to cancel (at the next breaking point) type exit to close the window You can copy the full Calibre (or any other) command line from the browser and Paste it into the terminal, then press enter (or edit) Only some of the Linux commands are different. But many of the basic console interface rules are the same. Win: dir /w > foo.lst Lin: ls -l > foo.lst Unix existed BEFORE DOS and Windows. M$ stole (borrowed?) heavily from it and CPM (also before MSDOS) The 'man' pages were (and still are) my friend: man -k <keyword> IMHO M$ misnamed their version of the tool to 'Help' ![]() still applies man just does not imply it will help ![]() |
|
![]() |
![]() |
#17 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,534
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
There is also the apropos command that can give a list of commands for a given keyword.
|
![]() |
Advert | |
|
![]() |
#18 | |
Gregg Bell
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Got it!
Quote:
|
|
![]() |
![]() |
#19 | |
Gregg Bell
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
thanks ducks
Quote:
|
|
![]() |
![]() |
#20 |
Gregg Bell
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
thanks
Thanks Peter. Not exactly sure what you mean, though. I know when I got stuck in the terminal before I typed 'help' and that gave me a bunch of info. that eventually led to me getting out. Is it similar? Like type 'apropos'?
|
![]() |
Advert | |
|
![]() |
#21 | ||
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
For instance, instead of: Code:
sudo python -c "import sys; py3 = sys.version_info[0] > 2; u = __import__('urllib.request' if py3 else 'urllib', fromlist=1); exec(u.urlopen('http://status.calibre-ebook.com/linux_installer').read()); main()" Code:
sudo python -c "import sys; py3 = sys.version_info[0] > 2; u = __import__('urllib.request' if py3 else 'urllib', fromlist=1); exec(u.urlopen('http://status.calibre-ebook.com/linux_installer').read()); main(install_dir='/opt')" This is how you update calibre -- by reinstalling. There is actually a cool way to automatically update, which I can help you with if you want. (see HERE) Quote:
Code:
apropos keyword Like this for example: Code:
schwartze@ltsp22:~$ apropos calibre
calibre (1) - launch Calibre Graphical User Interface
calibre-customize (1) - part of calibre
calibre-debug (1) - part of calibre
calibre-fontconfig (1) - font configuration tool for calibre
calibre-parallel (1) - parallel tool for calibre
calibre-server (1) - part of calibre
calibre-smtp (1) - part of calibre
calibredb (1) - part of calibre
ebook-convert (1) - part of calibre
ebook-meta (1) - part of calibre
epub-fix (1) - part of calibre
fetch-ebook-metadata (1) - part of calibre
lrf2lrs (1) - part of calibre
lrs2lrf (1) - part of calibre
markdown-calibre (1) - markdown tool for calibre
pdfmanipulate (1) - part of calibre
web2disk (1) - part of calibre
Last edited by eschwartz; 02-18-2014 at 03:18 PM. |
||
![]() |
![]() |
#22 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
It does notify you if you make a code error. You will see underlines that were not there before, or see whole sections change color. It is pretty subtle, but it is there. Try inserting class="anything in a <p> tag and stop and you will see a color change that doesn't go away until you finish it up.
It doesn't have spell check or clips. Those are the big lacks for me. But there are some turbo charged ways of searching and replacing that are on the horizon that could save tons of time. It doesn't behave like Sigil. It doesn't insist on perfect code, which is a good reason to run the book check often. It is much better than the rest at pointing just where you have a problem. |
![]() |
![]() |
#23 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
And there is going to be spell-checker, it just isn't finished yet.
Clips are waiting for the more important stuff to be finished first. For an editor that is only a few months old, it is incredibly feature-rich. ![]() |
![]() |
![]() |
#24 | |
Gregg Bell
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
thanks
Quote:
And yeah, I'd be interested in the automatic updating of Calibre. This is how you update calibre -- by reinstalling. Do you uninstall first? And does this apply to all Linux updating of software? Thanks. |
|
![]() |
![]() |
#25 | |
Gregg Bell
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
thanks
Quote:
|
|
![]() |
![]() |
#26 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
There are similar but not identical features. There is beautify all files and Fix HTML under Edit.
They are capable screwing things up. But unlike Sigil, you can set a checkpoint to restore back to and nearly any action is undoable even after a global replace. |
![]() |
![]() |
#27 | ||
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
And then you get Code:
Usage: ebook-convert input_file output_file [options] Convert an ebook from one format to another. input_file is the input and output_file is the output. Both must be specified as the first two arguments to the command. The output ebook format is guessed from the file extension of output_file. output_file can also be of the special format .EXT where EXT is the output file extension. In this case, the name of the output file is derived from the name of the input file. Note that the filenames must not start with a hyphen. Finally, if output_file has no extension, then it is treated as a directory and an "open ebook" (OEB) consisting of HTML files is written to that directory. These files are the files that would normally have been passed to the output plugin. After specifying the input and output file you can customize the conversion by specifying various options. The available options depend on the input and output file types. To get help on them specify the input and output file and then use the -h option. For full documentation of the conversion system see http://manual.calibre-ebook.com/conversion.html Whenever you pass arguments to ebook-convert that have spaces in them, enclose the arguments in quotation marks. Options: --version show program's version number and exit -h, --help show this help message and exit --list-recipes List builtin recipe names. You can create an ebook from a builtin recipe like this: ebook-convert "Recipe Name.recipe" output.epub Created by Kovid Goyal <kovid@kovidgoyal.net> Quote:
calibre is different -- since it gets weekly updates, you can't rely on the version in the software center, which doesn't get updated after the Ubuntu version gets released. Ubuntu updates programs only if they're really important ones, like the browser, or if they have security fixes, or a volunteer does it. So Kovid Goyal bundles everything needed to run calibre in one zipped folder, and the command Code:
sudo python -c "import sys; py3 = sys.version_info[0] > 2; u = __import__('urllib.request' if py3 else 'urllib', fromlist=1); exec(u.urlopen('http://status.calibre-ebook.com/linux_installer').read()); main(install_dir='/opt')" Okay, updating automatically. Go to the software center and install the program "gnome-schedule". This is the GUI interface for linux's equivalent to the Task Scheduler. Your computer will already have the command-line version, "crontab", installed. You can use that too, just run "crontab -e", but you will have to edit a text file within the terminal. So use gnome-schedule for now. Run the following command in the terminal (It must be run as the root user, or you cannot create a task as the root user): Code:
gksu gnome-schedule Code:
sudo python -c "import sys; py3 = sys.version_info[0] > 2; u = __import__('urllib.request' if py3 else 'urllib', fromlist=1); exec(u.urlopen('http://status.calibre-ebook.com/linux_installer').read()); main(install_dir='/opt')" ![]() For bonus points, you can use the commands listed at this thread HERE (again) which will first check to see if calibre was updated, then shutdown calibre if it's currently running. Store this as calibre-upgrade.sh; Code:
#!/bin/bash calibre-debug -c "import urllib as u; from calibre.constants import numeric_version; raise SystemExit(int(numeric_version < (tuple(map(int, u.urlopen('http://calibre-ebook.com/downloads/latest_version').read().split('.'))))))" UP_TO_DATE=$? if [ $UP_TO_DATE = 0 ]; then echo "Calibre is up-to-date" else killall calibre calibre-server sudo python -c "import sys; py3 = sys.version_info[0] > 2; u = __import__('urllib.request' if py3 else 'urllib', fromlist=1); exec(u.urlopen('http://status.calibre-ebook.com/linux_installer').read()); main(install_dir='/opt')" fi |
||
![]() |
![]() |
#28 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
- You didn't find what you were looking for. You may try now a different keyword: type "apropos ebook", for example. - You found something that looks promising, but you want to learn more about it. Try reading the man page: type "man ebook-convert". (Note that you could have typed this before, if only you knew there was something called "ebook-convert".) - You found exactly what you wanted. Just run the command: type "calibre". (As above, you could have typed this before, "apropos" is simply doing some search and displaying the results.) |
|
![]() |
![]() |
#29 | ||
Gregg Bell
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
thanks
Quote:
Quote:
So the appropos is kind of like a stepping stone thing (one thing--hopefully--leads to another). Tried your Calibre automatizing. Unfortunately ran into a couple of roadblocks. First I couldn't find a program called Gnome-schedule in the Ubuntu Software Center. I found something similar and installed that (called Scheduled Tasks) (see screenshot 035). It looked really similar so I went with it. And then when I put that command "gksu gnome-schedule" in the terminal, it said I hadn't installed it, so I hit enter and it was installing it, but then it aksed me what's in the screenshot (034), and I was definitely in over my head at that point so I bailed. I may try again or there must be some way they notify you to get updates. (I get update notices all the time when I open Calibre in Windows.) Reallly appreciate the help. (Sorry I didn't make better use of it.) Thanks mrmikel. Would you say 'Beautify' is similar to Print Tidy and 'Fix HTML' is like Tidy Print? I got to trust Pretty Print, but never Tidy Print. And I saw the restore feature. That is awesome. I'd hate to see Sigil go, but if it has to, it's nice that something (and someone) is filling the void. Thanks a lot. |
||
![]() |
![]() |
#30 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
I think that is about right, Gregg. I would trust the Fix HTML more than Tidy, but I would be Reagan-esque about it: Trust but verify! It is just about impossible to conceive of every case when you are creating a way to do something.
To me, Linux is just about similar enough in appearance to Windows to lead you to think they are similar. They are not. Windows is a closed environment within the program itself, but Linux is designed to be built from parts, if I understand it correctly. It impresses me a something like a Formula One car, which can be souped up for fantastic performance, but which may require a ride along mechanic! |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Downloading & Reading Kindle on Linux | Siavahda | Reading and Management | 2 | 02-05-2014 09:15 PM |
Downloading Sigil (and other important links) | meme | Sigil | 0 | 04-15-2013 12:57 PM |
Newbie here ... difficulty downloading books to kobo ereader | YvonneM | Kobo Reader | 11 | 01-03-2013 03:08 PM |
Problems downloading Sigil | GMFpubs | Sigil | 7 | 11-19-2011 01:40 AM |
Difficulty downloading RSS feeds | greenapple | Calibre | 2 | 02-14-2011 06:34 PM |