Howto: Start KDE with Post-Login

Share your own howto's etc. Not for support questions!

Howto: Start KDE with Post-Login

Postby bester69 » 2016-07-26 16:07

Requirements:
KDE and xtrlock

We'll login ourselves once the system has loaded so we dont have to wait in every reboot for the system to load, as we're doing Post loging.

0- Set Autologin in KDE:
/etc/kde4/kdm/kdmrc
# Core config for local displays
[X-:*-Core]
AutoLoginEnable=true
AutoLoginLocked=false
AutoLoginUser=user


1- Create script to lock the session,once it has loaded (Post Logging):
Settings--> AutoStart --> SctiptFile--> BeforeKdeStart-->
Script xtrlock.sh
xtrlock &


If you want to protecet the screen form others:
The -c (for Command). To start xtrlock in screen blanking mode and set monitor backlight level to 20 after unlocking the screen, run:
xtrlock -c "xbacklight -set 20" -b
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
User avatar
bester69
 
Posts: 1793
Joined: 2015-04-02 13:15

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable