Jump to content
1 post in this topic

Recommended Posts

Archlinux 201510 Official Version + XFCE 4.12 Live CD

 

archxfce-live_zpsvjqgmybi.png

 

Download

https://drive.google.com/open?id=0B2lUSb5iZaREWTZoUEt0eXZaWEk

 

Which already contains arch-install-scripts

You Can Use the Live CD to reinstall the system

Manual installation (For Example Arch Base + XFCE)
 

------ BASE INSTALL
$ sudo su
# mount /dev/sdax /mnt
# 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: TORA-EX2510G
# echo TORA-EX2510G > /etc/hostname


Settings Language
Choose your language
for example: Traditional Chinese

$ sudo leafpad /mnt/etc/locale.gen
----------------------
# zh_TW.UTF-8 UTF-8
# zh_TW.BIG5

to

zh_TW.UTF-8 UTF-8
zh_TW.BIG5

----------------------

# locale-gen
# echo LANG=zh_TW.UTF-8 > /etc/locale.conf
# export LANG=zh_TW.UTF-8


Select a time zone
# tzselect
# ln -sf /usr/share/zoneinfo/Asia/Taipei /etc/localtime
# hwclock --systohc --localtime


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 configuration
Wired
# pacman -S networkmanager
# systemctl enable NetworkManager.service
# systemctl enable dhcpcd@interface.service  #Wired Automatic connection

Set the root password
# passwd

Initramfs
# mkinitcpio -p linux


------ Create User accounts
# pacman -S sudo
# nano /etc/sudoers
or
$ sudo leafpad /mnt/etc/sudoers
---------------------
# %wheel ALL=(ALL) NOPASSWD: ALL
TO
%wheel ALL=(ALL) NOPASSWD: ALL

# %sudo ALL=(ALL) ALL
TO
%sudo ALL=(ALL) ALL

---------------------
ctrl+o ---Write File
ENTER  ---Yes
ctrl+x ---Exit

 
# groupadd sudo

for example: User Name is torachiyo
# useradd -m -g users -s /bin/bash torachiyo
# passwd torachiyo
# gpasswd -a torachiyo sudo
# gpasswd -a torachiyo wheel


------ Driver Install
# pacman -S xf86-video-vesa     # ALL
# pacman -S xf86-video-intel    # Intel
# pacman -S xf86-video-nouveau  # nvidia
# pacman -S xf86-video-ati      # AMD

Other
# pacman -S xf86-input-synaptics     # Touchpad Synaptics
# pacman -S alsa-utils               # Audio
# pacman -S blueman                  # bluetooth
# systemctl enable bluetooth.service # Enable bluetooth
# pacman -S ntfs-3g                  # NTFS File System Support
# pacman -S gvfs                     # Partition Mount Tools


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


------ Desktop Environment
XFCE
# pacman -S xfce4 xfce4-goodies
# pacman -R mousepad
# pacman -R xfce4-mixer

Application
# pacman -S network-manager-applet
# pacman -S leafpad
# pacman -S gparted
# pacman -S file-roller
# 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 banshee
# pacman -S evince
# pacman -S gnome-font-viewer

video
# pacman -S vlc libvdpau-va-gl
or
# pacman -S mplayer smplayer smplayer-themes smplayer-skins

Audio
# pacman -S pulseaudio pavucontrol volumeicon
# pacman -S alsamixer

Firefox
# pacman -S firefox
language pack for Firefox
https://www.archlinux.org/packages/?sort=&q=firefox&maintainer=&flagged=
# pacman -S firefox-i18n-zh-tw

FlashPlayer
# pacman -S flashplugin

Intel VA Driver (Optional)
# pacman -S libva-intel-driver


------ Input Method (Optional)
for example: fcitx
# pacman -S fcitx-im fcitx-chewing fcitx-configtool

# leafpad /etc/profile.d/fcitx.sh
----------------------------------------------
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"

----------------------------------------------


------ Display Manager (Optional)
for example: lightdm
base
# pacman -S lightdm-gtk-greeter
Settings editor (Optional)
# pacman -S lightdm-gtk-greeter-settings

Automatic startup
# systemctl enable lightdm.service

Autologin
$ sudo leafpad /mnt/etc/lightdm/lightdm.conf
----------------------------------------------
[seatDefaults]
pam-service=lightdm-autologin
autologin-user=torachiyo
autologin-user-timeout=0
session-wrapper=/etc/lightdm/Xsession

----------------------------------------------

# groupadd autologin
# gpasswd -a torachiyo autologin


------ Font installation
base font
# pacman -S wqy-microhei ttf-dejavu ttf-droid cantarell-fonts


------ Other installation
NetTools
# pacman -S git subversion wget

Live CD Tools
# pacman -S arch-install-scripts
# pacman -S archiso

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

Exit from the chroot
# exit


-------- applications settings
# leafpad /mnt/usr/share/applications/nm-connect.desktop
------------------------------------------------------------------
[Desktop Entry]
Name=Network connect
Name[zh_TW]=網路連線
Comment=Manage your network connections
Comment[zh_TW]=管理您的網路連線
Icon=nm-device-wireless
Exec=nmtui-connect
Terminal=true
Type=Application
Categories=GNOME;Network;
StartupNotify=true
GenericName=

------------------------------------------------------------------

# leafpad /mnt/etc/xdg/autostart/volumeicon.desktop
----------------------------------
[Desktop Entry]
Version=1.0
Name=volumeicon
Comment=A lightweight volume controller
Exec=volumeicon
Type=Application
Terminal=false
StartupNotify=false
NoDisplay=true

----------------------------------

# leafpad /mnt/usr/share/applications/bssh.desktop
# leafpad /mnt/usr/share/applications/bvnc.desktop
# leafpad /mnt/usr/share/applications/avahi-discover.desktop
# leafpad /mnt/usr/share/applications/fcitx.desktop
addon
----------------------------------
NoDisplay=true
----------------------------------

# leafpad /mnt/usr/share/polkit-1/actions/org.archlinux.pkexec.gparted.policy
<allow_active>auth_admin</allow_active>
to
<allow_active>yes</allow_active>


# leafpad /mnt/usr/share/polkit-1/actions/org.freedesktop.udisks2.policy
<action id="org.freedesktop.udisks2.filesystem-mount-system">
&
<action id="org.freedesktop.udisks2.filesystem-mount-other-seat">

<allow_active>auth_admin</allow_active>
to
<allow_active>yes</allow_active>



-------- xfce4 config settings
# rm -r /mnt/etc/xdg/xfce4/panel
# rm -r /mnt/etc/xdg/xfce4/xfconf
# rm -r /mnt/etc/xdg/Thunar

# cp -r /etc/xdg/xfce4/panel /mnt/etc/xdg/xfce4
# cp -r /etc/xdg/xfce4/xfconf /mnt/etc/xdg/xfce4
# cp -r /etc/xdg/Thunar /mnt/etc/xdg
# cp -r /etc/xdg/Terminal /mnt/etc/xdg

-------- copy themes icons logo backgrounds
# cp -r /usr/share/themes/Mint-X /mnt/usr/share/themes
# cp -r /usr/share/themes/Mint-X-Aqua /mnt/usr/share/themes

# cp -r /usr/share/icons/Mint-X /mnt/usr/share/icons
# cp -r /usr/share/icons/Mint-X-Aqua /mnt/usr/share/icons

# cp /usr/share/pixmaps/arch-logo* /mnt/usr/share/pixmaps

# cp /usr/share/backgrounds/xfce/arch* /mnt/usr/share/backgrounds/xfce


-------- clear temp file
# rm -r /mnt/var/cache/pacman/pkg
# rm -rf /mnt/var/cache/fontconfig/*
# rm /mnt/var/log/*.log
# rm /mnt/var/log/Xorg.*
# rm -rf /mnt/var/log/lightdm/*
# rm -r /mnt/var/log/journal/*
# mkdir /mnt/var/log/journal/remote


unmount mnt
# umount /mnt

Exit from the root
# exit
 

 

Link to comment
https://www.insanelymac.com/forum/topic/308778-arch-linux-xfce-live-cd/
Share on other sites

×
×
  • Create New...