diff options
author | Britney Fransen <brfransen@gmail.com> | 2022-12-02 19:28:28 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2022-12-02 19:28:28 (GMT) |
commit | 54839ab55eba3b82627140efa4d61ae77d56bfce (patch) | |
tree | bcedb113c5d0bf0fe26e27f3d7b25a1ccd58eaf5 /linhes/linhes-system/lh_system_start.sh | |
parent | cd6352b895d94e0d82d999ef78331f8a19047284 (diff) | |
download | linhes_pkgbuild-54839ab55eba3b82627140efa4d61ae77d56bfce.zip linhes_pkgbuild-54839ab55eba3b82627140efa4d61ae77d56bfce.tar.gz linhes_pkgbuild-54839ab55eba3b82627140efa4d61ae77d56bfce.tar.bz2 |
linhes-system: lh_system_start.sh
Diffstat (limited to 'linhes/linhes-system/lh_system_start.sh')
-rwxr-xr-x | linhes/linhes-system/lh_system_start.sh | 8 |
1 files changed, 5 insertions, 3 deletions
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(){ |