Fred's blog

Data integration

Talend Studio on Linux: making it look nicer

by on Dec.06, 2011, under Data integration

Doesn’t look like on Mac on Win32, does it?

You can find several howto around, the GTK+ reference here, a GTK+ theme how to.

Create a .gtkrc-eclipse in your home directory, with the following inside:


style "eclipse" {
 font_name="Droid Sans 9"
 GtkButton::default_border={0,0,0,0}
 GtkButton::default_outside_border={0,0,0,0}
 GtkButtonBox::child_min_width=0
 GtkButtonBox::child_min_heigth=0
 GtkButtonBox::child_internal_pad_x=0
 GtkButtonBox::child_internal_pad_y=0
 GtkMenu::vertical-padding=1
 GtkMenuBar::internal_padding=0
 GtkMenuItem::horizontal_padding=4
 GtkToolbar::internal-padding=0
 GtkToolbar::space-size=0
 GtkOptionMenu::indicator_size=0
 GtkOptionMenu::indicator_spacing=0
 GtkPaned::handle_size=4
 GtkRange::trough_border=0
 GtkRange::stepper_spacing=0
 GtkScale::value_spacing=0
 GtkScrolledWindow::scrollbar_spacing=0
 GtkExpander::expander_size=10
 GtkExpander::expander_spacing=0
 GtkTreeView::vertical-separator=0
 GtkTreeView::horizontal-separator=0
 GtkTreeView::expander-size=8
 GtkTreeView::fixed-height-mode=TRUE
 GtkWidget::focus_padding=0
}
class "GtkWidget" style "eclipse"

Then, export the GTK2_RC_FILES variable. Example:

export GTK2_RC_FILES=/home/fblaise/.gtkrc-eclipse

And launch talend or any eclipse-based program. It should look much better.

You will notice that the palette font size doesn’t change, and remains big… I don’t know why it is not changing with the rest. If you have a clue, please post a comment! Thanks.

Share
6 Comments more...

Talend: bug in yyyy date mask

by on Jan.04, 2011, under Data integration

While using Talend Open Studio v4.1.1, I realized there was a bug with the date mask for year over 4 digits : ‘yyyy’ (Specifically using Talend.parseDate(String s)). It gives back only the last 2 digits of the year. However, year mask ‘yy’ gives you the year on 4 digits.

Hopefully will avoid someone to wonder what’s going on until at least the next release. Will hunt for an existing bug, otherwise will open a new one.

Edit: I guess not a bug, but some obscure things related to the Excel cell I am parsing the date from..

Share
8 Comments :, , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...