Toms Online Notebook Sharing my stuff.

(Trying to) Install NVIDIA driver on ASUS Zenbook Fedora

by tgutwin

Posted on Sunday Jun 03, 2018 at 08:08PM in Technology

It did not work because I could not disable intel video chipset in my uefi bios. :( fedora icon

Read More

ASUS Zenbook UX501V - Upgrade F27 to F28

by tgutwin

Posted on Sunday Jun 03, 2018 at 04:52PM in Technology

fedora Icon

UPDATE to F30. and Fixed acpi (see grub commandine below)

NVidia driver issues still persist, but I finally debugged (and disabled) acpi consistent errors that had be plaguing me in F27.

I added a kernel boot param to my Grub2 commandline.

  • acpi=off

use the following to fix grub

grubby --info=ALL
grubby --remove-args="acpi=off" --update-kernel /boot/vmlinuz-5.4.19-100.fc30.x86_64

grubby --set-default /boot/vmlinuz-5.4.19-100.fc30.x86_64
grubby --info=ALL

You can also remove a kernel from the grub menu with

grubby --remove-kernel=/boot/vmlinuz-5.5.10-100.fc30.x86_64

You can also remove the actual kernels

rpm -qa kernel

dnf remove kernel-5.5.16-100.fc30.x86_64

Read More

Shrink Gnome 3 Titlebar

by tgutwin

Posted on Monday Sep 04, 2017 at 07:34PM in Linux

Fedora IconThe default window titlebars in Gnome on Fedora 26 ar too fat (thick), so I wanted to reduce their size.

They are config'd in the Themes (/usr/share/Themes or ~/.themes) gtk.css
in a CSS file in ~/.config/gtk-3.0/gtk.css


Read More

FIXED - Jura Milk Foam Splattering

by tgutwin

Posted on Saturday Feb 04, 2017 at 12:38PM in General

Jura Z6 imageI have a Jura Z6 Super Automatic Espresso/coffee maker.

Recently I noticed it was NOT making a nice smooth stream of milk foam when previously it had been.  It now was splattering all around the cup and not making much milk foam froth.

I fixed it.

Read More

Creating a JAR file with only the classes needed

by tgutwin

Posted on Sunday Jan 29, 2017 at 01:46PM in Programming

CupOfJava.jpgHave you ever wanted to create a JAR file for your Java class but only wanted to collect and jar the class files required by your class?
I found a very useful class to do this for you:
It is called: ZipLock written by Stuart D. Gathman at his company Business Management Systems.

Direct link to Original file.
Its perfectly simple and OpenSource!  Thanks Stuart.

I also wrote a simple bash script below to wrap the calling of the java class...

Read More

Neutron Music Player Song Ratings - Database transfer

by tgutwin

Posted on Thursday Jan 19, 2017 at 08:24PM in Technology

Neutron LogoNeutron Music Player Song Ratings: I needed to transfer all the 1000s of song ratings from an old android pad to a new one. I figured out how to access and restore the song ratings in the Neutron music player (Android) SQLite database.

See the SQL, database tables and how I did it.

Read More

LedNet Proxy

by tgutwin

Posted on Sunday Dec 18, 2016 at 06:40PM in Programming

LedNet-5Wire.jpgI want to control a LED light Strip with the 5 channel (rgbw) LEDNet controller that I bought.  I want to use my own software. Thankfully others have figured out the IP messaging packet, so I wrote my own little app that lets me program/control a Strip of RGBw LEDs.

The ultimate intent is to be able to control it using My UDI ISY-994 home controller.

Its all do-able.

Read More

Zip Download Servlet

by tgutwin

Posted on Sunday Oct 16, 2016 at 12:33PM in Programming

Java LogoI needed a simple Java Servlet to zip a directory of files (or a single file) with parameters to dynamically specify what to zip up.

It does NOT create a temp file; it zips and streams the output directly to the client.
its called ZipFiles.

Here it is...

Read More

Raspberry Pi2 Pi4J Java - RGB LED Example

by tgutwin

Posted on Tuesday Jan 26, 2016 at 08:41PM in Technology

Pi4J IconI have started to get some useful sample/examples completed on my Raspberry Pi2. Here is the Schematic and Java code to control an RGB LED.

I also have examples for:

  • controlling multiple GPIO pins with external transistor driven LEDs and Java Pi4J code that times their cycling.
  • Pulse Width Modulation (PWM) control of GPIO pins and an RGP LED.

 These will be discussed in other posts.

Read More

Rip Linux Desktop Speaker Audio Stream

by tgutwin

Posted on Tuesday Jan 26, 2016 at 08:33PM in Linux

google-music-icon.pngA quick one liner (using PulseAudio) to rip the audio being output to your linux desktop speakers and convert it to Vorbis Ogg file.

Using pacat...

Read More

Bluetooth Pairing to HP mouse with no pairing code

by tgutwin

Posted on Tuesday Jan 26, 2016 at 08:32PM in Technology

Fedora Icon[FIXED] The Gnome Bluetooth GUI via settings FAILS to pair with my HP Bluetooth Laser Mobile Mouse. This has not worked in the gui bluetooth settings app for a few versions (maybe F19).The problem is that the mouse does NOT have a pair code, and the it won't pair with '0000' or '1234'.

I figured out to manually pair it from the commandline without a pairing code!

use bluetoothctl on the commandline

use the following commands to connect to the MAC address...

Read More

Fix for google-earth rpm install error - Fedora

by tgutwin

Posted on Tuesday Jan 26, 2016 at 08:29PM in Linux

Fedora LogoThe latest rpm for google-earth is failing to install because a conflict with /usr/bin.

an easy re-build of the RPM fixed it... instructions here:

then sudo yum localinstall /home/tgutwin/rpmbuild/RPMS/x86_64/google-earth-stable-

It is now installed in /opt/google/earth/free/google-earth


XCircuit - Download, Make and install on Fedora 21

by tgutwin

Posted on Tuesday Jan 26, 2016 at 08:28PM in Technology

Now that I have my Raspberry Pi2 working with Java, I need to draw up some schematics....

Here is how I downloaded & installed the latest Git version of XCircuit on my Fedora 21 workstation.

It includes all the Fedora Yum  RPM packages I had to install to get it to build from source - you might need others.

Read More

Raspberry Pi2 -getting setup

by tgutwin

Posted on Tuesday Jan 26, 2016 at 08:27PM in Technology

RaspberryPi IconGetting Fedora 21 setup and configured to comfortably work with Java on my new Raspberry Pi2. My last entry desribed the install.

I will describe how I configured things to make it efficient to test and develop Java on my Pi2:

  1. Boot to multi-user commandline (and how to start the graphical desktop if needed)
  2. Samba shared directories
  3. SSH without password from my workstations

Read More

My New Raspberry Pi2 running Fedora 21 with Full JAVA JDK

by tgutwin

Posted on Tuesday Jan 26, 2016 at 08:23PM in Technology

Raspberry IconI Got a Raspberry Pi2 ! It has a 900MHz quad-core ARM Cortex-A7 CPU  and 1GB RAM.

I first tried noobs with Debian and it ran out of the noobs box very well.  The noobs version of Fedora DID NOT because it was not built for the new version of the ARM processor in the Pi2. That was no big deal because thanks to user clivem on the Pi Forums an image was avaialble.  See the forum link for the details. It is a full F21 version that is called FIDORA.

It was very easy to get this working. It is Fedora 21 for the ARM, with full yum repo support including rpmFusion.

Read More