Sunday, August 3, 2014

Keyboard layout incorrect in unity

Problem: keyboard layout in Unity appears to be BE (azerty) (as shown in the icon in Unity panel top right), but when typing it turns out to be EN (querty). I just have to click on the BE-icon and "choose" BE again for the keyboard layout to be correct. But the problem returns after every reboot.
System: Ubuntu 14.04.1 (fresh install) on a HP Envy dv7 laptop

Solution:

  • as found in the comments on bug #1238346
    • delete the ~/.config/ibus folder with the command:
      rm -rf ~/.config/ibus
    • then type ibus-setup and in the window that appears, in the "Advanced" tab, tick "use sytem keyboard layout"
    • close all windows and reboot.

Saturday, August 2, 2014

Beats audio on HP envy dv7, Ubuntu 14.04.1

Problem: Only two speakers working on HP Envy dv7 7390eb laptop with Beats Audio
System: Ubuntu 14.04.1 fresh install
  • Everything I tried relating to changes in /etc/modprobe.d/alsa-base.conf, like adding the line options snd-hda-intel model=ref or variations on this, did not work
  • Following this thread I did
    gksudo gedit /etc/pulse/default.pa
    and added the line
    load-module module-combine channels=6 channel_map=front-left,front-right,rear-left,rear-right,front-center,lfe
  • reboot
  • Click on volume control icon (top right of Unity) and choose Sound Settings (or click on the gear icon -> system settings -> Sound, which brings you to the same)
  • In the tab "Output' an entry "Simultaneaous output to Built-in Analog Stereo" has appeared. Click on this, then click on the "Test Sound" button to the right. In my case 6 speakers appear: front-left, front-center, front-right, rear-left, rear-right and subwoofer. Testing them 5 out of 6 work, only the subwoofer remains silent. Which is acceptable for me, for the time being, and a big step forward from only two speakers...

If you appreciated this article for some reason or another, please share it (see the buttons below), and, of course, don't forget to Flattr! (Why?)