Xubuntu 13.10 Sound issues (skype distorted, microphone crackling, sound indicator disabled)

October 21, 2013

Again, after upgrade to Xubuntu 13.10 (64bit) I have faced few issues with sound. Luckily all those were possible to easily fix.

Credits go to original post authors.

Crackling microphone (in all application, most in Skype)

As described here, edit file


sudo mousepad /etc/modprobe.d/alsa-base.conf

Add to the end of the file:

options snd-hda-intel position_fix=3

Note: Some suggest to add options snd-hda-intel position_fix=1

Skype – no sound o distorted sound

Distorted sound or no sound at all in Skype can be fixed by modifying file


sudo mousepad /etc/pulse/default.pa

Find line with

load-module module-udev-detect

and change it to

load-module module-udev-detect tsched=0

This fix was found here.

Sound (volume) indicator disabled

This is known issue in Xubuntu 13.10 release.
Until it is fixed, you can use this.

Edit file


sudo mousepad /usr/share/dbus-1/services/indicator-sound.service

comment line


and add new line after it

Exec=/bin/sh -c 'if [ -n "$(ps -U $USER | grep xfce4-panel)" ]; then /usr/lib/indicator-sound-gtk2/indicator-sound-service;else /usr/lib/$(arch)-linux-gnu/indicator-sound/indicator-sound-service;fi'


Autologin with lighdm and xfce

October 20, 2011

To enable auto-login in lightdm (new Ubuntu 11.10), edit


and add:


You can also log into other session. The list of available sessions can be found in


directory (just remove .desktop extension).

ls /usr/share/xsessions/
gnome-classic.desktop  gnome-classic-guest-restricted.desktop  gnome.desktop  
gnome-fallback.desktop  gnome-shell.desktop  guest-restricted.desktop  
ubuntu-2d.desktop  ubuntu.desktop  xfce.desktop  xsession.desktop  xterm.desktop

Bring back Avidemux in Ubuntu 11.10

October 19, 2011

After upgrade to Ubuntu 11.10., your Avidemux is deleted.

To bring it back, go to following link https://launchpad.net/ubuntu/+source/avidemux/1:2.5.4-0ubuntu6/+build/2158020 and download


and install these packages. This will bring Avidemux back.

Note: Make sure you still have libx264-106 package (from 11.04) installed. If you have newly installed Ubuntu 11.10, you have to get all required dependencies (open deb files and see INFO) that you are missing. Upgraded PCs usually have them from 11.04.

Ubuntu 11.10 – OnericOcelot – ubuntu does not start after upgrade, new kernel not installed, lightdm not installed

October 19, 2011

Seems like it is more and more difficult to upgrade Ubuntu (especially if you do not want to use Unity or Gnome Shell).

Last weekend I was to update 4 computers to new Ubuntu 11.10

  • netbook (Asus EeePC 1000H) – no problems
  • HP Laptop – no problem
  • PC – problem with new kernel  (did not install)
  • HTPC – problem with display manager (lightdm did not install, gdm stopped working)

On all computers (except for HTPC) I have switched from Gnome 2 to Xfce  (not to get trapped in Unity or Gnome Shell after upgrade).

Kernel problem (nvidia drivers)

After PC upgrade, I have rebooted and new Ubuntu started. For some reasons it used old kernel 2.6.38 . I do not know why new kernel 3.0.0 was not upgraded and installed. I decided to install new kernel vith synaptic, which went smoothly. After reboot, X-Window did not start (even in recovery session).  Luckily, I was able to get to the command prompt with networking enabled. The fix was to un-install Nvidia driver, install new kernel headers and install Nvidia driver back.

apt-get remove nvidia-current nvidia-settings
apt-get install linux-headers-3.0.0-12-generic
apt-get install nvidia-current nvidia-settings

After that, Ubuntu started OK.

Lightdm problem

After HTPC upgrade, I have rebooted and found  the  X-Window did not start (again!). Luckily, I was able to get into command prompt. Reinstalling Nvidia driver (like in previous case) did not help. After some investigation I was able to start X-Window with startx command. I have installed lightdm, rebooted and everything was OK.

Looking forward to 12.04 :-).

How to set-up Asus router (RT-N10, rev. B1) in repeater mode using Wireless MAC filter on the main router

July 11, 2011

Extend your Wi-Fi signal with Linksys WRT54G (main router) and ASUS RT-N10 (repeater)

I have used  WRT54G router (running DD-WRT) for more than 6 years. After upgrading to Android phones I needed to extend  Wi-Fi signal, so it can be reached outside.

I have been searching for some cheap Wi-Fi router that can operate in repeater mode (and possible upgradeable to DD-WRT in the future). I have made decision to buy ASUS RT-N10 (rev. B1)

As a first step .I have upgraded firmware to latest version.  Next switched router to repeater mode, selected Wi-Fi network provided by WRT54G, provided network WPA2  password.  Everything seemed OK, except for authorisation.

I have realised I had enabled Wireless MAC Access filter on WRT54G, so I added RT-N10 MAC address to the filter list. Unfortunately this did not help. The solution was to temporarily disable  Wireless MAC address filter (on WRT54G) and find out MAC address RT-N10 uses for Wi-Fi connection (in DD-WRT Web interface), which was different from MAC address shown in RT-N10 Web interface (last hex number was increased by 1, e.g. 9C -> 9D).

After correcting MAC address in the filter list (and enabled MAC filtering again), repeater mode started to work.

Ubuntu 11.04 Natty (fight for microphone)

April 29, 2011

Ubuntu 11.04 has been released. Since it is still possible to use Ubuntu classic desktop with 11.04 (I’m not sure if I ever get used to using Unity), I have decided to upgrade. Upgrade itself was smooth (as usually). After reboot, everything seemed OK, except for the fact  there was no sound capture on the (rear) Microphone. Sound preferences Input tab did not show any Connector (selector)  to choose input sink.

My audio device: nVidia Corporation MCP72XE/MCP72P/MCP78U/MCP78S High Definition Audio (rev a1)

It took me several hours to find a solution, which was rather easy.

  • install gamix (Graphical sound mixer for ALSA)
  • Change InputSource from Line (which seems to become default capture sink) to RearMic, change InputSource1 from FrontMic to Line (not needed)
  • save ALSA settings with sudo alsactl store
  • update .profile file to load saved ALSA settings with alsactl restore
  • There is still no connector in the Sound preferences, but microphone works

To find this simple solution, I have tried to reinstall ALSA, which resulted in complete removal of sound card hardware setting from the system. It took several hours to find this script, which installed ALSA correctly back.

Gradle: create ZIP package with exec permissions

April 18, 2011

To create distribution zip package with executable permissions for script files (*.sh files in the example) use following gradle task:

// zip into build/distributions
def installDir=new File('./install')
task makeDist(type: Zip /*, dependsOn: [add your dependencies]*/) {
    //compression = Compression.GZIP // for Tar type
    from(installDir.toString()) {
    from(installDir.toString()) {
        fileMode = 0755

Before task is run, adjust dependencies to fill installDir with package content.

Tested with gradle-1.0-milestone2.

First post 🙂