Toms Online Notebook Sharing my stuff.

Entries tagged [fedora]

(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
grub2-mkconfig
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
OR
in a CSS file in ~/.config/gtk-3.0/gtk.css

 

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: http://forums.fedoraforum.org/showpost.php?p=1650497&postcount=27


then sudo yum localinstall /home/tgutwin/rpmbuild/RPMS/x86_64/google-earth-stable-7.1.4.1529-0.x86_64.rpm


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


FIXED!


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

Small PHP/OwnCloud issue during Fedora 20 to 21 upgrade

by tgutwin


Posted on Monday Jan 25, 2016 at 06:30PM in Technology


After succesfully upgrading F20 to F21 using Fedup (on my server); my Owncloud CRON install was not working.php logo


Cron entry looks like:


*/10  *  *  *  * apache php -f /var/www/html/owncloud/cron.php


So I tried it on the commandline and an error told me that the new
upgraded version of PHP had a change in the default setting (in
/etc/php.ini)  for always_populate_raw_post_data. It told me to set it to:


always_populate_raw_post_data = -1


The cron now runs without error.


Upgraded Fedora 20 to 21 with Fedup

by tgutwin


Posted on Monday Jan 25, 2016 at 06:29PM in Linux


Fedora LogoSuccessfully went through a workstation upgrade  Fedora 20 --> 21 using fedup instructions at https://fedoraproject.org/wiki/FedUp

The only issue I had (and expected ) was an nVidia driver problem that was easily fixed.
F21 installed version 346 but my GT9600 based card needs the 340.


<ctl>-<alt>-F2


sudo yum remove xorg-x11-drv-nvidia xorg-x11-drv-nvidia-devel kmod-nvidia


sudo yum install xorg-x11-drv-nvidia-340xx akmod-nvidia-340xx kmod-nvidia-340xx


rebooted


Success!


Stunnel to Gmail on Fedora 20 with systemd

by tgutwin


Posted on Monday Jan 25, 2016 at 06:24PM in Linux


How to setup stunnel to simply redirect a non-SSL email client to send mail through a Gmail or (Google Apps) account. Installed on Fedora 20 (or o other Fedora with systemd) as a systemd.service.

I have some devices in my network that are not capable of SSL email required by Gmail accounts. No problem stunnel can easily wrap the messages in SSL from GMail. Stunnel can do soooo much more, but for this simple usage, the setup is very easy.

1) yum install stunnel

2) edit the /etc/stunnel/stunnel.conf to look like...

client = yes
pid=/var/run/stunnel.pid

[ssmtp]
accept  = YOURSERVERIP:465
connect = smtp.gmail.com:465

Make sure to change YOURSERVERIP to your own IP addr.


3) create a systemd.service file to start and autostart stunnel at startup:

[Unit]
Description=Stunnel SSL Tunnel
After=syslog.target
After=network.target

[Service]
Type=simple
PIDFile=/var/run/stunnel.pid
ExecStart=/bin/stunnel /etc/stunnel/stunnel.conf

# Give a reasonable amount of time for the server to start up/shut down
TimeoutSec=30

[Install]
WantedBy=multi-user.target

4) Start stunnel with   systemctl start stunnel.service

5) enable it to autostart   systemctl enable stunnel.service

6) send a test email, but point your client at YOURSERVERIP with your Gmail user password.

Works for me!


New Zoneminder install on Fedora20 (from Source)

by tgutwin


Posted on Monday Jan 25, 2016 at 06:22PM in Technology


I updated my Zoneminder installation to the latest version (1.27 master branch) from source at GitHub. My intention is to get the latest version that has an updated FFMPEG library and the libVLC. My original intention was to also building x264 and ffmpeg from source to ensure I have all codecs compiled in from the start.I did not have to do that because the Fedora20 Packages from RPMFusion already have what I needed (that makes life easier). I have done this before (see http://tom.webarts.ca) for by past experiences.

I am also re-installing the OS - Fedora20 to get the latest security updates.

The Zoneminder wiki has pretty good instructions. http://www.zoneminder.com/wiki/index.php/Documentation#Installation_from_Source
The forum also has a very good summary of installing from RPMs http://www.zoneminder.com/forums/viewtopic.php?f=9&t=19119

This post documents my steps

Read More