summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@gocchin.haxx.dafuq>2021-02-26 18:24:37 -0600
committerroot <root@gocchin.haxx.dafuq>2021-02-26 18:24:37 -0600
commite60a9910d53e29bdddae689464e36dfc50bbb8e1 (patch)
tree02660d92950735003c45a48be1bd469f0b2e6e32
parentd0afbb2c496eed6c53a46229391c0e3590d1fad9 (diff)
downloadgentoox-e60a9910d53e29bdddae689464e36dfc50bbb8e1.tar.gz
gentoox-e60a9910d53e29bdddae689464e36dfc50bbb8e1.tar.bz2
gentoox-e60a9910d53e29bdddae689464e36dfc50bbb8e1.zip
kde sucks and is unbearable for everyday use, but what can you do. last commit
-rwxr-xr-xinstall.sh3
-rwxr-xr-xpostinstall.sh7
2 files changed, 9 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 47df852..0140510 100755
--- a/install.sh
+++ b/install.sh
@@ -31,7 +31,7 @@ setup_btrfs () {
DEVICE=$1
mkfs.btrfs -f -L GENTOO $DEVICE
- mkdir /mnt/install
+ mkdir -p /mnt/install
mount -o compress=lzo $DEVICE /mnt/install
btrfs subvolume create /mnt/install/@
@@ -147,6 +147,7 @@ else
# user done the partitioning
setup_btrfs $partition
if [[ ! -z $UEFI_MODE ]]; then
+ mkdir -p /mnt/install/boot/efi
read -erp "Enter formatted EF00 ESP partition for EFI: " -i "/dev/sda1" efi_partition
mount $efi_partition /mnt/install/boot/efi
fi
diff --git a/postinstall.sh b/postinstall.sh
index 8f6fb01..8fe4039 100755
--- a/postinstall.sh
+++ b/postinstall.sh
@@ -430,6 +430,13 @@ cp /usr/share/applications/mpv.desktop ~/.local/share/applications/mpv-kio.deskt
sed -i -r "s/^Name=(.*)$/Name=mpv Media Player \(KIO cat from smb\)/g" ~/.local/share/applications/mpv-kio.desktop
sed -i -r "s/^Exec=(.*)$/Exec=mpv-kio.sh/g" ~/.local/share/applications/mpv-kio.desktop
+# change akonadi to use sqlite backend instead of mysql
+sed -i 's/^Driver=QMYSQL$/Driver=QSQLITE3/' ~/.config/akonadi/akonadiserverrc
+akonadictl restart
+
+# disable baloo, it almost always crashes and is crapware just like akonadi
+balooctl disable
+
# after script runs delete it
sed -i "s/~\/postinstall.sh &//" ~/.xinitrc