How to backup an Ubuntu system using Dropbox

How you do this depends on whether you are setting it up for the first time or want to restore already-saved files from Dropbox to their correct place.

First time (i.e. you have never used dropbox to backup your files)

  1. Install dropbox
  2. In the terminal, navigate to the Dropbox folder (probably ~/Dropbox)
  3. Soft link to each directory you want to backup in dropbox (i.e. ln -s ~/Documents ., ln -s ~/Desktop . Read the rest of this entry »

Dual booting Windows 10 and Ubuntu 15.04

Some quick notes, from memory, about how I successfully setup Windows 10 and Ubuntu 15.04 to dual boot. The starting point was a new Windows 8.1 computer which I then updated to Windows 10.

Warning about this post

Before you do anything at all, realise that following the instructions here could completely destroy your computer’s software: you might end up bricking it (i.e. changing it so that nothing starts); you might end up wiping out your data, the original operation system, or something else. I don’t mind that kind of thing happening to me and I’ve never not been able to fix things back. But I also have support you may not: e. Read the rest of this entry »


Problems with Cisco Anyconnect on Ubuntu 14.04 (Breaks Internet Connections)

This blog is about resolving an issue I had after installing Cisco Anyconnect, the U of L’s VPN client.

This is an aide memoire for me, but might be useful to others. The information comes from, with the first being most useful for this particular case:


Problems with Cisco Anyconnect on Ubuntu 14.04 (Breaks Internet Connections)

This blog is about resolving an issue I had after installing Cisco Anyconnect, the U of L’s VPN client.

This is an aide memoire for me, but might be useful to others. The information comes from, with the first being most useful for this particular case:


Mounting University of Lethbridge “P” and “W” drives under Linux

Here’s how to find the “P” and “W” drives at the University of Lethbridge.

“P” drives

Your “P” drive is the windows share that represents your standard network desktop (i.e. the thing you see if you log into a classroom or other computer on campus).

Read the rest of this entry »

Mounting University of Lethbridge “P” and “W” drives under Linux

Here’s how to find the “P” and “W” drives at the University of Lethbridge.

“P” drives

Your “P” drive is the windows share that represents your standard network desktop (i.e. the thing you see if you log into a classroom or other computer on campus).

The address is ulhome.uleth.ca/$USER where $USER is your account username (the same as the lefthand side of your uleth email account, or, in my case, daniel.odonnell. Read the rest of this entry »


Installing Zotero in Ubuntu

See the excellent post here.

http://anterotesis.com/wordpress/2011/11/installing-zotero-standalone-on-ubuntu-11-10/

To install the .desktop, I used the application launcher under system>preferences>main menu.


How to draw a circle in GIMP. Seriously.

I use GIMP, the free graphics software package, all the time. But boy it can be awkward at times. Here’s how to draw a circle or elipse (like the one in the photo below):

Ellipse select tool > Start selecting > Hold down shift > Click on the circle to select it > Edit (Menu) > Stroke Selection – Voila!
Alternative method: Select a circle again > Fill it > Select (menu) > Shrink few pixels > Delete

CP photo of Bill C38 protest, modified to highlight protest sign.

Seriously?


Weaponised viruses: Flame and Stuxnet

The Globe and Mail has an article today about  evidence that the makers of Flame, which it describes as “the most complex pieces of malware ever designed,” are issuing instructions for it to self destruct. The article follows on an astounding New York Times piece on June 1st, linking the Stuxnet virus directly to the United States and Bush and Obama administrations.

Read the rest of this entry »


set date and time from commandzone

As the title suggests


Change date using touch

#!/bin/sh
for i in *; do
  touch -r "$i" -d "-1 years" "$i"
done

Fixing Touchpad in Aspire One

In my Natty install, my trackpad suddenly stopped working. Apparently this has something to do with a mixup between gconf and the hardware. To fix it, follow the instructions here: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/549727/comments/103 Read the rest of this entry »

Modify grub menu in grub2

Recent versions of Ubuntu no longer have the old menu.lst. Now the file is regenerated each time you run update-grub.

If you need to modify simple stuff in the menu (like turning off quiet boot) you can change common lines by editing the following file and running sudo update-grub afterwards: /etc/default/grub.


Setting pulse to localhost before launching program

On some Acer computers, the inbuilt microphone doesn’t work with Ubuntu out of the box. For programs like Skype this means that you need to use headphone.

One solution that sometimes works is to start the program with Pulse working from a local host using the following command:

/bin/sh -c "PULSE_SERVER=127.0.0.1 program-name"

Ubuntu 10.10 Meerkat on an Acer One 521 (AO521) [2]

I have a new Acer One 521. These are some notes on the installation of the latest (10.10) version of Ubuntu.

  1. The computer came with BIOS rev 1.06: websites warned that the 1.06 bios caused unresolvable problems with the track pad and keyboard, and this was my experience as well. I got a link to the 1.08 rev BIOS from an Acer Customer Service Rep. And followed their instructions for flashing the BIOS. Ubuntu installed fine after that, though with the problems others have noted about the battery monitor (which doesn’t recognise when the computer is running off battery—see below).
  2. Soon after I installed Ubuntu, I was given the option of activating the proprietary driver for the graphics card. I did this, but then had all sorts of problems with menus. I tried deactivating it, but the computer hung and, when I tried a hard reboot, had a fatal error that hung it up during loading. I had to reinstall Ubuntu.
  3. On the second install, I ignored the graphics card driver, and everything has been working well except the battery indicator.
  4. Using the patch found here: http://www.uluga.ubuntuforums.org/showpost.php?p=10126099&postcount=14 and the instructions on patching and compiling kernels from here: http://www.question-defense.com/2010/09/26/how-to-recompile-your-ubuntu-10-10-kernel-for-patching-or-to-add-support-for-a-specific-device I patched and recompiled the kernel. I didn’t remove any options from the Kernel, since I don’t know my machine well enough yet. There was one error in the patching instructions: QD (which is actually the extension that is to be appended to the kernel version) in the fakeroot command should be lowercase.
  5. Everything worked as expected (though there were other small issues with the instructions (see my discussion here). When the patching was finished and I rebooted, there were minor changes in appearance (the appearance had changed to a custom profile) and I’m not 100% sure I got the latest kernel. But the battery metre was working and recognised being on or off AC.
  6. The speaker/headphone doesn’t switch on a stock install. To fix this, you need to modify /etc/modprobe.d/alsa-base.conf by adding the following line at the end: options snd-hda-intel model=thinkpad. See http://ubuntuforums.org/archive/index.php/t-1549086.html (October 28th post by Keibee). This is Ubuntu Bug 637040.
  7. The Netbook edition interface seems to ignore Nautilus (the Gnome file manager). Its own file manager (Mutter) isn’t particularly flexible for finding things like hidden files and the like (as far as I can see at least). To add Nautilus to the interface, you can call up a terminal (alt+f2 for a run box doesn’t seem to work), type nautilus at the the prompt and once it opens, go to the launcher on the left, right click on the Nautilus icon and select “Keep in Launcher.”
  8. Microphone does work: http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/mic-issue-with-acer-aspire-one-10-in-ubuntu-unr-729158/#post4087237

Follow

Get every new post delivered to your Inbox

Join other followers: