StokeBloke.com

Archive for March, 2015

XFCE 4.12 upgrade on Mint 17.1

Friday, March 6th, 2015

I love Xfce and have been using it for years..

Finally 4.12 has been released but the ubuntu/mint ppa still only has 4.10 and I wanted all the new shiny things.

To upgrade 4.10 to 4.12 on mint/ubuntu simply run the following :

sudo add-apt-repository ppa:xubuntu-dev/xfce-4.12
sudo apt-get update
sudo apt-get dist-upgrade

If you dont use Xfce yet, why not?! Simply run this :

sudo apt-get install xfce4

Warning: There is an issue with QT apps not using a the GTK+ theme.

Run :

sudo apt-get install qt4-qtconfig
sudo qtconfig-qt4 

And select the “Appearance” tab, set the “GUI Style” to “GTK+”, then select File > Save.

Warning : If I ran qtconfig-qt4 as my user (not sudo) the gtk+ theme would not stick.

Upgrade Linux Mint 17.0 Qiana to 17.1 Rebecca

Friday, March 6th, 2015

This is the way I upgraded my latop from Mint 17.0 to Mint 17.1.

Edit file : /etc/apt/sources.list.d/official-package-repositories.list

# Add new Mint 17.1
deb http://packages.linuxmint.com rebecca main upstream import 
deb http://extra.linuxmint.com rebecca main

# Comment out 17.0 packages
#deb http://packages.linuxmint.com qiana main upstream import 
#deb http://extra.linuxmint.com qiana main
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
# reboot and pray
reboot
# check if anything needs to be cleaned up - maybe old kernels
sudo apt-get autoremove

Gentoo blocked libav and ffmpeg

Tuesday, March 3rd, 2015

Well gentoo needs you to chose ffmpeg or libav for update deep worlds to work. My system was moaning that libav + ffmeg were blocking each other.

The error is something like this :

[blocks B ] media-video/ffmpeg ("media-video/ffmpeg" is blocking
media-video/libav-0.8.2)

* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.

(media-video/ffmpeg-0.10.2::gentoo, ebuild scheduled for merge)
pulled in by media-video/ffmpeg required by @selected

(media-video/libav-0.8.2::gentoo, ebuild scheduled for merge) pulled
in by
>=media-video/libav-0.8.1[X,encode,-jpeg2k,-mp3,-sdl,-theora,-threads,-truetype,-vaapi,-vdpau,-x264]
required by (virtual/ffmpeg-0.10.2-r1::gentoo, ebuild scheduled for
merge) 

I decided to use libav. Which appears to be the more active and stably developed.

I simply added -ffmpeg to my USE flag in /etc/portage/make.conf.

E.g :

USE="$USE -ffmpeg" #use libav

Then I removed ffmpeg from my system

sudo emerge -C media-video/ffmpeg
sudo emerge -C virtual/ffmpeg

Next was the big emerge

sudo emerge -avuDN world

which now no longer moans about blocking packages.

Do I really need lxcbr0 and docker0?

Tuesday, March 3rd, 2015

For some time I have noticed my system has docker0 and lxcbr0.   I couldnt understand why docker would both 10.0.3.0 and 172.16.0.0 too.

After a little searching I found out that since Docker 0.9, it hasnt used LXC instead using its own native libcontainer.

The lxcbr0 bridge appears to be something left over from an early version.

It can be removed using:

sudo ifconfig lxcbr0 down

sudo brctl delbr lxcbr0