Start Ubuntu 14.04 Install x Mode---Terminal mode Chinese input, listen to the song, on IRC open framebuffer watch the movie screenshot

Source: Internet
Author: User

Let's go.

Kaka's all in the tty1 under the operation, watching movies, listening to songs,, look at the picture, on IRC and so on, quite suitable in small white in front of fart!

Software that needs to be installed:

In order to display Chinese correctly: Install Fbterm

sudo apt-get Install Fbterm

Because Ubuntu 14.04 framebuffer is on by default is turned on please check (Ls/proc/|grep fb) so do not have to do other configuration,

Just add the user to the video group, or it will appear: "Cann ' t open frame buffer device!"

sudo usermod-a-G video username

Note Here is the sudo usermod-a-G video username must not be less that-a this is appended if no-a you will be tragic, after you restart, you will not be able to login system, don't ask me how to know,

Take a look at Baidu's garbage tutorial.

Fbterm installation is complete, now need to install Input method, I use the FCITX

Installation:

sudo apt-get install  fcitx-frontend-fbterm

Modify Permissions:

sudo chmod u+s ' which fbterm '

To this step basic display Chinese and Chinese input basically no problem, note if you want to use the default FCITX under Fbterm, configure the system default input method to FCITX.

Otherwise you need to edit: $HOME/.FBTERMRC But I didn't try to edit the file directly.

We can simply write a script and modify it. BASHRC makes operation easier

Displays the shortcut startup script that establishes Fbterm:

[Email protected]:~$ cd/usr/local/bin/
[Email protected]:/usr/local/bin$ sudo gedit zhterm

Add the following content:

#export display=:0-d #fcitx-fbterm-helpereval ' dbus-launch--auto-  >/dev/null2>&1-I Fcitx-fbterm

Save, authorize:

755 Zhterm

Next Modify $HOME/.BASHRC

Join:

= = \/dev\/tty[0-9]*]]&&zhterm

After the OK is saved, CTRL+ALT+F1 will automatically enter Fbterm mode after entering Tty1 login:

Fbterm installation I have consulted: http://blog.sina.com.cn/s/blog_53918a4501016kyp.html

If you feel that the Fbterm font is too ugly, please revise it according to your own request $HOME/.FBTERMRC

Next talk about watching movies, watching movies, of course, artifact MPlayer

sudo apt-get Install MPlayer

Enter in Fbterm mode

You can watch the movie, note that the output device is fbdev2.

Music Tools Recommended MOCP

sudo apt-get Install MOC

Configuration:

Edit $home/.moc/config no new to solve garbled problem

Join:

Xtermtheme = transparent-= no

MOCP start

If you start an error saying that you have some questions about permissions, please do:

CD $HOME/.moc/755  Config

Tools Recommended Fbgrab

sudo apt-get Install Fbcat

No special configuration Fbgrab xx.png is required

Split screen software recommended Tmux

sudo apt-get

Specific operation please man Tmux

The above MOCP MPlayer Fbgrab are required to be executed under Fbterm to start the desired effect.

But there is another alternative, is to look at the picture software FBI

Installation

sudo apt-get Install FBI

You must exit Fbterm mode when looking at the picture otherwise it will appear:

Using "Droid Sans Fallback-16", pixelsize=16.67 File=/usr/share/fonts/truetype/droid/droidsansfallbackfull.ttf
IOCTL Vt_getstate: Improper IOCTL operation on the device (not a Linux console?)

Finally, talk about IRC.

Installation

sudo apt-get Install Irssi

IRC command online A lot, do not do specific introduction.

Introduce a technique that

Edit $HOME/.BASHRC

Add the following content:

#ircalias IRC='irssi-c irc.freenode.net-p 6666-n username'

Username, please replace your name.

An article of useless nonsense to this end of what is the problem welcome message.

Start Ubuntu 14.04 Install x Mode---Terminal mode Chinese input, listen to the song, on IRC open framebuffer watch movie

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.