Jump to content

Arch Linux Install (Mint Style) Cinnamon


1 post in this topic

Recommended Posts

------ BASE INSTALL

$ sudo su
# mount /dev/sda4 /mnt
# mount /dev/sda2 /mnt/boot
# pacstrap -i /mnt base
or
# pacstrap -i /mnt base base-devel

 
Generate an fstab

# genfstab -U /mnt > /mnt/etc/fstab

 
Change root into the new system

# arch-chroot /mnt /bin/bash

 
Computer Name
for example: archiso

# echo archiso > /etc/hostname

 
Settings Language
Choose your language
for example: Traditional Chinese

# sed -i '$a zh_TW.UTF-8 UTF-8' /etc/locale.gen
# sed -i '$a zh_TW.BIG5' /etc/locale.gen
# locale-gen
# echo LANG=zh_TW.UTF-8 > /etc/locale.conf
# export LANG=zh_TW.UTF-8

 
Select a time zone

# tzselect
or
# ln -sf /usr/share/zoneinfo/Asia/Taipei /etc/localtime
# hwclock --systohc --localtime
or
# ln -sf /usr/share/zoneinfo/UTC /etc/localtime
# hwclock --systohc --utc

 
Install Boot loader
BIOS

# pacman -S grub os-prober
# grub-install --recheck /dev/sda      # BIOS/MBR
or
# grub-install --force /dev/sda        # BIOS/GPT
# grub-mkconfig -o /boot/grub/grub.cfg

UEFI

# pacman -S grub efibootmgr os-prober
# grub-install --target=x86_64-efi --efi-directory=/boot/EFI --bootloader-id=arch --recheck
# grub-mkconfig -o /boot/grub/grub.cfg

 
Network Download Utility

# pacman -S wget

 
Install Linux-firmware

# cd /tmp
# wget https://github.com/Mint-Fans/linux-package/raw/arch/aic94xx-firmware-30-9-any.pkg.tar.xz
# wget https://github.com/Mint-Fans/linux-package/raw/arch/wd719x-firmware-1-1-any.pkg.tar.xz
# pacman -U aic94xx-firmware-30-9-any.pkg.tar.xz
# pacman -U wd719x-firmware-1-1-any.pkg.tar.xz

 
Network configuration
Wired

# pacman -S networkmanager
# systemctl enable NetworkManager.service
# systemctl enable dhcpcd@interface.service  #Wired Automatic connection

 
Set the root password

# passwd

 
initramfs Update

# mkinitcpio -p linux

 
------ Create User accounts

# pacman -S sudo
# sed -i '/NOPASSWD/a %wheel ALL=(ALL) NOPASSWD: ALL' /etc/sudoers
# sed -i '/%sudo/a %sudo ALL=(ALL) NOPASSWD: ALL' /etc/sudoers
# groupadd sudo

 
for example: User Name is arch

# useradd -m -g users -s /bin/bash arch
# passwd arch
# gpasswd -a arch sudo
# gpasswd -a arch wheel

------ Xorg Base Install

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

------ Driver Install

# pacman -S alsa-utils               # Audio
# pacman -S ntfs-3g                  # NTFS File System Support
# pacman -S gvfs                     # Partition Mount Tools
# pacman -S blueman                  # bluetooth
# systemctl enable bluetooth.service # Enable bluetooth
# pacman -Sy hwinfo

------ Other installation

# pacman -S cpio

Live CD Tools

# pacman -S arch-install-scripts
# pacman -S archiso
# pacman -S cdrtools

Network Utility

# pacman -S git subversion

Aircrack-ng (Optional)

# pacman -S aircrack-ng
# pacman -S reaver

------ Desktop Environment

# pacman -S xdg-user-dirs xdg-user-dirs-gtk

Cinnamon

# pacman -S cinnamon
# pacman -S gnome-terminal
# pacman -S gnome-screenshot
# pacman -S nemo-fileroller
# pacman -S nemo-preview
# pacman -S nemo-python
# pacman -S nemo-qml-plugin-notifications
# pacman -S nemo-qt-components
# pacman -S nemo-seahorse
# pacman -S nemo-share
# pacman -S eog

cinnamon-system-adjustments

# cd /tmp
# wget https://github.com/Mint-Fans/linux-package/raw/arch/cinnamon-system-adjustments-1.0-0-any.pkg.tar.xz
# pacman -U cinnamon-system-adjustments-1.0-0-any.pkg.tar.xz

cinnamon-system-sounds

# wget https://github.com/Mint-Fans/linux-package/raw/arch/cinnamon-sound-effects-5.0-1-any.pkg.tar.xz
# wget https://github.com/Mint-Fans/linux-package/raw/arch/mint-sounds-1.9.5-1-any.pkg.tar.xz
# pacman -U cinnamon-sound-effects-5.0-1-any.pkg.tar.xz
# pacman -U mint-sounds-1.9.5-1-any.pkg.tar.xz

Themes & Icons

# cd /tmp
# wget https://github.com/Mint-Fans/linux-package/raw/arch/mint-x-theme-1.4.6-2-any.pkg.tar.xz
# wget https://github.com/Mint-Fans/linux-package/raw/arch/mint-x-icons-1.3.3-1-any.pkg.tar.xz
# wget https://github.com/Mint-Fans/linux-package/raw/arch/mint-cinnamon-themes-2015.11.06-1-any.pkg.tar.xz
# pacman -U mint-x-theme-1.4.6-2-any.pkg.tar.xz
# pacman -U mint-x-icons-1.3.3-1-any.pkg.tar.xz
# pacman -U mint-cinnamon-themes-2015.11.06-1-any.pkg.tar.xz

------ Font installation
base font

# pacman -S wqy-microhei ttf-dejavu ttf-droid cantarell-fonts

------ Application installation

# pacman -S firefox

language pack for Firefox
https://www.archlinu...ainer=&flagged=

# pacman -S firefox-i18n-zh-tw
# pacman -S flashplugin  # FlashPlayer
# pacman -S leafpad
# pacman -S gparted
# pacman -S vlc
# pacman -S simple-scan
# pacman -S system-config-printer
# pacman -S gucharmap
# pacman -S gnome-calculator
# pacman -S pidgin
# pacman -S thunderbird
# pacman -S transmission-gtk
# pacman -S gnome-font-viewer
# pacman -S catfish
# pacman -S brasero
# pacman -S gthumb
# pacman -S banshee

codes
gstreamer 1.0

# pacman -S gst-plugins-bad
# pacman -S gst-plugins-good
# pacman -S gst-plugins-ugly
# pacman -S gst-libav

gstreamer 0.1 (Optional)

# pacman -S gstreamer0.10-bad gstreamer0.10-bad-plugins
# pacman -S gstreamer0.10-good gstreamer0.10-good-plugins
# pacman -S gstreamer0.10-ugly gstreamer0.10-ugly-plugins
# pacman -S gstreamer0.10-ffmpeg

DVD Utility (Optional)

# pacman -S libdvdread
# pacman -S libdvdnav
# pacman -S libdvdcss

Arch Linux Update Manager (Optional)

# cd /tmp
# wget https://github.com/Mint-Fans/linux-package/raw/arch/pamac-aur-3.0.1-1-any.pkg.tar.xz
# pacman -U pamac-aur-3.0.1-1-any.pkg.tar.xz

##########################################
Mint Style
##########################################

# wget https://github.com/Mint-Fans/linux-package/raw/arch/mint-firefox-adjustments-1.0-0-any.pkg.tar.xz
# pacman -U mint-firefox-adjustments-1.0-0-any.pkg.tar.xz

mintstick (Optional)

# wget https://github.com/Mint-Fans/linux-package/raw/arch/python2-pyparted-3.10.7-1-x86_64.pkg.tar.xz
# wget https://github.com/Mint-Fans/linux-package/raw/arch/mintstick-1.2.7-1-any.pkg.tar.xz
# pacman -U python2-pyparted-3.10.7-1-x86_64.pkg.tar.xz
# pacman -U mintstick-1.2.7-1-any.pkg.tar.xz

mintnanny (Optional)

# wget https://github.com/Mint-Fans/linux-package/raw/arch/mintnanny-1.5.1-0-any.pkg.tar.xz
# pacman -U mintnanny-1.5.1-0-any.pkg.tar.xz

Plymouth Themes

# wget https://github.com/Mint-Fans/linux-package/raw/arch/plymouth-0.9.2-8-x86_64.pkg.tar.xz
# pacman -U plymouth-0.9.2-8-x86_64.pkg.tar.xz

mint-logo-maya (Optional)

# wget https://github.com/Mint-Fans/linux-package/raw/arch/mint-logo-maya-1.0-0-any.pkg.tar.xz
# pacman -U mint-logo-maya-1.0-0-any.pkg.tar.xz

mint-logo-aqua (Optional)

# wget https://github.com/Mint-Fans/linux-package/raw/arch/mint-logo-aqua-1.0-0-any.pkg.tar.xz
# pacman -U mint-logo-aqua-1.0-0-any.pkg.tar.xz

xplayer (Optional)

# wget https://github.com/Mint-Fans/linux-package/raw/arch/xplayer-1.0.2-0-x86_64.pkg.tar.xz
# pacman -U xplayer-1.0.2-0-x86_64.pkg.tar.xz

xplayer-plugins (Optional)

# wget https://github.com/Mint-Fans/linux-package/raw/arch/xplayer-plugins-1.0.2-0-x86_64.pkg.tar.xz
# pacman -U xplayer-plugins-1.0.2-0-x86_64.pkg.tar.xz

xplayer-plugins-extra (Optional)

# wget https://github.com/Mint-Fans/linux-package/raw/arch/xplayer-plugins-extra-1.0.2-0-x86_64.pkg.tar.xz
# pacman -U xplayer-plugins-extra-1.0.2-0-x86_64.pkg.tar.xz

xplayer-mozilla (Optional)

# wget https://github.com/Mint-Fans/linux-package/raw/arch/xplayer-mozilla-1.0.2-0-x86_64.pkg.tar.xz
# pacman -U xplayer-mozilla-1.0.2-0-x86_64.pkg.tar.xz

##########################################


------ Input Method (Optional)
for example: fcitx

# pacman -S fcitx-im fcitx-chewing fcitx-configtool
# echo export GTK_IM_MODULE=fcitx > /etc/profile.d/fcitx.sh
# sed -i '$a export QT_IM_MODULE=fcitx' /etc/profile.d/fcitx.sh
# sed -i '$a export XMODIFIERS="@im=fcitx"' /etc/profile.d/fcitx.sh

##########################################
Display Manager (Optional)

install MDM or LightDM
##########################################
MDM Display Manager
##########################################

# wget https://github.com/Mint-Fans/linux-package/raw/arch/mdm-2.0.7-1-x86_64.pkg.tar.xz
# pacman -U mdm-2.0.7-1-x86_64.pkg.tar.xz

Automatic startup

# systemctl enable mdm.service

##########################################
LightDM Display Manager
##########################################
base

# pacman -S lightdm-gtk-greeter

Settings editor (Optional)

# pacman -S lightdm-gtk-greeter-settings

Automatic startup

# systemctl enable lightdm.service

##########################################

-------- applications settings

# sed -i '$a NoDisplay=true' /usr/share/applications/bssh.desktop
# sed -i '$a NoDisplay=true' /usr/share/applications/bvnc.desktop
# sed -i '$a NoDisplay=true' /usr/share/applications/avahi-discover.desktop
# sed -i '$a NoDisplay=true' /usr/share/applications/fcitx.desktop
# sed -i '$a NoDisplay=true' /usr/share/applications/fcitx-configtool.desktop
# sed -i -e '/allow_active/s/auth_admin_keep/yes/' /usr/share/polkit-1/actions/org.freedesktop.udisks2.policy
# sed -i -e '/allow_active/s/auth_admin/yes/' /usr/share/polkit-1/actions/org.archlinux.pkexec.gparted.policy
# sed -i -e '/allow_active/s/auth_admin_keep/yes/' /usr/share/polkit-1/actions/org.nemo.root.policy
# sed -i -e '/allow_active/s/auth_admin/yes/' /usr/share/polkit-1/actions/org.cinnamon.settings-users.policy
# update-mime-database /usr/share/mime/
# update-desktop-database /usr/share/applications/
# glib-compile-schemas /usr/share/glib-2.0/schemas

Exit from the chroot

# exit

-------- clear temp file

# rm -r /mnt/var/cache/pacman/pkg
# rm -rf /mnt/var/cache/fontconfig/*
# rm -rf /mnt/var/log/*

unmount mnt

# umount /mnt/boot
# umount -l /mnt

Exit from the root

# exit

Restart


-------- Cinnamon Nemo Actions Utility


$ wget https://github.com/Mint-Fans/linux-package/raw/arch/cinnamon-utility.tar.gz
$ tar -zxvf cinnamon-utility.tar.gz
$ sudo ./cinnamon-utility

-------- display setup
Setting the screen backlight brightness and gamma

$ sudo leafpad /usr/bin/display-setup
#!/bin/bash

xbacklight -set 80
xgamma -gamma 0.7
$ sudo chmod 755 /usr/bin/display-setup
$ sudo leafpad /etc/xdg/autostart/display-setup.desktop
[Desktop Entry]
Type=Application
Name=Display Setup
Comment=Launch Display Setup
Icon=preferences-desktop-screensaver
Exec=display-setup

-------- Plymouth Themes Settings

$ sudo sed -i 's/"quiet"/"quiet splash"/g' /etc/default/grub
$ sudo sed -i 's/autodetect modconf/plymouth autodetect modconf/g' /etc/mkinitcpio.conf

Intel cards

$ sudo sed -i 's/MODULES=""/MODULES="i915"/g' /etc/mkinitcpio.conf

AMD cards

$ sudo sed -i 's/MODULES=""/MODULES="radeon"/g' /etc/mkinitcpio.conf

nVidia cards

$ sudo sed -i 's/MODULES=""/MODULES="nouveau"/g' /etc/mkinitcpio.conf
$ sudo plymouth-set-default-theme -R mint-logo-aqua
or
$ sudo plymouth-set-default-theme -R mint-logo-maya
$ sudo grub-mkconfig -o /boot/grub/grub.cfg

if Install MDM Display Manager

$ sudo rm /etc/systemd/system/display-manager.service
$ sudo systemctl enable mdm-plymouth.service

if install LightDM Display Manager

$ sudo rm /etc/systemd/system/display-manager.service
$ sudo systemctl enable lightdm-plymouth.service

onQT3p1.png
 
wWX5gg6.png

×
×
  • Create New...