β¨ This is my Linux setup and dotfiles. Feel free to use it πππ.
Warning
- This is the setting for my personal laptop. It may be different if used for a PC or other devices.
- Be careful when copy all settings unless you know what that entails, just read information in detail for each repository.
π Basically, I use:
πͺ EndeavourOS
π€― Cosmic - Desktop Environment.
π οΈ yay - Arch Linux AUR helper tool.
π₯³ Many thanks to my colleagues at NDVN for inspiring me and guiding me towards Linux. You guys are amazing and kind.
yay -S [package-name]Here is a list of packages:
extra/wezterm tmux extra/neofetch extra/brightnessctl picom-git polybar fish extra/fisher git peco neovim eza starship htop redshift ttf-jetbrains-mono-nerd extra/noto-fonts-emoji nitrogen betterlockscreen flameshot visual-studio-code-bin jetbrains-toolbox docker docker-compose go i3lock-color arttime-git rofi-bluetooth-git extra/blueman network-dmenu-git appimagelauncher postman-bin firefox-developer-edition google-chrome microsoft-edge-dev-bin teams slack-desktop aur/prospect-mail extra/discord extra/telegram-desktop obsidian extra/calc aur/networkmanager-dmenu-git
- weztem - A cross-platform terminal emulator and multiplexer.
- betterlockscreen - π sweet looking lockscreen for linux system
- fish - The user-friendly command line shell.
- fisher - A plugin manager for Fish.
- dracula-fish - Dark theme for fish.
- z for fish - Pure-fish z directory jumping.
- ghq - Remote repository management made easy.
- peco - Simplistic interactive filtering tool.
- volta - The Hassle-Free JavaScript Tool Manager.
- eza - A modern, maintained replacement for ls.
- starship - The minimal, blazing-fast, and infinitely customizable prompt for any shell!
- go
- rust
Other devices on your network will need your computer's local IP address.
Open your terminal and use either ip a or ifconfig (if you have net-tools installed):
ip aExample output:
2: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether aa:bb:cc:dd:ee:ff brd ff:ff:ff:ff:ff:ff
inet 192.168.1.100/24 brd 192.168.1.255 scope global dynamic noprefixroute enp0s31f6
valid_lft 86241sec preferred_lft 86241secIn this example, your IP is 192.168.1.100.
-
Start and Enable
firewalldservice (if not already running): First, confirm thefirewalldservice is running and enabled to start on boot:sudo systemctl status firewalld
If it's not running or not enabled, use:
sudo systemctl enable firewalld --now -
Determine your active zone:
firewallduses zones to define trust levels. Common zones arepublic,home,internal. To see which zone yourenp4s0interface is assigned to:sudo firewall-cmd --get-active-zones
You will likely see
publicor home associated with yourenp4s0interface. Let's assume it'spublicfor the next steps. -
Add the port to your active zone: You need to permanently add the port
5173(TCP) to the zone yourenp4s0interface is in. Replaceyour-active-zonewith the actual zone name (e.g.,public,home).sudo firewall-cmd --permanent --zone=your-active-zone --add-port=5173/tcp
For example, if your active zone is
public:sudo firewall-cmd --permanent --zone=public --add-port=5173/tcp
-
Reload
firewalldto apply changes:sudo firewall-cmd --reload
-
Verify the rule: You can list the ports allowed in your zone to confirm the rule was added:
sudo firewall-cmd --zone=your-active-zone --list-ports
You should see
5173/tcpin the output.
This config has heavy inspiration from:
- devaslife - Takuya Matsuyama
- mantran1611 - Manh Tran
- lazarus2019 - Thai Son




