Sunday, October 25, 2015

Eclipse syntax-highlighting to default

Restore default java, xml syntax-highlighting

Download from
EPF file

File-> Import -> General -> preference

Select epf downloaded.


Friday, October 23, 2015

eclipse reduce tab height

Simple and definitive guide for this annoing problem

Every Linux GTK (and not only) them present horrible Eclipse IDE
I'm working with:
CentOs 7 GUI
Eclipse Mars 4.5

You can customize file in this path:


Modify css class as:

.MPartStack {
  font-size: 9;
  font-family: Liberation Sans;
  swt-tab-renderer: null;
  swt-tab-height: 22px;
  swt-selected-tabs-background: #FFFFFF #ECE9D8 100%;
  swt-simple: false;
  swt-mru-visible: false;

to obtain decent tab style

Alternative to yuo can install Eclipse plugin :

Go to menu Help > Install new software, then install E4 CSS editor (Incubation) plug-in using update site (add this link:

After restart, go to Window > Preferences, General > Appearance and now you can edit styles here for any selected theme

Wednesday, October 21, 2015

Centos 7 disco full estendere spazio

Centos 7 filesystem xfs
Estensione dello spazio aggiungendo nuovo disco
Aggregazione nuovo disco nel volumegroup esistente

## Add phisical disk
In this case appears as /dev/sdb

### Modify disk
fdisk -l
fdisk /dev/sdb
n (create new partition)
p (primary)
enter (default)
enter (deafult)
t (select partition type)
8e (Linux LVM type)
w (save change to disk)

## Create Partition
pvcreate /dev/sdb1  (create patition)
df -h

## Extend Volume group
vgextend centos /dev/sdb1
df -Pk
lvextend -L +15G /dev/mapper/centos-root
df -Pk

## Extend VolumeGroup type xfs
xfs_growfs /
df -Pk
df -Th

Friday, October 16, 2015

Xclock Xming Xterm Can't open display

yum install xorg-x11-apps.x86_64
yum  install xorg-x11-xauth
yum install xorg-x11-fonts-*

vi /etc/ssh/sshd_config
      X11Forwarding yes

export DISPLAY=<ip client che esegue server X>:0.0

sul client :

Download Xming Server da
Inserire nel file X0.hosts ip del server remoto
Lanciare Xming

Su server remoto test con