Connecting Linux Laptop and Android Phone to UoT_Secure

My university, The University of Tampa, is great in a lot of ways.  But one thing the university fails at quite miserably is in its support of anything other than Windows.  The IT department does okay in supporting Mac computers, but they don’t support Linux at all.  I had to get permission to wipe my laptop and install Linux on it.  I don’t have a problem managing all my own software and such, since I do that myself anyway and am quite happy that I don’t have to deal with all of the software IT puts on faculty computers (making them run super slow!).  But one area where the lack of Linux support is occasionally problematic is when it comes to logging onto the wireless networks on campus.

There are two wireless networks.  The first doesn’t use authentication to connect to the network, but you have to log in via a webpage once you connect to the network to access the internet.  That network is considered the “unsecure” network and the SSID for it is: “UoT”.  A faster and more reliable wireless network is available for faculty and staff as well.  The SSID for that one is: “UoT_Secure”.  The problem with the UoT_Secure network is that it is WPA protected with PEAP authentication.  The IT department provides information on how to connect to the UoT_Secure network for Windows and Mac computers, but not for Linux computers (or Android phones).  It isn’t that complicated, but figuring it out without any guidance can be a real pain since the process isn’t all that straightforward.  Since I have to make the necessary changes to my network settings every time I reformat my computer (about twice a year), I figured I’d put some instructions on here to remind myself how to do it and to help anyone else who may have this issue (though, apparently, I’m the only Linux user at The University of Tampa).

The first step is to find a spot on campus where you can connect to the UoT_Secure network (it’s in most places, but not everywhere).  Click on your network icon in your taskbar (or use whatever you do to access a list of available wireless networks) and make sure you see UoT_Secure.

I can see UoT_Secure as an available wi-fi network.
I can see UoT_Secure as an available wi-fi network.

Click on “Connect” and you’ll get a window that asks for more information. That window will let you edit the information for the connection.  To connect to the network, click on the Wi-Fi Security tab.  Where the  Authentication drop down menu is, select PEAP (Protected EAP).

This is the "edit" your network connection window.
This is the “edit” your network connection window.


Once you select that, you have to enter your UT credentials for logging into your email account.  You enter your username (without in the “Username:” field and your password for your email account in the “Password:” field.  Then select “OK.”  Once you’ve done all of that, go back to your Network icon in the taskbar and select “Connect.”

Click "Connect" once you've updated your wi-fi settings.
Click “Connect” once you’ve updated your wi-fi settings.

Hopefully, it works!

I did get my phone to connect to the UoT_Secure network once before, but I haven’t been able to again.  Once I figure that out, I’ll post those instructions as well.

Ubuntu Linux (KDE): “Chrome didn’t shut down correctly” error

Every so often, Chrome on my Linux based computers (one running Kubuntu and one running Linux Mint KDE) starts having a problem.  I like having Chrome save my tabs from my previous sessions so I can pick back up where I left off.  But for some reason, and I’m not exactly sure what that reason is, Google’s Chrome eventually starts giving me the following error message:

Chrome didn't shut down correctly error
Chrome didn’t shut down correctly error

The error says, “Chrome didn’t shut down correctly” followed by a button that says “Restore.”  By clicking on the Restore button, I’m able to get my tabs back, but it’s kind of annoying that I have to do that.  Also, there is no indication of what the problem is in the Chrome crash log (chrome://crashes), which means I really have no idea what causes this problem.  I tried a bunch of suggestions from various websites to get this error to go away and finally found one that works.  Here’s what you need to do.

First, click on Chrome’s Settings option:

Chrome settings menu
Chrome settings menu

In the tab that opens up, scroll to the bottom and select “Show advanced settings…”

Chrome advanced settings
Chrome advanced settings

Near the bottom of the advanced settings is the option you want: System.  There should be two buttons there.  The first one says, “Continue running background apps when Google Chrome is closed.”  I only get the “Chrome didn’t shut down correctly” error when that button is selected.

Continue running background apps when Google Chrome is closed
Continue running background apps when Google Chrome is closed

Uncheck the box next to that option, like this:

Continue running background apps when Google Chrome is closed
Continue running background apps when Google Chrome is closed

Now try restarting Google Chrome.  If whatever is causing this is the same problem for you as it is for me, it should have solved the problem.  If not, sorry.  Keep googling for an answer.   :(

Google Chrome: Mute audio in tabs by clicking on the tab audio icon

I use an RSS feed reader to get my news.  Typically, as I scroll through the feed reader, I’ll open articles that interest me in new tabs and keep scrolling through the feed reader until I have about ten tabs or so open.  Occasionally, one of those tabs will load a page that has a video file or some other audio that plays automatically, which really bugs me.

For a while now, Google Chrome has shown you the tab in which the audio is playing with a little icon:

enabling muting of audio in tabs in Google Chrome

But I recently found out that Google Chrome also has an experimental option that allows you to mute the audio in that tab just by right-clicking on the audio icon.  Here’s how you do it.

First, open a new tab in Google Chrome and type or paste in the following:


This will open up a list of experimental “flags” or features that you can adjust.  There is a warning at the top indicating that some of the features can really mess up your browser, so you should be careful.

Second, scroll down to the flag that says “Enable tab audio muting UI control.”

enabling muting of audio in tabs in Google Chrome

Click “Enable”.  Once you do that, you’ll need to restart Google Chrome.  However, once you do, you can now mute audio in a tab simply by clicking on the audio icon on the tab.  When you mouse over the audio icon, you’ll see a red circle form around the audio icon, like this:

enabling muting of audio in tabs in Google Chrome

When you click on the audio icon, the audio will be muted and the red circle will be permanent on that tab until you click the icon again:

enabling muting of audio in tabs in Google Chrome


There you go – you can now kill the audio in a tab with the click of a button and don’t even have to go to that tab.

Android: LG G3 internet connectivity issues – Chrome, Feedly, and Sprint’s Data Optimizer

For about three weeks (end of June 2015 until mid July 2015), when I tried to go to a web page on my phone using Google’s Chrome browser (my default browser), about 2 out of 3 web pages wouldn’t load.  Instead, the bar at the top would freeze about half way and then nothing would happen.  Kind of like this:

Chrome browser on Android stuck loading
Chrome browser on Android stuck loading (NOTE: This was taken after I solved the problem, so the page actually loaded.  I just grabbed this in the process.  When it would get stuck, the bar would literally stop right in the middle and the page was typically white, not grey.)

Initially, I didn’t think it was a big deal as it was only a page or two.  But when it continued, I started to get really frustrated.  That’s when I started trying to solve the problem.  What follows are all the things I tried that didn’t work, followed by the actual solution:

Wrong Solution #1:

My first attempted solution was to clear the cache and all the data the Chrome browser had stored.  That didn’t help.

Now what?

Wrong Solution #2:

Thinking the problem may be with the Chrome browser, I started using the default browser that ships with Android.  Of course, that browser is very similar to Chrome (they are based on the same base software, Chromium).  So, when the stock browser had the same problems, I thought it might be still related to the Chromium browser base.

This led to Wrong Solution #3.

Wrong Solution #3:

I installed Mozilla’s mobile browser for Android thinking the problem was with Chrome.  Nope.  The same thing happened in Mozilla’s browser – it would freeze after loading about half way and never finish.

At that point, I wasn’t really sure what to do as I had tried three of the most popular mobile browsers for Android and all were having the same issue.  But something else happened that started to lead me down a different path.  I also use Feedly for my news.  Feedly started having issues as well.  I would simply try to open the app and it would just sit on the “loading” screen indefinitely, like this:

Feedly "loading updates" screen on Android
Feedly “loading updates” screen on Android

Occasionally it would load, but sometimes it would take upwards of 10 minutes or more.  I checked Feedly’s website and searched online to see if there were problems with Feedly loading for other people and no one was reporting any.  Whatever the problem was, it seemed to be unique to me and my phone.

Wrong Solution #4:

Not sure what to do about Feedly, I tried deleting all of its cached files and other data.  That didn’t fix the problem.

Okay, now what?

Wrong Solution #5:

I then tried to uninstall the Feedly app and reinstall it.  That worked, one time.  Then the problem returned.

At this point, I was kind of at wit’s end.  Two of the apps I use really often were not working – Chrome, and Feedly.  I didn’t know what else to do. Then I started considering what the two have in common.  That led me to realize that I had an ad blocking app installed.  I wondered if the ad blocking app was some how causing the two apps not to work.  That would be pretty nasty of both Google and Feedly, to reduce their functionality because I wasn’t looking at their ads.  But I was getting desperate.

Wrong Solution #6:

I removed the ad blocking app.  That didn’t work.  Both problems remained

My last smartphone, a Samsung Galaxy S3, would periodically start running a bit slower and I would start getting weird messages (sometimes ads).  That usually meant I had installed some app I should not have (I like trying out new apps) and then I would go through and uninstall as many unnecessary apps as I could (and if that didn’t solve the problem, I’d wipe the phone and start over).  Thinking I may need to do the same thing on my LG G3, I started scanning through all the apps on the phone.  I found a few I could uninstall, but I haven’t actually tried out that many new apps.  However, in the process of scanning through the apps I had installed, I found one I didn’t recognize.  The app is called “Data Optimizer.”  I knew I didn’t install that.  Plus, something with a name like “Data Optimizer” just sounds sketchy to me.  So, I selected it to see what it was, and that’s when I found the problem.

Actual Solution:

Data Optimizer is a Sprint app.  I’m guessing it tries to cache data from websites or compress that data in order to make websites load faster or improve the browsing experience.  I don’t know for sure, as there isn’t tons of information about that app readily available online (if you search for it, you usually get information on Sprint’s Connection Optimizer, which is completely different).  But what I did see is that the app had mountains of data stored on my phone.  Here’s a screenshot from after I turned the app off:

Sprint Data Optimizer app
Sprint Data Optimizer app

When I initially opened up the Data Optimizer app, under Storage, the Total was 1.6 gigabytes.  Most of that was Cached data.  Perhaps the app is designed to periodically clear out the cache and stored data and for some reason it didn’t on my phone.  Perhaps not.  What I can gather is that this app was caching a ton of data, supposedly to help improve my browsing experience.  But something went wrong somewhere and instead of speeding things up, the app completely destroyed my browsing experience.  I’m assuming that both Chrome and Feedly were trying to access files in the Data Optimizer cache, but because it was so huge, it was having a hard time retrieving those files.  As a result, both Chrome and Feedly were freezing up most of the time.

Anyway, I deleted the cache and all the stored files, then tried opening up Feedly and Chrome.  Both worked perfectly, as if the phone were brand new again.  The Data Optimizer app was the problem!

Again, the above screen capture of the Data Optimizer app is from after I cleared the cache and deleted all the stored files.  I also disabled the app (that’s why there is now an “enable” button in the app) to prevent it from doing this again.  Not sure if I should enable the app now, but I don’t want to run into the same problem in three months when the app’s stored files get huge again.  So, I’m just going to leave it off and see what happens.

Anyway, I’m posting this here in case anyone else runs into the same problem.  It turns out, an app that was supposed to speed up web browsing was what had killed my web browsing, slowing it to a crawl or stopping it altogether.  Sprint’s Data Optimizer app was the problem.  Once I realized this, I was tempted to root my phone just to get rid of that app.  But it appears that the app is now permanently disabled, so I shouldn’t have the same problem again.  At least, I hope not!

Linux: Getting “Find” working in Dolphin on KDE (Linux Mint and Kubuntu)

One of the reasons I switched to KDE from Gnome was Dolphin, the file manager that ships with KDE.  When I made the switch a couple of years ago, the Find feature in KDE worked really well.  But some time in the last couple of years, the two distributions I’ve been using – Kubuntu and Linux Mint KDE – haven’t had the Find feature working from the base install.  I’ve muddle along without that feature for about two years (I don’t always need it, but there have been a few times when I really did need it and it didn’t work).  I finally figured out how to get it working.  It has to be one of the most ridiculously broken elements of Linux I’ve ever discovered as the solution is convoluted and counter-intuitive.

To begin with, from the base install in Dolphin, here is the Find button:

enabling find function in Dolphin in KDE

If you click it, it will open a find dialogue in the location bar at the top of Dolphin:

enabling find function in Dolphin in KDE
(click for full size)

If you try to find something, you’ll get an error message that says, “Invalid protocol” that looks like this:

enabling find function in Dolphin in KDE
(click for full size)

Dolphin has done that for the last two or three years or so, which means I haven’t been able to use this very basic feature of the file manager.

If you look around for advice on how to fix this, you’ll get mired in a bunch of forums that suggest different things about “baloo,” the new search program in KDE (that replaced Nepomuk, the failed, processor-hungry semantic search engine that no one really liked).  Here’s the problem with “baloo”: it’s not installed by default in Linux Mint KDE or Kubuntu.  That’s actually fine if you don’t need this search feature.  But, and here’s the convoluted part of this, you don’t actually use baloo for the search function in Dolphin.  However, you have to install it in order to enable the search function in Dolphin to work, but then turn baloo off.  Seriously!  It’s rather absurd and broken at the moment.

Here’s what you have to do.  First, install baloo4 from synaptic:

enabling find function in Dolphin in KDE
(click for full size)

If you try the search function now, it still won’t work.  Dolphin won’t give you the error message anymore, but it also won’t find anything.  It just gives you an empty page of results, regardless of what you search for.  But, installing baloo does something that makes enabling the Find feature possible.  If you open up System Settings, you’ll see a new icon that wasn’t there before – Desktop Search:

enabling find function in Dolphin in KDE
(click for full size)

We’ll return to that System Setting option in a minute.

Next, go back to Synaptic and install the following packages: kde-baseapps, systemsettings (probably already installed), and kfind (also probably already installed).

enabling find function in Dolphin in KDE
(click for full size)

You can still try searching in Dolphin after you’ve done this, but it won’t work.  There is one more completely counter-intuitive step.  Once you’ve installed kde-baseapps (and the other two packages), go back to the System Settings window and click on the new Desktop Search icon.  There is a check box below the window where you can exclude locations that says “Enable Desktop Search.”  Uncheck it and click “Apply”:

enabling find function in Dolphin in KDE
(click for full size)

Now, try searching in Dolphin and, voila, it works:

enabling find function in Dolphin in KDE
(click for full size)

This fix for the Find feature in a basic program in KDE is completely counter-intuitive.  In sum, in order to turn on the “search” feature, you have to install a package that you aren’t going to use, install another package that you are going to use, and then turn off the first package (baloo).  Why?  Why?  Why?

KDE programmers – I love your software!  I really, really, do.  But this makes no sense.  Can you please decide on a file/folder search solution, install it by default, and then make it a simple click of a button to turn it on or off?  This should not be anywhere close to this complicated!

Hiking journal, childhood adventures, travelogue, and other stuff…