- Supported CRUX version:
3.6
- Install steps may also work on other CRUX versions
Info: https://www.kernel.org/
Tested version: ---
none
# Switch to root user
sudo su
# Set kernel version
VERSION="5.15.12"
# Move to /usr/src dir
cd /usr/src
# Get kernel source
wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${VERSION}.tar.xz
# Extract kernel source
unxz linux-${VERSION}.tar.xz
# Untar kernel source
tar -xf linux-${VERSION}.tar
# Remove tar file and cd to new kernel source
rm linux-${VERSION}.tar && cd linux-${VERSION}
# Get old kernel config
zcat /proc/config.gz > .config
# Optional: If your switching between major and minor branches, run `make oldconfig` first to see new kernel features
make oldconfig
# If needed, edit kernel config
make menuconfig
# Build kernel
make all
# Build modules
make modules_install
# Copy new kernel and system.map
cp arch/x86/boot/bzImage /boot/vmlinuz-${VERSION}
cp System.map /boot
# Update grub
grub-mkconfig -o /boot/grub/grub.cfg
Info: http://dlc.casita.net/~dlc/CRUX/xfce_4.16/
Tested version: Xfce 4.16
none
# Downloads ports file
wget http://dlc.casita.net/~dlc/CRUX/xfce_4.16/.xfce_4.16.httpup -O xfce_4.16.httpup
# Copy file to ports dir
sudo cp xfce_4.16.httpup /usr/ports
# Add new directory to prt-get.conf
sudo echo "prtdir /usr/ports/xfce_4.16" >> /etc/prt-get.conf
# Update ports
sudo ports -u
# Install basic packages
sudo prt-get depinst xfdesktop xfce4-settings xfwm4 xfce4-session
Add the following line to your sudoers file in /etc/sudoers
with <username>
being your username:
<username> ALL=(ALL) NOPASSWD: /sbin/poweroff,/sbin/reboot,/sbin/shutdown
In your polybar config, use the following calls to restart and shutdown:
# Shutdown
sudo /sbin/shutdown -Ph now
# Reboot
sudo /sbin/reboot
Info: http://software.schmorp.de/pkg/rxvt-unicode.html
Tested versions:
9.26
9.29
sudo prt-get depinst cmake
wget http://dist.schmorp.de/libptytty/libptytty-2.0.tar.gz
tar -xzf libptytty-2.0.tar.gz && rm libptytty-2.0.tar.gz
cd libptytty-2.0
cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON .
cmake --build .
sudo cmake --install .
wget http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-9.29.tar.bz2
tar -xvjf rxvt-unicode-9.29.tar.bz2 && rm rxvt-unicode-9.29.tar.bz2
cd rxvt-unicode-9.29
./configure --prefix=/usr --enable-everything --enable-256-color --enable-text-blink --enable-fading --enable-font-styles --enable-pixbuf --enable-iso14755 --enable-mousewheel --enable-perl --enable-unicode3 --enable-xft
make
sudo make install
none
sudo prt-get depinst qemu