Skip to content

Audio "too loud" and volume switch not working in Ubuntu

Installed my new laptop, and everything seemed to work, out of the box. Almost everything.

The audio was quite annoying. First of all, every application got it's own volume setting. In theory that is a nice idea, and you can control and manage the volume for every application separately. In practice, this is a nightmare: try changing the volume of an application which only once in a while sends a short notification. Or try changing the volume of the sound when you close the laptop lid. On top of that, the volume for applications like Chome and Firefox seem to be stuck at 100%. Every time I change the volume, the setting is back on "loud" the next time the browser plays something.

Second the global volume settings (Fn+"Volume up" or Fn+"Volume down") seem to have no effect at all.

 

 

Continue reading "Audio "too loud" and volume switch not working in Ubuntu"
  • Twitter
  • Bookmark Audio "too loud" and volume switch not working in Ubuntu at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Audio "too loud" and volume switch not working in Ubuntu
  • Bloglines Audio "too loud" and volume switch not working in Ubuntu
  • Technorati Audio "too loud" and volume switch not working in Ubuntu
  • Fark this: Audio "too loud" and volume switch not working in Ubuntu
  • Bookmark Audio "too loud" and volume switch not working in Ubuntu at YahooMyWeb
  • Bookmark Audio "too loud" and volume switch not working in Ubuntu at Furl.net
  • Bookmark Audio "too loud" and volume switch not working in Ubuntu at reddit.com
  • Bookmark Audio "too loud" and volume switch not working in Ubuntu at blinklist.com
  • Bookmark Audio "too loud" and volume switch not working in Ubuntu at Spurl.net
  • Bookmark Audio "too loud" and volume switch not working in Ubuntu at Simpy.com
  • Bookmark Audio "too loud" and volume switch not working in Ubuntu at blogmarks
  • Bookmark Audio "too loud" and volume switch not working in Ubuntu with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful)

Sometimes old computers are not updated quickly enough, or just kept running ...

root@system ~ # lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.10
Release:        16.10
Codename:       yakkety

And so it happens that the support for Ubuntu 16.10 (codename: yakkety) came to an end, and the packages were removed from the regular Ubuntu servers. Trying to run an upgrade (do-release-upgrade) ended in the following message:

 

Reading cache

Checking package manager

Can not upgrade 

An upgrade from 'yakkety' to 'artful' is not supported with this tool.

 

Continue reading "Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful)"
  • Twitter
  • Bookmark Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful)
  • Bloglines Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful)
  • Technorati Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful)
  • Fark this: Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful)
  • Bookmark Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful) at YahooMyWeb
  • Bookmark Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful) at Furl.net
  • Bookmark Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful) at reddit.com
  • Bookmark Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful) at blinklist.com
  • Bookmark Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful) at Spurl.net
  • Bookmark Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful) at Simpy.com
  • Bookmark Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful) at blogmarks
  • Bookmark Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Outdated and dispensable initrd images in /boot

Sometimes update-initramfs leaves old initrd images around in /boot, even when the kernel package is deinstalled. Deleting the file does not help, the next run of update-initramfs will recreate the file.

The solution is simple: all kernels which need to be rebuild are in /var/lib/initramfs-tools/ - just delete the old ones, and the images in /boot, and they will not be recreated.

  • Twitter
  • Bookmark Outdated and dispensable initrd images in /boot at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Outdated and dispensable initrd images in /boot
  • Bloglines Outdated and dispensable initrd images in /boot
  • Technorati Outdated and dispensable initrd images in /boot
  • Fark this: Outdated and dispensable initrd images in /boot
  • Bookmark Outdated and dispensable initrd images in /boot at YahooMyWeb
  • Bookmark Outdated and dispensable initrd images in /boot at Furl.net
  • Bookmark Outdated and dispensable initrd images in /boot at reddit.com
  • Bookmark Outdated and dispensable initrd images in /boot at blinklist.com
  • Bookmark Outdated and dispensable initrd images in /boot at Spurl.net
  • Bookmark Outdated and dispensable initrd images in /boot at Simpy.com
  • Bookmark Outdated and dispensable initrd images in /boot at blogmarks
  • Bookmark Outdated and dispensable initrd images in /boot with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Configuring "locales" in Debian and Ubuntu, using Ansible - Reloaded

Last year I posted about how to configure "locales" in Debian or Ubuntu, using Ansible. Back then I did not know that there is an Ansible "debconf" module available, and I have no idea how I could miss it. Anyway, this makes things a bit easier, but not much.

First of all, the module let's you both set and query values. However because the "locales" package does not use debconf for the list of locales, but stores this list in /etc/locale.gen, things are still unnecessary complicated. But I managed to get it working without having to use an additional file as flag if this step was completed before.

 

Continue reading "Configuring "locales" in Debian and Ubuntu, using Ansible - Reloaded"
  • Twitter
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible - Reloaded at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Configuring "locales" in Debian and Ubuntu, using Ansible - Reloaded
  • Bloglines Configuring "locales" in Debian and Ubuntu, using Ansible - Reloaded
  • Technorati Configuring "locales" in Debian and Ubuntu, using Ansible - Reloaded
  • Fark this: Configuring "locales" in Debian and Ubuntu, using Ansible - Reloaded
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible - Reloaded at YahooMyWeb
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible - Reloaded at Furl.net
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible - Reloaded at reddit.com
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible - Reloaded at blinklist.com
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible - Reloaded at Spurl.net
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible - Reloaded at Simpy.com
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible - Reloaded at blogmarks
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible - Reloaded with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Ansible and LXC Containers

LXC is one of many available containerization solutions for Linux. Ansible has basic support for LXC integrated, which is fine if you do not intend to do much inside of the container (aka: fire & forget). My goal however is to start a full flavored container, and manage this container with Ansible as well. That's where things get a bit tricky, and looking around I couldn't find much documentation how to do this.

This posting describes my approach.

 

Continue reading "Ansible and LXC Containers"
  • Twitter
  • Bookmark Ansible and LXC Containers at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Ansible and LXC Containers
  • Bloglines Ansible and LXC Containers
  • Technorati Ansible and LXC Containers
  • Fark this: Ansible and LXC Containers
  • Bookmark Ansible and LXC Containers at YahooMyWeb
  • Bookmark Ansible and LXC Containers at Furl.net
  • Bookmark Ansible and LXC Containers at reddit.com
  • Bookmark Ansible and LXC Containers at blinklist.com
  • Bookmark Ansible and LXC Containers at Spurl.net
  • Bookmark Ansible and LXC Containers at Simpy.com
  • Bookmark Ansible and LXC Containers at blogmarks
  • Bookmark Ansible and LXC Containers with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Execute a required reboot, with Ansible (Debian/Ubuntu)

After updating Linux packages, it sometimes is required to reboot the host. Debian and Ubuntu provide this information by the presence of a special file: /var/run/reboot-required. Ansible makes it easy to reboot a host, but there are a few aspects which need attention.

 

Continue reading "Execute a required reboot, with Ansible (Debian/Ubuntu)"
  • Twitter
  • Bookmark Execute a required reboot, with Ansible (Debian/Ubuntu) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Execute a required reboot, with Ansible (Debian/Ubuntu)
  • Bloglines Execute a required reboot, with Ansible (Debian/Ubuntu)
  • Technorati Execute a required reboot, with Ansible (Debian/Ubuntu)
  • Fark this: Execute a required reboot, with Ansible (Debian/Ubuntu)
  • Bookmark Execute a required reboot, with Ansible (Debian/Ubuntu) at YahooMyWeb
  • Bookmark Execute a required reboot, with Ansible (Debian/Ubuntu) at Furl.net
  • Bookmark Execute a required reboot, with Ansible (Debian/Ubuntu) at reddit.com
  • Bookmark Execute a required reboot, with Ansible (Debian/Ubuntu) at blinklist.com
  • Bookmark Execute a required reboot, with Ansible (Debian/Ubuntu) at Spurl.net
  • Bookmark Execute a required reboot, with Ansible (Debian/Ubuntu) at Simpy.com
  • Bookmark Execute a required reboot, with Ansible (Debian/Ubuntu) at blogmarks
  • Bookmark Execute a required reboot, with Ansible (Debian/Ubuntu) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Configuring "locales" in Debian and Ubuntu, using Ansible

Missing locale settings will result in error messages like:

ads@ansible-ubuntu-03:~$ perl --version
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en",
        LC_ALL = (unset),
        LC_PAPER = "de_DE.UTF-8",
        LC_ADDRESS = "de_DE.UTF-8",
        LC_MONETARY = "de_DE.UTF-8",
        LC_NUMERIC = "de_DE.UTF-8",
        LC_TELEPHONE = "de_DE.UTF-8",
        LC_IDENTIFICATION = "de_DE.UTF-8",
        LC_MEASUREMENT = "de_DE.UTF-8",
        LC_TIME = "de_DE.UTF-8",
        LC_NAME = "de_DE.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").

This can be configured, but unfortunately the "locale" package does not use the debconf database. This makes it more complicated to configure the locales settings using Ansible.

 

Continue reading "Configuring "locales" in Debian and Ubuntu, using Ansible"
  • Twitter
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Configuring "locales" in Debian and Ubuntu, using Ansible
  • Bloglines Configuring "locales" in Debian and Ubuntu, using Ansible
  • Technorati Configuring "locales" in Debian and Ubuntu, using Ansible
  • Fark this: Configuring "locales" in Debian and Ubuntu, using Ansible
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible at YahooMyWeb
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible at Furl.net
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible at reddit.com
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible at blinklist.com
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible at Spurl.net
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible at Simpy.com
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible at blogmarks
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Autostart XEN Domains

When using XEN you can start virtual machines using "xm create". However after rebooting the host machine, the virtual machines are not started automatically. This minor problem is easy to solve. Let's say the configuration for the virtual machine is in /etc/xen/pluto.cfg:

mkdir -p /etc/xen/auto
cd /etc/xen/auto
ln -s /etc/xen/pluto.cfg .
cd -

This creates a link to autostart the virtual machine. The source of the symlink must be an absolute path.

In addition to the symlink, the "pluto.cfg" file must contain the following entries:

on_xend_stop  = 'shutdown'
on_xend_start = 'start'

If you are using the "xm" toolkit, you can add these two lines to the template in /etc/xen-tools/xm.tmpl. After these changes, "pluto" starts when the host system starts.

  • Twitter
  • Bookmark Autostart XEN Domains at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Autostart XEN Domains
  • Bloglines Autostart XEN Domains
  • Technorati Autostart XEN Domains
  • Fark this: Autostart XEN Domains
  • Bookmark Autostart XEN Domains at YahooMyWeb
  • Bookmark Autostart XEN Domains at Furl.net
  • Bookmark Autostart XEN Domains at reddit.com
  • Bookmark Autostart XEN Domains at blinklist.com
  • Bookmark Autostart XEN Domains at Spurl.net
  • Bookmark Autostart XEN Domains at Simpy.com
  • Bookmark Autostart XEN Domains at blogmarks
  • Bookmark Autostart XEN Domains with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Thunderbird Lightning: cannot add new calendar

If the calendar plugin Thunderbird Lightning stops working after a system upgrade (Ubuntu 8.04 -> 9.10 in my case), just reinstall the libstdc++5 library. Before installing the library you have to deinstall the plugin from thunderbird and reinstall it afterwards.

The Thunderbird behaviour is a bit curious: the calendar and todo tabs are shown, but all previously defined calendars are missing. In addition it is not possible to add new calendars, these options are greyed out.

  • Twitter
  • Bookmark Thunderbird Lightning: cannot add new calendar at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Thunderbird Lightning: cannot add new calendar
  • Bloglines Thunderbird Lightning: cannot add new calendar
  • Technorati Thunderbird Lightning: cannot add new calendar
  • Fark this: Thunderbird Lightning: cannot add new calendar
  • Bookmark Thunderbird Lightning: cannot add new calendar at YahooMyWeb
  • Bookmark Thunderbird Lightning: cannot add new calendar at Furl.net
  • Bookmark Thunderbird Lightning: cannot add new calendar at reddit.com
  • Bookmark Thunderbird Lightning: cannot add new calendar at blinklist.com
  • Bookmark Thunderbird Lightning: cannot add new calendar at Spurl.net
  • Bookmark Thunderbird Lightning: cannot add new calendar at Simpy.com
  • Bookmark Thunderbird Lightning: cannot add new calendar at blogmarks
  • Bookmark Thunderbird Lightning: cannot add new calendar with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Papierformat (A4 oder Letter) in einer Ubuntu Installation

Eine standardmäßige Ubuntu Installation ist der Meinung, als Papierformat "Letter" nutzen zu wollen.

Dies lässt sich folgendermaßen umstellen:

 sudo dpkg-reconfigure libpaper1

Und dann A4 als Papierformat auswählen. Danach ist der Cups Printservice noch neu zu starten:

sudo /etc/init.d/cups restart
  • Twitter
  • Bookmark Papierformat (A4 oder Letter) in einer Ubuntu Installation at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Papierformat (A4 oder Letter) in einer Ubuntu Installation
  • Bloglines Papierformat (A4 oder Letter) in einer Ubuntu Installation
  • Technorati Papierformat (A4 oder Letter) in einer Ubuntu Installation
  • Fark this: Papierformat (A4 oder Letter) in einer Ubuntu Installation
  • Bookmark Papierformat (A4 oder Letter) in einer Ubuntu Installation at YahooMyWeb
  • Bookmark Papierformat (A4 oder Letter) in einer Ubuntu Installation at Furl.net
  • Bookmark Papierformat (A4 oder Letter) in einer Ubuntu Installation at reddit.com
  • Bookmark Papierformat (A4 oder Letter) in einer Ubuntu Installation at blinklist.com
  • Bookmark Papierformat (A4 oder Letter) in einer Ubuntu Installation at Spurl.net
  • Bookmark Papierformat (A4 oder Letter) in einer Ubuntu Installation at Simpy.com
  • Bookmark Papierformat (A4 oder Letter) in einer Ubuntu Installation at blogmarks
  • Bookmark Papierformat (A4 oder Letter) in einer Ubuntu Installation with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca