my config for arch linux
I just start to using Arch Linux on 10 Nov 2021 up until now 26 May 2024 I am admit that Arch linux is my favour Linux that I will love to use.
the file is
system-overview
for conkyautostart.sh
for .dwm2left_screens.sh
for the display
install yazi file manager and update the alacritty.config to fix font problem
by run
sudo pacman -S nerd-fonts
so it's give the nvim look nicer. setup neo vim copy the config from Lazyvim to use this config run
## remove the old config
rm -rf ~/.config/nvim/
## copy the config nvim folder to ~/.config/
cp -r nvim_use_19-jul-2024 ~/.config/nvim/
the script name web_dev_tools.sh
install lamp server in arch linux is still work fine. copy nvim config from
src/neovim-lazy-ide-2024/.config/nvim/lua/plugins
https://github.com/agalea91/zazencodes-youtube/tree/main/src/neovim-lazy-ide-2024/.config/nvim/lua/plugins
create new folder in .config
nvim/lua/plugins/
due to the error from my tmux config file so I copy the new tmux config file from
# https://hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/
and make a small change to suit my need
just for arch linux DWM only!
this is all just my config when I using arch linux and I am using DWM only
before you run the command make sure you have a time to be always sit next to your computer as you have to type your password and press confirm for many many(at least 10 times) time on the installation so please pay attention of what you're doing.
to run setup type the below command in your terminal .
cd ~/
git clone https://github.com/farookphuket/archlinux_my_config.git
cd ~/archlinux_my_config
sh setup.sh
the above command will do :
- change the working dir to
Home
- clone the code from the repo
- change the working dir to
~/archlinux_my_config
- run setup.sh to start the installation
OR you type them all in one line :
cd ~/ && git clone https://github.com/farookphuket/archlinux_my_config.git && cd ~/archlinux_my_config && sh setup.sh
make sure you accept them all otherwise the script will do nothing!.
this code will install all the program that I(Farook) using it in my real life work the install time will be really depending up on your internet speed it is 3 hours 30 mins. on my every test .
so on the 24 Aug 2022 I just comment the install app program just to hopfully the script will be take a little bit shroter setup time
make sure you really want to run this or you better of to view the file
scripts/call_script.sh
to just select the program you want to install and use before you run thesetup
script which will take too much time.
you can just feel free to comment by put
#
in front thesh
command line if any of the program you will not use it
the file
scripts/call_script.sh
content on 24 Aug 2022 :
#!/bin/bash
# this script will call another script
# edit this file by add "#" infront of any propgramyou do not want to install
run_script_dir=~/archlinux_my_config/scripts
sh $run_script_dir/bluetooth.sh
# code editor
sh $run_script_dir/code_editor.sh
# download_tools.sh
sh $run_script_dir/download_tools.sh
# gimp is a photo editor like photoshop
#sh $run_script_dir/gimp.sh
sh $run_script_dir/gnome_app.sh
sh $run_script_dir/iso_image_writer.sh
sh $run_script_dir/kde_app.sh
# the office suit program
sh $run_script_dir/libre_office.sh
sh $run_script_dir/media_player_app.sh
# screen capture program
sh $run_script_dir/screen_capture.sh
#sh $run_script_dir/shutter.sh
#sh $run_script_dir/virt-manager.sh
#sh $run_script_dir/virtualbox.sh
sh $run_script_dir/xfce4_app.sh
# the taskbar icon
sh $run_script_dir/applet.sh
# setup font for better Thai(and other like Chinese) Language support
sh $run_script_dir/font_install.sh
#sh $run_script_dir/sound_video_editor.sh
# this script will install the other program
sh $run_script_dir/other_app.sh
# photofilmstrip is has Error from python script
# 1 Mar 2022
# sh $run_script_dir/photofilmstrip.sh
# to make photo slideshow as video
sh $run_script_dir/4kslideshowmaker.sh
# the web browser to install all web browser I use is take too much time
# remove # sign from the below line if you want to install
#sh $run_script_dir/web_browser.sh
# install puddletag on 09 Jan 2022
#sh $run_script_dir/puddletag.sh
# nvidia driver for nvidia graphic card
#sh $run_script_dir/nvidia-driver.sh
install arch linux is not easy but it is not either difficult so please check this video! it's maybe can help you some.
want to watch the video "how to install arch linux farook's way" just click the below image!
the icon theme call "revengeShip" to change the new theme press
Mod+d
then typeloo
selectCustomize Look and Feel
I have been using linux since Ubuntu 7.04 but I have never use printer even one time so today (24 Aug 2022) is the first time ever for me to tried out the print feature ha ha... I just install
cups
andhplip
by run the command
sudo pacman -S cups
yay -S hplip
now i can print the document from my hp 3830 printer
Atom will be no longer support on Dec 2022 so I have remove Atom from the installation.
server-tailwincss
for an easier tailwind
added AstroNvim today after try to use it for a few moment the AstroNvim is so cool! this is the easiest with 0 config for neovim as to make it look like vscode this is very cool now.
visit here
https://github.com/AstroNvim/AstroNvim
fix vivaldi cannot play video is simple as
sudo /opt/vivaldi/update-ffmpeg
copy the command from "https://forum.vivaldi.net/topic/42273/solved-html5-codecs-again/3"
add handbrake for the video converter program.
I just find out that my "URXVT" cannot copy and paste from clipboard this is the very easy fix from
https://www.tomica.net/blog/2019/01/fixing-urxvt-copy-paste/
just edit the "~/.Xresources" file by add the following line.
! Restore Ctrl+Shift+(c|v)
URxvt.keysym.Shift-Control-V: eval:paste_clipboard
URxvt.keysym.Shift-Control-C: eval:selection_to_clipboard
URxvt.iso14755: false
URxvt.iso14755_52: false
then run
xrdb -merge .Xresources
then re-open the URxvt again try to copy and past it should work now.
install
birdtray
now my vim config could show status line with powerline
this is the first time I can set this SO EXCITE!!!
go to
VIM2022
folder inCONFIG_FILES
copy the
.vimrc
and the folder.vim
then paste it into your home folder
or use this command is simply as just :
cd ~/archlinux_my_config/CONFIG_FILES/VIM2022 && sh setup.sh
now open your vim then type
:PlugInstall
or:PlugUpdate
(well I don't
know which one is work for you)
I only have test this on my "VM" it is work very well so I don't think this
will be a huge difficult for you.
please click the image below to see
how to
the video is on bitchute.com
or you can copy and paste the below url to open in yor web browser
https://www.bitchute.com/video/E6tywLPBxkqp/
Copy chris's neovim config
vim is my code editor for years now using vim you will learn new thing every day
the nvim config copy from
git clone https://github.com/LunarVim/nvim-basic-ide.git
on the 6 Aug 2022
***Extra keys i just added to this config out from chris's video ***
" multi cursor "
select text then press Ctrl>n
" emmet "
type html code such as
div then hold Ctrl<button> follow by press ,, you will get
<div></div>
or `ul>li*3>a` then hold Ctrl<button> follow by press ,, you will get
<ul>
<li><a href=""></a></li>
<li><a href=""></a></li>
<li><a href=""></a></li>
</ul>
on 5 aug 2022 this will make neovim look cool and easy to use.
neovim cannot be copy to system clipboard to fix this I just install "xsel"
sudo pacman -S xsel
this package has already install within this run script from now the install script is list in~/archlinux_my_config/scripts/other_app.sh
last update 20 Jan 2022.
today (19 Jan 2022 at 07:43 a.m.) I almost have to re-install arch-linux as I have done it as my huge mistaken before! The problem that I have face today was I cannot boot into my arch-os just after I run
pamac update
to upgrade the package on my system but after the upgrade done and I have re-boot all I got is just the bios boot which is make me shock for a long while before I can think of why? without search on google I just try to find my install archlinux usb then plug it in as the following step as my blue screen bios boot has shown. well this isgrub-recover
step okay? so do not get me wrong!
- plug the arch-linux install usb then press the power button to boot from usb
- I type
iwctl
as I do not have any wire connection to my laptop so I need the internet I typedevice list
to see what is the device then I found wlan0 now I know what is the interface for my network I then typestation wlan0 get-networks
just to get the wifi network I share the wifi from my phone my network name is "netDtac" so to connect to it network I typestation wlan0 connect netDtac
hit Enter then I put my wifi password in hit Enter now it connected then I typeexit
to quit out of iwctl. - now make sure I have the internet access by send ping to google
ping google.com
I've got a reply the next thing to do is check the media by typelsblk
so I've got my hard-dive name "nvme0" that has the partition asnvme0n1p1
,nvme0n1p2
,nvme0n1p3
so my command to mount is (line by line)
mount /dev/nvme0n1p2 /mnt
mount /dev/nvme0n1p1 /boot
if I type 'lsblk' command again this shoud mount the media for me next command
is arch-chroot /mnt /bin/bash
now I am ready to install grub.
- I type
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub
- if the above has no error the next command is below but if there any error cannot install grub make sure you have correct when you type the command.
grub-mkconfig -o /boot/grub/grub.cfg
- that's it for grub re-cover now I can type
exit
thenumount -R /mnt
thenreboot
and my arch-linux os should be boot up again.
so try it because it's work for me it's maybe will work for you as well.
set ueberzug as the image preview for ranger
I have spend all day on 15 Jan 2022 try to find "how to enable tab click" on touchpad there will be long to write here I will make an article one day soon but for now the use is
- left click by tab 1 finger will act like do left click
- right click by tab 2 fingers will show the right click menu
just follow this tutorial here.
https://www.jeremymorgan.com/tutorials/linux/how-to-bluetooth-arch-linux/
- date 10 Nov 2021 problem solved.
- date 12 Jan 2022 fixed lost click on touch pad.
- I cannot make the color status [date on 18 Nov 2021]
- bluetooth not auto start.
- vim not show color
Gruvbox
- cannot show emoji in the terminal it's must be some font missing
- alacritty font is the hell too small
all of the font that I have install in my arch linux now.
adobe-source-code-pro-fonts 2.038ro+1.058it+1.018var-1
cantarell-fonts 1:0.303-1
fontconfig 2:2.13.94-1
gnu-free-fonts 20120503-8
gsfonts 20200910-2
libfontenc 1.1.4-3
libxfont2 2.0.5-1
noto-fonts-emoji 20211101-1
terminus-font 4.49.1-2
ttf-font-awesome 5.15.4-1
ttf-ms-fonts 2.0-12
ttf-ubuntu-font-family 0.83-7
urxvt-resize-font-git 27.b593580-1
xorg-font-util 1.3.2-2
xorg-fonts-100dpi 1.0.3-7
xorg-fonts-75dpi 1.0.3-7
xorg-fonts-alias-100dpi 1.0.4-1
xorg-fonts-alias-75dpi 1.0.4-1
xorg-fonts-encodings 1.0.5-2
xorg-mkfontscale 1.2.1-2