![]() |
#31 |
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)
|
well, that is gnome-schedule,
![]() Apparently, on Ubuntu you should be using Code:
gksudo gnome-schedule
It asked you to install gksu in addition, since it didn't have it yet, and was just asking yes/no should it be installed. If you run that command again, and type "Y" and click enter, it will install gksu. Or try "gksudo gnome-scheduler" which should already be there. Anyway, you will get update notifications in linux too, it's just why settle for notifications if you can get automatic updates? ![]() |
![]() |
![]() |
#32 | |
Gregg Bell
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
ha ha
Quote:
So if 'Beautify all' is similar to 'Pretty Print' would you say to leave the 'Beautify all' on all the time (which is what I did with Pretty Print in Sigil)? I didn't know Linux was fundamentally different than Windows. How interesting. That's good to know. Thanks a lot. |
|
![]() |
![]() |
#33 | |
Gregg Bell
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
okay
Quote:
Then I went to do the task that makes sure Calibre has been updated (for "bonus points"). (And btw, that "Is" in the Command box in the scheduler gets deleted, right?) And I initially scheduled it for "reboot" as well. But when I hit the final OK button the task did not appear in the Task Scheduler. Then I thought maybe it didn't show because I was scheduling them both as reboot so I rescheduled it for, I think, every monday at 14:00 (2pm). Still no luck. I took a screenshot of what I entered (#38 screenshot). So I feel I got it half done anyway. (Progress not perfection!) Thanks! |
|
![]() |
![]() |
#34 |
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)
|
I believe you will have to make sure the task is run as the root user or else it will silently fail when you don't supply the password.
Save the following attachment in your home folder. Extract it from the zipped compression (right-click and "Extract Here") then open a terminal and run these two commands to a) move the upgrade script to the executable directory and b) make the script belong to root: Code:
sudo mv calibre-upgrade.sh /usr/bin/calibre-upgrade.sh sudo chown root:root /usr/bin/calibre-upgrade.sh Code:
sudo EDITOR="gedit" crontab -e ![]() ![]() EDIT: Because vim is a complicated sysadmin tool, not because its a bad editor. ![]() paste this line on the bottom, on a new line: Code:
0 6 * * 5 /usr/bin/calibre-upgrade.sh > /dev/null 2>&1 ![]() Save the file, and it will update your crontab and install the auto-update code. Install "anacron" in the software center, and missed jobs should be carried out shortly after you reboot. Last edited by eschwartz; 02-24-2014 at 10:04 PM. |
![]() |
![]() |
#35 | |
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)
|
Explanation of
Code:
0 6 * * 5 /usr/bin/calibre-upgrade.sh > /dev/null 2>&1 five numbers, separated by spaces, followed by the command to be carried out. The numbers say when to do it: Quote:
0 6 * * 5 is saying, at 0 minutes of the 6th hour, or 6:00, (army time) on any day of the month or any month of the year, but only if it is a friday, do this job. |
|
![]() |
![]() |
#36 |
Gregg Bell
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
bogged down
Hey eschwartz. Got bogged down. Saved the attachment you gave me (it saved in "downloads" in the Home directory). Did the extract. Opened the terminal. Put in the first code in and it didn't seem to take. So I did it again and it did. (At least I noticed the word 'root' in there.) But then when I entered the second code it shut me down. I opened the 'chown help' but couldn't figure a way to use it.
|
![]() |
![]() |
#37 |
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)
|
The command I gave was to move it from in the home folder, if you have saved it in Downloads, the file is "Downloads/calibre-upgrade.sh" not "calibre-upgrade.sh".
Move the file to the Home directory or try this: Code:
sudo mv Downloads/calibre-upgrade.sh /usr/bin/calibre-upgrade.sh Code:
sudo chown root:root /usr/bin/calibre-upgrade.sh Code:
sudo EDITOR="gedit" crontab -e Code:
0 6 * * 5 /usr/bin/calibre-upgrade.sh > /dev/null 2>&1 If the terminal tells you "mv: cannot stat '/path/to/file': No such file or directory." It means the first command, to "mv" or "move" the file, couldn't find the file to move. chown wouldn't work because it couldn't find the file, and afterward because the next command ended up at the end somehow; you told it Code:
sudo chown root:root /usr/bin/calibre-upgrade.shsudo EDITOR="gedit" crontab -e Code:
sudo chown root:root /usr/bin/calibre-upgrade.sh And don't worry, this may seem confusing now but eventually, with practice, you will get the hang of it. ![]() Also, for fun, here is a link to the command line tutorial I used to first learn how to do this stuff: http://www.ee.surrey.ac.uk/Teaching/Unix/ Enjoy! Last edited by eschwartz; 02-25-2014 at 02:22 AM. |
![]() |
![]() |
#38 | |
Gregg Bell
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Quote:
And I tried the alternative method. Right away (after posting: Code:
sudo mv Downloads/calibre-upgrade.sh /usr/bin/calibre-upgrade.sh "mv: cannot stat '/path/to/file': No such file or directory." I need something to fall back on before I attempt this stuff. As it is, one false move and I'm skunked. So far what I've done is this (see screenshot). I've tried to delete it but been unable to. Do you think it's okay to just leave it? And if not, can you tell me how to delete it. I'll get this stuff better in a while and I'll come back and try your suggestions again. I already feel like I've learned a good bit, and I really do appreciate the help. Thanks! |
|
![]() |
![]() |
#39 |
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)
|
Ok sure, that's fine. For the future, you may want to remember that the exact location of stuff is important, since the computer cannot usually guess where to find it.
You can leave the task there, worst that can happen is it works. ![]() Try the tutorial here: http://www.ee.surrey.ac.uk/Teaching/Unix/ whenever you get the chance, I found it to be very helpful, especially in understanding how files and directories relate to each other. It will deal with basic stuff, like moving files around, showing their contents, teach you the manual and apropos commands, stuff like that. And when you feel ready for it, come back and set this going! By then you may be able to recreate it from scratch anyway! ![]() ![]() Last edited by eschwartz; 02-26-2014 at 01:19 AM. |
![]() |
![]() |
#40 | |
Gregg Bell
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
thanks man
Quote:
|
|
![]() |
![]() |
#41 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
I see a new book in sight, Gregg's Nearly Interminable Adventure's in Linux Land, or is it is Gregg in Wonderland? (grin)
Your persistence is highly commendable. I don't think it is so hard, just that people are used to Windows having been around it forever. I still have a manual for DOS 6 upgrade from 20 years ago. It goes into great detail about editing config.sys and autoexec.bat and running the memory optimization program. I am not nostalgic for those days at all. |
![]() |
![]() |
#42 | |
Gregg Bell
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
OMG! LOL!!
Quote:
![]() Here' the dilemma in a nutshell: Downloading instructions for software: 1) Windows: Press the green button 2)Linux : Read the documentation first (800 pages). Then use the Ubuntu Software Center. Or if that doesn't work, the Synaptic Center (be sure to read the documentation for that first (400 pages)). Then that might not work so try apt (be sure to have Sudo installed and read the documentation (374 pages). If apt doesn't work, then try aptitude and if aptitude doesn't work try a repository and if nothing works, read the entire Ubuntu documentation (430,000 pages). And whatever you do, remember, it's like we keep telling you, Linux is really easy. I am having fun learning it, though. And like you said once you start getting a few of the basic concepts it's less intimidating. Thanks for the help (and the laugh)! |
|
![]() |
![]() |
#43 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
1) Windows: Google the program. Try to find which is the homepage, don't get lost among all the other spammy, add-stuffed webpages that offer the download. Find the download page. Choose your version of windows, or make sure it is supported (XP? Vista? 8? 64bits?). Click the green button. Save the installer (you want to keep the installer file for backup, don't you?). Find where the hell you saved the installer. Run it. Chose where you want it installed (one user? system-wide?). Unselect all the small pieces you don't want installed. Configure all kinds of paths... 2) Linux: apt-get install program_name Bottom-line: both can be as simple or as complicated as you want ![]() |
|
![]() |
![]() |
#44 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,062
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:
I can grep awk |
|
![]() |
![]() |
#45 | |
Gregg Bell
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Touche, Jellby!
Quote:
Is there anyplace on MR that people discuss Linux? (I've already gotten restricted for asking too many questions at Ubuntu One--the limit is 6 in a 24hr period.) Thanks! |
|
![]() |
![]() |
|
![]() |
||||
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 |