Centos 7 安装GNOME桌面环境

  第一步:列出可安装的桌面环境

[root@local ~]# yum grouplist

 

  第二步:安装GNOME及相应桌面管理工具

[root@local ~]# yum group info  "Graphical Administration Tools" # 查看安装的包有哪些内容
[root@local ~]# yum -y groups install "GNOME DESKTOP" "Graphical Administration Tools"

 

  第三步:设置开机启动为GNOME

[root@local ~]# systemctl set-default graphical.target

 

  第四步:重启

[root@local ~]# reboot

 

  第五步:安装相应软件

    1)五笔

[root@local ~]#yum -y install ibus ibus-table-wubi ibus-pinyin

 

    2)sublime

    下载sb3  http://www.sublimetext.com/3

    解压到  /usr/local 目录

    编辑 /usr/local/sublime_text_3/sublime_text.desktop ,红色为修改内容

[Desktop Entry]
Version=1.0
Type=Application
Name=Sublime Text
GenericName=Text Editor
Comment=Sophisticated text editor for code, markup and prose
Exec=/usr/local/sublime_text_3/sublime_text %F
Terminal=false
MimeType=text/plain;
Icon=/usr/local/sublime_text_3/Icon/48x48/sublime-text.png
Categories=TextEditor;Development;
StartupNotify=true
Actions=Window;Document;

[Desktop Action Window]
Name=New Window
Exec=/usr/local/sublime_text_3/sublime_text -n
OnlyShowIn=Unity;

[Desktop Action Document]
Name=New File
Exec=/usr/local/sublime_text_3/sublime_text --command new_file
OnlyShowIn=Unity;

  把图标添加到快捷启动

[root@local ~]#cp sublime_text.desktop /usr/local/share/applications/

 

  3)smartgit

  下载st https://www.syntevo.com/smartgit/download/

  解压到  /usr/local 目录

  添加桌面快捷启动图标

[root@local ~]#/usr/local/smartgit/bin/add-menuitem.sh

   安装git

[root@local ~]#yum -y install git

 

  4)google chrome

 

       第六步:卸载 GNOME

[root@local ~]#yum -y groupremove "GNOME DESKTOP" "Graphical Administration Tools"

 

posted @ 2019-01-21 19:52  gentsir  阅读(13587)  评论(0编辑  收藏  举报