Make Skype use desktop theme on 64bit Linux

To make Skype use the same theme as other desktop applications (in my case, the same theme I'm using for Gtk apps), you'll need to install the 32bit version of the gtk theme engine you're using.

On debian jessie, I simply did:

apt-get install gtk2-engines:i386

Also make sure you have ia32-libs installed, but should already be in order to make Skype work..

Deploying an Elasticsearch cluster via SaltStack

Here is a short guide covering the steps I followed in order to deploy an ElasticSearch cluster using SaltStack to manage configuration.

Prerequisites

For the purposes of testing, I will be using a bunch of locally-installed virtualmachines. Specifically, we'll have:

  • A machine running salt master
  • Three elasticsearch nodes

Creating the VMs

To create the machines, I just installed a bare-bones wheezy image (under KVM) and cloned it four times:

virt-clone -o TemplateWheezy -n es-cluster-salt-master -f /mnt/virtualmachines/es-cluster-salt-master.img -m '52:54:00:ee:55:f0'
for id in 01 02 03; do
    virt-clone -o TemplateWheezy -n es-cluster-node-"$id ...

Using nvidia driver on debian jessie

I had some troubles getting nvidia proprietary drivers up & running on Debian Jessie (kernel 3.13-1-amd64).

I'm sharing the solution I found here, as it might be useful to somebody else.

Machine configuration

Machine: Thinkpad W530
Graphics card: NVIDIA Corporation GK107GLM [Quadro K2000M] (rev a1)
Operating System: Debian Jessie (testing) - amd64
Kernel: 3.13-1-amd64 (3.13.10-1)

The error message I got:

[   36.508494] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
[   36.508500] NVRM: os_pci_init_handle: invalid context!
[   36.508502] NVRM: os_pci_init_handle: invalid context!
[   36.508507] NVRM: GPU at 0000:01:00.0 has fallen ...

Register APT repository key

Here is an useful script to register APT keys, to avoid the "There are no public key available for the following key IDs" warning message.

#!/bin/bash

KEYID="$1"

echo "Registering APT key $1..."
gpg --keyserver wwwkeys.eu.pgp.net --recv-keys "$KEYID"
gpg --export --armor "$KEYID" | apt-key add -

Alternate ways to do this

By googling a bit, I found some alternate ways to do this (although it seems they're not always valid):

From http://kovyrin.net/2006/11/28/debian-problem-apt-get-update/:

$ apt-key update

While here: http://www.debian-administration.org/users/dkg/weblog/11 they suggest installing debian-archive-keyring, instead:

# apt-get install ...

Page 1 / 1