Warning, file /sdk/kdesrc-build/sample-xsession.sh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 #!/bin/sh 0002 # A script to start the kde workspace. 0003 # Written by Michael Jansen and Michael Pyne 0004 # 0005 # Use by copying this script to ~/.xsession (this will be done for you by 0006 # kdesrc-build and/or kdesrc-build-setup, later). 0007 # 0008 # From there, select "custom" session when logging in, in order to login using 0009 # this script. 0010 # 0011 # If more user customizations to the environment are needed, create a file 0012 # .xsession-local, which will be sourced just prior to running KDE. This can 0013 # read .bashrc, just set a few vars, etc. 0014 0015 XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" 0016 0017 . "${XDG_CONFIG_HOME}/kde-env-master.sh" # Should be installed by kdesrc-build 0018 0019 # See .kde-env-master.sh for details on the kdesrc-build: filter stuff 0020 0021 if ! test -n "$KDESRC_BUILD_TESTING"; then # kdesrc-build: filter 0022 # Read in user-specific customizations 0023 if test -f "$HOME/.xsession-local"; then 0024 . "$HOME/.xsession-local" 0025 fi 0026 0027 # 0028 ### Start the standard kde login script. 0029 ### (Wayland has a different script, startplasma-wayland) 0030 # 0031 "$kde_prefix/bin/startplasma-x11" 0032 0033 # If you experience problems on logout it is sometimes helpful to make copies 0034 # of the xsession-errors file on logout. 0035 # cp $HOME/.xsession-errors $HOME/.xsession-errors-`date +"%Y%m%d%H%M"` 0036 0037 # Use user-specific logout if present 0038 if test -f "$HOME/.xsession-logout"; then 0039 . "$HOME/.xsession-logout" 0040 fi 0041 fi # kdesrc-build: filter