Restore default java, xml syntax-highlighting
Download from http://eclipsecolorthemes.org/?view=theme&id=790
EPF file
File-> Import -> General -> preference
Select epf downloaded.
Sunday, October 25, 2015
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:
$YOURHOMEDIR/.p2/pool/plugins/org.eclipse.ui.themes_x.x.x.x.V.xxxxxx/e4_default_gtk.css
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
After restart, go to Window > Preferences, General > Appearance and now you can edit styles here for any selected theme
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:
$YOURHOMEDIR/.p2/pool/plugins/org.eclipse.ui.themes_x.x.x.x.V.xxxxxx/e4_default_gtk.css
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: http://download.eclipse.org/e4/updates/0.12). 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
m
n (create new partition)
p (primary)
1
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
vgdisplay
vgextend centos /dev/sdb1
vgdisplay
df -Pk
pvs
lvextend -L +15G /dev/mapper/centos-root
df -Pk
## Extend VolumeGroup type xfs
lvs
xfs_growfs /
df -Pk
df -Th
lvs
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
m
n (create new partition)
p (primary)
1
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
vgdisplay
vgextend centos /dev/sdb1
vgdisplay
df -Pk
pvs
lvextend -L +15G /dev/mapper/centos-root
df -Pk
## Extend VolumeGroup type xfs
lvs
xfs_growfs /
df -Pk
df -Th
lvs
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 http://www.x.org/
Inserire nel file X0.hosts ip del server remoto
Lanciare Xming
Su server remoto test con
xclock&
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 http://www.x.org/
Inserire nel file X0.hosts ip del server remoto
Lanciare Xming
Su server remoto test con
xclock&
Subscribe to:
Posts (Atom)