Resolve DNS using VPN (openconnect) rather than default-ISP DNS on Ubuntu 18.04

Ubuntu 18.04 has a nice GNOME GUI for VPN, but it still takes a little effort to get it fully working. Here is what I did: I connect to a VPN that is based on Cisco AnyConnect, which means that I must use OpenConnect and that is not installed by default. Fortunately, Ubuntu has some […]

How to start local ActiveMQ (build from source) on Ubuntu when the ActiveMQ package has previously been installed

This is the frustration of the day. I downloaded the ActiveMQ source and compiled it with no issues – however I could not start ActiveMQ (using ./activemq start) and the console output did not really explain what was wrong: ./activemq: 344: ./activemq: “/usr/bin/java” -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=/home/MY_USER/git/activemq/assembly/target/apache-activemq-5.12.1-SNAPSHOT//conf/login.config -Dactivemq.classpath=”/home/MY_USER/git/activemq/assembly/target/apache-activemq-5.12.1-SNAPSHOT//conf:/home/MY_USER/git/activemq/assembly/target/apache-activemq-5.12.1-SNAPSHOT//lib/” -Dactivemq.home=”/home/MY_USER/git/activemq/assembly/target/apache-activemq-5.12.1-SNAPSHOT/” -Dactivemq.base=”/home/MY_USER/git/activemq/assembly/target/apache-activemq-5.12.1-SNAPSHOT/” -Dactivemq.conf=”/home/MY_USER/git/activemq/assembly/target/apache-activemq-5.12.1-SNAPSHOT//conf” -Dactivemq.data=”/home/MY_USER/git/activemq/assembly/target/apache-activemq-5.12.1-SNAPSHOT//data” -jar “/home/MY_USER/git/activemq/assembly/target/apache-activemq-5.12.1-SNAPSHOT//bin/activemq.jar” : not found […]

Getting wireless to stop disconnecting on HP ProBook 430 G2 on Ubuntu 14.04 (Linux)

The default wireless driver settings for the HP ProBook 430 G2 on Ubuntu Linux 14.04 makes the internet connection drop frequently and the wireless connection first works again when the machine has been rebooted (or the wireless netcard driver has been removed and added again). The solution is to change the driver settings (disable e.g. […]

Install Tex Live 2011 on Ubuntu 12.04

The default Tex Live package in Ubuntu 12.04 is very outdated (version 2009) which is bad because it does not contain e.g. the paralist package that is great for making compact lists. This is easy to fix, just install the newest Tex Live directly from the source (Tex Live 2011 @ Tex Users Group) – […]

Install HP LaserJet M1132 MFP printer for Ubuntu 12.04

With Ubuntu 12.04, HP LaserJet M1132 MFP Printer/Scanner almost works out of the box – the device is detected correctly but HP-setup must be run to enable printing/scanning. Here is what you gotta do: (if you are looking for a guide on how to use the built-in scanner, then I have also made a guide […]

Scanning with HP LaserJet M1132 MFP for Ubuntu 12.04

I also just recently discovered that Ubuntu 12.04 actually supports scanning with the HP LaserJet M1132 MFP and that it is really easy to use – here is what you do: (if you are looking for a guide on how to actually install the HP LaserJet M1132 MFP device, then I have also made a […]

Gnome Nautilus bookmarks/favorites backup (in Ubuntu)

Nautilus (default file manager in Ubuntu) saves bookmarks/favorites in the following file in the home folder: ~/.gtk-bookmarks or home/YOUR_USERNAME/.gtk-bookmarks You might need to make hidden files (those that starts with a .) visible by pressing CTRL+H in Nautilus in order to find the file. Just copy the file to another location to make a backup […]

Install HP LaserJet M1132 MFP printer drivers at Ubuntu 11.10 Oneiric Ocelot Linux hplib hp-setup hp-plugin

UPDATE: For Ubuntu 12.04 it has become much easier to install the HP LaserJet M1132 MFP – use this guide instead if you have Ubuntu 12.04: LINK. Start your terminal by pressing: CTRL+ALT+T SKIP IF YOU ARE NOT 64 BIT USER 1. Setup 64 bit libraries for current user: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64/ Make this permanent: gedit […]

Unity Dash Privacy at Ubuntu 11.10 Oneiric Ocelot

UPDATE: For Ubuntu 12.04 it has become much easier to hide a folder and in general keep things private – just go to “System Settings” and find the “Privacy” button at the “Personal” tab. If you have Ubuntu 12.04 or newer, then I will strongly recommend you to use the built-in Privacy system. However, if […]

Ubuntu 11.04 Unity Dash Privacy

UPDATE: For Ubuntu 12.04 it has become much easier to hide a folder and in general keep things private – just go to “System Settings” and find the “Privacy” button at the “Personal” tab. If you have Ubuntu 12.04 or newer, then I will strongly recommend you to use the built-in Privacy system. However, if […]