čtvrtek 27. srpna 2015

Centos 7 initlevels

New concepts bring new difficulties. Why use the simple commands
"init 3" or "init 5", when we can type
"systemctl isolate multi-user.target" or "systemctl isolate graphical.target" instead?

Thus, I have two simple shortcut scripts in my  /root  folder:
cat > init_3
 systemctl isolate multi-user.target
chmod +x init_3


cat > init_5
 systemctl isolate graphical.target
chmod +x init_5


Update: 
a very simple solution:
use
telinit 3
or
telinit 5

Centos 7/Gnome Applications menu items don't respond

Thanks to:
http://unix.stackexchange.com/questions/213549/centos-7-gnome-applications-menu-items-dont-respond

Answer:

This is a known issue. See here:
apps-menu: Exception: can't convert event.get_time() to an integer #7
A fix is to change line 77 of /usr/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com/extension.js
from:
this._app.open_new_window(event.get_time());
to:
this._app.open_new_window(-1);

středa 26. srpna 2015

adobe acrobat reader on Centos7

wget ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i486linux_enu.rpm

yum install mesa-libGLU-9.0.0-4.el7.i686 libidn-1.28-3.el7.i686 pangox-compat-0.0.2-2.el7.i686

rpm -ivh AdbeRdr9.5.5-1_i486linux_enu.rpm