ArchLinux Follow-up work

Source: Internet
Author: User

One: Create a normal user

#useradd-M-G users-g audio,video,floppy,network,rfkill,scanner,storage,optical,power,wheel,uucp-s/bin/bash Uname

#passwd uname

Elevate permissions

#pacman-S sudo

Edit/etc/sudoers Join uname all= (All) all remove this line comment%wheel all= (all) all re-login verification

Two: Install desktop Xfce

#pacman-S Xorg-server xorg-server-utils Xorg-xinit

#pacman-S Xf86-video-nouveau

#pacman-S Input-synaptics

#pacman-S Xfce4 xfce4-goodies

Font

#pacman-S Ttf-dejavu

#pacman-S Ttf-arphic-ukai

#pacman-S Ttf-arphic-uming

#pacman-S Wqy-zenhei

Two: Using the slim login

Log on to the desktop environment with Startxfce4 when no more logins are installed

#pacman-S Slim archlinux-themes-slim

#cp/ETC/SKEL/.XINITRC ~/.XINITRC

Remove this line of comment

EXEC Startxfce4

#systemctl Enable Slim.service

#chmod +x ~/.XINITRC

Note: This example is the root user to use the Slim login settings, after restarting to enter the slim login, cannot log on to the ordinary user, this is because under ordinary users also need. xinitrc file and specify the user desktop environment. I want a normal user to log in to the KDE environment if KDE is already installed.

Change some settings including subject, default login user, etc. from file/etc/slim.conf. You can view your favorite topics in/usr/share/slim/themes

Three: Chinese culture

Export LANG=ZH_CN. UTF-8

Export Language=zh_cn:en_us

Export Lc_ctype=en_us. UTF-8

Place the above three lines in the ~/.XINITRC and precede the exec Startxfce4

Four: Chinese Input Method Fcitx-sunpinyin

#pacman-S FCITX fcitx-sunpinyin Fcitx-configtool

~/.XINITRC Join

Export GTK_IM_MODULE=FCITX

Export QT_IM_MODULE=FCITX

Export xmodifiers= "@im =FCITX"

And then use the Configuration tool to add and set up, very simple

Source: https://wiki.archlinux.org

ArchLinux Follow-up work

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.