Ubuntu

Stuff todo in Ubuntu 14.04 after install

The atareao-team ppa ( Install on your own risk ) got some neat indicators for Ubuntu:

# add-apt-repository ppa:atareao/atareao
# apt-get update
# apt-get install calendar-indicator
# apt-get install my-weather-indicator

The FFmpeg plugin for GStreamer 0.10 is not available in the official Ubuntu 14.04 repositories (because FFMpeg is not available either – libav is used instead) and because of this, Firefox doesn’t support the H.264 codec.
The mc3man trusty-media ppa fix this for you ( Install on your own risk ) .

# add-apt-repository ppa:mc3man/trusty-media
# apt-get update
# apt-get install gstreamer0.10-ffmpeg

You can check you H.264 support at http://www.youtube.com.html5

If you use skype (which is 32bit) and are on 64bit, install these packages to enable support for your default desktop theme as well as enable the skype tray icon

# apt-get install gtk2-engines-murrine:i386 sudo apt-get install gtk2-engines-pixbuf:i386 sni-qt:i386

Latest chromium-browser have removed flash support, the pepper-flash-plugin enable flash :

# pepperflashplugin-nonfree

I mostly ripped off these customizations from webupd8.org .

Ubuntu 13.10 console resolution

Switching to the binary Nvidia driver usually ‘break’ the nice boot splash and console resolution in Ubuntu. It has something to do with Linux being gpl licensed and the kernel code will be tainted if you integrate non-gpl code / or the kernel crew simply won’t integrate binary code, which I personally respect .

I’ve been using some VESA framebuffer since like for many years, and for the last 3-4 years I’ve been using the uvesafb module to get high resolution console and boot splash on my desktop.
I just noticed my ‘howto’ for getting this stuff setup in Ubuntu 13.10 no longer works, well it did actually work but I was put off when the ‘hwinfo’ package no longer was available.

I google’ed this for about 20 minutes, and tried a couple solutions that didn’t work, so I’m pasting my personal ‘howto’ on how I got this working on my 13.10.

# apt-get install v86d

Reboot, and in grub type ‘c’, then type ‘vbeinfo’ to list resolutions supported by your card.

Edit your /etc/default/grub file and make sure you use your desired resolution and bit depth listed from ‘vbeinfo’

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option=1280x800x32,mtrr=3,scroll=ywrap"

Now scroll down a bit in that file and edit this line also to match your previous change

GRUB_GFXMODE=1280x800

Now force the use of framebuffer

# echo FRAMEBUFFER=y | tee /etc/initramfs-tools/conf.d/splash

Now update grub and your initramfs image and you’re done!

# update-grub2 && update-initramfs -u

What I used to do was installing hwinfo which would show me supported console resolutions from terminal in my X session (Unity in my case), but since Ubuntu 13.10 has dropped support for HAL ( if I got it right) that package is no longer available.
I kind of solved it with vbeinfo from within grub, but that isn’t really optimal since vbeinfo listed a lot more resolutions than could fit within 1 page, and I couldn’t pipe that command to less. Luckily I saw one of the resolutions I wanted to use so that wasn’t really a problem after all.

Note that since I’m using the uvesafb, I don’t get like really hardware accelerated console, and that if I use 1920x1080x32 which my card supports as a maximum, stuff get imho a bit slow. That is, text rolling off screen is slow and a bit stuttering.
I’ve found that 1280×800 is a perfect compromise in my case.

Wrong keyboard layout in lightdm for (k)ubuntu

I’ve had this annoying thing about my keyboard layout being US for my login window in Kubuntu 12.10. This happened after I got a new wireless keyboard with this unifying usb thing at work. I recently upgraded to 13.04 and the error followed, so I dug up the workaround / fix at bugs.launchpad.net .
My fix was adding this to /etc/lightdm/lightdm.conf

[...]
display-setup-script=setxkbmap no
[...]

Kubuntu update manager has been complaining about failed package download / update

If you, like me, got that really annoying message from update manager regarding failed download of additional data ( usually flashplugin-installer in my case) every time you login, I just found the answer at ubuntu forums .

root@saturn:/var/lib/update-notifier/user.d# pwd
/var/lib/update-notifier/user.d
root@saturn:/var/lib/update-notifier/user.d# ls -l | grep failed
-rw-r--r-- 1 root root 24155 Dec 17 10:33 data-downloads-failed
-rw-r--r-- 1 root root 27963 Feb 15 08:16 data-downloads-failed-permanently
root@saturn:/var/lib/update-notifier/user.d# rm data-downloads-failed*
root@saturn:/var/lib/update-notifier/user.d# 

umask in Ubuntu Oneiric

joar@jupiter:~$ umask
0002
joar@jupiter:~$ 

I wonder why they’ve changed umask from 0022 to 0002 in Ubuntu 11.10 .
Look like yet an other ‘make linux userfriendly’ apporach http://www.mail-archive.com/ubuntu-devel-announce@lists.ubuntu.com/msg00628.html
Personally I’m not a fan of files being group writeable when i create them:

joar@jupiter:~$ tail -1 .bashrc 
umask 0022
joar@jupiter:~$ bash
joar@jupiter:~$ umask
0022
joar@jupiter:~$ 

Evolution 3, google calendar sync prob.

In ubuntu 11.10 I had problems adding my google calendar .
In gconf-editor, I found the evolution entry in apps/evolution
there is a key called “source” in addressbook and calendar also, and they differ. the calendar had no “google” source. I simply copied it from the addressbook part (double click on sources under addressbook, select the one with name=”Google”, press edit, copy it’s content) and added a new entry to the source key under calendar (same procedure, but press add when editing the key).

Got that from ubuntuforums.org