Toms Online Notebook Sharing my stuff.

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

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

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!


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!