Jump to content

Arch Linux Install (Mint Style) XFCE


Meowthra
 Share

3 posts in this topic

Recommended Posts

------ BASE INSTALL

$ sudo su
# mount /dev/sda3 /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

------ Desktop Environment

XFCE

# pacman -S xfdesktop xfce4-panel xfwm4 xfconf xfce4-settings xfce4-session xfce4-appfinder xfce4-screenshooter xfce4-power-manager xfce4-dict xfce4-notifyd xfce4-taskmanager xfce4-terminal
# pacman -S xfce4-datetime-plugin xfce4-weather-plugin xfce4-xkb-plugin xfce4-cpufreq-plugin xfce4-eyes-plugin xfce4-mailwatch-plugin xfce4-systemload-plugin xfce4-timer-plugin xfce4-time-out-plugin xfce4-verve-plugin xfce4-whiskermenu-plugin xfce4-xkb-plugin
# pacman -S thunar thunar-archive-plugin thunar-media-tags-plugin thunar-volman tumbler ffmpegthumbnailer
# pacman -S xdg-user-dirs xdg-user-dirs-gtk
# pacman -S network-manager-applet

Network Utility

# pacman -S git subversion

Audio

# pacman -S pulseaudio-alsa pulseaudio pavucontrol

Audio tray

# cd /tmp
# wget https://github.com/Mint-Fans/linux-package/raw/arch/xfce4-volumed-pulse-0.2.0-5-x86_64.pkg.tar.xz
# wget https://github.com/Mint-Fans/linux-package/raw/arch/pa-applet-git-17.33b413b-1-x86_64.pkg.tar.xz
# pacman -U pa-applet-git-17.33b413b-1-x86_64.pkg.tar.xz
# pacman -U xfce4-volumed-pulse-0.2.0-5-x86_64.pkg.tar.xz

------ Other installation

# pacman -S cpio
# pacman -S zenity
# pacman -S bash-completion

Live CD Tools

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

Aircrack-ng (Optional)

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

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
# 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

GTK2 Theme engines

# pacman -S gtk-engines
# pacman -S gtk-engine-murrine

------ Font installation
base font

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

------ Application installation
Firefox

# pacman -S firefox

language pack for Firefox
https://www.archlinux.org/packages/?sort=&q=firefox&maintainer=&flagged=

# pacman -S firefox-i18n-zh-tw
# pacman -S flashplugin  # FlashPlayer
# 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 evince
# pacman -S gnome-font-viewer
# pacman -S catfish
# pacman -S brasero
# pacman -S ristretto
# pacman -S gthumb
# pacman -S banshee

Video Player

# pacman -S vlc    # VLC
# pacman -S parole # XFCE Parole (Optional)

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

# 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

DVDTools

# 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

------ 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

##########################################
Mint Applications for Arch Linux
##########################################
Mint XFCE System Adjustments

# cd /tmp
# wget https://github.com/Mint-Fans/linux-package/raw/arch/xfce-system-adjustments-1.0-0-any.pkg.tar.xz
# wget https://github.com/Mint-Fans/linux-package/raw/arch/mint-firefox-adjustments-1.0-0-any.pkg.tar.xz
# pacman -U xfce-system-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-x86_64.pkg.tar.xz
# pacman -U python2-pyparted-3.10.7-1-x86_64.pkg.tar.xz
# pacman -U mintstick-1.2.7-1-x86_64.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-aqua

BxGhBSM.png

# 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

mint-logo-maya (Optional)

VVOnHdT.png

# 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

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

##########################################
Display Manager (Optional)
##########################################
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/yes/' /usr/share/polkit-1/actions/org.xfce.thunar.policy
# 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

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 /mnt

Exit from the root

# exit

Restart

 

 

-------- XFCE Thunar Actions Utility

$ wget https://github.com/Mint-Fans/linux-package/raw/arch/xfce-utility.tar.gz
$ tar -zxvf xfce-utility.tar.gz
$ sudo ./xfce-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

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

 

Preview:

 

Mint firefox  adjustments for Arch linux

Mint Xplayer (Totem 3.1.0) for Arch linux

 

TaNLikI.png

 

B5nuert.png
 

MDM (Linux Mint Display Manager ) Plymouth Themes FIX

3EOMWhj.png

  • Like 3
Link to comment
Share on other sites

This installation is only for 64-bit Uefi or alternative on 32-bit possible? If yes, please make a description of how to install that, .... a very good guide that you've created.

Link to comment
Share on other sites

This installation is only for 64-bit Uefi or alternative on 32-bit possible? If yes, please make a description of how to install that, .... a very good guide that you've created.

 

for all 32-bit & 64-bit

BIOS MBR/GPT & UEFI GPT

 

Preferably it has a graphical interface for easy installation

arch linux official release ISO is no Desktop Environment

But I have to integrate Desktop Environment DVD

https://mega.nz/#!LN8HFTYI!1ftn-DSNNIVH3YkLr4MSsvJAyuKCdNRU43vDFPvGKgs

  • Like 2
Link to comment
Share on other sites

 Share

×
×
  • Create New...