Monday, November 01, 2021

Issues with Linux Mint (or Debian Linux) and Xsane

#notetoself

So, today, I was playing around with a new PC setup. And of course there was an issue with the HP Scanner. - I generally use Xsane vs Simple Scanner. Both of them had issues connecting to the Scanner with an I/O error. Simple enough. I had hopped that the printer being found and usable by default, that the scanner would also work. Nope.   I got

Failed to open device 'hpaio:/net/hp_laserjet_pro_mfp_m125nw?ip=192.168.1.1&queue=false':Error during device I/O

I found the answer again, here.


I'm sure I've run into this issue before, and used this or another post like this to resolve the issue.  LOL, Basically, you've got to DL a plugin from HP and agree to their software terms.  ¯\_(ツ)_/¯

Also for me, I found that I needed to adjust the Xsane settings again. - I DID have my other computer to see what the settings were. :)


Also, don't forget to setup the 0000's for the filename, and location. 

#notetoself




Thursday, July 01, 2021

Janet Noseworthy 1967 - 2021

 

 
 

 
 
She was perfect for me. - She will be missed. 

 
Obituary of Janet Noseworthy

Janet L. Noseworthy (nee Bissett), 54, of Lorain, died Friday, June 25, 2021 at Mercy Regional Medical Center after recovering from a stroke and pneumonia.

She was born January 23, 1967 in Lorain and had been a life long Lorain area resident.

Janet had worked in the lab at Elyria Memorial Hospital prior to becoming the manager at the Super 8 Motel, Westlake and Elyria were she had worked for 15 years.

She enjoyed crossword puzzles, drawing, crafts, woodworking with her dad, traveling, and cooking.  She especially enjoyed spending time with her cat gNibbles and her family.  

She is survived by her husband of 12 years, Randall Noseworthy of Lorain; mother, Mary Lou (nee Crouse) Bissett of Lorain; daughters, Kayla Marti of Elyria and Ashley Edmonson of Elyria; grandchildren, Autumn, Madison, and Hazel; brothers, Steven Bissett of Amherst and Bruce (Denise) Bissett of Lorain; and her sisters, Dusty (Thomas) Birrittieri of Lewisville, NC, Wendy (Laurence Solak) Bissett of Oberlin, Tracy (Rob Kaderbek) Paluch of Amherst, and Donna Bissett of Lorain.

She was preceded in death by her father, Charles H. Bissett Jr. and her infant brother, Timothy Duane Bissett. 

The family will receive friends on Thursday, July 1, 2021 from 5:00 pm until the time of a memorial service at 6:00 pm at the Riddle Funeral Home, 5345 South Street, Vermilion, Ohio. 

The family suggests memorial contributions to  Friendship Animal Protective League, 8303 Murray Ridge Road, Elyria, OH, 44035  .

Online condolences may be made at www.riddlefuneralhome.com.
https://riddlefuneralhome.com/tribute/details/3052/Janet-Noseworthy/obituary.html#tribute-start

It would mean a lot to me if you were to leave a comment on the Tribute Wall.


Sunday, June 07, 2020

Raspberry Pi Zero setup for Motion Eye



First off, I'd like to say thanks to  Calin Crisan for his work on Motion eye. He's posted a few how to's on his Github page. This page is a modified version of his page. I've found the following method to work a bit more smoothly for me. Your Millage May vary. Before you go further, this post assumes that you know about installing Raspbian on your SD card, and have access to your Pi Zero via SSH.

I'm installing Motion eye on a Raspberry Pi Zero W.

In this example Raspbian Buster Lite is already installed on it.  I used 2020-02-13-raspbian-buster-lite.zip for my install. It also needs to be setup headlessly to use SSH.  I wrote a little post about that here. 


 Before Proceeding

    Read Calin Crisan's general Installation page first.

These instructions are intended for an up-to-date Raspbian Buster install, but they should work for Raspbian Stretch as well.

    All commands require root; use sudo before each command or become root using sudo -i.
    If you want to use the CSI camera module for the Raspberry PI, make sure you have enabled it in raspi-config.  Also don't forget to run Apt Update and Apt Upgrade if doing this on a fresh install of buster.



Instructions

Install ffmpeg and other motion dependencies:

apt install ffmpeg libmariadb3 libpq5 libmicrohttpd12

I still needed to run apt update --fix-missing to get all the packages to install when I used this method. Lately, I have not had to. 

Install the dependencies from the repositories including "python-pil instead" of python-pillow, and selecting 'zlib1g-dev' instead of 'libz-dev'. 

apt install python-pip python-dev libssl-dev libcurl4-openssl-dev libjpeg-dev zlib1g-dev python-pil


Once all of the packages for ffmpeg and motion dependencies are install, proceed to install Motion.

 Install  motion:


wget https://github.com/Motion-Project/motion/releases/download/release-4.2.2/pi_buster_motion_4.2.2-1_armhf.deb
dpkg -i pi_buster_motion_4.2.2-1_armhf.deb
Install motioneye, which will automatically pull Python dependencies (tornado, jinja2, pillow and pycurl):
pip install motioneye
Prepare the configuration directory:
mkdir -p /etc/motioneye
cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf

Prepare the media directory:
mkdir -p /var/lib/motioneye

Add an init script, configure it to run at startup and start the motionEye server:
cp /usr/local/share/motioneye/extra/motioneye.systemd-unit-local /etc/systemd/system/motioneye.service
systemctl daemon-reload
systemctl enable motioneye
systemctl start motioneye

To upgrade to the newest version of motionEye, just issue:
pip install motioneye --upgrade
systemctl restart motioneye



These instructions were modified from the original found here:

https://github.com/ccrisan/motioneye/wiki/Install-On-Raspbian

https://github.com/ccrisan/motioneye/wiki/Installation

Monday, May 25, 2020

Setting up a Raspberry Pi Zero W for Headless Use on Linux





This shouldn't take to long, and it's fairly simple to do. But if you're a novice and don't know about it, it might drive you crazy trying to figure this out.  And that's not the kind of crazy that is good for anyone.

This assumes that you've already figured out how you're going to get your Pi's SD card imaged.  I use BalenaEtcher myself.  There is dd and other methods a person can use.

Once the SD card is imaged you'll need to create an empty file on the Boot Partition called ssh.
Just right click in your file manager to create an empty document called ssh




Now you'll need to right click again to create a document, but you'll want to call it  wpa_supplicant.conf in that file you'll need your wifi network login information. Open that in Pluma or Nano or whatever your default text editor is, and put these lines below in in. Edited of course, with the correct SSID and Password for your Wifi network.  

country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="SenturyLink"
psk="Passw0rds"
}

Save this file, making sure that it's named correctly and in the \boot partition of the SD card. At this point you can eject the SD card from your PC.

Next you're going to SSH into the Pi from the terminal on you Linux machine.

What I found easiest was to log into my router and get the IP address of connected devices.  It might take a little time, so be patient. 



I have also used an Android App called Fing,  and you can also use nmap. But my router info does the trick for me. Once you have figured out what the IP address is for your Raspberry Pi Zero W, you need to open up a terminal to SSH into it.The Default username is pi and default password is raspberry

yourname@linuxpc:~$ ssh pi@192.168.1.17
pi@192.168.1.17's password:raspberry

If all has gone well, you've now successfully logged into your Pi Zero over Wifi!
For your initial log in you'll get a security warning. Say Yes to it.

Now would be a good time to run raspi-config  now that you've logged into it to change your default password, and expand the file system if needed.
You'll also want to run
Apt Update and  Apt Upgrade 
to get your machine up to date with it's packages.


That's pretty much it. You should have a Raspberry Pi Zero W that you can SSH into.

I've used this method a few times to get my Pi's setup for use with MotionEye. I've modified the original process with my own blog post on how to get Motion Eye installed and going, the original seemed to have a couple of steps out of order. 

I'd like to say that I took most of my information for this blog post from Mitch Allen's post about how to do this via Windows.



Thursday, January 31, 2019

Weather Clock HTML

Ever since I cut the cord, and hooked up a PC to my TV, I've always liked a nice Weather Clock display for those times I'm not watching TV and am listening to the radio (I like 181.fm by the way).

If you've been a Chrome user you might have seen some of the "New Tab" Clock and weather gadgets that have been built over the past couple of years.  A popular one E Clock, I think it was, worked really well and it had the coolness of offering up quite a few nice backgrounds to go with it.  But as of the 1st of this year it quit loading the weather. There is also Currently, and it's working at the moment.  But it has stopped from time to time. 

I grew tired of relying on someone else's tool, and I knew it shouldn't be toooo hard to make a web page to show the time and weather, right? I mean, I messed around with web pages back when there was a Netscape editor for them, and Front Page was destroying everything that you opened up to edit, so you ended up editing things with a text editor and holding your breath that FP wasn't going to destroy your pages. It was sorta ok if you only used it.  It's such garbage, that there is even a tool to remove it's bloat. BLECH!

So far this little HTML page that I created seems to work. The Weather Widget gets it's info from DarkSky.  But if you want to use another widget you can.  So even if this one breaks or whatever, there's more weather widgets out there to fiddle with I suppose.   In any case, this mostly your own code to fiddle with as you see fit.  If you come up with some snazzy new things to do to it, or have better code, please share.  I in no way see myself as some well informed web page developer, rather I've got limited knowledge to get me just this far.  I'm just fair  enough to fiddle with some things here and there and get them to work.

In any case, I've got the orginal code for this saved on the TryIt editor.  I have saved it here:  I have also saved it to my Google Drive here.


If you DL the HTML code, just save it on your PC  \home\weather_clock\clock.html or someplace like that.  You'll need to go to weatherwidget.io to get the code for your area and replace my widget code with your favorite Text Editor. This code should work with anyone's PC and any modern browser.

There's still a few things that I'm not exactly "happy" with this. As of the moment, I have to ZOOM in the page to 200 - 250%  to get it to fill the page up the way I want to.  I'm sure there's a way to fix this, but it's not really a huge problem, but I'm not exactly sure how to address it at this time. 

I Have also made some changes to the mentioned code so that I can have a nicer background, but  again, I have to ZOOM in and the background image also zooms.  Not sure that I really like that.


I'm sure some of this code could be cleaned up, but hey, not bad for amature. IMHO.  

R_ 


Sunday, June 03, 2018

Where are 'vino-preferences'?

So, earlier today, I'm having an issue with Ubuntu MATE 18.04  after I installed Vino.  In the past I've been able to just use vino-preferences from within the command line, and the little configuration window pops up and allows me to set it up so that I can remote into a machine without having to have someone at the other end "OK" the log in.

I tried to install the gnome-control-center so that could get the preferences to pop up. As VINO did install, and I did successfully get it to run at startup.  I just needed to tweak it a little bit to get it set up the way that I needed, and as far as I was concerned I could uninstall the gnome control center if it got in the way.

So, I come across the dconf-editor, in fact, I'm sure that I've used it in the past 4-5 years, but I totally forgot about it. (Slap on the forehead) It would seem that some of the Raspberry Pi users have had this same kind of issue.   Simple fix once you figure it out. This little fix doesn't allow for you to change the password for the remote user (I didn't look to see if there was a fix for that) as I was planning on using the default password.

sudo apt-get install vino dconf-editor 
confirm with y
type:
dconf-editor
This opens a window on your laptop with dconf-editor
go to:
org ==> gnome ==> desktop ==>remote-access
uncheck prompt-enabled
uncheck require-encryption

You can also access it via the MATE menu later, if you need to tweak something else.



https://www.raspberrypi.org/forums/viewtopic.php?t=122007
https://launchpad.net/ubuntu/+source/vino
https://wiki.archlinux.org/index.php/Vino

#notetoself
#Ubuntu_Mate_18.04

Sunday, November 09, 2014

For the Love of Goo, The World of Goo.


As many of you may know, I've been helping out Ken Starks with his passion of a project called Reglue.  I've been honored to be able to contribute to that project with the Respining of Linux Mint, and Kubuntu for his needs.  Reglue's been given the rights to take the World of Goo and put it into their desktop distro for the computers that are going out to the Reglue Kids. But somewhere along the line, (Ubuntu 12.10?) the game would install, but nothing happened when you'd go to run it.

** Crickets. ** 
Segmentation Fault 

Computers screens went black, and there was a massive gnashing of teeth.

One person, Alan, whet so far as to creating a great script (something that I wouldn't have been able to do as well has he did). He did a fantastic job.

MOM4Evr posts a how to fix it here (I'm sure there are others, but hers came up in my first search) 


libogg.so.0 
libvorbis.so.0 
libvorbisfile.so.3

download these 3 files:
http://2dboy.com/TopSecretTransfer/linux-libs64/
or:
http://2dboy.com/TopSecretTransfer/linux-libs32/

and replace those in

gksu nautilus /opt/WorldOfGoo/libs64/
or
gksu nautilus /opt/WorldOfGoo/libs32/

But what if there was simply an easier way to fix the .deb file, and not have to look for these files, or install them via a long script?  And why hasn't 2DBoy posted this fixed deb file, as it seems so simple to me? I don't have the answer for 2DBoy, but I did figure out the .deb file fix, and would have loved to have just posted the fixed deb file, but it IS a commercial game, so I don't have the liberty to post a link to the fixed file, but I will tell you how to fix it, so you can easily install it on your computer, and it'll be ready to go or whenever you re-install or upgrade your .deb based desktop distro you can just install this and go about other business. 

How to fix the .deb file. 
First you've got to "open it up".  I did this in my home folder. 

mkdir -p extract/DEBIAN
dpkg-deb -x WorldOfGooSetup.1.41.deb extract/
dpkg-deb -e WorldOfGooSetup.1.41.deb extract/DEBIAN  

**[...Copy the three Libs files...]**
Copy those three (Or 6 Library files, if you're going to do all of them) into their proper place in the .deb file that you just extracted.  And then you're done.
Such as  "/home/randy/extract/opt/WorldOfGoo/libs64"
Create your new .deb file. 

mkdir build
dpkg-deb -b extract/ build/

You should have a worldofgoo_1.41_all.deb file in your /home/randy/build folder. 

Now, install it like you would any other .deb file, and you're good to go. 


And before you go, I'd like to mention, that Ken IS currently hosting an indiegogo campaign, Deleting The Digital Divide One Computer at a Time. And even if you find this post AFTER his campaign, your donations would be STILL be MOST WELCOME

Issues with Linux Mint (or Debian Linux) and Xsane

#notetoself So, today, I was playing around with a new PC setup. And of course there was an issue with the HP Scanner. - I generally use Xsa...