Erlo

Centos 7 安装GNOME桌面环境

时间:2019-01-21   阅读:452次   来源:博客园
页面报错
点赞

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

[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 ~]#vi /usr/local/share/applications/smartgit.desktop

[Desktop Entry]
Type=Application
Name=Smartgit
Comment=smartgit
Exec=/usr/local/smartgit/bin/smartgit.sh %F
Icon=/usr/local/smartgit/bin/smartgit-48.png

[Desktop Action Window]
Name=New Window
Exec=/usr/local/smartgit/bin/smartgit.sh -n
OnlyShowIn=Unity;

 

  4)google chrome

 

评论留言

还没有评论留言,赶紧来抢楼吧~~

吐槽小黑屋()

* 这里是“吐槽小黑屋”,所有人可看,只保留当天信息。

  • Erlo吐槽

    Erlo.vip2021-09-25 00:49:27Hello、欢迎使用吐槽小黑屋,这就是个吐槽的地方。
  • 返回顶部

    给这篇文章打个标签吧~

    棒极了 糟糕透顶 好文章 PHP JAVA JS 小程序 Python SEO MySql 确认