Actually Works! Running Kindle PC on Linux under WINE

It took me WEEKS to find a solution that ACTUALLY worked, and didn’t involve manually building a nuclear reactor or hand-coding the OS of the space-shuttle from memory. THIS POST is how. (Credit for the solution goes to ubuntuforums user Flanmaster, BTW.)

I tried it under WINE 1.4 with Kindle for PC version 1.10.5 and it actually works. It doesn’t crash, it doesn’t have errors written in gobbledygook, and it actually downloads the books you want to read from your Amazon account. (Login by running the software, and then entering your email + PW and hitting enter.) I should note that my WINE/Kindle is set to “Windows XP” for which version of Windows it’s faking.

Most of the really-complex WINE stuff is over my head, but look- this method just works. And most of the 20+ methods I’ve found (and, sadly, repeatedly tried!) online do NOT. Basically, you just install The Microsoft Visual C++ 2008 SP1 Redistributable Package (x86). The download link on the page (under "free download") goes to the Microsoft website official download page (check the url) so no possible shadiness. While I’m not completely sure *WHAT* it does, I know that it works- I ever installed it AFTER installing Kindle under WINE, and it still worked. 🙂

Linux Terminal : Output a List of All Directory Contents Files and Subdirectories to a Text File

I just discovered this, and am using it to make a list of my music collection.

Credit for making the output goes to Noufal on this page. Credit for how to list directories recursively is actually from the gnome-terminal ls manual (code input to view it: man ls)

Anyway, here’s what you plug into the terminal:

cd the-address-of-the-top-folder-you-want-to-list
ls -R > list.txt

You can name "list.txt" whatever you want (i.e., popmusicbest.txt or something.) This method works for insanely large music collections and scans folders recursively, so if you have all of your Three Dog Night albums and Guess Who albums dumped into artist folders, it will still list all of your mp3/whatever-file-format-you-use.

You can use this for anything, but the main use to me is figuring out which music to buy. (You know, to avoid buying the same song on Amazon or something twice…)

Linux Cheatsheet 1

These are some useful tricks I’ve found when using Ubuntu Linux- stuff I’ve found after hours of searching, through accidental trial and error or (on occasion) hidden in an FAQ no one reads. I’m posting this here just as much for my own reference as yours (I’ve forgotten some of these things before, and need to remember them.)

How to Get To Directories with Spaces in Their Names Via The Gnome Terminal In Ubuntu Linux

I found this out by accident, then forgot it, then found it online (finally!) after months of searching. Most geeks use underscores in the directory / file names instead of spaces, but sometimes this isn’t feasible. *SO* to indicate a space in a file name or directory name in Linux’s terminal, you type
\ (a backslash followed by a single space)

So, to get to
/home/me/Desktop/Useful Stuff
in my terminal, I would type
cd /home/me/Desktop/Useful\ Stuff/

How to Change the Location of Your Hard Drive After Linux Forgets / Changes It

I have a hard drive named SILVER. I love SILVER. Linux sometimes doesn’t. After I upgraded my OS (and a few other times) Linux forgets that it knows SILVER and renames his location SILVER_, which messes up all of my shortcuts- and my MUSIC, since I keep my music on SILVER. You’ll run into this eventually too, if you use Linux, so this is how I fixed it (be careful when doing this! It worked for me, but maybe not for you!):

Back up any crucial files (just in case!) and detach your hard drive. Open the Gnome Terminal (you can get to this by opening the RUN dialogue via pressing ALT + F2 and entering Gnome-Terminal. Run this command:
sudo nautilus
Enter your password when prompted. This will open up Nautilus (the file-management/windows thingy program) in Linux, BUT WITH SUPER-USER RIGHTS, meaning that you can mess with all sorts of things you normally can’t. BE CAREFUL WHEN DOING THIS- you can ruin your computer without it trying to stop you in this mode.

Go to /media in the Nautilus address bar

Find the *original* name/address of your hard drive there- I’ll call it ITSOLDNAME here.  Click it to make sure- it should say something like it can’t be accessed (because the computer now thinks it’s at ITSOLDNAME_ or something.) Click to select the original name and delete it. Refresh the window by clicking F5 and then plug in your hard drive again. It *should* go back to having its old name and location now, accessible via /media/ITSOLDNAME/

CLOSE NAUTILUS COMPLETELY NOW. It’s dangerous to leave it open in this mode, since it has total authority over messing with your files- one accidental click is all it takes to do something awful…

Nutrition Info for Kirkland Signature Peppermint Bark at Costco

Finally!  official nutrition info for that favorite guilty pleasure- Kirkland Signature Peppermint Bark.

Product Name: Chocolate Peppermint Bark
Serving Size:1 piece (32g/ 1.1 oz)
Calories (kcal): 170
Calories from Fat (kcal): 90
Total Fat (g): 10
Saturated Fat (g): 9
Trans Fat (mg): 0
Cholesterol (mg): 0
Sodium (mg): 25
Total Carbohydrates (g): 19
Dietary Fiber (g):l ess than 1
Sugars (g): 17
Protein (g): 1
Vitamin A: 0% dv
Vitamin C: 0% dv
Calcium: 2% dv
Iron: 0% dv
Polyunsaturated Fat (g): 0
Monounsaturated Fat (g): 1
Thiamin: 0% dv
Riboflavin: 4% dv
Niacin: 0% dv
Folate: 0% dv


How did I get this? I finally gave up searching for it and emailed them…  Posting it here so that later searchers will have it easier than I did.

The serving size is 1 piece, and the Weight Watchers PointsPlus value for it is 5 points.  There you go!  (It’s not as bad, health-wise, as I had expected…)