Posts

Showing posts with the label Unix/Linux

Webex on Ubuntu 14.04

Webex is a great tool but unfortunately, it doesn’t work “out of the box” on Ubuntu 14.04 (and also with previous Ubuntu releases). For instance, the webex applet starts but it doesn’t refresh correctly, or the share of desktop/application doesn’t work. Actually, the issue is due to: some libraries required by webex are missing on the Ubuntu installation webex expects to run in i386 (not amd64) platform, so, even if you have the libraries installed, you have to install the i386 version. To find the libraries required, you have to go in $HOME/.webex/1324 and $HOME/.webex/1424 folders and check the libraries with: ldd *.so|grep -i not For all missing libraries (not found), you have to find the package providing the library using: apt-file search xxxxxx.so Once you found the package providing the library, you have to install the package for both x64 (that should be the default if your machine is 64bits) and i386. For instance: aptitude install libpangox-1.0-0aptitude install libpangox-1

Upgrade to Ubuntu 13.04

Saturday, I decided to upgrade to Ubuntu 13.04. I used Ubuntu 12.04 LTS for a long time (since the release date). So the first step was to upgrade to Ubuntu 12.10: no problem with this upgrade, it works straight forward. After that I upgraded to 13.04, and I had the following issues. Upgrade to AMD Catalyst 13.4 driver Ubuntu 13.04 uses Linux kernel 3.8.0. As I used the AMD Catalyst driver for my Radeon GPU, I had to recompile the kernel module. I first tried AMD Catalyst 13.1 driver but it doesn’t work, as the kernel headers structure has changed (for instance the version.h header has changed). Fortunately, the AMD Catalyst driver 13.4 supports Linux kernel 3.8.0, so I upgraded to this version. Downgrade Intel video driver Unfortunately, even using AMD Catalyst 13.4 driver, X started in low graphics mode or on the Intel GPU, not on the Radeon one. When I forced the usage of the Radeon GPU (using amdconfig --px-dgpu ), X didn’t start at all. The X log file showed me an error with the f

Dell Vostro with Ubuntu: use the AMD Catalyst drivers

I have a Dell Vostro 3550 with Ubuntu 12.04 since around one year now. The laptop worked fine, it was pretty fast, building a lot of projects in the same time, etc. I complained with: the temperature was really hot (sensors said between 80°C and 95°C all of the time). Sometime, the temperature was critical and the system shutted down. due to the previous point, the fan was very noisy the battery autonomy was average This laptop use dual graphic cards: Intel SGI graphic card (to reduce energy consumption), and AMD Radeon HD 6600M (for 3D enhanced graphics and HD videos). When I got this laptop, I tried to install the fglrx open source drivers a couple of times. Without success: it seems that the Radeon card was not fully supported. As the laptop ran really fine (unity was fast, vlc was able to read HD videos without problem, etc), I stayed with the Intel Xorg driver. Yesterday evening, watching a movie, the laptop was so hot that I have to use a pillow to avoid to burn my legs 😉 So tod

Change tab font in Eclipse Juno

If you tried Eclipse Juno, you may see that the tab fonts are “large”. The “Package Explorer” and “Outlet” tab font take a lot of space. If you take a look in the preferences, in the appearance section, you won’t find anything related to these tabs. The good news is that Eclipse use CSS for the main style, and you can edit these CSS. If you take a look in ECLIPSE_HOME/plugins/org.eclipse.platform_4.2.0.v201206081400/css , you will find the different CSS used. On Linux, if you use the GTK style (in the Preferences/Appearances), the e4_default_gtk.css is used. Edit this file and change the .MPartStack section : .MPartStack { font-size: 9; font-family: "Droid Sans"; swt-simple: false; swt-mru-visible: false; }

Losing wireless connection on Ubuntu

Sometime, depending of the wireless access point used, my wireless connection looks stuck on my Ubuntu (11.10 or 12.04): nothing special on the network icon, but no more connection, no ping, etc. The problem comes from the the 11n support which is not well supported. The workaround is to turn off the 11n support. To do so, edit /etc/modprobe.d/iwlwifi.conf and add: options iwlwifi 11n_disable=1 It works like a charm.

Ubuntu boot hang up with kernel 3.0.0-15 and lvm2

Today, I updated my Ubuntu box and a new kernel has been installed (3.0.0-15 x86_64). At boot, my system hangs up just after the /scripts/init-bottom phase. I tried with kernel 3.0.0-14, the behavior is the same. The latest working kernel was 3.0.0-13. After digging, it’s when the init-bottom performs vgchange -a y . The problem is that the script is waiting for the udev device, and starting from kernel 3.0.0-14, it doesn’t work and we raise the timeout. So it means that the startup is not totally stuck, it just takes long long long time 😉 The workaround is to disable the udev support during LVM2 vgchange. To do that, edit the /lib/udev/rules.d/85-lvm2.rules and add the --noudevsync option to vgchange: SUBSYSTEM=="block", ACTION=="add|change", ENV{ID_FS_TYPE}=="lvm*|LVM*", \ RUN+="watershed sh -c '/sbin/lvm vgscan; /sbin/lvm vgchange --noudevsync -a y'" We have to update the initramfs: update-initramfs -u -k all