diff options
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(){ |