as asked by @andyprough in the mx 19 screenshot section of the forums.
whenever i do a fresh install of mx. after the fresh install i do a certain checks.
1. Change repo to any of the US based ones from MX repo manager, because i live in India and by default the mirrors are selected to be indian however they are generally not up to date and my isp doesnt connect to some of their IPs. The US based mirrors are fast, up-to-date, never have any problem of some ip being rejected and need to setup just once.
2. Then i run this command just to be sure everything is upgraded.
Code: Select all
sudo apt update && sudo apt upgrade -y
NOTE: This is not mandatory and you should test it out before running this on your primary mx install.
Code: Select all
sudo aptitude remove vim-tiny vim-common asunder bluetooth clementine gimp gimp-data gimp-python libgimp2.0 simple-scan gscan2pdf hexchat lbreakout2 gnome-mahjongg mc mc-data nomacs nomacs-l10n thunderbird transmission-gtk transmission-common xfburn papirus-icon-theme
4. The next thing to do is install the fonts required for various applications were gonna use later on. polybar and starship prompt for example will not work without these fonts.
Code: Select all
sudo aptitude install fonts-noto-color-emoji fonts-symbola node-emojis-list ttf-ancient-fonts-symbola fonts-fork-awesome fonts-powerline fonts-roboto fonts-roboto-fontface fonts-ubuntu ttf-ubuntu-font-family fonts-font-awesome fonts-fork-awesome fonts-material-design-icons-iconfont
Code: Select all
fonts-material-design-icons-iconfont
5. The fonts are still not setup we will need some extra fonts as well heres a complete list of the fonts i use other than the above one's
- joypixels
- material-design fonts
Code: Select all
sudo aptitude install vim cmake bspwm sxhkd lxappearance polybar fzf evince w3m w3m-img youtube-dl lolcat arandr nitrogen sxiv mpv x11-utils mpd mpc ncmpcpp pylint dmenu netcat jq ffmpeg caca-utils chafa libsixel1 flameshot libsixel-bin uget rofi rofi-calc network-manager git curl wget tree libreadline-dev xattr zathura zathura-cb zathura-djvu zathura-pdf-poppler zathura-ps python3-setuptools python3-dev python3-pip atool rar moc mediainfo exiftool odt2txt rtorrent python3-wheel python3-docopt rxvt-unicode-256color tmux python3-ueberzug
Code: Select all
polybar
Code: Select all
tmux
7. now here is my ~/.config/bspwmrc https://gitlab.com/only_vip/mxtest-dope ... wm/bspwmrc
sxhkdrc ~/.config/sxhkd/sxhkdrc https://gitlab.com/only_vip/mxtest-dope ... kd/sxhkdrc
here are my complete dotfiles https://gitlab.com/only_vip/mxtest-dope-dots. git clone it then copy all the contents to home directory is what i do. excluding the .git folder and readme and other unnecssary files.
8. After this setup is done the next thing i do is install a bunch of custom apps. now i have started mainaining them all as individual packages over at MPR so installing them all and managing them would be a lot easier for anyone who wants to try them out. heres a link to all of them, SideNote: compton or picom any one is needed as both will conflict each other.
- compton tryones fork:https://mpr.hunterwittenborn.com/packag ... ryone-git/
Code: Select all
ytfzf -t <search query>
- fzf-tab-completion: https://mpr.hunterwittenborn.com/packag ... etion-git/
SideNote: i use the preview-tui plugin in nnn to get file previews in tmux. it can also be used in kitty to get file previews right in the terminal
- shell-color-scripts: https://mpr.hunterwittenborn.com/packag ... r-scripts/
- starship-prompt: https://mpr.hunterwittenborn.com/packages/starship-bin/
- ungoogled-chromium binary by macchrome: https://mpr.hunterwittenborn.com/packag ... hrome-bin/
- papirus-icon-theme: https://mpr.hunterwittenborn.com/packag ... con-theme/
10. some other apps that are not on the mpr but i use and are not in the standard repos of mx as well.
- rsfetch: https://github.com/Phate6660/rsfetch
- atomicparsley: https://github.com/wez/atomicparsley
- wezterm: https://github.com/wez/wezterm
Code: Select all
pip3 install pywal colorz
12. Here's the crontab entry to run pywal every half an hour
Code: Select all
*/30 * * * * DISPLAY=:0 ~/.local/bin/wal -a "50" --backend colorz -i $(find ~/wals/* | shuf | head -n 1)
Code: Select all
crontab -e
13. In order to get weather in the polybar as module i use ntfd(https://github.com/kamek-pf/ntfd)
14. some miscellaneous commands that are needed to be run after all these setup,
Code: Select all
fc-cache -frv
Code: Select all
xrdb -merge ~/.Xresources
Code: Select all
ln -s -f ~/.tmux/.tmux.conf ~/.tmux.conf
15. Regarding the post i made in mx screenshot section in here viewtopic.php?p=648834#p648834
- The bar used is polybar from mxtest repo as discussed earlier. The module next to the workspace is polywins script https://gitlab.com/only_vip/mxtest-dope ... olywins.sh
- app menu used is rofi and the theme is : https://github.com/adi1090x/rofi
- The conky is from standard mx install but i have modified it a bit to show the ram and temperature for my machine https://gitlab.com/only_vip/mxtest-dope ... ke.tint2rc
- On the bottom image, top left is bottom, below it is cava, below that is thunar, top right is neofetch,below that is tmux with nnn+ preview-tui plugin, below that is ncmpcpp with ueberzug to show embedded album art in ncmpcpp heres the dotfile for that : https://gitlab.com/only_vip/mxtest-dope ... ug-working copy these contents to then run ncmpcpp as
Code: Select all
~/.config/ncmpcpp/
to get the exact effect.Code: Select all
~/.config/ncmpcpp/ncmpcpp-ueberzug/ncmpcpp-ueberzug
- I used to use termite and used to compile it from source in mx but have stopped using termite as its deprecated now and use urxvt instead.
- most of you might not like urxvt as it is ugly out of the box. i have made a sane default changes in urxvt that makes it usable, as you can see all the terminal open in my forum post above are urxvt. urxvt should be used in deamon client mode to get the efficient resource usage. i.e run urxvtd in your startup script and then instead of executing urxvt to start urxvt use urxvtc this drastically reduces the resource usage of urxvt if used in multiple instances of urxvt. just an example, in real life i tried opening 100 instances of urxvtc and the total ram usage it consumed was under 300 megs. the config directories pertaining to urxvt are as follows:
- urxvt extensions plugins: https://gitlab.com/only_vip/mxtest-dope ... Xresources
- bunch of xresources themes : https://gitlab.com/only_vip/mxtest-dope ... ces-themes
EndNote: feel free to ask any questions that youre confused with. i might have missed something which may be unclear ask that if thats the case.
credits: manyroads, eftech linux on youtube, dolphin oracle, jerry3904, siduck76,distrotube, luke smith.