Wednesday, February 22, 2017

I saw an advertisement that caught my attention. It brought me to Get reMarkable. It's an e-ink tablet that could be something worth while if they went the extra step. What might that be? They need affiliations. Kindle, or Chapters and Barnes & Noble in Canada and the U.S. respectively.

While yes it can read ePub files, it states clearly that only non-DRM'd files can be used. This means that the most sought after books won't be available. Also getting files to the device feels outdated. In a world of on demand cloud infrastructure, syncing files to another device reeks of antiquity. Plus the fact that I have a growing collection of Kindle books that I can already read on my phone, iPad and computer and have it automatically update between the three has become a must.

The very fact that this device cannot participate in this ecosystem makes it a failure out of the gate. If it were to add a seamless Kindle application it would be the perfect device. Without it, it's interesting but of limited use. Sorry guys, your really close but not quite there.

Tuesday, January 17, 2017

Why Linux sucks

First off, I love Linux (sorry Richard; Gnu/Linux). I particularly love Xubuntu. It's simple, stays out of your way and most importantly to my eye, blue.

I recently purchased a second hand Xeon tower. It came with a bottom of the line Quadro video card. I was fine with it since I had no intention of using the computer to do any heavy 3D applications, just be a workstation and display a desktop. Well, two actually. Because of the limited ram in the card it wasn't able to drive two 1080p monitors and provided me with some incredibly slow reactions as it desperately tried to shuffle memory around.

I upgraded to a slightly more modern 710 card. This provided enough ram and power to run the two monitors without any tearing or hesitation, even with the Nouveau driver. I was happy. I had my favorite desktop with two monitors and set down to get some work done. My computer froze. It locked up completely. I couldn't even ssh in from my laptop. It had completely stopped responding.

Despondent, I powered off the machine and started it back up, watching the startup carefully for issues as it booted. Other than the expected journal recovery nothing seemed amiss. I went through the logs and found no hint of any issues. In desperation I decided that it might be something to do with the way Ubuntu was configuring things and distro hopped to Cent OS, Slackware and even tried Arch and Gentoo. All eventually did the same thing, regardless of desktop environment.

I went back to Xubuntu and everything seemed to work fine for a few days and then it happened again. Then I noticed when it was happening. While the graphics were performing some work intensive action. I swapped out the Nouveau driver for the proprietary Nvidia one. I haven't had a problem since. This leads me to believe there is a serious issue with the open source driver. I'm not sure what it is, or even how to report the bug since I can't reliably replicate it. I am just disappointed.

Saturday, January 7, 2017

LightDM with multiple monitors

I've come across a small annoyance with LightDM. I'm not sure if this problem exists with others, such as GDM, but it would probably fix that too, if it does. After a time, which can be set by the user, the screen goes black and locks as it should. However, when using more than one monitor, the lock screen can seem to appear at random on any screen. Actually, it's not random. It shows up on the screen where the mouse was when it locked. If you wish that it stayed on the same monitor all the time, then here's the solution. It requires the xdotool to be installed. It may even come with your distribution, but usually isn't installed by default. Next add the simple script below to your path. Add it as an autorun application and your done! Your login screen will always show up on the left most monitor (and so will your mouse).
#!/bin/sh
# TITLE: Move Mouse
# DATE:  03 DEC 2016
#
# DESCRIPTION: This simple script moves the mouse to the to the left side of
#    the screen for the purpose of keeping the login window on
#   the left monitor
#
dbus-monitor --session "type='signal',interface='org.mate.ScreenSaver'" |  \
while read x 
  do 
    case "$x" in  
      *"boolean true"*) xdotool mousemove 100 200
    esac 
done &

How the script works
The script tells dbus to let it know when then screen saver goes active. At that time it executes the xdotool command that moves the mouse to location 100 by 200 pixels. If you wish it to display on another monitor you will have to move the mouse to a value larger than the width of the left most monitor (or two if you have three or more). 'interface' is the dbus name for your action you are monitoring. In this example the mate screensaver. If you have another screensaver running you will have to change it to the appropriate name.

Thursday, May 26, 2016

The new release of Ubuntu 16.04 is out along with it's many derivatives. With it comes new issues. One such issue that is harped about especially by Noah and Chris from the Linux Action Show is the annoying habit of Network Manager to loose it's WiFi connection when returning from sleep (suspend) or hibernate. I'm not sure what the exact issue is but I've come up with a simple workaround.

Systemd allows for actions to happen when a condition is met. So, all we have to do is tell systemd to restart Network Manager when the system comes back up. We can call this nm-sleep.service.



[Unit]
Description=Restore Network after sleep
After=suspend.target
After=hibernate.target
After=hybrid-sleep.target

[Service]
User=root
ExecStart=systemctl restart NetworkManager
StandardOutput=syslog

[Install]
WantedBy=suspend.target
WantedBy=hibernate.target
WantedBy=hybrid-sleep.target

Store the file as 
/etc/systemd/system/nm-sleep.service
  then all you have to do is inform systemd about it with  
sudo systemctl enable nm-sleep 

Every time your system comes back to life the systemd will restart networking as if you booted your computer. This makes sense, especially with a laptop because your connection could easily change between sessions. You might boot your laptop at a coffee shop and then suspend it to go home, plug in your ethernet and it would pop up instantly (or nearly so). The actual fix should probably be in Network Manager itself but this works just fine. I've been using it since I installed a beta back in February and had completely forgot about the problem until my favorite show brought it up.

Sunday, August 17, 2014

Review of Total Recall (2012)

If your looking for Philip K. Dick's short story "We Can Remember It for You Wholesale" you'll be sorely disappointed. On the other hand, if your in for a dystopian adrenaline rush this is your movie. It starts off like the Governator's predecessor of the same name. A factory worker asking a trusted co-worker about a place called Rekall. The co-worker tries to dissuade Mr. Quaid from the idea of going to a place that would mess with your mind,  but Doug persists and goes there anyway.

While the general story line is quite similar to it's 1990 namesake, the world looks much more tired and run down. From the moment the needle goes into Douglas Quaid's are the movie is for the adrenaline junkie. There is lot's of hand to hand and car to car combat. The acting is mediocre to above average.

While it is not the worst movie I've ever seen, I find it more interesting to watch then "The Phantom Menace". That's not saying much, I realize. Okay to be fair, it ranks up there with Zombieland. Enjoyable enough to waste a couple of hours.

One item I found interesting was when Mr. Quaid was entering the customs area there was a woman ahead of him who looked very much like the fake woman used in the 1990 version. Sort of a node, if you will to the one directed by Paul Verhoeven.

With the synthetic police, it becomes Total Recall (1990) meets iRobot.

Saturday, May 3, 2014

The Carpenters - Goodbye To Love

I
After fell in love with my wife I never thought the day would come when this would be the song of my life. I always loved this song since I first heard my aunt playing it. Now that it applies to my life it is bitter sweet to listen to. But life goes on...alone.

Friday, May 2, 2014

Sixteen Years of effort

So it's over. For sixteen years I attempted to keep interested the women I loved and wish to grow old with. She has decided to move on. While the marriage wasn't all wine and roses, I think I grew content. It seems when I become content with something the universe jumps in and says, in a Cockney accent, "Hey there, there'll be none o' that 'round here!". And POOF! Life throws a curve ball. This time I struck out.

And life goes on...