Sunday, October 26, 2014

eclipse luna 4.4 - things I've done for Ubuntu 12.04 64bit

As I've reinstalled on 64bit, starting over with Eclipse, this time 4.4 Luna, here's a handler article with things I did so far, so I won't forget them:

1. .desktop file

gedit /usr/share/applications/eclipse-luna.desktop with the following content:


[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Type=Application
Comment=Eclipse Luna 4.4 64bit IDE
Exec=env UBUNTU_MENUPROXY=0 SWT_GTK3=0 //eclipse -vm //java 
Icon=//icon.xpm
Categories=Application;Development;Java;IDE
Name[en]=Eclipse
Terminal=false
NoDisplay=false

2. eclipse.ini - supplementary than default provided

-Xms128m
-Xmx2048m
-Xss2m
-Xverify:none
-Duser.name=Radu Cadariu

3. ugly and non-readable tooltips

source: http://www.devsniper.com/black-tooltip-in-eclipse-on-ubuntu-12-04/

which is saying this:

sudo apt-get install gnome-color-chooser

Specific tab, you can setup background/foreground colors for tooltips. I am (also) using for foreground black(#000000), background blue(#C2DFFD)

4. ugly big tabs for Luna UI. 

source: http://ubuntuforums.org/showthread.php?t=1465712

gedit ~/.gtkrc-2.0

style "gtkcompact" {
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
GtkTreeView::vertical-separator=0
GtkTreeView::horizontal-separator=0
GtkTreeView::fixed-height-mode=TRUE
GtkWidget::focus_padding=0
}
class "GtkWidget" style "gtkcompact"

The 3 and 4 affects the GTK on the system, so I'll take them with a grain of salt related to changes in the overall Ubuntu UI.

Now that I have my handler, if I find more things to change, I'll get back to this entry.
Post a Comment

Disclaimer: The information in this weblog is provided "AS IS" with no warranties whatsoever, and confers no rights to any institution/person/organization. These are my personal thoughts and ideas. When I am inspired by others I give credit, I do not assume other's work and efforts. This site is NOT supported, approved, blessed etc. by Lotus Software and/or IBM Corporation.

Creative Commons License

This work is licensed under a Creative Commons Attribution 3.0 License.