summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2022-12-02 19:28:28 (GMT)
committerBritney Fransen <brfransen@gmail.com>2022-12-02 19:28:28 (GMT)
commit54839ab55eba3b82627140efa4d61ae77d56bfce (patch)
treebcedb113c5d0bf0fe26e27f3d7b25a1ccd58eaf5
parentcd6352b895d94e0d82d999ef78331f8a19047284 (diff)
downloadlinhes_pkgbuild-54839ab55eba3b82627140efa4d61ae77d56bfce.zip
linhes_pkgbuild-54839ab55eba3b82627140efa4d61ae77d56bfce.tar.gz
linhes_pkgbuild-54839ab55eba3b82627140efa4d61ae77d56bfce.tar.bz2
linhes-system: lh_system_start.sh
-rwxr-xr-xlinhes/linhes-system/PKGBUILD4
-rwxr-xr-xlinhes/linhes-system/lh_system_start.sh8
2 files changed, 7 insertions, 5 deletions
diff --git a/linhes/linhes-system/PKGBUILD b/linhes/linhes-system/PKGBUILD
index 50579fd..509c722 100755
--- a/linhes/linhes-system/PKGBUILD
+++ b/linhes/linhes-system/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=linhes-system
pkgver=9.0.0
-pkgrel=5
+pkgrel=6
arch=('x86_64')
#install=$pkgname.install
pkgdesc="Everything that makes LinHES a system"
@@ -25,7 +25,7 @@ sha256sums=('96f67b5428debb7dac909893c56a7637bf6545c068732822981d4080125c53d9'
'11168c9cd3b117decaab6bc665c183b4aab917cf0a976bce4c1b5e4686a27bc9'
'ae34515e144830f424d3bd3f6b1b446892d62beed20bca6f0fb19b0bbb779f27'
'23358a7bff4968eccd469613b81b1415c2ae0ebe77f14f74426697333e4d88d7'
- '024c4270fe929ca9046ab34ebb03ab37f9647bb51c7b40ab2da5a08a278be54f'
+ '0dfa7930dd403b1141480c21b2ab6747258d6d0fba496f3f5ea35034588eac15'
'91bdec992bb2c933e15625c181f2195c402060b879168ebf35944cb064c904b9'
'cedd34e448d3d45ab0f9fff40c115401f45bdea5b99215d0aff514a759ae2b7c'
'76f023c0cde7fea269234f1b29c32b117b91769217d4b1b8a3922daceb25f9f8'
diff --git a/linhes/linhes-system/lh_system_start.sh b/linhes/linhes-system/lh_system_start.sh
index f6be2d7..a74805a 100755
--- a/linhes/linhes-system/lh_system_start.sh
+++ b/linhes/linhes-system/lh_system_start.sh
@@ -2,6 +2,7 @@
. /etc/profile
#. /etc/systemconfig
+SystemType=Masterbackend
function msg(){
/usr/bin/notify-send --app-name="LinHES" --icon=dialog-information "$1" "$2"
@@ -16,6 +17,7 @@ function applyUIsettings(){
kwriteconfig5 --group KDE --key SingleClick false
kwriteconfig5 --file ~/.config/kscreenlockerrc --group Daemon --key Autolock false
kwriteconfig5 --file ~/.config/kscreenlockerrc --group Daemon --key LockOnResume false
+ kwriteconfig5 --file ~/.config/ksmserverrc --group General --key loginMode emptySession
#disable file indexing
balooctl disable
sleep 2
@@ -25,7 +27,7 @@ function applyUIsettings(){
function x11vnc_setup(){
konsole -e /bin/bash -i -c "echo 'Create VNC password.' && x11vnc --storepasswd"
- mkdir ~/.vnc
+ mkdir -p ~/.vnc
touch ~/.vnc/x11vnc.log
sudo /usr/bin/systemctl enable --now x11vnc.service
}
@@ -42,7 +44,7 @@ function bashrc_setup(){
function nanorc_setup(){
sudo sed -i 's/# set tabsize.*/set tabsize 4/' /etc/nanorc
sudo sed -i 's/# set tabstospaces.*/set tabstospaces/' /etc/nanorc
- sudo sed -i 's/# include "\/usr\/share\/nano\/*.nanorc/include "\/usr\/share\/nano\/*.nanorc"/' /etc/nanorc
+ sudo sed -i 's/# include "\/usr\/share\/nano\/\*.nanorc"/include "\/usr\/share\/nano\/\*.nanorc"/' /etc/nanorc
}
function storage_scan(){
@@ -53,7 +55,7 @@ function storage_scan(){
function install_lh_apps(){
#install programs that are not needed on the iso
- sudo pacman -Syyy -noconfirm firefox glances mythtv ncdu x11vnc
+ sudo pacman -Syyy --noconfirm firefox glances mythtv ncdu x11vnc
}
function first_configure(){