Tag: ubuntu
-
Reorder Workspaces in Ubuntu
By holding the “Windows” key on a Microsoft keyboard, in Ubuntu, you get a MacOS-like view where you can move apps across workspaces; this is a super-useful features (and complements well the Shift-Alt-Up/Down combination to move windows across workspaces), however it does miss the ability to also move workspaces around. There is an excellent extension […]
-
Support multiple JDKs in Debian Linux
With the relatively recent change in the frequency of Java releases (every six months) it has become pretty much required to be able to have multiple JDKs on one’s development machine, and being able to run/test them at different times, for different projects, or even for the same project. Motivation While some wizardry with symlinks […]
-
filecrypt – OpenSSL file encryption
overview Uses OpenSSL library to encrypt a file using a private/public key pair and a one-time secret. A full description of the process can be found here. configuration This uses a YAML file to describe the configuration; by default it assumes it is in /etc/filecrypt/conf.yml but its location can be specified using the -f flag. […]
-
HOW-TO Encrypt an archive file
Private/Public keypair Create the private key (one-off): openssl genrsa -out ~/.ssh/key.pem 2048 chmod 400 ~/.ssh/key.pem then extract the public key from it: openssl rsa -in ~/.ssh/key.pem -out ~/.ssh/key.pub -outform PEM -pubout NOTE The whole mechanism revolves around keeping the secret key key.pem, well, secret. This is the only critical part of the scheme. Everything else, […]
-
Building and Installing Apache Mesos
I have just published a gist that shows how to build and install Apache Mesos on a Ubuntu 14.04 VM or physical box. The Getting started instructions are a good start (well…) but are somewhat incomplete and currently look a bit outdated (I plan to fix them soon): however, the outcome has been that I […]
-
NFS mount fails with “access denied by server”
Symptom When mounting a valid share, NFS denies access: $ mount /mnt/backup mount.nfs: access denied by server while mounting server:/share/USBDisk1 Solution The mount point is not exported. Find out where the mount point points to on the client side (although, that info was already in the error message): $ cat /etc/fstab # /etc/fstab: static file […]
-
Automating Eclipse launch
I’ve recently taken up the Eclipse team at Google (we integrate Google’s internal build tools and distributed development environment with the Eclipse Platform) and we are constantly faced with the challenge of maintaining several distributions in a multi-user environment.I thought I’d use some of the goodness we’ve come up with in my home environment too, […]
-
Ubuntu: Network Manager is evil
Warning – this post if filled with hatred, if you believe in forgiveness, you may want to look away now. In my book, the only sin worse than uselessness, is actively causing damage and waste of time.What punishment ought to be meted then, to something that, having proven to be useless, causes untold waste of […]
-
Skype on Ubuntu 10.04 – mic doesn’t work
I got the following fix from here, but it does not tell the entire story:(my setup: Acer Aspire One AO751h, Ubuntu Lucid 10.04.2 LTS) I had the same problem on an Acer Timeline for a long time, but the balance trick works.Solution:A better way than changing the output balance is to use alsamixer or […]