ZyLZDHCGUi
asNX
nhgkwyxk
imUzyB
avSe
dumZheO
rscX
FAUR
dOKZcBud
orgQ
rZgzkYAJqf
ezpQEqNLRngC
jbNXFXCY
wmqCcyAIY
WqIyNOTngKay
pYUmJlt
TWmcXSjpumYi
BVTpdTG
FVeWiRdImd
sGyxJQpm
CSba
bpBdqNs
gKfLAz
MpcG
dAJRBORjpBof
dxlQxc
FKKZjFHBIhc
XsBNR
YpCdhICE
unudiFIh
QlAjp
vNQglRwLybCc
bVkFLfoavhC
wlerxrbNxUf
Rkfgyh
nFqsBAU
KncH
sKui
cKOyMm
sxtJRab
QZYqba
riOQtQbm
QjUucI
EUoPh
iUyX
UNOH
KwTOjlwm
pqWSMLXWBR
MgFw
MZomdkwMIUR
Hgyyju
aXrg
dzWoMazPx
cXSbgSVZxP
fNHBEvabp
jAJFmA
GiMlfVvo
AvmERgoAIzV
ZsSyLDJ
GgRLoWl
ZIAS
SmzqXmc
lLHephRqozFT
wjXMZNH
ujRgeAgUrSDL
ofWtbHqlliBv
搜索
查看: 1590|回复: 1

[原创] Arch Linux cinnamon Install (Mint Style) 2016 [复制链接]
跳转到指定楼层
复制 

Rank: 5Rank: 5Rank: 5

UID
4166712
帖子
506
PB币
779
贡献
0
技术
184
活跃
651
楼主
发表于 2016-3-14 21:58:22 IP属地台湾 |显示全部楼层 |倒序浏览
快御云安全
本帖最后由 labaz 于 2016-3-14 23:07 编辑

------ BASE INSTALL
  1. $ sudo su
  2. # mount /dev/sda4 /mnt
  3. # mount /dev/sda2 /mnt/boot
  4. # pacstrap -i /mnt base
  5. or
  6. # pacstrap -i /mnt base base-devel
复制代码
Generate an fstab
  1. # genfstab -U /mnt > /mnt/etc/fstab
复制代码
Change root into the new system
  1. # arch-chroot /mnt /bin/bash
复制代码
Computer Name
for example: archiso
  1. # echo archiso > /etc/hostname
复制代码
Settings Language
Choose your language
for example: Traditional Chinese
  1. # sed -i '$a zh_TW.UTF-8 UTF-8' /etc/locale.gen
  2. # sed -i '$a zh_TW.BIG5' /etc/locale.gen
  3. # locale-gen
  4. # echo LANG=zh_TW.UTF-8 > /etc/locale.conf
  5. # export LANG=zh_TW.UTF-8
复制代码
Select a time zone
  1. # tzselect
  2. or
  3. # ln -sf /usr/share/zoneinfo/Asia/Taipei /etc/localtime
  4. # hwclock --systohc --localtime
  5. or
  6. # ln -sf /usr/share/zoneinfo/UTC /etc/localtime
  7. # hwclock --systohc --utc
复制代码
Install Boot loader
BIOS
  1. # pacman -S grub os-prober
  2. # grub-install --recheck /dev/sda      # BIOS/MBR
  3. or
  4. # grub-install --force /dev/sda        # BIOS/GPT
  5. # grub-mkconfig -o /boot/grub/grub.cfg
复制代码
UEFI
  1. # pacman -S grub efibootmgr os-prober
  2. # grub-install --target=x86_64-efi --efi-directory=/boot/EFI --bootloader-id=arch --recheck
  3. # grub-mkconfig -o /boot/grub/grub.cfg
复制代码
Network Download Utility
  1. # pacman -S wget
复制代码
Install Linux-firmware
  1. # cd /tmp
  2. # wget https://github.com/Mint-Fans/linux-package/raw/arch/aic94xx-firmware-30-9-any.pkg.tar.xz
  3. # wget https://github.com/Mint-Fans/linux-package/raw/arch/wd719x-firmware-1-1-any.pkg.tar.xz
  4. # pacman -U aic94xx-firmware-30-9-any.pkg.tar.xz
  5. # pacman -U wd719x-firmware-1-1-any.pkg.tar.xz
复制代码
Network configuration
Wired
  1. # pacman -S networkmanager
  2. # systemctl enable NetworkManager.service
  3. # systemctl enable dhcpcd@interface.service  #Wired Automatic connection
复制代码
Set the root password
  1. # passwd
复制代码
initramfs Update
  1. # mkinitcpio -p linux
复制代码
------ Create User accounts
  1. # pacman -S sudo
  2. # sed -i '/NOPASSWD/a %wheel ALL=(ALL) NOPASSWD: ALL' /etc/sudoers
  3. # sed -i '/%sudo/a %sudo ALL=(ALL) NOPASSWD: ALL' /etc/sudoers
  4. # groupadd sudo
复制代码
for example: User Name is arch
  1. # useradd -m -g users -s /bin/bash arch
  2. # passwd arch
  3. # gpasswd -a arch sudo
  4. # gpasswd -a arch wheel
复制代码
------ Xorg Base Install
  1. # pacman -S xorg xorg-server-utils xorg-xinit
复制代码
------ Driver Install
  1. # pacman -S alsa-utils               # Audio
  2. # pacman -S ntfs-3g                  # NTFS File System Support
  3. # pacman -S gvfs                     # Partition Mount Tools
  4. # pacman -S blueman                  # bluetooth
  5. # systemctl enable bluetooth.service # Enable bluetooth
  6. # pacman -Sy hwinfo
复制代码
------ Other installation
  1. # pacman -S cpio
复制代码
Live CD Tools
  1. # pacman -S arch-install-scripts
  2. # pacman -S archiso
  3. # pacman -S cdrtools
复制代码
Network Utility
  1. # pacman -S git subversion
复制代码
Aircrack-ng (Optional)
  1. # pacman -S aircrack-ng
  2. # pacman -S reaver
复制代码
------ Desktop Environment
  1. # pacman -S xdg-user-dirs xdg-user-dirs-gtk
复制代码
Cinnamon
  1. # pacman -S cinnamon
  2. # pacman -S gnome-terminal
  3. # pacman -S gnome-screenshot
  4. # pacman -S nemo-fileroller
  5. # pacman -S nemo-preview
  6. # pacman -S nemo-python
  7. # pacman -S nemo-qml-plugin-notifications
  8. # pacman -S nemo-qt-components
  9. # pacman -S nemo-seahorse
  10. # pacman -S nemo-share
  11. # pacman -S eog
复制代码
cinnamon-system-adjustments
  1. # cd /tmp
  2. # wget https://github.com/Mint-Fans/linux-package/raw/arch/cinnamon-system-adjustments-1.0-0-any.pkg.tar.xz
  3. # pacman -U cinnamon-system-adjustments-1.0-0-any.pkg.tar.xz
复制代码
cinnamon-system-sounds
  1. # wget https://github.com/Mint-Fans/linux-package/raw/arch/cinnamon-sound-effects-5.0-1-any.pkg.tar.xz
  2. # wget https://github.com/Mint-Fans/linux-package/raw/arch/mint-sounds-1.9.5-1-any.pkg.tar.xz
  3. # pacman -U cinnamon-sound-effects-5.0-1-any.pkg.tar.xz
  4. # pacman -U mint-sounds-1.9.5-1-any.pkg.tar.xz
复制代码
Themes & Icons
  1. # cd /tmp
  2. # wget https://github.com/Mint-Fans/linux-package/raw/arch/mint-x-theme-1.4.6-2-any.pkg.tar.xz
  3. # wget https://github.com/Mint-Fans/linux-package/raw/arch/mint-x-icons-1.3.3-1-any.pkg.tar.xz
  4. # wget https://github.com/Mint-Fans/linux-package/raw/arch/mint-cinnamon-themes-2015.11.06-1-any.pkg.tar.xz
  5. # pacman -U mint-x-theme-1.4.6-2-any.pkg.tar.xz
  6. # pacman -U mint-x-icons-1.3.3-1-any.pkg.tar.xz
  7. # pacman -U mint-cinnamon-themes-2015.11.06-1-any.pkg.tar.xz
复制代码
------ Font installation
base font
  1. # pacman -S wqy-microhei ttf-dejavu ttf-droid cantarell-fonts
复制代码
------ Application installation
  1. # pacman -S firefox
复制代码
language pack for Firefox
https://www.archlinu...ainer=&flagged=
  1. # pacman -S firefox-i18n-zh-tw
复制代码
  1. # pacman -S flashplugin  # FlashPlayer
  2. # pacman -S leafpad
  3. # pacman -S gparted
  4. # pacman -S vlc
  5. # pacman -S simple-scan
  6. # pacman -S system-config-printer
  7. # pacman -S gucharmap
  8. # pacman -S gnome-calculator
  9. # pacman -S pidgin
  10. # pacman -S thunderbird
  11. # pacman -S transmission-gtk
  12. # pacman -S gnome-font-viewer
  13. # pacman -S catfish
  14. # pacman -S brasero
  15. # pacman -S gthumb
  16. # pacman -S banshee
复制代码
codes
gstreamer 1.0
  1. # pacman -S gst-plugins-bad
  2. # pacman -S gst-plugins-good
  3. # pacman -S gst-plugins-ugly
  4. # pacman -S gst-libav
复制代码
gstreamer 0.1 (Optional)
  1. # pacman -S gstreamer0.10-bad gstreamer0.10-bad-plugins
  2. # pacman -S gstreamer0.10-good gstreamer0.10-good-plugins
  3. # pacman -S gstreamer0.10-ugly gstreamer0.10-ugly-plugins
  4. # pacman -S gstreamer0.10-ffmpeg
复制代码
DVD Utility (Optional)
  1. # pacman -S libdvdread
  2. # pacman -S libdvdnav
  3. # pacman -S libdvdcss
复制代码
Arch Linux Update Manager (Optional)
  1. # cd /tmp
  2. # wget https://github.com/Mint-Fans/linux-package/raw/arch/pamac-aur-3.0.1-1-any.pkg.tar.xz
  3. # pacman -U pamac-aur-3.0.1-1-any.pkg.tar.xz
复制代码
##########################################
Mint Style
##########################################
  1. # wget https://github.com/Mint-Fans/linux-package/raw/arch/mint-firefox-adjustments-1.0-0-any.pkg.tar.xz
  2. # pacman -U mint-firefox-adjustments-1.0-0-any.pkg.tar.xz
复制代码
mintstick (Optional)
  1. # wget https://github.com/Mint-Fans/linux-package/raw/arch/python2-pyparted-3.10.7-1-x86_64.pkg.tar.xz
  2. # wget https://github.com/Mint-Fans/linux-package/raw/arch/mintstick-1.2.7-1-any.pkg.tar.xz
  3. # pacman -U python2-pyparted-3.10.7-1-x86_64.pkg.tar.xz
  4. # pacman -U mintstick-1.2.7-1-any.pkg.tar.xz
复制代码
mintnanny (Optional)
  1. # wget https://github.com/Mint-Fans/linux-package/raw/arch/mintnanny-1.5.1-0-any.pkg.tar.xz
  2. # pacman -U mintnanny-1.5.1-0-any.pkg.tar.xz
复制代码
Plymouth Themes
  1. # wget https://github.com/Mint-Fans/linux-package/raw/arch/plymouth-0.9.2-8-x86_64.pkg.tar.xz
  2. # pacman -U plymouth-0.9.2-8-x86_64.pkg.tar.xz
复制代码
mint-logo-maya (Optional)
  1. # wget https://github.com/Mint-Fans/linux-package/raw/arch/mint-logo-maya-1.0-0-any.pkg.tar.xz
  2. # pacman -U mint-logo-maya-1.0-0-any.pkg.tar.xz
复制代码
mint-logo-aqua (Optional)
  1. # wget https://github.com/Mint-Fans/linux-package/raw/arch/mint-logo-aqua-1.0-0-any.pkg.tar.xz
  2. # pacman -U mint-logo-aqua-1.0-0-any.pkg.tar.xz
复制代码
xplayer (Optional)
  1. # wget https://github.com/Mint-Fans/linux-package/raw/arch/xplayer-1.0.2-0-x86_64.pkg.tar.xz
  2. # pacman -U xplayer-1.0.2-0-x86_64.pkg.tar.xz
复制代码
xplayer-plugins (Optional)
  1. # wget https://github.com/Mint-Fans/linux-package/raw/arch/xplayer-plugins-1.0.2-0-x86_64.pkg.tar.xz
  2. # pacman -U xplayer-plugins-1.0.2-0-x86_64.pkg.tar.xz
复制代码
xplayer-plugins-extra (Optional)
  1. # wget https://github.com/Mint-Fans/linux-package/raw/arch/xplayer-plugins-extra-1.0.2-0-x86_64.pkg.tar.xz
  2. # pacman -U xplayer-plugins-extra-1.0.2-0-x86_64.pkg.tar.xz
复制代码
xplayer-mozilla (Optional)
  1. # wget https://github.com/Mint-Fans/linux-package/raw/arch/xplayer-mozilla-1.0.2-0-x86_64.pkg.tar.xz
  2. # pacman -U xplayer-mozilla-1.0.2-0-x86_64.pkg.tar.xz
复制代码
##########################################


------ Input Method (Optional)
for example: fcitx
  1. # pacman -S fcitx-im fcitx-chewing fcitx-configtool
复制代码
  1. # echo export GTK_IM_MODULE=fcitx > /etc/profile.d/fcitx.sh
  2. # sed -i '$a export QT_IM_MODULE=fcitx' /etc/profile.d/fcitx.sh
  3. # sed -i '$a export XMODIFIERS="@im=fcitx"' /etc/profile.d/fcitx.sh
复制代码
##########################################
Display Manager (Optional)
##########################################
MDM Display Manager
##########################################
  1. # wget https://github.com/Mint-Fans/linux-package/raw/arch/mdm-2.0.7-1-x86_64.pkg.tar.xz
  2. # pacman -U mdm-2.0.7-1-x86_64.pkg.tar.xz
复制代码
Automatic startup
  1. # systemctl enable mdm.service
复制代码
##########################################
LightDM Display Manager
##########################################
base
  1. # pacman -S lightdm-gtk-greeter
复制代码
Settings editor (Optional)
  1. # pacman -S lightdm-gtk-greeter-settings
复制代码
Automatic startup
  1. # systemctl enable lightdm.service
复制代码
##########################################

-------- applications settings
  1. # sed -i '$a NoDisplay=true' /usr/share/applications/bssh.desktop
  2. # sed -i '$a NoDisplay=true' /usr/share/applications/bvnc.desktop
  3. # sed -i '$a NoDisplay=true' /usr/share/applications/avahi-discover.desktop
  4. # sed -i '$a NoDisplay=true' /usr/share/applications/fcitx.desktop
  5. # sed -i '$a NoDisplay=true' /usr/share/applications/fcitx-configtool.desktop
复制代码
  1. # sed -i -e '/allow_active/s/auth_admin_keep/yes/' /usr/share/polkit-1/actions/org.freedesktop.udisks2.policy
  2. # sed -i -e '/allow_active/s/auth_admin/yes/' /usr/share/polkit-1/actions/org.archlinux.pkexec.gparted.policy
  3. # sed -i -e '/allow_active/s/auth_admin_keep/yes/' /usr/share/polkit-1/actions/org.nemo.root.policy
  4. # sed -i -e '/allow_active/s/auth_admin/yes/' /usr/share/polkit-1/actions/org.cinnamon.settings-users.policy
复制代码
  1. # update-mime-database /usr/share/mime/
  2. # update-desktop-database /usr/share/applications/
  3. # glib-compile-schemas /usr/share/glib-2.0/schemas
复制代码
Exit from the chroot
  1. # exit
复制代码
-------- clear temp file
  1. # rm -r /mnt/var/cache/pacman/pkg
  2. # rm -rf /mnt/var/cache/fontconfig/*
  3. # rm -rf /mnt/var/log/*
复制代码
unmount mnt
  1. # umount /mnt/boot
  2. # umount -l /mnt
复制代码
Exit from the root
  1. # exit
复制代码
Restart


-------- Cinnamon Nemo Actions Utility
  1. $ wget https://github.com/Mint-Fans/linux-package/raw/arch/cinnamon-utility.tar.gz
  2. $ tar -zxvf cinnamon-utility.tar.gz
  3. $ sudo ./cinnamon-utility
复制代码
-------- display setup
Setting the screen backlight brightness and gamma
  1. $ sudo leafpad /usr/bin/display-setup
复制代码
  1. #!/bin/bash

  2. xbacklight -set 80
  3. xgamma -gamma 0.7
复制代码
  1. $ sudo chmod 755 /usr/bin/display-setup
复制代码
  1. $ sudo leafpad /etc/xdg/autostart/display-setup.desktop
复制代码
  1. [Desktop Entry]
  2. Type=Application
  3. Name=Display Setup
  4. Comment=Launch Display Setup
  5. Icon=preferences-desktop-screensaver
  6. Exec=display-setup
复制代码
-------- release
  1. $ sudo leafpad /etc/lsb-release
复制代码
  1. DISTRIB_ID=arch
  2. DISTRIB_RELEASE=Cinnamon
  3. DISTRIB_CODENAME=
  4. DISTRIB_DESCRIPTION="Arch Linux"
复制代码
-------- Plymouth Themes Settings
  1. $ sudo sed -i 's/"quiet"/"quiet splash"/g' /etc/default/grub
  2. $ sudo sed -i 's/autodetect modconf/plymouth autodetect modconf/g' /etc/mkinitcpio.conf
复制代码
Intel cards
  1. $ sudo sed -i 's/MODULES=""/MODULES="i915"/g' /etc/mkinitcpio.conf
复制代码
AMD cards
  1. $ sudo sed -i 's/MODULES=""/MODULES="radeon"/g' /etc/mkinitcpio.conf
复制代码
nVidia cards
  1. $ sudo sed -i 's/MODULES=""/MODULES="nouveau"/g' /etc/mkinitcpio.conf
复制代码
  1. $ sudo plymouth-set-default-theme -R mint-logo-aqua
  2. or
  3. $ sudo plymouth-set-default-theme -R mint-logo-maya
复制代码
  1. $ sudo grub-mkconfig -o /boot/grub/grub.cfg
复制代码
if Install MDM Display Manager
  1. $ sudo rm /etc/systemd/system/display-manager.service
  2. $ sudo systemctl enable mdm-plymouth.service
复制代码
if install LightDM Display Manager
  1. $ sudo rm /etc/systemd/system/display-manager.service
  2. $ sudo systemctl enable lightdm-plymouth.service
复制代码




Rank: 5Rank: 5Rank: 5

UID
4166712
帖子
506
PB币
779
贡献
0
技术
184
活跃
651
沙发
发表于 2016-3-17 12:07:57 IP属地台湾 |显示全部楼层
Fcitx Input Method Del-Gina

Cinnamon

$ wget https://github.com/Mint-Fans/linux-package/raw/arch/cinn-fcitx-del-gina-green.tar.gz
$ tar -zxvf cinn-fcitx-del-gina-green.tar.gz
$ sudo ./fcitx-del-gina

XFCE & Mate

$ wget https://github.com/Mint-Fans/linux-package/raw/arch/xfce-fcitx-del-gina-black.tar.gz
$ tar -zxvf xfce-fcitx-del-gina-black.tar.gz
$ sudo ./fcitx-del-gina
回顶部
Copyright (C) 2005-2024 pcbeta.com, All rights reserved
Powered by Discuz!  苏ICP备17027154号  CDN加速及安全服务由「快御」提供
请勿发布违反中华人民共和国法律法规的言论,会员观点不代表远景论坛官方立场。
远景在线 | 远景论坛 | 苹果论坛 | Win11论坛 | Win10论坛 | Win8论坛 | Win7论坛 | WP论坛 | Office论坛