mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-23 21:20:42 +08:00
translated
This commit is contained in:
parent
c78d944ea8
commit
1e0c467871
@ -1,61 +1,59 @@
|
||||
Translating----geekpi
|
||||
|
||||
Install Mate desktop in FreeBSD 10.1
|
||||
在FreeBSD 10.1中安装Mate桌面
|
||||
================================================================================
|
||||
![](http://1102047360.rsc.cdn77.org/wp-content/uploads/2015/03/FreeBSD-790x494.jpg)
|
||||
|
||||
FreeBSD is fully text mode system, however some times new users might want to use GUI desktop environment. This tutorial will help you to install Mate Desktop in Freebsd 10.1.
|
||||
FreeBSD是全文本模式的系统,然而有些新用户想要使用GUI桌面环境。这个教程就是帮助你在Freebsd 10.1中安装Mate桌面。
|
||||
|
||||
Here is my test system details:
|
||||
下面是我的系统细节:
|
||||
|
||||
root@Freebsd-unixmen:~ # uname -a
|
||||
FreeBSD Freebsd-unixmen 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
|
||||
root@Freebsd-unixmen:~
|
||||
|
||||
To start installing Mate desktop in FreeBSD 10.1, the following steps can be used.
|
||||
要在FreeBSD 10.1 中开始安装Mate桌面,按照下面的步骤。
|
||||
|
||||
pkg install xf86-video-fbdev mate-desktop mate xorg
|
||||
|
||||
### Add the following lines to /etc/rc.conf ###
|
||||
### 在 /etc/rc.conf 中加入下面的行 ###
|
||||
|
||||
moused_enable="YES"
|
||||
dbus_enable="YES"
|
||||
hald_enable="YES"
|
||||
|
||||
### Test the installation. ###
|
||||
### 测试安装 ###
|
||||
|
||||
xinit mate-session
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/03/snapshot2.png)
|
||||
|
||||
Mate doesn’t have a display manager of its own. Hence we can use any other display managers like XDM, GDM, slim etc to use the login manager. Here let’s see how to configure Slim DM with Mate desktop.
|
||||
Mate本身没有显示管理器。因此我们会使用其他的显示管理器如XDM、GDM、slim等等来作为登录管理器。这里让我们看看如何在Mate桌面中配置Slim DM
|
||||
|
||||
### Install Slim ###
|
||||
### 安装 Slim ###
|
||||
|
||||
pkg install slim
|
||||
|
||||
Add the following line to **/etc/rc.conf**:
|
||||
在**/etc/rc.conf**中加入下面的行:
|
||||
|
||||
slim_enable="YES"
|
||||
|
||||
Add the following line to .xinitrc file in the user’s home directory
|
||||
在用户的家目录下的.xinitrc文件加入下面的行。
|
||||
|
||||
exec mate-session
|
||||
|
||||
Reboot the machine. Now the machine will boot into Slim login where you can login to Mate session.
|
||||
重启电脑。现在在你登录Mate时就会进入Slim登录界面了。
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/03/snapshot3.png)
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/03/snapshot4.png)
|
||||
|
||||
That’s it. Cheers!
|
||||
就是这样。干杯!
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.unixmen.com/install-mate-desktop-freebsd-10-1/
|
||||
|
||||
作者:[M.el Khamlichi][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
译者:[geekpi](https://github.com/geekpi)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
Loading…
Reference in New Issue
Block a user