Ubuntu

Fixing DHCP Network Interface with Network Manager in Xubuntu 14.04 (Trusty Tahr)

A very annoying problem came back to a Xubuntu 14.04 (Trusty Tahr) system quite suddenly and annoyingly would not go away. This system would not obtain a DHCP address. The Network Manager tray icon was not even the "spinning" icon indicating it was trying to obtain an address from the DHCP server. I checked around the Internet for suggestions how to resolve this issue. Nothing we located and tested resolved the issue.

Getting mouse control back from Vinagre Remote Desktop Viewer VNC session

I found myself trapped within a Vinagre Remote Desktop Viewer VNC session to a remote Linux server console. Trying all keys to find the magic key to pop mouse control back to my local Linux system, finally I found it: the F10 key! In the mean time, I had found the key to make the Vinagre on-line help come up, was navigating through it using keyboard only... and what few help suggestions there were, they always told to go to the Vinagre menu to click on something...

Leveraging PARSE from Open Object Rexx in Bash

Some time ago, I was lamenting that Bash did not have something comparable to PARSE found in Rexx / Open Object Rexx. Shortly I received a reply from Dallas Legan that he had built a tool capable of exposing the power of PARSE and allow it to be used within Bash scripts. That concept totally rocks! That tool may be found here:

"A Simple, General Command Line Filter In REXX"
http://www.scoug.com/os24u/2001/scoug010.parsetool.html

HOW-TO: Sending emails from the Command Line with Ubuntu Linux using sendEmail

For some time I had been of the opinion that sending emails from the Linux Command Line Interface (CLI) simply had to be more complicated than with Windows using Blat. Not so! Over the weekend I learned of sendEmail which offers equivalent functionality.

HOW-TO: Fixing USB 2.0 HDD / Flash Storage Devices on Ubuntu 10.04 Linux

There is a nasty / annoying bug in Ubuntu 10.04 LTS (Lucid Lynx) Linux which prevents attaching USB storage devices such as hard disk drives (HDD) and Flash memory stick drives. With the assistance of others in the Ubuntu bug tracker system, I just arrived at a little script which successfully corrects the Plug-n-Play (PnP) detection problem. It is as follows, fixext_backup.sh:

Note: You need to run this script as root (aka sudo the script).

#!/bin/bash -x

cd /sys/bus/pci/drivers/ehci_hcd

USBDRIVE=`/usr/bin/find ./ -name "0000:00:*"`
echo $USBDRIVE

Custom assembled attractive dark blue theme for GNOME with Mist and Gion

I recently got a bit bored with my usual Clearlooks GNOME theme. I wanted something with non-rounded controls and dark blue active title bars. Here is what I came up with.

1) First I added a couple of Ubuntu GNOME theme related packages. Both are required as Mist comes from one and Gion is in the other.

apt-get install gnome-themes-extras gnome-themes

2) Next customize the Mist theme as follows:

System \ Preferences \ Appearance \ Mist \ Customize...

Controls: Mist
Colors \ Selected Items \ Background: #3B5998

HOW-TO: Apache Virtual Host (Multi-Site) and mod_ssl (SSL) can be compatible

Some time ago I found documentation lacking for how to successfully configure name-based Apache Virtual Host (Multi-Site) and allow one of the domain names to have mod_ssl (SSL) enabled while having only a SINGLE static IP address. The answer turned out to be... "You must set up your Apache configuration files correctly!" Here is what I discovered.

HOW-TO: Opening SeaMonkey new message window for mailto: links with Firefox on Ubuntu Linux

I recently switched my email client from Mozilla Thunderbird 2.x to Mozilla SeaMonkey (latest) as Mozilla Thunderbird 3.x is so undesirable. Things were working quite well. I found the place to set which component of SeaMonkey it opens to on start up and selected the Mail component.

However there was one annoyance! In Firefox when a web page has a mailto: link, clicking that link would not open a new SeaMonkey email window... I would only see the SeaMonkey program flash in the lower panel within Ubuntu Gnome desktop.

HOW-TO: Command Line Connect to a CUPS Network Printer for Ubuntu Linux

There seems to be a bug in Ubuntu in that when you reboot the system all remote CUPS printer connections are forgotten. This sounded like something needing a bit of scripting magic, so I went searching for how to accomplish that. Turns out it was quite simple actually. The utility lpadmin will be your friend to command line administer printers / print queues. The first lpadmin command attaches to the CUPS shared network printer queue via the IPP protocol, and the second lpadmin command sets the printer as the system default.

HOW-TO: Packaging Perl CPAN Devel::Trace for Ubuntu Linux

Recently I ran into a situation where a Perl CPAN module I needed was not available in the Ubuntu repositories. Someone on IRC kindly showed me a slick Ubuntu package which is able to quickly produce Ubuntu .deb packages out of Perl CPAN modules! Here is what you need to know:

Using a developer computer (aka "play box") add the following packages:

$sudo apt-get install dh-make-perl build-essential

Next use dh-make-perl to package the needed CPAN module:

Syndicate content