보이드 리눅스 + 그놈 = 🤎 ️ ️
빠른 링크
선택 과목
설치
Void Linux installation was done following the official guide .네트워크 구성 - 1부(wpa_supplicant)
-
Check the name of our interface:
ip a
In my case, “wlp3s0” is the name of the Wi-Fi interface.
-
Create a configuration file to connect to Wi-Fi:
sudo vi /etc/wpa_supplicant/wpa_supplicant-wlp3s0.conf
Write these lines into the file and then save it:
ctrl_interface=DIR=/run/wpa_supplicant update_config=1
-
Add the information about your wireless network to the file:
wpa_passphrase SSID PASSWORD >> /etc/wpa_supplicant/wpa_supplicant-wlp3s0.conf
-
Enable dhcpd and wpa_supplicant
sudo ln -s /etc/sv/dhcpcd /var/service sudo ln -s /etc/sv/wpa_supplicant /var/service sudo sv up dhcpcd sudo sv up wpa_supplicant
-
Run this last command:
wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant/wpa_supplicant-wlp3s0.conf
To check your connection run:
ping google.com
시스템 업데이트
sudo xbps-install -Suv
무료가 아닌 저장소 추가
sudo xbps-install -Rs void-repo-nonfree
권장 패키지 설치
sudo xbps-install curl wget git xz unzip zip nano vim gptfdisk xtools mtools mlocate ntfs-3g fuse-exfat bash-completion linux-headers gtksourceview4 ffmpeg mesa-vdpau mesa-vaapi htop
개발 패키지 설치
sudo xbps-install autoconf automake bison m4 make libtool flex meson ninja optipng sassc
데스크탑 환경(GNOME)
-
Install the X Window System:
sudo xbps-install xorg
-
Install desktop environment:
sudo xbps-install gnome
-
Install display manager
sudo xbps-install gdm
Enable gdm service:
sudo ln -s /etc/sv/gdm /var/service
-
Install xdg utilites:
sudo xbps-install -Rs xdg-desktop-portal xdg-desktop-portal-gtk xdg-user-dirs xdg-user-dirs-gtk xdg-utils
-
Install gnome-browser-connector (prevously known as chrome-gnome-shell):
sudo xbps-install gnome-browser-connector
필수 서비스 활성화
-
Install dbus:
sudo xbps-install -y dbus
Enable dbus service:
sudo ln -s /etc/sv/dbus /var/service
-
Install elogind:
sudo xbps-install -y elogind
Enable elogind service:
sudo ln -s /etc/sv/elogind /var/service
네트워크 구성 - 파트 2(네트워크 관리자)
-
Install Network Manager:
sudo xbps-install NetworkManager NetworkManager-openvpn NetworkManager-openconnect NetworkManager-vpnc NetworkManager-l2tp
-
Enable Network Manager service:
sudo ln -sv /etc/sv/NetworkManager /var/service
Before enabling the NetworkManager daemon, disable any other network management services, such as dhcpcd, wpa_supplicant.
오디오 구성
-
Install PulseAudio:
sudo xbps-install pulseaudio pulseaudio-utils pulsemixer alsa-plugins-pulseaudio
Had some issues with pipewire, maybe will give a try in the future...
블루투스 구성
-
Install BlueZ:
sudo xbps-install bluez
-
Enable Bluetooth service:
sudo ln -sv /etc/sv/bluetoothd /var/service
-
Add user to the group:
sudo useradd -G bluetooth ${USER}
인쇄 지원 구성
-
Install CUPS:
sudo xbps-install cups cups-pk-helper cups-filters foomatic-db foomatic-db-engine
-
Enable CUPS service:
sudo ln -sv /etc/sv/cupsd /var/service
Optional:
-
Epson Printer:
sudo xbps-install -Rs epson-inkjet-printer-escpr imagescan iscan-data
-
HP Printer:
sudo xbps-install -Rs hplip-gui
-
Canon Printer:
sudo xbps-install -Rs cnijfilter2
-
Brother Printer:
sudo xbps-install -Rs brother-brlaser # SANE scanner driver for brscan3-compatible Brother scanners sudo xbps-install brother-brscan3 # SANE scanner driver for brscan4-compatible printers sudo xbps-install brother-brscan4 # CUPS wrapper driver for the brother DCP-197C printer/scanner sudo xbps-install brother-dcp197c-cupswrapper # LPR driver for the brother DCP-197C printer/scanner sudo xbps-install brother-dcp197c-lpr
크론 구성
-
Install cronie:
sudo xbps-install -y cronie
-
Enable cronie service:
sudo ln -sv /etc/sv/cronie /var/service
노트북 절전 구성
-
Install TLP and PowerTop:
sudo xbps-install tlp tlp-rdw powertop
-
Enable TLP service:
sudo ln -sv /etc/sv/tlp /var/service
글꼴 설치
-
Install Noto fonts:
sudo xbps-install -Rs noto-fonts-emoji noto-fonts-ttf noto-fonts-ttf-extra
-
Install microsoft fonts:
git clone https://github.com/void-linux/void-packages cd void-packages ./xbps-src binary-bootstrap echo "XBPS_ALLOW_RESTRICTED=yes" >> etc/conf
Installation:
./xbps-src pkg -f msttcorefonts xi msttcorefonts
오피스 스위트
-
Install LibreOffice:
sudo xbps-install libreoffice-writer libreoffice-calc libreoffice-impress libreoffice-draw libreoffice-math libreoffice-base libreoffice-gnome libreoffice-i18n-en-US
인터넷 브라우저 설치
-
Install Firefox:
sudo xbps-install firefox firefox-i18n-en-US
-
Set better font for firefox:
sudo ln -s /usr/share/fontconfig/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d/ sudo xbps-reconfigure -f fontconfig
미디어 플레이어
-
Install VLC Media Player:
sudo xbps-install vlc
백업 소프트웨어
-
Install Timeshift:
sudo xbps-install timeshift
로깅 데몬 활성화
-
By default, Void comes with no logging daemon:
sudo xbps-install -Rs socklog-void sudo ln -s /etc/sv/socklog-unix /var/service/ sudo ln -s /etc/sv/nanoklogd /var/service/
프로필 동기화 데몬(PSD)
-
PSD is a service that symlinks & syncs browser profile directories to RAM, thus reducing HDD/SSD calls & speeding up browsers. You can get it from here. This helps Firefox & Chromium reduce ram usage.
git clone https://github.com/madand/runit-services cd runit-services sudo mv psd /etc/sv/ sudo ln -s /etc/sv/psd /var/service/ sudo chmod +x etc/sv/psd/*
Bash 별칭
-
Create bash aliases:
sudo nano ~/.bash_aliases
-
Add this script:
alias xu='sudo xbps-install xbps && sudo xbps-install -Suv' alias xin='sudo xbps-install' alias xr='sudo xbps-remove -Rcon' alias xl='xbps-query -l' alias xf='xl | grep' alias xs='xbps-query -Rs' alias xd='xbps-query -x' alias clrk='sudo vkpurge rm all && sudo rm -rf /var/cache/xbps/*' alias halt='sudo halt' alias poweroff='sudo poweroff' alias reboot='sudo reboot' alias shutdown='sudo shutdown'
-
Open bash config file:
sudo nano ~/.bashrc
-
Add this line:
if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases; fi
-
In the end:
source ~/.bashrc
선택 과목
틸릭스
-
Tiling terminal emulator
sudo xbps-install tilix
-
To use in quake mode (wayland not supported), create custom shortcut and add this command:
tilix --quake
FZF
-
A command-line fuzzy finder
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf ~/.fzf/install
Zoxide
-
zoxide is a smarter cd command, inspired by z and autojump:
sudo xbps-install -S zoxide
-
Add this to your configuration (usually ~/.bashrc):
eval "$(zoxide init bash)"
박쥐
-
A cat(1) clone with wings:
sudo xbps-install -Su bat
-
Add alias to the previously create bash_aliases file:
alias cat='bat'
립그레프
-
Grep alternative:
sudo xbps-install -Su ripgrep
-
Add alias to the previously create bash_aliases file:
alias grep='rg'
엑사
-
A modern replacement for ‘ls’:
sudo xbps-install -Su exa
-
Add alias to the previously create bash_aliases file:
alias ls='exa --icons'
먼지
-
A more intuitive version of du in rust:
sudo xbps-install -Su dust
-
Add alias to the previously create bash_aliases file:
alias du='dust'
게으른
-
Simple terminal UI for git commands:
sudo xbps-install -Su lazygit
네오빔 + AstroNvim
-
Install Neovim:
sudo xbps-install -Su neovim
-
Install AstroNvim:
git clone https://github.com/AstroNvim/AstroNvim ~/.config/nvim nvim +PackerSync
OctoXBPS
-
XBPS front end
sudo xbps-install -S octoxbps
VSV
-
Manage and view runit services:
sudo xbps-install vsv
도커
-
Install docker:
sudo xbps-install -Su docker
-
Enable required services:
sudo ln -s /etc/sv/containerd /var/service sudo ln -s /etc/sv/docker /var/service
-
Add user to group:
sudo groupadd docker sudo usermod -aG docker ${USER}
-
Set respective permissions:
sudo chown "$USER":"$USER" /home/"$USER"/.docker -R sudo chmod g+rwx "$HOME/.docker" -R
플랫팩
-
Install Flatpak:
sudo xbps-install -S flatpak
-
Add the Flathub repository:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Restart.
Nix 패키지 관리자
-
Install Nix:
sudo xbps-install -Sy nix
-
Activate Nix Daemon:
sudo ln -s /etc/sv/nix-daemon /var/service/ source /etc/profile
-
Add channels:
# Unstable nix-channel --add https://nixos.org/channels/nixpkgs-unstable unstable # NixOS 22.05 nix-channel --add https://nixos.org/channels/nixos-22.05 nixpkgs # Update channels nix-channel --update # List channels nix-channel --list
-
To see installed applications in the launcher create a symlink to Nix applications directory:
sudo ln -s "$HOME/.nix-profile/share/applications" "$HOME/.local/share/applications/nix-env"
대체 브라우저(Brave)
-
Install Brave browser using nix:
nix-env -iA nixpkgs.brave
Dconf 편집기
-
Applications internal settings viewer and editor:
sudo xbps-install dconf-editor
노틸러스 임베디드 터미널
-
Install dependencies:
sudo xbps-install python3 python3-pip python3-psutil
-
Install Nautilus Terminal:
sudo xbps-install nautilus-python
-
Check that the extension is properly installed:
nautilus-terminal --check python3 -m nautilus_terminal --check
-
If everything is OK, the output should be:
Nautilus Python: Installed Nautilus Terminal Extension: Installed
-
To edit extension configs run:
dconf-editor /org/flozz/nautilus-terminal
동기화
-
Install Syncthing:
sudo xbps-install -Rs syncthing
-
Starting Syncthing automatically when system starts:
sudo cp /usr/share/applications/syncthing-start.desktop ~/.config/autostart/
그놈 스시
-
File previewer for the GNOME desktop (macOS Quick Look):
sudo xbps-install -Rs sushi
인텔의 마이크로코드
-
Install Intel's Microcode:
sudo xbps-install -Rs intel-ucode
-
Reconfigure your kernel, according your kernel name:
sudo xbps-reconfigure -f linux<kernel_version>
To find your Linux kernel version, you can use
sudo xbps-query -l | grep linux
글꼴, 테마, 아이콘, 커서, 확장, 바탕 화면
시스템 글꼴:
터미널 글꼴: ShureTechMono Nerd Font Mono Regular
프롬프트 테마 엔진: Oh My Posh
테마: Fluent GTK Theme (
--icon void
플래그를 사용하여 활동을 Void 아이콘으로 대체)아이콘: Fluent Icon Theme (색상 그레이)
커서: Borealis Cursors
벽지: VOID LINUX
확장:
Reference
이 문제에 관하여(보이드 리눅스 + 그놈 = 🤎 ️ ️), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://dev.to/karyan40024/void-linux-gnome--4p3j텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)