Posts Tagged ‘windows’

The Usual Stupid Nattering about Computers

Sunday 19 April 2015 1 comment

There is some vague possibility some folks might find this useful…

The other day I hauled out my Win7 laptop to complete formatting before submitting my book to the publisher. It had a copy of Word 2003, the last version I can tolerate, and Word format is pretty much required by the publisher (it’s pretty common among publishers) but mine isn’t too picky about the version. I had WINE running on the laptop with Word 97, but that’s too old for the publisher’s scripted conversion process.

This required a very long and convoluted process of updating everything on the Win7 laptop. At least one update persistently failed, and nothing I could find would resolve this. It’s typical of MS products, as you may know, that the least bit of individualizing of your system breaks everything because the Borg of Redmond is hostile to human uniqueness. You have to understand that Windows development tends to be highly compartmentalized, while the system is not. So the developers of one part are not only clueless about what the folks in the other parts are doing, but might actually be in some kind of perverted passive-aggressive competition to break each others stuff. This, in the guise of insisting they are doing it right and the other teams need to get on board. At any rate, it was the usual tears and agony for the end user in my case.

Granted, this is a relatively low-spec laptop, so the hardware is already a tad cranky, but it’s the best I could do. Win7 was the least painful of the MS solutions that run on this device. But this was aggravated by the pervasive “screw-the-user” attitude of all the essential supporting service companies: anti-virus, anti-spyware, etc. All of them have adopted the MS attitude of simply forcing the system to do certain things without giving the user a clue what or why. The only time they bother to inform you is when they can profit from exaggerating or outright lying about what’s going on. The exact same companies never treat Linux users this way when they make products for Linux.

I decided it was time to research afresh the various options I can tolerate in Linux and see if I could ditch Windows on this laptop (Dell Inspiron 15-3542). First, backup the Win7 installation completely so it can be restored (I did the same with the original Win8.1). The RedHat clones had already failed, much as I like them. The stable Ubuntu and friends were a mess, so I tried OpenSUSE 13.2. No consistent sound and it simply locked up when I tried to log out. Before giving up, I tried the latest weekly update of Debian 8 pre-release (AMD64 version).

Worked perfectly out of the box. So I’m writing this on said Debian laptop right now. Yes, the hardware is still a little wonky (especially the cheap touchpad) but it was worse under Windows. I decided to use the “non-free firmware” version of the net install CD, because I knew the networking stuff was not fully Open Source yet (RealTek 8101 ethernet and Atheros 9565 wifi) and only needed one other non-free package for the Bluetooth (an ar3k module).

That meant I would need to add a VM to run WinXP with Office XP (still got good CDs for those). Since Virtual Box was already in the standard Debian repo, that was the shortest path. However, it’s been broken into lots of little packages, so I had to figure it all out and install most of them:

  • virtualbox
  • virtualbox-dkms
  • virtualbox-guest-additions-iso
  • virtualbox-guest-dkms
  • virtualbox-guest-utils
  • virtualbox-guest-x11
  • virtualbox-qt

But this allows you to install from the CD you put into the host-machine tray, instead of forcing you to extract the ISO from the CD and mount it as a virtual drive, as is the normal practice with Virtual Box. So I was able to process the book that way and it’s all good.

The only other issue remaining is that I am still trying to parse the various options in synclient to tame this cranky touchpad.

Otherwise, Debian 8 AMD64 runs very on Dell’s Inspirion 15-3542.

Addenda: Joking comment about how much the US Army needs to re-hire me as a civilian cyber security guy and train military folks to use Linux so they can stop getting serious viral infections just about guaranteed due to obstreperous bureaucratic habits. I’m ready to go to work yesterday, but I tend to think it would require some pretty heavy pressure from way up the chain of command before anyone would take seriously such a suggestion. Windows-based habits are burned into the very concrete on which military computer offices stand.

Inspiron 15-3542 and Win7

Thursday 12 February 2015 Leave a comment

Hopefully this will be the last time I write about installing any OS. The only reason I do this one more time is that I find Win8 to be an abomination for us older folks who don’t like pretending our computers are just big cellphones. I downgraded from Win8 to Win7. I won’t offer much hand-holding, but here are some useful notes for those wishing to try it themselves.

I assume you have your own copy of Win7 for this. Installation isn’t that bad, but you’ll have to catch the BIOS at boot up (hit F2 as soon as you see the “Dell” logo on the screen) and turn off secure boot the enable legacy boot, which disables UEFI.

But before you start, you’ll probably want the entire set of Win7 drivers burned to a CD. Please note the following logical steps:

1. Go to Dell’s official support page for this model.

2. Do not let Dell install their support utilities. Ignore that offer because it’s badly botched up and will not solve your problems consistently. Also, do not download Dell’s Touchpad driver. It’s very badly wrapped in rotten .NET code that seldom works properly after installation. The older driver from Synaptics itself is better because it uses a simple Win-GUI toolset. Besides, it actually offers more features. (BTW, this ratty cheap touchpad works poorly on every OS except Win7; on Linux it was totally unusable).

3. What you’ll see on the official drivers list is incomplete. Take what’s there, then go to this page. That Dell offers this sort of listing is one of the best kept secrets. You’ll need stuff like the USB host controller, the Intel Chipset driver, and the 1705 Bluetooth and Wifi driver, along with the Rapid Technology driver (SATA driver).

In general, you’ll want to install the base chipset driver first, then the graphics, followed by the SATA and USB, then everything else. Please note that the BIOS update cannot be installed from the CD. It must be copied to the hard drive first, then you can install it.

Mine runs pretty snappy with Win7. Good luck.

Categories: computers Tags: , , , ,

StT: Second Draft

Thursday 5 February 2015 Leave a comment

Did you know that Wal-Mart and Sam’s Club no longer carry USB memory devices? I’m not surprised, given the significance of the threat researchers discovered with the USB protocol. The hardware standard allows any USB device to write back to the hardware itself, so that it can hijack and change your BIOS and everything. Fortunately, my laptop has an SD card reader and that’s the new portable file device standard.

I’ve been working on the latest book today, Gospel Red Herring: Spiritualizing the Text. As noted, the new laptop has made it considerably easier, though I’m still struggling with the Win8 interface. There are far too many subtle gestures interpreted with excessive sensitivity and no way to turn them off, so far as I can find. But the things work and I can type and manipulate files and content.

So I’ve posted the second draft of the book here gone. It’s a self-contained HTML file so you can grab it and keep it if you like.

Keep breaking the chains, brothers and sisters. Keep looking for ways to peel off the straightjacket of Western mythology and see God’s truth.

Compute Morally

Wednesday 7 January 2015 1 comment

Can the Law of Noah apply to computers?

My wife has run Win7 on her desktop machine since it was released. It’s not that she never found any unwanted malware, but that it never affected the operation of her system. Her efforts always paid off, and her protective software saved her from any sorrows. This is someone who surfs a lot of Facebook and other places where scams and malware have been passed through false advertising, but it never hit her.

This machine is under my moral dominion. Someone gave me that computer, and I eventually passed it over to her. Aside from Facebook and the games there, she uses it for her family history research, and chases recipes and natural medicine. Other family members have used it some, as well. It’s not that the pastor is so holy and righteous, but he and his wife are reaping the blessings of the Laws of God. When you seek His favor and meditate on the implications of His moral character, He extends His hedge of protection over all that you do for His glory. Everything you touch then belongs to Him.

So if He wants us to suffer something, there’s a reason for it and we bear it with grace. Apparently He’s not interested in us having to deal with computer problems of our own. I still fix a lot of other folks’ computers, but ours tend to be pretty stable and manageable.

BTW, I did have another problem with the laptop. Apparently the developers at RHEL, from whence CentOS gets all their code, are not interested in making everything work properly on laptops. It is server software, after all. That’s where Red Hat’s income is. So it burned through a battery charge in about half the time it should have, and refused to connect to my Android device, and a few other things just didn’t go quite right. So I gave up.

Someone had given me a copy of Win7 and I installed that. It’s a hassle because I had to chase down the drivers, since the manufacturer had no plans to support Win7 on this thing (it’s a Win8 machine). I don’t get all the software I like pre-installed, and it means worrying about a whole bunch of things that don’t affect Linux. I’m sure there’s a reason for that and I am not going to speculate, but I sense that God is showing me something. So I am at peace and things work, but it’s a lot of work for me. I’m not worried in the sense of anxious, but in the sense that I know Windows is much more vulnerable than Linux, so it needs more care. The shepherd has to herd computers, too.

At any rate, I’m doing the best I know to please my Father and seek His favor. My story is that it has always paid off in terms of His promises. That it hasn’t always been what I wished simply shows I need help getting my wishes adjusted.

Secure Email Communications

Sunday 4 January 2015 Leave a comment

As previously noted, I don’t anticipate actually needing encrypted communications for myself. However, some of you may see a need, or other folks may come into my world feeling the need.

Encryption is touted as primarily a means of digital privacy. If you worry about people intercepting you communications and seeing what’s in them, then encryption reduces the risk. I maintain that my bigger concern is not so much snooping as that someone might change my message. It turns out that encryption can support that in some contexts, since a message that can’t be read also cannot be changed.

To be honest, the best security doesn’t require a computer, but few of us are ready to dig into things like one-time pads. So we rely on software designed to make it more convenient. These days, it can be downright transparent. That is, you can set things up on most computers to do it all automatically and stop giving it so much thought.

The most widely used system for ordinary folks like us is Pretty Good Privacy (PGP), a system designed some years ago. These days the version easiest to get for free is Gnu Privacy Guard (GnuPG) which uses the same basic concept as PGP, but is free and maintained as Open Source software. It’s a standard feature on Linux and Unix computers, but is also available for Windows and Mac.

The Windows version is here and it’s a complete package with everything you need. The Mac version is here and you’ll need to study a bit, because I don’t deal with Macs enough to be of much help. If you use Linux, there are lots of GUI tools and the simplicity of operation varies widely. You could also learn how to run it all from the command line, if you prefer.

The whole point is that the first thing you do is create your own encryption key. It has to be tied to an email address. This means you consider carefully and decide whether you might want to dedicate some email account just for this purpose. For reasons that aren’t obvious, this would be a huge boondoggle if your account is webmail only. That would mean encrypting a message as a file, then sending the file as an attachment in the email. It’s a whole lot easier to simply use an email client that is designed to handle it directly, but that means selecting an account that you can run from your computer directly, not webmail. There are lots of free ones out there that provide you direct access from a standard email client (using POP and SMTP protocols), and many ISPs will allow you to hold more than one as part of the service. This is not about free email accounts, so we presume here that you have one selected for this purpose, one that is not used for much of anything else.

I will note in passing that you can do it with Gmail, because they allow that kind of usage, and you can do it with the IMAP protocol for any service that permits it. If you use Windows Live Mail, so far no plugin exists, so it’s like webmail in that respect. If you use Outlook, developers are working on it, but it’s a ton of work for the user to integrate and may not work anyway. Keep those for your regular email, and get something like Thunderbird just for your encrypted email traffic. There is also something called Claws for Windows that does it, but Claws is a little challenging to use due to lack of automation in configuring it. With Thunderbird, it’s a simple as installing an extension made for it, called Enigmail.

Here is one of the best guides for Windows users, and it happens to include illustrations on how to do it with Claws, if you prefer. I highly recommend you create your key first using the simplified GUI tools included in the GPG4Win package. I recommend you use 2048 as the minimum key size. Passwords are discussed elsewhere on this blog, so use the search function. You can use an entire sentence if you know you can remember it and type it precisely every time; spaces are acceptable in this case.

There are two ways to share your key with other folks. I export mine to the default GPG keyserver — hkp:// You can find me as “Ed Hurst <> 0223AD6F” if you use the GUI to search for and import keys. Make sure you don’t pick up on some old key I may have used before and lost. I forgot to make a revocation certificate the first few times I played with this, so make sure you create one and save it somewhere. That way, if you decide to change to a new key for any reason, folks will know the old one is no longer valid. (Disregard; I lost that key and can’t recover it. I’ll post a new one in a new message later.)

Please note that you must exchange your public key with someone else in order to use encryption with them. You need a copy of my key and I need a copy of yours. I don’t have room to explain how this works in detail, but your public key is not the same as your private encryption key, but it still enables folks to encrypt messages to you that only you can open. Using their public key, you can do the same. In the lingo of GPG, you have to have my key on your keyring to use it, and I have to have your key on mine. We each have to mark the keys as trusted. Ideally you would exchange these keys face to face using a jump drive or something like that. However, the keyserver concept will do well enough for the level of security we might need. From all anyone can tell, the NSA struggles (generally cannot and keeps trying) with breaking this PGP style of encryption.

Once you’ve done all of that, fire up Thunderbird and set up the account you’ll be using for this. Then install the Enigmail extension as explained in the linked tutorial and it should walk you through a simple automated process of setting itself up for encryption. It knows where to find the keys most of the time.

The other way to get hold of me with a fair degree of security is to get a free account at Unseen, which is hosted in Iceland and wholly unlikely to let any outside law enforcement or spy agencies to see your mail. My address there is “broken” — if you log onto their webmail and send a message to my account there, it never leaves their server.

Laptop Oops

Saturday 3 January 2015 Leave a comment

Well, that was a real disappointment.

Just when I thought I had everything as I wanted it, Debian began puking on me. Wifi wouldn’t work consistently and the machine crashed three times in one day. In other words, it wasn’t working well enough on this peculiar machine. I really was hoping to settle down on that issue, but it was not to be. So I reinstalled CentOS 7. At least it is consistent with wifi and other hardware drivers.

Part of the whole thing was the sheer convenience of having WINE on which to run my old MS Office 2000. It matters because when I publish my books, they have to be in Word format and LibreOffice does things differently, even when exporting to the Word format. The result is simply not good. Further, while my grammar is just fine, I do commit typos and simple human errors of leaving out words, or leaving in words from edits, and I rely on Word to catch that stuff. LibreOffice does not have anything comparable.

WINE is not available for CentOS to run 32-bit Windows apps. A virtual machine is possible, but it runs dog slow on this laptop. This thing is specced for long battery life, which means a slower processor speed, which means it takes forever to get the VM open and then to do much in it.

Turns out that Microsoft has been offering a cheaper version of MS Office online for free. I already had an account with their Outlook online service, so the same login works without a hitch. From what I can see, it’s adequate for the demands of my book publisher.

It won’t matter too much whether you trust the cloud services. More and more, it becomes the necessity of life. Got an Android device? You have to have a Google account. That account comes with access to all of Google’s services: Docs, their version of Facebook, the free cloud storage, etc. I’m using the cloud because I don’t have a lot of choice.

I’m not a purist; this is just a tool. A major tool worthy of an awful lot of time and effort, but still just a tool. Running Windows 8 (which came with the laptop) is simply not an option because I can’t control the things I find it necessary to control for my mission. And because the hardware is so new, there’s not many Linux distros that will work and I’m sick of the distro sampling lifestyle of most Linux users. It’s not a religion for me, so I’m not chasing the holy grail of Linux perfection, which is no more real than the grail. Choosing CentOS and running it properly means accepting the limitations of software choices.

I can live with this.

Kubuntu Guide 10

Friday 17 October 2014 Leave a comment

(This should be the end of the series. If you have questions, suggestions for topics I forgot, etc., now is the time to pester me.)

10 — Trackballs and Windows-ware

So far, no project has seen fit to offer a simple configuration for trackballs. The most popular device is Logitech’s Marble Mouse and instructions do exist for Linux. While Ubuntu does have a page for this, the instructions are oddly incomplete. Once you take a look at the diagram and understand how it’s supposed to work, let me offer a competing solution. (The nitty-gritty details can be found here but still pretty complicated.)

First we’ll cover for right-handed users. The “8” button (left small button) should be for scrolling, a click-n-hold operation in conjunction with rolling the ball. The “9” button (right small button) should be the middle-mouse button — mouse paste. In a browser that last one also opens a link in a new tab. The larger buttons already have standard functions. Here’s where you do some serious system tinkering. Open Konsole again. Navigate to the portion of the system where the oddball configuration files are kept:

cd /usr/share/X11/xorg.conf.d

If you run ls you’ll see a collection of files whose names start with 10 or 50. We need to add one of the latter. You’ll need your sudo powers for this and you’ll need to use Nano. Refer to this link again if you need help using Nano. You shouldn’t pretend to use Linux without some familiarity with it.

sudo nano 50-marblemouse.conf

This will open a new file with nothing in it. Using your pointing device, highlight the text below and pasted it in the file.

Section "InputClass"
        Identifier  "Marble Mouse"
        MatchProduct "Logitech USB Trackball"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "EmulateWheel" "true"
        Option "EmulateWheelButton" "8"
        Option "Emulate3Buttons" "true"
        Option "ButtonMapping" "1 9 3 4 5 6 7 2 2"

The format with the indentations are pretty important. I can’t control all the details of how cut-n-paste works in every context, but the idea is that the first and last line are flush left and everything in between is indented by one TAB space. If it so happens you want to use this for the left hand, you need a few small changes to reverse all those buttons:

Section "InputClass"
        Identifier  "Marble Mouse"
        MatchProduct "Logitech USB Trackball"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "EmulateWheel" "true"
        Option "EmulateWheelButton" "9"
        Option "Emulate3Buttons" "true"
        Option "ButtonMapping" "3 8 1 4 5 6 7 2 2"

Now, first we tell Nano to save it. The command is CTRL+O (not zero). Then we close it with CTRL+X. You’ll have to reboot for this to take proper effect.

You’ll notice that instructions are out there for just about anything if you know how to search. As with Windows, chances are someone else has needed the same thing you do and has already been through it. That’s the nature of DIY and Open Source.

Most of the common activities are already provided in your menu system. If you simply must run Windows software, there are two ways to go. One is WINE — a system that helps Linux pretend it runs Windows stuff natively. Install the package wine with its huge collection of dependencies. The people who develop WINE keep a database listing of what has been tested here. You’ll need to enter the name of the software package and search for it. Frankly, much of it is out of date, but it does indicate something useful about what’s likely to work. For example, I know for a fact that the version of WINE you get with Kubuntu will run MS Office 97, 2000 and probably 2003. It may run later versions, but not Office XP. To be honest, I use WINE only so I can run Notepad++, a very fine Open Source text editor for Windows. It works perfectly that way and nothing in Linux compares for the features.

The other way is to run a virtual machine (VM). That is, you will create an artificial virtual computer on your system and install Windows on it. This requires some extra power, so if you have less than 2GB of RAM I would recommend against it. However, it’s the easiest way to run your old XP. If you allow it to connect to the Internet through your machine, you’ll need the usual anti-virus, etc. Otherwise, it’s perfectly safe and stable and you can close it up when you don’t need it — suspending it is the preferred method. While there are several different VMs available, for the sake of simplicity I’ll recommend you use VMWare Player (it’s free). You can find the Ubuntu guide here, but they miss a couple of points. Once you make the bundle executable, you have to run with sudo powers. Also, it now automatically creates all the necessary changes in one fell swoop, instead of in two steps. Just run it as sudo, give it a minute to show up in the menu, then start it up and install whatever version of Windows you like. It works with most other operating systems, too.

Be aware that the extra tools that make it all work smoothly can be installed automatically, but pay close attention to the messages from VMWare about them. Don’t download and try to install them before the OS is installed. Install the OS first and reboot, then wait until you are logged in as a user on Windows. Then click the prompts to install the tools, which amounts to special drivers to make it integrate with your desktop. If you look through the configuration menus, you’ll find out that you can elect to let your installed Windows guest OS share folders with your Linux system. I keep a Projects folder in my Home directory just for this.

That’s about as much as I can put in an introduction of this sort. Welcome to Linux and DIY computing.


Get every new post delivered to your Inbox.

Join 658 other followers