码迷,mamicode.com
首页 > 其他好文 > 详细

Centos 7 安装GNOME桌面环境

时间:2019-01-21 21:02:14      阅读:200      评论:0      收藏:0      [点我收藏+]

标签:lis   code   ros   div   boot   span   eric   usr   yum   

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

[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 install ibus ibus-table-wubi

 

    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

 

Centos 7 安装GNOME桌面环境

标签:lis   code   ros   div   boot   span   eric   usr   yum   

原文地址:https://www.cnblogs.com/gentsir/p/10300655.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!