8种机械键盘轴体对比
本人程序员,要买一个写代码的键盘,请问红轴和茶轴怎么选?
Dual Language Article. To change the language, select in TOC at the left.
双语文章。若要修改语言,选择左侧的目录进行切换。
Previously, I wrote a article about how to use X server, CCSM, Compiz and other components with Bash On Ubuntu On Windows to run Linux desktop environment from Windows desktop. Recently, I find a improved way of installing the LDE.
Retrieved from this post in BashOnWindows GitHub site.
First things first…
Run following code on Bash On Windows:1echo "export DISPLAY=:0.0" >> ~/.bashrc
And run the following code as root user:1sudo sed -i 's$.*$tcp:host=localhost,port=0$' /etc/dbus-1/session.confit is really important to run the code as root user, otherwise the code won’t work
For Ubuntu:Install VcXsrv and open XLaunch. Choose “One large window” with display number as 0.
Other settings leave as default and finish the configuration.
Now open bash, install Ubuntu Dekstop Environment, Unity and Compiz Config Settings Manager:1sudo apt-get install ubuntu-desktop unity compizconfig-settings-manager
and type ccsm to open Compiz Configuration Settings Manager.
Inside ccsm mouse pointer may be not visible due to icon not loaded. Enable the following plugins.
Now close ccsm and open compiz to start Unity Linux Desktop Environment.
To exit from Ubuntu close bash or kill compiz, the only way of closing Ubuntu.
For XUbuntu:Install VcXsrv and open XLaunch. Choose “One large window” or other options you like with display number as 0.
Other settings leave as default and finish the configuration.
Install xorg and xubuntu:1sudo apt-get install xorg xubuntu-desktop
This might take a while to complete.
After success installation, open xfce4-session to start Xubuntu Desktop Environment.
To exit from XUbuntu close bash, the only way of closing xubuntu.
中文从BashOnWindows GitHub网站上的文章 进行整理和翻译。
我前面写了一遍如何利用X server, CCSM, Compiz和其他组件,与Bash On Ubuntu On Windows相互配合在Windows 10上直接运行Linux桌面环境。最近,我改进了其中的步骤,所以再发了一篇。除非你是Linux发烧友,不建议使用此Linux桌面环境,因为质量和效果不是很好。推荐使用更轻量的i3wm和openbox.
首先…
在Bash On Windows运行以下代码:1echo "export DISPLAY=:0.0" >> ~/.bashrc
以Root用户运行以下代码:1sudo sed -i 's$.*$tcp:host=localhost,port=0$' /etc/dbus-1/session.conf一定要以root运行,否则会没有效果
Unity桌面环境:安装VcXsrv并打开XLaunch。 选择 “One large window” 并在display number 输入0,如图:
一路next下去就行,直到他完成配置
打开Bash On Windows并安装 ubuntu-desktop,unity 和 ccsm:1sudo apt-get install ubuntu-desktop unity compizconfig-settings-manager
输出显示:1export DISPLAY=localhost:0
并打开ccsm。
ccsm中可能显示不出鼠标指针,因为没有加载玩所有内容。如图选择插件。
现在关闭ccsm并打开 compiz.
Compiz会花些时间载入,稍稍等待下桌面环境就会出现
关闭桌面环境的方法只能是关闭bash窗口,或者杀Compiz进程。
XFCE桌面环境:安装VcXsrv并打开XLaunch。 选择 “One large window” 并在display number 输入0,如图:
一路next下去就行,直到他完成配置
安装xorg和xubuntu:1sudo apt-get install xorg xubuntu-desktop
此步骤会花上一些时间。
完成后输入 xfce4-session 运行Xfce.