light & knowledge

share it with the world

Oct

21

Copy installed programs between Ubuntu computers (recreate deb packages)

By Luke Symes

Recently I wanted to copy Inkscape from my Ubuntu laptop to our Ubuntu computer, but the original installer packages had been deleted. We have dialup internet, so redownloading would take too long. The solution was a (small) program that recreates deb packages for your installed programs, letting you take those package and install them on another computer.

The (non-existing) equivalent feature on Windows would be recreating setup.exe from the files of an installed program.

This code will install said program, and generate the packages for Inkscape on the Desktop:
cd ~/Desktop
sudo apt-get install dpkg-repack
sudo dpkg-repack inkscape libmagick++10

Oct

18

PulseAudio problem applications… solution!

By Luke Symes

After following some Howto on the Ubuntu Forums, I had the perfect PulseAudio setup on Hardy Heron (Ubuntu 8.04). I’ve so far only come across issues with two programs: GridWars, and FrostWire (It’s probably all Java apps, but I’ve only got FrostWire). The solution is to change their launchers in the menu (right click Applications -> Edit Menus) so that they are preceded by “padsp “. Then they work perfectly with PulseAudio. For example:

/usr/bin/frostwire

becomes:

padsp /usr/bin/frostwire

Oct

18

Hotmail in Evolution

By Luke Symes

After searching for a way to add a hotmail account to Evolution Mail on Ubuntu I finally found the solution. FreePOPs acts as a local POP server, and can download Hotmail emails, thus allowing Evolution to get access to them.

The latest Ubuntu version can be downloaded from http://cybertech.altervista.org/en/freepops.php. The “FreePOPs” and “FreePOPs Graphical Updater (Gnome)” packages need to be installed (choose correct architecture for your computer). Then update the desired webmail interfaces:
Applications->Internet->FreePOPs Updater

Finally Evolution needs to be setup. Create a new account with:

Server: localhost:2000
Username: u...@webmailsite.com
Password: yourpassword
No encryption

You should now be able to download Hotmail email. You won’t be able to send email through Hotmail’s SMTP servers, so you’ll have to setup either your ISP’s or a Google one if you have Gmail.

If you don’t want messages to be deleted from the server as they are downloaded you need to edit your Evolution account, and under Receiving Options check “Leave messages on server”. You may also have to add your Hotmail address as the Reply-To address, depending on what your chosen SMTP server does to your outgoing messages.

Oct

13

Virtualbox USB support on Ubuntu 8.04

By Luke Symes

To get my USB printer recognized on my VirtualBox XP installation under Ubuntu Hardy Heron, I had to do the following:

gksu gedit /etc/init.d/mountdevsubfs.sh

Change section so this is uncommented:

#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb

Last step: Reboot. USB devices should now be recognised under VirtualBox.


FireStats icon Powered by FireStats