Below you will find pages that utilize the taxonomy term “Ubuntu”
Blogs
Working with Siemens IoT2000 series from Linux
The Siemens IoT2000 series has been a very interesting development from Siemens and it’s really encouraging to see the use of Open Source in the Automation sector definitely on the increase. And that can only be a good thing for developer productivity. Seeing a different IDE for each manufacturer of a PLC invokes some nasty memories of last century web-application development…
Download existing image The image can be downloaded from the Siemens support site (if you don’t have an account with Siemens you might have to sign up for a login first.
Blogs
Setting up MultiTech LoRaWAN gateway on Ubuntu
As the convener for the Adelaide community of The Things Network, I am frequently setting up Multitech Conduit Gateways. Depending on your PC or notebook hardware you might have some problems with the Exar USB-UART driver on Linux.
Here are the steps to getting this unit setup from an Ubuntu (should work for any other Linux distro) machine.
lsusb
Should show something like this:
Bus 002 Device 006: ID 04e2:1410 Exar Corp.
Blogs
Moving to KVM virtual machines
Installing VirtualBox is getting increasingly painful on Ubuntu due to the problems with UEFI Secure Boot and the VirtualBox kernel modules. Another reason for an alternative is that running VirtualBox VM’s completely in the background is not as straightforward as it could be.
From the available alternatives I looked into (VMWare, Xen & KVM) it was KVM that fitted my needs (casual VM usage with mostly headless VM’s for testing purposes).
Blogs
Microchip LoRaWAN Development Utility on Ubuntu
Having just wasted a few hours on getting this Java software running on Linux I am documenting this for future reference and hopefully saving other LoRa / TTN folks some time.
Prerequisites Install a Java JDK + JavaFX. This should work with the default OpenJDK 8 or 9 which comes as part of the Ubuntu repositories. I ended up installing Oracle JDK 8 as well as I thought the error might be related to OpenJDK.
Blogs
Display your Flickr Favourites as Screensaver Slideshow
Install XScreenSaver and remove Gnome default sudo apt remove gnome-screensaver<br></br>sudo apt install xscreensaver xscreensaver-gl xscreensaver-gl-extra
Run the Screensaver UI and configure In the “Advanced” section enter your Flickr RSS URL in “Choose Random Image”
https://api.flickr.com/services/feeds/photos_faves.gne?id=YOURFLICKRUSERID #replace with your Flickr User ID
Create a systemd user service to autostart mkdir -p ~/.config/systemd/user/<br></br>vim ~/.config/systemd/user/xscreensaver.service
Past the following<br></br>[Unit]<br></br>Description=XScreenSaver<br></br>[Service]<br></br>ExecStart=/usr/bin/xscreensaver -nosplash<br></br>[Install]<br></br>WantedBy=default.target
Start and enable systemd user service systemctl --user enable xscreensaver<br></br>systemctl --user start xscreensaver
To copy the settings (including RSS URL) onto other PC’s or re-install it might be a good idea to backup or copy the contents of ~/.
Blogs
Install Hugo on Ubuntu to generate static websites
Whilst there is a .DEB installer to download from the GoHugo sites I get all matter of warnings that the package is of bad quality and I am not comfortable to run these kinds of installers.
I rather install from sources in this case which is very straight forward since the main dependencies (largely GO) are in the Ubuntu main repositories.
Install dependencies sudo apt-get install golang git mercurial python-pygments
Blogs
Good bye Android ? Hello Ubuntu ! Not yet unfortunately ...
As a long-term Ubuntu user I am extremely interested in what Canonical and the Ubuntu community are doing on the mobile front. Their convergence strategy (I am testing Snappy Core on IoT devices as well) seems very well thought through and once the the Meizu MX4 phone was released I got myself an invite and ordered a unit. It took a while to ship and then also had to make it’s way down under as Meizu only ship to Europe (and Asia I believe).
Blogs
Finding Notebook Hardware for Ubuntu - 2015 Edition
Unfortunately it is still much harder than necessary to find notebook hardware to use with Ubuntu (or other Linux variants). This blog is full of past experiences (some of them quite time-consuming) on finding notebook hardware that will work without too much fiddling. This short note is to document my recent research on that front to help others who want to do the same (as there doesn’t seem to be a lot of good current info around).
Blogs
SShuttle - quick and temporary VPN over SSH
Every once in a while you find a gem. One of these for me is SShuttle – until now I have not known about this one.
Use-case: I just been trying to get Ubuntu Make to install Eclipse IDE and the local AARNET download mirror is just refusing to cooperate (https://github.com/ubuntu/ubuntu-make/issues/90). A quick forward to a remote VPS fixed the issue without headaches
Install sudo apt-get install sshuttle
Run sshuttle -r username@servername.
Blogs
Installing Ubuntu Phone (Touch) on Nexus 7 LTE
Add SDK repository sudo add-apt-repository ppa:ubuntu-sdk-team/ppa<br></br>sudo apt-get update<br></br>sudo apt-get install ubuntu-device-flash
Enable USB Debugging on the device Make sure you have developer mode enabled (see http://developer.android.com/tools/device.html if you are unsure). Navigate to Settings > Developer options Enable USB Debugging. When a device is connected, you will be prompted in Android to authorize it. Unlock Bootloader adb reboot bootloader<br></br>fastboot oem unlock<br></br>fastboot reboot
Check that you have the right device adb shell grep ro.
Blogs
Install Ubuntu 14.04 on a Chromebook
There are plenty of sites out there that give advise on this topic, unfortunately most of them are highly ad-infested to the point of being unreadable as well as only containing single bit rather that an overall picture. This is a collection of useful links to source materials as well as steps necessary to install.
Crouton Github: https://github.com/dnschneid/crouton – Thank you David Schneider for the excellent work !!!
Developer Info for Chromebooks: https://www.
Blogs
CyanogenMod 12 on Sony Xperia Z2
Just a quick update of the previous article on “Sony Xperia Z2 upgrading to CyanogenMod 11“.
One thing is that CM now included the custom recovery and you do not need to download any other custom recoveries !
Download the CM 12 ZIP file for Sony Xperia Z2 (sirius) and extract the ‘boot.img’ file
Download link: https://download.cyanogenmod.org/?device=sirius
Get the device into fastboot (bootloader mode)
fastboot -i 0xfce flash boot boot.img<br></br>fastboot reboot
Blogs
Ubuntu 14.04 Webmin Install from PPA
On remote systems sometimes a web-based tool can be very handy. Webmin is such a tool that has been well maintained for decades. To install quickly on a Ubuntu Server without having to manage dependencies and keeping it updated as part of normal OS update operations installing from a PPA Repo is handy.
sudo echo "deb http://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list<br></br>wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -<br></br>sudo apt-get update<br></br>sudo apt-get install webmin
Blogs
Barebone Ubuntu 14.04 Cloud Desktop
Since I have found some issues with my previous LXQT setup in real-life work I decided to fall back to standard Lubuntu for my cloud desktop. As part of this I also switched to TightVNC which seems a lot easier to configure.
Add local user account adduser USERNAME<br></br>adduser USERNAME sudo
Install Lubuntu Desktop sudo apt-get install --no-install-recommends lubuntu-desktop tightvncserver
TightVNC Configuration sudo vim /etc/lightdm/lightdm.conf
#<br></br># VNC Server configuration<br></br>#<br></br># enabled = True if VNC connections should be allowed<br></br># port = TCP/IP port to listen for connections on<br></br>#<br></br>[VNCServer]<br></br>enabled=true<br></br>port=5900<br></br>width=1366<br></br>height=768<br></br>depth=24
Blogs
Accessing your cloud desktop from Chromebook
One of the main reasons for setting up a cloud desktop is that I tend to use a lot of different devices some of which are not very powerful.
One of my favorite devices of late has been a HP 11 Chromebook. I originally bought it for a new employee and wanted to check myself how this thing stacks up to do day-to-day computing tasks more efficiently than a standard laptop without all the headaches of running Windows (viruses, endless driver installs, bloatware, malware, …).
Blogs
ARD Mediathek offline viewing on Ubuntu
Since I am a bit of a sucker for German “Krimis” as well as some their excellent documentaries I like to watch ARD Mediathek IPTV. However there are several problems with this when you live at the opposite side of the world. ARD has a block for any films that are 15+ years outside of 20.00h-6.00h GMT+1. Which makes it pretty much impossible to watch at a reasonable time in Australia.
Blogs
Ubuntu 14.04 Amazon EC2 Cloud Desktop using LXQT
Using Amazon EC2’s free usage tier to host your own cloud desktop is a very economical way to to have a desktop at hand anytime you can not be near one. Since I quite often use Chromebooks these days when on the road this is a particular handy way should I need a full desktop for certain tasks.
Since Ubuntu 14.05 is my default desktop on my normal hardware I obviously want to have my cloud desktop running the same underlying OS.
Blogs
Upgrading Nokia X to CyanogenMod 11 (via Ubuntu)
The Nokia X seems to be a nice piece of hardware for just around $125 AUD. Nothing spectacular in terms of computing power, but much better build quality than your average cheap Chinese Android clone. I have always been a fan of Nokia hardware until they decided to commit suicide by firstly adding CEO Stephen Elop and ditching all of their software for Windows Mobile.
The problem with the device out of the box is that is has a horribly butchered version of Android.
Blogs
Upgrade Rikomagic MK902 Android MiniPC from Ubuntu
If there would be an Oscar for the WORST firmware upgrade procedure (and associated drivers, documentation and general quality of software) Rikomagic should win this by a country mile !
Since all the information I found on the interwebs said Linux was not supported I ended up borrowing friends notebooks (as I don’t own any Windows machinery anymore). My main Toshiba Ultrabook seemed to have issues with picking up the USB from a Windows Virtual Machine).
Blogs
Android SDK issues on Ubuntu 14.04 64bit
Since the upgrade to Ubuntu 14.04 (Trusty Tahr) I have had issues running the Android SDK Tools. For example this error:
./adb<br></br>bash: ./adb: No such file or directory
Check the multi-arch architectures installed on the system.
sudo dpkg --print-architecture
Mine only showed ‘amd64’. Turns out you need to add the i386 architecture and install libc6:i386,libncurses5:i386,libstdc++6:i386 library packages.
sudo dpkg --add-architecture i386<br></br>sudo apt-get update<br></br>sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386<br></br>sudo ./adb
Blogs
LXQt - extending the life of my trusty old EEE PC (even further)
My old Asus EEE PC 900 is the oldest piece of hardware I own. With an old Intel Atom processor and 1GB of RAM it’s never was the fastest kid on the block (in fact I never considered the Windows XP version of the same unit usable as it was very sluggish). However after owning it for nearly 7 years I am very surprised I can still use it. Granted I only use it occasionally when I am at home, but thanks to LXDE it was still usable.
Blogs
Ubuntu 14.04 - post-install enhancements for Trusty Tahr
Excellent coincidence that the release of Ubuntu 14.04 LTS (Trusty Tahr) fell into the Easter holidays. This gives me the time to install earlier than I normally have time for.
This realease being a LTS (long-term support) release means it is a fairly conservative release. There are some nice enhancements and most importantly for me the 3.13 Kernel means finally Wacom Touch devices are supported without kernel mods.
Unfortunately some things are still not included (such as the boot-repair tools not being part of the standard repos).
Blogs
Fixing UEFI Secure Boot problems on Ubuntu 14.04
Unfortunately the mess that is UEFI Secure Boot still causes issues on some hardware. In my case it’s a Toshiba Z930 Ultrabook. I have documented the procedure to get it working here.
However it turns out that there is no ‘Trusty’ release for the boot-repair utility. The fix is relatively easy.
sudo vim /etc/apt/sources.list.d/yannubuntu-boot-repair-trusty.list<br></br>#change the following line from 'trusty' to 'saucy'<br></br>sudo vim /etc/apt/sources.list.d/yannubuntu-boot-repair-trusty.list
You can then just finish with
sudo apt-get update<br></br>sudo apt-get install -y boot-repair && (boot-repair &)
Blogs
Apache Cordova development environment install on Ubuntu
Apache Cordova has very nice documentation, however as so many projects it is focused on the Windows/MacOS duopolies only. Fortunately it’s not too hard to work out the differences.
Installing dependencies Thanks to: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
sudo apt-get install python-software-properties python g++ make ant openjdk-7-jre openjdk-7-jdk
Installing Android SDK Please note: one of the problems I found was that I had some Android tools from the Ubuntu repos that were conflicting with the SDK install.
Blogs
Getting Foscam IP Cameras to work from Linux (Ubuntu)
As with most hardware manufacturers of hardware Foscam utility software is Windows or Mac only. The actual unit tested with the below is a FI9805E Outdoor POE camera.
Installation The installation is relatively painless as the unit is set up to get the IP assignment via DHCP (check your routers DHCP assignment list).
https://IP.ADDRESS.OF.CAM
should get you to the web-admin interface. The default user is ‘admin’ with no (empty) password.
Blogs
Ubuntu Touch install on Nexus 4
This is the last of a series of alternative mobile OS installs and the easiest install by a country mile !
Install Everything is quite well documented here: https://wiki.ubuntu.com/Touch/Install.
sudo add-apt-repository ppa:phablet-team/tools<br></br>sudo apt-get update<br></br>sudo apt-get install phablet-tools android-tools-adb android-tools-fastboot<br></br>phablet-flash ubuntu-system --channel devel --bootstrap
That is it really ! This is how a OS change on a mobile should work !
Issues Ubuntu touch can not yet handle the radio firmware past Android 4.
Blogs
Making VIM the default text editor on Ubuntu
In my never ending quest to find the ideal text editor here is another installment. Since I have been using VIM as my default command line editor for years I thought I give it a try for basic GUI editing as well.
Install and set desktop app & icon sudo apt-get install vim vim-gnome<br></br>sudo wget --output-document=/usr/share/applications/gvim.desktop https://raw.github.com/leogaggl/misc-scripts/master/gvim.desktop<br></br>sudo wget --output-document=/usr/share/icons/hicolor/scalable/apps/gvim.svg http://gfxmonk.net/images/vim-logo/vim-logo.svg<br></br>sudo update-desktop-database
Set MIME defaults vim ~/.local/share/applications/mimeapps.list<br></br>#add or edit the following mime type and add others as needed<br></br>text/plain=gvim.
Blogs
Install FirefoxOS on Nexus S (GT-9023)
I just had one of my old hand-me-down phones returned by my offspring in a great condition (junior is very careful with his equipment – well done young man !). This doesn’t happen all too often shows that the Nexus S is a decently built phone. This is also a good example of breaking the built-in obsolescence of modern phones. This particular unit has served me well for nearly 2 years (my average is one year) and served 2 kids after that.
Blogs
Ubuntu 13.10 based Python/Django/WSGI setup
I am currently looking into the use of Django for one of my extra-curricular projects and needed to set up a development environment on Ubuntu. This is the log for future reference and hopefully useful for anybody needing to do the same.
Dependencies & Django Installation Core Dependencies & Django sudo apt-get install apache2 apache2-mpm-itk libapache2-mod-wsgi mysql-server python-django python-mysqldb
Optional add-ons For my purposes I need a few more additional modules
Blogs
Ubuntu Apache2 - run VHOST as different user
There are several reasons why you might want to run different Apache Virtual Hosts as separate users from the Apache user account. My most frequent usage is on my development machine to allow running from my home directory.
The most commonly recommended option for this purpose is MPM-ITK (a quick hack would be to add yourself to the www-data group using “sudo usermod -a -G www-data USERNAME”)
sudo apt-get install apache2-mpm-itk<br></br>sudo a2enmod mpm_itk
Blogs
Installing libdvdcss on Ubuntu 13.10
With the demise of the Medibuntu repository and libdvdcss not being hosted in the main Ubuntu repos due to licensing issues a new repository is needed from 13.10 upwards. Thanks to the good folks at VideoLAN (makers of the awsome VLC Video Player) there is a ready and updated source available.
wget ftp://ftp.videolan.org/pub/debian/videolan-apt.asc | sudo apt-key add -<br></br>echo "deb ftp://ftp.videolan.org/pub/debian/stable ./" | sudo tee /etc/apt/sources.list.d/libdvdcss.list<br></br>sudo apt-get update<br></br>sudo apt-get install libdvdcss2
Blogs
Ubuntu - paperless office on a budget
Since paper and myself have never gotten on well I have always been dreaming of a paperless office. A while ago I purchased a Fujitsu ScanSnap S1500 scanner for the office. I did this after doing some research on which Automatic Document Feed (ADF) multipage & duplex scanners were both affordable as well as supported on Linux.
scan the document perform OCR to convert to text combine the text with PDF to create a searchable PDF OPTIONAL – send the resulting document into Alfresco Document Management Server via FTP Install dependencies NOTE: PPA is only required for support of Fujitsu ScanSnap S1500
Blogs
Quick Adobe Reader install on Ubuntu 13.04
Whilst EVINCE is a very capable PDF Viewer, if you have a need to fill in editable PDF forms it is required to install the Adobe PDF Reader.
sudo add-apt-repository "deb http://archive.canonical.com/ precise partner"<br></br>sudo apt-get update<br></br>sudo apt-get install acroread
PS: If anybody is aware of an Open Source alternative to the Adobe Reader for editable form please leave a comment !
Blogs
Remove Ubuntu Webapps integration features
One of the most annoying features in Ubuntu from 12.10 onwards are the pesky notifications popping up asking if you want webapps support everytime you visit a supported webpage?
Whilst you can disable this in Firefox’s browser options: Firefox > Preferences > General: Uncheck “Prompt integration options for any website”.
However I prefer to remove the browser extensions entirely.
sudo apt-get remove xul-ext-unity unity-chromium-extension
NOTE: Take care – unfortunatly you can not remove the following as their removal will cause Unity to fail !
Blogs
Quick ‘manual’ Eclipse install on Ubuntu
Since I always had trouble with the Eclipse version that is avaialable via the Ubuntu repositories I often need to install Elcipse on new machinery. Hence I am documenting the process for myself and hopefully it might help others as well.
Java dependencies install sudo apt-get install openjdk-7-jre openjdk-7-jdk icedtea-7-plugin
Eclipse download Note: download link needs to be updated – current as of 2014-01-27
cd /tmp<br></br>wget http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/luna/M4/eclipse-standard-luna-M4-linux-gtk-x86_64.tar.gz&mirror_id=1051<br></br>tar -xzf eclipse-standard-luna-M4-linux-gtk-x86_64.tar.gz<br></br>sudo mv eclipse/ /opt<br></br>rm -f eclipse-standard-luna-M4-linux-gtk-x86_64.
Blogs
Simple conky system monitor configuration
Just a quick note on install and configuration of Conky.
Installation sudo apt-get install conky conky-all hddtemp curl lm-sensors<br></br>sudo chmod u+s /usr/sbin/hddtemp<br></br>sudo sensors-detect
vim ~/.conkyrc
This is the content of my config file.
use_xft yes<br></br>xftfont Ubuntu Condensed:size=9<br></br>xftalpha 0.8<br></br>override_utf8_locale yes<br></br>update_interval 5.0<br></br>total_run_times 0<br></br>own_window yes<br></br>own_window_transparent no<br></br>own_window_argb_visual yes<br></br>own_window_argb_value 155<br></br>own_window_colour 081100<br></br>own_window_type normal<br></br>own_window_class conky-lgaggl<br></br>own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager<br></br>#background yes<br></br>#out_to_console no<br></br>double_buffer yes<br></br>#max_user_text 32768<br></br>minimum_size 300<br></br>draw_shades no<br></br>draw_outline no<br></br>draw_borders no<br></br>draw_graph_borders yes<br></br>default_shade_color black<br></br>default_outline_color white<br></br>default_bar_size 150 5<br></br>default_gauge_size 20 20<br></br>imlib_cache_size 0<br></br>draw_shades no<br></br>alignment middle_right<br></br>gap_x 15<br></br>gap_y 15<br></br>border_inner_margin 10<br></br>no_buffers yes<br></br>uppercase no<br></br>cpu_avg_samples 2<br></br>override_utf8_locale no<br></br>default_color ffffff<br></br>color1 ffffff<br></br>color2 cccccc<br></br>color3 000000<br></br>color4 FFAA00
Blogs
Installing Ubuntu on Toshiba Z930 Ultrabook
Since I have been really happy with the performance and mobility on the Toshiba Ultrabooks (see previous blog entries) I have now chosen to stay with a tried brand and uprgrade to the Z930 i7 model.
Unfortunately this now comes with added hurdles by our good friends at Microsoft in the form of UEFI and the pre-installed disaster that is Windows 8. Instead of totally wiping the system as I did with the Z830 model I decided to install next to Windows 8 as lots of people have reported problems with the UEFI bootloader and the BIOS if you start messing with the pre-installed partitions (specially the EFI partition).
Blogs
OpenVPN - forward all client traffic through tunnel using UFW
By default OpenVPN only routes traffic to and from the OpenVPN Server. If you need all traffic from a client through the OpenVPN tunnel there are several options listed in the OpenVPN docs (http://openvpn.net/index.php/open-source/documentation/howto.html#redirect). Since I don’t have any control over the server in some cases I needed a client side solution. As I already have ufw running with Ubuntu I wanted to use the existing software.
Here is how to configure ufw to enable routing all traffic from your client machines through the OpenVPN Server.
Blogs
Connection Android 4.x MTP mass storage to Ubuntu 12.x
The ability to connect Android 4.+ devices to Ubuntu using the USB Mass Storage interface has always been a pain. With Ubuntu 13.04 a new MTP back-end (gvfs-mtp) is going to be introduced, but I have had some issues with the 13.04 Beta so I found this backport PPA to Ubuntu 12.04 and 12.10
sudo add-apt-repository ppa:langdalepl/gvfs-mtp<br></br>sudo apt-get update<br></br>sudo apt-get install gvfs<br></br>sudo apt-get upgrade
Kudos to Phillip Langdale for the work and maintaining the PPA !
Blogs
Mongodb / Python development install on Ubuntu
Add apt repository key sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
Add apt repository sudo vim /etc/apt/sources.list.d/10gen.list<br></br>#add the following line:<br></br>deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen<br></br>
Install mongodb & python utils sudo apt-get update<br></br>sudo apt-get install mongodb-10gen python-pip python-dev build-essential<br></br>pip install pymongo
Blogs
Offline RSS Reading on Ubuntu
I sometimes have time to read RSS feeds when I have no Internet connection. Granted this is happening less often these days with wireless connectivity pretty much ubiquitous, but I frequently have that need. Most often it’s in an air-plane when you want to catch up on non-essential news and don’t have any connectivity.
This is where Lightread comes in handy. It synchronizes your Google Reader Account with excellent integration into the Ubuntu UI (desktop notification of new items …).
Blogs
CoffeeScript on Ubuntu 12.04
Installing CoffeeScript on Ubuntu 12.04 is a complete no-brainer by the looks of it (since both node.js Core as well as Node Package Manager are in the Ubuntu repos).
sudo apt-get install nodejs npm<br></br>sudo npm install -g coffee-script
To check the installation
coffee -v
Just as a reminder for myself & in case it helps somebody …
Blogs
Saving Video Streams in Ubuntu
Flash Media rtmpdump apt-get install rtmpdump<br></br>rtmpdump -r "rtmp://domain.tld/video_name.flv" -o video_name.flv
Docs: http://rtmpdump.mplayerhq.hu/rtmpdump.1.html
Windows Media mimms apt-get install mimms<br></br>mimms mms://domain.tld/video_name.wmv
Docs: http://manpages.ubuntu.com/manpages/precise/man1/mimms.1.html
mplayer mplayer -dumpstream -dumpfile video_name.wmv mms://domain.tld/video_name.wmv
Blogs
Disable services on boot - Ubuntu 12.04
To keep my desktop (notebook) machine light and responsive I don’t want unnecessary services starting on boot-time. Turns out Ubuntu is surprisingly cumbersome to configure in this area (compared to RedHat / Fedora).
Two services I need on my notebook, but don’t want them to start unless I require them running are MySQL and Apache. But it looks like some services are started using upstart init daemon and it appears there is no management tool for this.
Blogs
Galaxy Nexus Firmware Upgrade on Ubuntu (manual)
As a Galaxy Nexus Owner I have been waiting for months for an OTA (over the air) upgrade to the factory installed Firmware (4.0.2). I am finally sick of waiting and complaining to Google (an absolute lost cause).
After some research it turns out that (contrary to popular opinion) not every unlocked Google Nexus actually has the ‘official’ Google Firmware. Some of them have a Samsung variant (WTF !?) of the firmware.
Blogs
Installing Oracle Java7 JDK on Ubuntu 12.04
If you really need Oracle Java (some applications seem to insist on it) on Ubuntu here is the procedure using a PPA.
sudo add-apt-repository ppa:webupd8team/java<br></br>sudo apt-get update<br></br>sudo apt-get install oracle-java7-installer
HT to WebUpd8 http://ppa.webupd8.org/
Blogs
Running Android 4.0 (ICS) on Virtualbox
Debugging things on the Android Emulator (incluced in the SDK) can be a very slow and cumbersome process. Thanks to the Android-x86 Project it’s quite easy to run Android in VirtualBox. This is highly useful when you need to test mobile apps and websites from the Android Browser (as well as Chrome Mobile).
Download an Ethernet enabled ISO from Tablets x86wget http://dl.dropbox.com/u/75945873/android-x86-4.0-eth0-generic_x86-20120426.iso.torrent<br></br>transmission android-x86-4.0-eth0-generic_x86-20120426.iso.torrent Create new ViratualBox VM
Important Settings (see screenshots) OS: Linux, Version: Linux 2.
Blogs
Install GIMP 2.8 on Ubuntu 12.04
Since the latest version of GIMP has not been included in the main 12.04 repositories because it was not ready at release time you have to use a PPA at current.
sudo add-apt-repository ppa:otto-kesselgulasch/gimp<br></br>sudo apt-get update<br></br>sudo apt-get install gimp
TIP: Go to the “Windows” menu and select ‘Single-Window Mode’ to use Gimp in one window (see screenshot).
Blogs
Intel Ultrabook tweaks on Ubuntu 12.04
After upgrading my Toshiba Z830 Ultrabook to 12.04 (Precise Pangolin) I noticed that the ability to control the screen back-light was not working using the Toshiba Fn F6/F7 keys.
Thanks to http://www.linlap.com/wiki/acer+aspire+s3 the solution was found quite quickly.
sudo vim /etc/default/grub
This will open the grub configuration file. (Grub is the initial boot selection software)
To be able to dim the screen brightness, You’ve got to modify the line:
GRUB_CMDLINE_LINUX=""
Blogs
Accessing Samsung Galaxy Nexus as USB Media Device Ubuntu 12.04
To use a Samsung Galaxy Nexus as a media device (MTP) there is a utility called gMTP.
sudo apt-get install gmtp mtpfs mtp-tools
NOTE: Unfortunately there is a bug in the 64-bit version at the moment (https://bugs.launchpad.net/ubuntu/+source/mtpfs/+bug/936165) – which means it’s not all that useful to me at the moment.
Blogs
Disable the Guest account from Ubuntu Login Screen
Having a guest account might be useful on a home computer, but it’s generally not what I want enabled on a notebook.
To disable the default Guest account you need to edit lightdm.conf and add a line (allow-guest=false).
sudo vim /etc/lightdm/lightdm.conf
[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
allow-guest=false
Tested in Ubuntu 12.04 LTS Precise Pangolin & Ubuntu 11.10 Oneiric Ocelot
Blogs
Installing Java6 JDK on Ubuntu 12.04
UPDATE: [01-May-2012] It appears that this PPA repo is currently broken (does not allow to get GPG key and has unmet dependencies on x84_64). It appears that the install on i386 systems does work anyway if you ignore the GPG key error, but I wouldn’t install in that case as PPA installs are security risk enough without GPG errors.
UPDATE: [11-May-2012] The reason the PPA does not work is that it has been disabled by Ubuntu due to a licensing issue with (not hard to guess) Oracle.
Blogs
Installing the latest stable version of LibreCAD on Ubuntu
I have recently been looking at different CAD options on Ubuntu and LibreCAD (http://librecad.org/) is looking like the best option for my needs at current (apart from the wish there would be some DWG support).
Since the main Ubuntu repositories are usually a fair bit behind the lastest stable realeases of LibreCAD you need to add the LibreCAD Dev PPA Repository
sudo add-apt-repository ppa:librecad-dev/librecad-stable<br></br>sudo apt-get update<br></br>sudo apt-get install librecad<br></br>
Blogs
Darktable - Photo Management under Ubuntu
Whilst I am by no means a photographer I do end up taking quite a few photos (these days pretty much exclusively on my phone) and the management of these photos can be a pain. So far I have never found an program worth the pain over plain old file management.
But having stumbled across Darktable (http://darktable.org/) I think I might have found a worthwile package.
Install on Ubuntu:
sudo add-apt-repository ppa:pmjdebruijn/darktable-release<br></br>sudo apt-get update<br></br>sudo apt-get install darktable
Blogs
Bulk converting Office documents to PDF
When you need to convert multiple documents to PDF for distribution (or from one Office format to another) there are a few utilities around. The most workable I found is the UNOCONV utility which is build on top of LibreOffice / OpenOffice. This uses the OpenOffice conversion facilities rather than a simple PDF print driver.
On Ubuntu it can be installed via Software Center or via apt-get from the core repositories.
Blogs
Jitsi Ubuntu VoIP SIP Client
The latest instalment in my never-ending quest to find a decent SIP client (see Ubuntu SIP I & Ubuntu SIP II) I came across JITSI (http://jitsi.org/). Since the website looked very interesting and the project seems very well maintained (http://jitsi.org/index.php/Main/Screenshots) I decided to give it a go.
The installation is a breeze with a Ubuntu/Debian package available and the installation also adds the repository to keep the package up to date.
Blogs
Installing Samsung Multifunction Printer - Ubuntu 11.10
Getting Multifunction Printers to scan under Linux can be a bit of a pain. The Samsung SCX-3400 I had to install recently was no exception.
Here are the necessary steps I had to perform:
Ignore all Samsung Provided CD’s and downloads. They do not work under Oneiric Ocelot (11.10) Add Samsung Unified Driver repository http://www.bchemnet.com/suldr/smfpv3.html Install Samsung drivers and libsane-extras Edit sane configuration files vim /etc/apt/sources.list #add the Samsung Unified Driver Repo deb http://www.
Blogs
Installing VideoLAN VLC 2.0 on Ubuntu 11.10
With the release of the final VLC 2.0 player you need to add a back-port (the next version 12.04 will have it included in the main repositories) PPA to Oneiric Ocelot (11.10)
sudo add-apt-repository ppa:n-muench/vlc sudo apt-get update sudo apt-get install vlc Thanks to Nate Muench for providing this !
Blogs
Finding a Notepad++ alternative / replacement on Ubuntu
One of the most important utilities on any computer is a decent text editing tool. Since there are as literally hundreds of text-editors out there you would think it is an easy task to find a similar one for each platform.
The requirements list in order of priority:
Fast & Native (reading NOT Java or similar runtime requirements) Excellent Search & Replace (which is where most fail ….) Lightweight Simple GUI (reading NOT an IDE) Potential Candidates Scite Scite was my first try since it is based on the same engine as Notepad++.
Blogs
Getting a handle on Ubuntu mobile power management
To get an idea on the current power usage and some suggestions on how to improve power-management ‘powertop‘ is a must-have.
sudo apt-get install powertop
Blogs
Turning the Toshiba Z830 into a Ubuntu Ultrabook
EDIT: Here are some tweaks if you install 12.04 (Precise Pangolin).
Since I will have to do a fair amount of traveling in the next year I was in need of upgrading my trusted workhorse of Toshiba Qosmio F60 to a more portable option that will be easier on the shoulders during long travels. After doing some research into which of the major manufacturers offer the best support for a Linux based Operating System it came down to a final two: the Intel i7 variants of Samsung Series 9 and the Toshiba Z830.
Blogs
Using Blackboard Collaborate (Elluminate) on Ubuntu
Like it or not (personally I am in the second category) Blackboard Collaborate or Elluminate (as it is still more commonly referred to) is something you have a hard time avoiding if you work in online education.
I discovered that I have audio issues on some Ubuntu Linux machines and found the following to fix the issues.
1) Install alsa-aoss
apt-get install alsa-oss 2) Save the Elluminate Java Webstard (.JNLP) file to a local folder – DO NOT OPEN IN BROWSER
Blogs
Ubuntu - create manual application launcher (Unity)
With every new release of Ubuntu I am becoming more resigned to the fact that the effort to revert back to the Ubuntu Classic (Gnome 2) interface is getting harder and sooner or later I will have to bite the bullet and learn to live with the ugly and more cumbersome Unity interface (specially since Gnome 3 seems to be even worse). One of the first issues I found is that there seems to be no easy way to manually add programs to the “Launcher” (as well as to the applications list).
Blogs
Installing Java6 JDK on Ubuntu 11.10
UPDATE: To install on 12.04 (Precise Pangolin) you need a different PPA.
Since sun-java6-jdk has been removed from the default Ubuntu 11.10 (Oneiric Ocelot) repositories you need to add a PPA repository (unless you want to install by hand)
sudo add-apt-repository ppa:ferramroberto/java sudo apt-get update sudo apt-get install sun-java6-jdk sun-java6-plugin
Blogs
Back up Google Apps Mail using getmail4 + IMAP
Just a quick note on how to configure backups of Google Apps email to a local machine.
Install getmail apt-get install getmail4 create config directory Create a subdirectory in users home folder (and change permissions)
mkdir .getmail touch .getmail create config file Create a file such as .getmail/username.gmail
[retriever] type = SimpleIMAPSSLRetriever server = imap.gmail.com username = username@domain.tld password = password mailboxes = ("[Gmail]/All Mail",) [destination] type = Maildir path = /path/to/storage/directory/ [options] # print messages about each action (verbose = 2) # Other options: # 0 prints only warnings and errors # 1 prints messages about retrieving and deleting messages only verbose = 1 message_log = ~/.
Blogs
Running your business (mostly) on Open Source Software
The release of the latest Ubuntu Version has been seen by a number of commentators as the most end-user friendly yet and signals another milestone in the readiness of Free and Open Source Software (FOSS) for more widespread (and business) use.
As a long-term user of a number of different Operating Systems and as SME Owner for the last 15 years I have overseen the gradual replacement of a number of proprietary software solutions with FOSS Alternatives.
Blogs
Installing Ubuntu: Extending the HP Touchpad
As one of those who grabbed a HP Touchpad at the recent firesale (after announcing the killing of the product line) I did it as in full knowledge that this device in it’s current form is of limited use and (highly) unlikely to have lots of additional applications created for it.
After casually using it for a few nights of use I am personally not surprised that HP decided to ditch this product.
Blogs
Upgrade to Firefox 4 on Ubuntu 10.04
Since some older hardware (Toshiba Satellite A300 for example) has issues with the current version of Grub as well as the newer Kernel I still need to run 10.04 on some machines.
However since the 10.04 Repository still uses Firefox 3.6 you need to add a PPA repo to upgrade to Firefox 4.
Either go to Ubuntu Software Center > Software Sources and click the ‘Other Software’ tab. Press ‘Add’ and enter ppa:mozillateam/firefox-stable
Blogs
Install Handbrake on Ubuntu
Note: this has been verified to work on 11.04 (Natty), 11.10 (Oneiric) & 12.04 (Precise)
To convert a DVD and make it viewable on your mobile device Handbrake seems to be the most useful tool I have discovered so far. Since it is not part of the default Ubuntu Repositories here is the installation process. The first step is to insure libdvdcss2 is installed
sudo apt-get install libdvdcss2 sudo add-apt-repository ppa:stebbins/handbrake-releases sudo apt-get update sudo apt-get install handbrake-gtk
Blogs
VoIP client for Ubuntu II
After upgrading to Ubuntu 11 (Natty) I did some further research on VoIP clients (SIP) for Ubuntu Linux as XLite seems horribly out of date now.
I came across QuteCom (formerly WengoPhone) and from first testing it seems to work quite well. The install is easy as it’s part of the Ubuntu Community Software (Universe) and that means it can be installed via apt-get, Software Center or Synaptic.
So far the early testing has been very positive and the interface seems quite workable as well as having a number of other instant messaging options available.
Blogs
GoogleApps (Gmail) as default Ubuntu mail client
Keeping mail on a local machine does not make sense when working across a large number of different (vitual) devices. As a GoogleApps user I have long preferred browser based mail client as my default.
Unfortunately this is not yet a very straight process on most Operating Systems and Ubuntu is no difference.
Edit: all the commands need to be run with root privileges. so either run “sudo su” or prefix all with “sudo ” (thanks to Paul for the comment below)
Blogs
KeePass Version 2 on Ubuntu
EDIT: As of Ubuntu 11.10 (Oneiric Ocelot) this is now much easier as KeePass 2 has finally made it into the repositories
apt-get install keepass2 ————————————————————————————————————-
If you need to read KeepPass 2 data files (.kdbx) on Ubuntu (as well as from other platforms such as Windows or Android) you need to run the Portable Version under Mono (.NET Runtime). Make sure you download the Portable Version 2.x from http://keepass.info/download.html
Blogs
Revert Ubuntu Netbook UI
If you upgrade you Ubuntu Netbook release to 10.10 (Maverick Meerkat) you will notice a change to the new ¨Unity¨ user interface.
Personally I think the new interface is absolutely horrible (from a usability perspective) and I wanted to revert to the previous Netbook-Launcher.
HOWTO Install the required components via terminal:
sudo apt-get install netbook-launcher-efl After install just change the “Login Settings”
Log out and after the next login: voila – the laucher interface:
Blogs
VoIP client for Ubuntu
Having used IP Telephony for a number of years I need a workable SIP client for all of the devices I use. I have found a very capable client for my Android phones (SipDroid) and on Windows/MacOSX I generally use X-Lite (as well as it’s paid version EyePhone) from Counterpath.
Having tried several different Linux SIP clients (Ekiga, Twinkle, …) but all discarded them because of weird UI’s and/or problems with stability I noticed that there is a Linux version of XLite available.
Blogs
Huawei K3765 on Ubuntu 10.04 (Lucid)
Since I have switched my 3G data network from Hutchinson Three to Vodafone AU recently I also upgraded the USB modem from a Huwaei E220 (which used to work fine on recent Ubuntu NBR releases on my trusty old ASUS EEE 900)
Unfortunately the new Huawei K3765 would not be recognised as a valid modem by the network manager. After a fair bit of searching it turns out that you only need to install one additional package (usb-modeswitch) to make this modem work (be recognised) on the current stable 10.
Blogs
Ubuntu - Google Mail (GoogleApps) as default mail client
Since Ubuntu 9.10 NetbookRemix has been released I am again finding myself using my trusty old ASUS EEE when on the road. And finally it seems I have found a vanilla Linux distribution that is reasonably responsive and works ‘out of the box’.
One thing I don’t need on the road (as a matter of fact on none of my equipment) is having to install & maintain some client/server mail client.
Blogs
Ubuntu - the ‘old man’ experiment
Recently my father, who has so far not wanted to have anything to do with computers, decided to change all of this with age 67. While initially surprised (and remembering the comments I got when sitting in front of computers as a teenager instead of working on the family farm), I quite liked the idea. It’s a great to see him still wanting to explore and learn new things.
Unfortunately since there is approximately 17.
Blogs
Finding the ideal OS for (my) EEE PC
I have been a user of an EEE PC 900 for over 10 months now and in general very happy with the form-factor and it’s portability. I has been very useful in public transport, waiting rooms, coffee shops,…
However – in terms of Operating Systems I am now on my 3rd OS (despite initially telling myself that I will stick with the default and avoid tinkering) and it looks like I still have not found what I am looking for.