Archive for: ‘July 2012’

Change tab font in Eclipse Juno

July 2, 2012 Posted by jbonofre

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

July 2, 2012 Posted by jbonofre

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.