The initial configuration Blackarck Linux

Blackarch Linux system is a system penetration test series the most powerful, the most comprehensive tool for an operating system. However, although the strong performance of the system, but the interaction was not very friendly, especially for Chinese users - there is no built-in Chinese input method, but also comes with the Chinese will be garbled, while the built-interface terminal is not beautiful . To solve these problems, we have summarized in the process of solving some experience in this for everyone to share, but also hope that Blackarch users to share all kinds of good summary of their experience during use.

1, Chinese garbled question

pacman -S tty-dejavu wqy-zenhei wqy-microhei

# Solution This problem has a lot, but I used the above method, individuals feel more simple.

2, Chinese input method is provided

The first is to modify the update source, in the /etc/pacman.conf

[blackarch]

Server=https://www.blackarch.org/blackarch/$repo/os/$arch

These two lines commented out, then finally add

[archlinuxcn]

SigLevel = Optional TrustAll

Server = https://mirrors.ustc.edu.cn/archlinuxcn/x86_64/

After the addition was complete save and exit

Then install yaourt,

pacman -Syu yaourt

Because a lot of content to be updated, so we will spend a lot of time. Of course not updated directly installed Chinese input method is also available.

The proposed installation fcitx, do not install ibus, because I did not succeed installed ibus.

pacman -S Fcitx

pacman -S fcitx-in

pacman -S fcitx-configtool

pacman -S Fcitx googlepinyin 或 Fcitx sogoupinyin

After installation is complete, add in ~ / .bashrc

export LC_ALL=zh_CN.UTF-8

export GTK_IM_MODULE=fcitx

export QT_IM_MODULE=fcitx

export XMODIFIERS="@=im=fcitx"

同时新建~/.xprofile文件,将上面四行添加进去。最后重启系统。

3、更改默认终端

pacman -S deepin-terminal

mv /usr/bin/xterm /usr/bin/xterm.bak

ln -s /usr/bin/deepin-terminal /usr/bin/xterm

#当然也可以根据个人喜好更改默认终端

4、修改tor的配置

首先运行tor,弹出报错界面后,

修改文件~/.tor-browser-en/INSTALL/Browser/start-tor-browser中的第94行

if [ "`id -u`" -eq 0 ];  改为  if [ "`id -u`" -eq 1 ];

最后,如果是使用虚拟机安装的Blackarch会存在调整分辨率的问题,这个可以参考arch linux调整分辨率的办法。如果想听音乐或看片的话可以安装一个smplayer

pacman -S smplayer

 

Guess you like

Origin www.cnblogs.com/third-eye/p/11025627.html