Growing up in the age of the search

Gnome shell search

This has been massively shared on the internet but I did find it interesting as something to look at how I organise myself.

Generally I use folders of hierarchy on most of my systems including my Android devices. I find the linux operating system encourages you put files in certain locations, especially when you are using different applications and different app systems. For example using snap, flatpak, apt and appimage. Its quite a diverse (sometimes complex) ecosystem compared to OSx and Windows I found.

I do use symbolic links (shortcuts) a lot on my systems and find it useful to link things within remote locations like my NAS or online storage.

Gnome shell has search built in from the super key (windows key on most laptops). I don’t tend to use the search for files or folders, which in hindsight is a bit silly because its much quicker. I guess it just wasn’t as good & quick as it is now, and so never got use to using it. Even now I still would put the files in a certain folder to be clear where it is for my mind.

I use dropbox, which kind of forces you to use a folder hierarchy. There is most of my files on there and that includes personal, work, app, etc. I have my Google drive mounted as a folder inside of Linux, so I also manage that in a similar way.

Now I’m looking at the list of Gnome shell search extensions and thinking about using it much more. Heck I can search my email, files, music, etc from Gnome shell (no Joplin however) time to start using it more.

Presentation problems with Ubuntu, think I might have found the problem?

I have no idea why or what happen, but this is likely the 4 or 5th time my Ubuntu machine has become unstable while presenting live on zoom.

Tonight I gave a presentation for the Mozilla Festival about adaptive podcasting. I did some tests because I wanted to see if I could switch the audio from my headset mic to the Android phone running the app. Things were not working, so I decided to use the audio captures instead. Everything was fine, presentation in Google Chrome using google slides and Miro in Firefox for the workshop portion later. Zoom for video sharing.

Everything was smooth then I started Chrome in presentation mode but remember I need to turn on auto-generated subtitles. I switch to Zoom on my second screen try and turn it on but everything refreshes and freezes except my mouse cursor. The camera light is still on and sound is working (both mic and audio). I am forced to run the whole hour long workshop with no access to my slides, zoom or anything else. So I freestyle it.

I remembered a few times before something similar things happening while giving a presentation at Agile Manchester, UCD gathering, Immersive Arts Lab 8 and last week at the publicspaces conference. However the difference has been the laptop had paused for a short while (couple of minutes) before returning to normal state. This time I ended up rebooting the whole laptop.

Thinking about the circumstances of the other times, I suspected it might be Zoom but then its happened with Hopin too. It can’t be the laptop because I now I have a brand new laptop and although they are both Ubuntu the first three were Ubuntu 18.04.3 LTS. While I was running Ubuntu 20.4.2 LTS for the publicspaces conference and Mozilla festival. This leads me to the other common element which is Google chrome, which I use because its google slides (I tend to only sign into my google account with chrome).

Then I found problems with Chrome and fullscreen.

Even if its not quite right, I’ll be testing running Google slides from Firefox instead.

One upside of todays presentation is the amazing response I got from people on the call who really enjoyed the pure storytelling. Although I am glad for my co-host, having shared the slides and miro whiteboard right at the start.

Big thanks to everyone and the lovely words people have shared with me.

Windows 10 inside of Ubuntu 18.04, the way it should be…?

windows 10 inside of ubuntu

Its been forever since I moved from Windows to Linux and the idea of running Windows is quite a scary idea for me now. I made the decision I was never going to use Windows Vista (remember that pile of crap!) and wiped my main computer and installed Ubuntu 6.04.

It felt strange downloading Windows 10 from Microsoft’s site (all 5.4gig of it!) using the serial number which came with the Dell XPS, easily extracted using this terminal command.

There certainly was a disturbance going on, as it installed then attempted to get a ton of updates.

Due to a number of changes coming soon, it seems sensible to virtualise Windows inside of Ubuntu for certain future tasks at work. Of course others think it should be the other way, but of course they are sadly mistaken…

I’m happy to say it works but I could really do with some more memory, as 16gig is tight for my daily usage. Shame I can’t upgrade the memory easily on my Dell XPS 13.

This is not Plex on your GPU

https://www.flickr.com/photos/nvidia/30153594058/

I hadn’t really thought Plex Media Server could massively benefit from a GPU, to be fair its not really a thing you put in a headless server? But after reading about it, I gave it a try by borrowing a Nvida Quatro PCI-express card and after some small issues getting the propitery drivers working gave it a try.

I thrown together a shell script to log the CPU and GPU heat to a text file called heat.txt

while true; do date >> heat.txt ;
 nvidia-smi -q -d temperature |
 grep 'GPU Current Temp' >> heat.txt; sensors |
 grep -e 'CPU Temperature' -e 'CPU Fan Speed' 
-e 'MB Temperature' >> heat.txt; sleep 10; 
done

I know theres a better way but it was quick and dirty.

From the short tests I did, it seemed the CPU kicked into high gear for a minute or two before it hands off to, what I thought was the GPU. However… During a stream encode of 4k h.264 content to 1080p h.264, while directly streaming at the same time. I got these results.

Thu 20 Dec 20:23:51 GMT 2018;
> GPU Temperature: 33.0°C
> CPU Fan: 1650 RPM
> CPU Temperature: +71.0°C
> MB Temperature: +34.0°C
Thu 20 Dec 20:24:01 GMT 2018;
> GPU Temperature: 33.0°C
> CPU Fan:: 1599 RPM
> CPU Temperature: +68.0°C
> MB Temperature: +34.0°C
Thu 20 Dec 20:24:11 GMT 2018;
> GPU Temperature: 33.0°C
> CPU Fan: 1261 RPM
> CPU Temperature: +59.0°C
> MB Temperature: +34.0°C
Thu 20 Dec 20:24:21 GMT 2018;
> GPU Temperature: 33.0°C
> CPU Fan: 1167 RPM
> CPU Temperature: +54.0°C
> MB Temperature: +34.0°C

A while later once the transcoding stops

Thu 20 Dec 20:37:40 GMT 2018;
> GPU Temperature: 33.0°C
> CPU Fan: 725 RPM
> CPU Temperature: +37.0°C
> MB Temperature: +35.0°C
Thu 20 Dec 20:37:50 GMT 2018;
> GPU Temperature: 33.0°C
> CPU Fan: 724 RPM
> CPU Temperature: +37.0°C
> MB Temperature: +35.0°C
Thu 20 Dec 20:38:00 GMT 2018;
> GPU Temperature: 33.0°C
> CPU Fan: 725 RPM
> CPU Temperature: +37.0°C
> MB Temperature: +35.0°C

As you can see with proper testing it was clear the GPU isn’t being used for transcoding (unless the CPU magically is doing something else, but looking at Htop, its clearly Plex transcoding). This was confirmed when doing more research on the issue.

Seems the problem I got is the AMD processor and if I was to swich it to a Intel one it should work with the Nvidia GPU?

So this brings me to the idea of maybe changing parts of my server.

Si pointed me at PC part picker which is alright but I don’t really understand why some Linux operating systems are not listed under operating systems? I listed most of my parts here and to be fair changing the CPU, motherboard, case and of course getting my own GPU might be a good idea?

Making Slack useable on x64 Linux?

 

Slack

Its been a while since I reinstalled my work laptop; one thing I haven’t reinstalled properly is the Slack app.

The amount of times I use to start it up and go and make a tea because it would make my ubuntu install act like Windows 95. Most of the time I would come back to find my laptop completely frozen.

I tried removing the amount of slack workspaces I had attached to the app but it made little difference. So I decided to hell with the slack app, which seems to be a wrapper for Chrome, with each slack instance being another instance of chrome!

This time I’m using Slack in Firefox and limiting how many I have open at a time. I noticed if you login into the different slacks, the cookie will hold them open for you without using the resources. This can be done from the main page using the Workspace options.

Slack home

I also noticed the enterprise slack version also has a front page which can be used to reach the other slacks.

Recently I decided to give Flatpak Slack a try. Interestingly I found you can launch the Slack app from the slack pages mentioned above.

It sounds like a lot of hassle but it works and mean my ubuntu system is fully useable.

Hopefully this will be useful for other Linux Slack users?

Firefox 57, flipping fast!

Firefox 57: Flipping fast!

I have been a fan of Firefox for a long time and heck, I’ve given plenty of time to Mozilla through the Mozilla Festival over the years. I would regularly use Firefox & Chrome back to back on my Ubuntu laptop, but only firefox on my server (its been the default for Ubuntu for years). Tended to use Chrome for Google type operations like Docs, Spreadsheet, Mindmup, etc. But I started using the Firefox beta after the word got passed around that version 57 (Quantium) was a total rewrite.

Once I tried it, I was blown away! Tweeting…

I was so impressed that it picked up my profile, passwords, sync, everything; even when running it from a totally different location. It meant I could just run it and use it – and why not? Its that fast and smooth. There were some addons/extentions which didnt work but most of them I uninstalled when I switch Firefox 53 to multi-threaded mode, so I was already running it pretty lean.

It was all good…as I could switch to old firefox easily enough by just loading that one no problem, not that I did.

It was during Mozfest time, when I got a email asking if it would be ok for Mozilla to use my tweet in a special New York Times double page spread they were planning on launch day. Of course I said sure thinking not much more about it except remembering the moment when Firefox 1.0 launched with the name of all the backers.

Then today, I saw while in Maderia…

It had slipped my mind this was actually going to happen and frankly was quite proud to be one of only seven quoted. Its also not like it was misquoted! I’m acutally writing this blog from my hotel room on Firefox 57 right now. Its still not default yet (firefox 56 currently is), but expecting it will be very soon once Ubuntu update the distro.

Stellar work Mozilla and I love the catchy tagline – Fast for good…

firefox 57 quantum

Tiny tiny RSS experience a week later?

I have had quite a bit of feedback from my post about moving away from Feedly to a self hosted solution called Tiny Tiny RSS.

Some interesting questions have emerged from people and to be fair it certainly deserves a follow up.

I made my instance of TT-RSS available on the public netw, because I didn’t see the point of installing my VPN software on my eink reader. I also installed the official TT-RSS app which is a 7 day trail before you buy the full version for 4 pounds. I haven’t bought the full version yet because the app doesn’t seem to work well when offline? It would be great if the app understood if the device was offline and automaticilly disabled the update feeds option. It currently doesn’t seem to do this well… I much prefer Greader for this, but ttrss app isn’t far behind.

Simon commented he paid for Feedly because of the IFTTT options, but it seems weird to pay for this  because you can easily turn most of TT-RSS into a another feed and IFTTT has a RSS option which you can use to trigger most things. This reminds me of my work along while back about pipelines.

Because of this, I have been thinking about feeding Greader with the RSS from my TTRSS install. The only real disadvantage is nothing would be synced to the server? This is also something I’ve been thinking about with a linux desktop reader like thunderbird because I can’t seem to install a TTRSS reader which works.

I tried a few but each has had problems.

Feed the Moneky looked very promising but when I finally get the appimage loaded, it shows nothing? Feedreader looked great and after finally getting flatpak working, I’m faced with the error that I need to install the api-feedreader plugin in my TTRSS server. How I do this when I’m using docker is a question I have no answer for, except it seems I need to use another docker container?

So generally its going well but hitting a few points which need straighing out. It would be so useful to compile supported applications into a wiki page.

Oh I found this useful when understanding about appimages, snap, flatpak, etc.

Over 10 years of serious Ubuntu

Desktop Screenshot

Its ironic to hear Microsoft Windows Vista has finally come to its end of life (i’d argue it was dead on arrival), it was the move to Vista which sparked me to stop running Linux on a spare machine/as a second operating system and wipe windows XP off. One day I decided enough playing around, I’m not moving to Vista, I’m moving to Ubuntu 7.04 Feisty Fawn.

Before then I was playing with Knoppix, Debian and earlier versions of Ubuntu 6.06 and 6.10 but it was 7.04 when I took things serious. Since then I’ve not really looked back. It quite amazing to think how Ubuntu has changed over the last 10 years, especially with Unity and Gnome; but the dominance of linux generally is fascinating.

Love Linux but sometimes…

DELL XPS13&XPS15_29

Sometimes I come across simple things which just need someone to think about it from a user point of view.

One such example is adjusting the sensitivity on my XPS 13 trackpad. The XPS 13 has a widescreen trackpad which is good (although I do miss the Thinkpad pointer) but the right hand tends to hover around the edge, as there isn’t much room to rest my hand due to the keyboard and trackpad. The solution is to adjust the sensentivity of the trackpad, so I get less hover mistakes trigger from my thumb. Simple!

On my ubuntu setup, the trackpad driver is called synaptics and it can be configured anyway you like. Except to do so, you need to mess with the terminal and maybe even log out and in for the changes to stick.

If I was doing one #lazyweb request, it would be to automaticlly create a gui/wrapper for terminal operations like changing your mouse settings.

How does look Ubuntu without convergence unity?

Ubuntu Convergence

Mark Shutterworth announced today that Unity the default desktop enviornment which comes with Ubuntu will no longer be developed. It was based on the concept of convergence which to be fair was a good idea.

I personally didn’t really like Unity for desktops and never really got to play with Unity on a smartphone or tablet. I needed to make a lot of changes to make it more useable although I did find it slightly quicker than Gnome Shell under Ubuntu. But Gnome shell is just great to use for many reasons including its many extensions and lack of clutter is just right.

The bigger news is the concept of convergence seems to be under some doubt too, which I assume puts Ubuntu phone, tablet and tv at some risk? Weirdly enough just like the Boot2Geko/Firefox phone project?

In the meanwhile, for those thinking this is the end of Ubuntu… they are very wrong.

GnomeShell is one of many including KDE and more…

How to run two Whisper systems Signal clients on Linux side by side

Running two signal clients on Ubuntu
Running two signal clients on Ubuntu without the stress, made one d.ark and other light themed to remind me which one is which

I’m very sure I’m not the only one with 2 mobile phones (heck I really have 3 actual active SIM cards in 3 phones but thats another story).

I have chosen not to use WhatsApp as their EULA doesn’t fit well with me, so instead I always suggest Whisper Systems Signal client. I have many reasons including a linux web client but I have been wondering why one client couldn’t support multiple accounts? Especially since you can easily and securely verify the phone to the desktop client, using a generated token.

I’ve been wondering if I could run two signal apps or run them under different system users… then it dawned on me, its using Google Chrome’s app framework, maybe I could use Open Source Chrome aka Chromium to do the same? Surprisingly without having to setup another user account for the Chrome store, I was able to download Signal again and make Chromium launch it.

Now I have 2 completely separate signal apps which are linked to different phones but using the same Ubuntu desktop environment.

I know it might seem obvious but there seems to be a few people asking for multiple users using a single signal desktop app. I also saw if it could be installed in Firefox, but it looks more tricky that just hitting install from an app store. Sure my tip will work for MacOSX and likely Windows too?

Little tip for friends and followers which I thought was worth sharing… Now get yourself on Signal

Using Amazon Glacier on Ubuntu

2015-04-27 10.55.13

Looking at my little home server, I noticed a Spideroak warning telling me I am up to maximum on online storage. I assume the reason for this is the 1391 pictures I took over the course of the 2 weeks in Tokyo.

Rather than just pay for the next band up, I thought I’d give Amazon Glacier a chance. because frankly I don’t need to view the pictures all the time. I uploaded the best ones to my Japan photoset on Flickr already.

Can I say one thing!

Amazon Glacier is certainly not ready for the general public!

Yes I’m using Ubuntu and yes I was seeking to do it with a GUI but boy oh boy… Amazon webservices is very very developer focused.

In the end after about 4 hours, I finally settled on using Simple Amazon Glacier Uploader, which uses Java 1.6+. It was that or try and use Wine to emulate a Windows app called FastGlacier. Don’t get me wrong there are many clients but not many for Mac and even less for Linux.

The thing which I think most people will miss is the fact you need to setup a user just for the uploading. Once you do that you need to setup a bucket and then give that user permissions to control that bucket. This is done in the policy control, without this you will get lots of errors which don’t make a lot of sense.

I’m still waiting to verify my test upload worked but I believe its correct now. If so, then the next few days would be the time I could really do with Hyperoptic fibre broadband. My picture count is currently at 91.9 gigs over 68794 files…

Alternative user interfaces

I studied interaction design in university and always had an imprecation for good interaction and interface design. Recently I seen a few examples which have got me a little excited.

Ubuntu’s scopes
I like ubuntu’s unity paradigms of scopes and lens, even though I prefer to use Gnome Shell as my default on the desktop. The scopes and lens really make a lot of sense. It was fascinating to see Ubuntu apply it across their phone and tablet. Be interesting to see how it works on Ubuntu TV if thats still ongoing?

Pebble timeline
When I first saw the pebble time interface, I instantly thought, when are they going to roll that across there existing line of smartwatches? If not, maybe I might invest in one of the new ones. Division of a interface by future, present and the past on a watch makes a lot more sense than anything else I have seen to date including the Apple Watch.

Android Material Design
Ice cream sandwich or Android 4.0 was a massive step up in style for Android but Android 5.0 Lollipop really was the first Android when the interaction design was thought about at a deeper level.

I don’t necessarily  like the style of flat plates of colour for example the Google hangout app is just the wrong kind of green for my pallet but the interaction model is nice. Although I have spotted a few places where the rules are broken by certain apps.

What happened to Ubuntu Unity across all devices?

Ubuntu devices

Interesting to think about while watching the Microsoft Windows 10 launch… What even happened to the Ubuntu on Android?

Update: A number of friends commented on my blog entry.

Jas finds an engadget entry talking about how the launch will be limited to Europe and the East.

https://twitter.com/Jas/status/563777195114770432

Firefox OS on a new phone

Firefox OS upgrade

One of the big things which came out of the Mozilla Festival was the brand new Firefox phone, the flame… I heard about it but to own a version was frankly kind of exciting. I believe they gave out about 500 to the people who attended the festival. You also had to be there early on Sunday morning if you wanted one.

Unlike the previous version which was made by Geekphone and was technically a developer edition, this one was closer to 4.75 inches. The build quality had also been upped from the previous one.  When in my pocket, it feels very much like my Nexus 5 but a little less polished. A little frustrating to move the power button to the top instead of the right hand side to match the Nexus 5.

Firefox phones

When you open up the phones back cover (because you can do that, the novelty!) you find not only a micro SD card slot but also 2 sim slots! 2 Sims in Europe, what on earth? How great is that? I can finally buy a crappy sim from another country and still use my number for everything else. I currently have my work sim and a spare pay as you go sim in place. Another thing which surprised me about the phone also was the NFC support. Now that was something I was not expecting at all. Haven’t tested to see if the Bluetooth is 4.0 LE (looks like it maybe 3.0) or not but everything else looks good. It feels like last years chipset, not quite but comparable to my HTC 1X.

Enough about the hardware how does it work? Well I have to say its not bad. Compared to the previous one, its far more quicker and snappy. Its was pretty much what you experienced on the previous phone but quicker and more responsive. I say it was… because recently I got an upgrade pushed through to the next version of Firefox OS. Now its zippy and looks quite a bit different from what Android, iOS and Windows phone are doing.

Firefox OS upgrade

Now the icons are very big and super colourful. To be honest although Iike it, I would reduce the size if it was my only phone. People like Aral will hate the setup process because there are some gotcha’s which still disappoint, but as a whole Mozilla have listened to the critical feedback and tried to improve the user experience a lot.

The biggest problem I find with Firefox OS is the lack of apps. Its frustrating as it should make grabbing parts of websites or services easy (or maybe I’m missing something).  Don’t get me wrong the marketplace has much more that it use to have but its no where near even the Microsoft app store.

That is the one thing holding back Firefox OS. I do believe the web as a platform for development is a good one but the APIs are not there yet. For example I looked at the Web NFC API spec and found this. I’d love to write something to take advantage of it but its still not there for serious use.

I did notice that some of the things like Ubuntu unity webapp stuff does seem to work with the phone too. So I assume it got supported by the W3C? This brings me a bit of joy, because I can write simple stuff which will have utility across Ubuntu and Firefox phone. My hope is since I have Firefox installed on my Android, some of those features will also happen on Android.

As a whole, I like the Firefox phone, it reminds me how important it is to be free of the clutches of the big 5 stacks who hoover up data for their own means and lock you in forever. Firefox OS can be pretty much run like a feature phone if required but there is the ability to sync and have accounts if you so wish. If the flame really is meant to be a 100 dollar phone, its not value for money. I would happily have paid about that for it, as a 2nd phone. Looking forward to the next update… Good work Mozilla.