diff --git a/espanso/compilation_instructions.txt b/espanso/compilation_instructions.txt index 83a6b56e..f68fd4be 100644 --- a/espanso/compilation_instructions.txt +++ b/espanso/compilation_instructions.txt @@ -5,16 +5,27 @@ git clone https://github.com/espanso/espanso Install wxwidgets +If on Arch/Artix: + doas pacman -S wxwidgets +If on Gentoo: + +https://wiki.wxwidgets.org/Installing_and_configuring_under_Gentoo +https://packages.gentoo.org/packages/x11-libs/wxGTK + cd espanso To turn off notifications, simply cp from this directory the notifications.rs file to the ~/$CLONE_DIR/espanso/espanso/src/cli/worker/ui/ directory before compiling. cp notification.rs ~/$CLONE_DIR/espanso/espanso/src/cli/worker/ui/notification.rs -cargo install --force cargo-make --version 0.34.0 -cargo make --profile release build-binary +# Deprecated: +# cargo install --force cargo-make --version 0.34.0 +# cargo make --profile release build-binary + +cargo build -p espanso --release --no-default-features --features vendored-tls,modulo + doas mv target/release/espanso /usr/bin/espanso Copy xinitrc.txt which calls espanso at beginning diff --git a/firefox_notes.txt b/firefox_notes.txt index ecc22aa1..768a6a18 100644 --- a/firefox_notes.txt +++ b/firefox_notes.txt @@ -131,7 +131,7 @@ browser.proton.enabled set to false browser.proton.modals.enabled set to false browser.proton.doorhangers.enabled set to false browser.proton.contextmenus.enabled set to false -browser.sessionstore.resum_from_crash false +browser.sessionstore.resume_from_crash false Copy the chrome directory into the profile ($HOME/.librewolf/*.default-release) This feature isn't officially supported anymore so enable it by heading to @@ -185,7 +185,7 @@ about:config: network.trr.mode to 0 -(defaults to OS level DNS resolver, set in Android Network settings, Private DNS field, to base.dns.mullvad.net) +(defaults to OS level DNS resolver, set in Android Network settings, Private DNS field, to https://base.dns.mullvad.net/dns-query) Set zoom to only be specific to tab you are on: browser.zoom.siteSpecific to false diff --git a/install_virt_manager_on_gentoo.txt b/install_virt_manager_on_gentoo.txt new file mode 100644 index 00000000..166472c1 --- /dev/null +++ b/install_virt_manager_on_gentoo.txt @@ -0,0 +1,58 @@ + +Help to install Virt-manager on Funtoo and Gentoo +Installing virt-manager + +First we need to add some information to build virt-manager and qemu correctly: + +# echo "app-emulation/virt-manager gtk policykit" >> /etc/portage/package.use +# echo "app-emulation/qemu spice" >> /etc/portage/package.use +# vim /etc/portage/make.conf ## and add + +QEMU_SOFTMMU_TARGETS="arm x86_64 sparc" +QEMU_USER_TARGETS="x86_64" + +In order to user the power of virtualization under Funtoo / Gentoo, you will need to install the following packages: + +Note: Some extra video driver are needed and iptables is mandatory! If under Gentoo, you will need rebuild or check if already build modules in the kernel, see QEMU documentation. + +# emerge --ask virt-manager qemu xf86-video-qxl app-emulation/spice spice-gtk spice-protocol net-firewall/iptables +# dispatch-conf +# emerge --ask virt-manager qemu xf86-video-qxl app-emulation/spice spice-gtk spice-protocol net-firewall/iptables + + Take a cup of coffee ^^ + +After the installation please add you user to kvm & libvirt group (or create it) and start libvirt daemon as follow and add it as default to start after reboot: + +# gpasswd -a USER kvm ## groupadd kvm +# gpasswd -a USER libvirt ## groupadd libvirt +# /etc/init.d/libvirtd start +# rc-update add libvirtd default + +Configure polkit + +Then we will add some changes of the default configuration, so that your user can use virt-manager without password and without to be root: + +# mkdir -p /etc/polkit-l/localauthority/50-local.d +# vim /etc/polkit-l/localauthority/50-local.d/org.libvirt.unix.manage.pkla +[Allow group libvirt management permissions] +Identity=unix-group:libvirt +Action=org.libvirt.unix.manage +ResultAny=yes +ResultInactive=yes +ResultActive=yes + +Starting needed modules now and after reboot + +# modprobe kvm kvm-intel tun +# vim /etc/conf.d/modules +modules="kvm tun kvm-intel" + +After the changes you will maybe need to reboot your computer! + +# reboot + +Test your installation + +Now you should ready to go, just try to start virt-manager and see if ask you for a password or not ^^ + +$ virt-manager diff --git a/kiwix-serve.md b/kiwix-serve.md new file mode 100644 index 00000000..a1963ec5 --- /dev/null +++ b/kiwix-serve.md @@ -0,0 +1,16 @@ +# Kiwix-Serve Install + +Go to [kiwix-build github page](https://github.com/kiwix/kiwix-build) and follow +the instructions there. + +After invoking `kiwix-build`, go to: + +`kiwix-build/BUILD_native_dyn/INSTALL` + +From there: + +```sh +sudo cp -r kiwix-build/BUILD_native_dyn/INSTALL/lib/* /usr/local/lib/ && +sudo cp -r kiwix-build/BUILD_native_dyn/INSTALL/bin/* /usr/local/bin && +sudo ldconfig +``` diff --git a/scripts/mkbackup b/scripts/mkbackup new file mode 100755 index 00000000..c13f0899 --- /dev/null +++ b/scripts/mkbackup @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +BACKUP_DATE=$(date +%m_%d_%Y) + +doas rsync -aHAXS --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /* /mnt/media/usb-drive/"${HOST}"_backup_"${BACKUP_DATE}" diff --git a/st/boxdraw.o b/st/boxdraw.o index 2ac1a101..a0a384f2 100644 Binary files a/st/boxdraw.o and b/st/boxdraw.o differ diff --git a/st/config.h b/st/config.h index eabac9e7..eee87ae4 100644 --- a/st/config.h +++ b/st/config.h @@ -152,9 +152,9 @@ static unsigned int cursorshape = 2; */ // static unsigned int cols = 80; -static unsigned int cols = 150; +static unsigned int cols = 132; // static unsigned int rows = 24; -static unsigned int rows = 36; +static unsigned int rows = 42; /* * Default colour and shape of the mouse cursor diff --git a/st/st b/st/st index f0bf76ab..78e1f606 100755 Binary files a/st/st and b/st/st differ diff --git a/st/st.o b/st/st.o index 8da26b50..01f18aca 100644 Binary files a/st/st.o and b/st/st.o differ diff --git a/st/x.o b/st/x.o index 1daa22fd..6d919805 100644 Binary files a/st/x.o and b/st/x.o differ