User Tools

Site Tools


linux:lxdm_login_theming_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
linux:lxdm_login_theming_setup [2017/09/03 16:17]
wtoher [/etc/lxdm/LoginReady | (Executed as root)]
linux:lxdm_login_theming_setup [2017/09/03 16:39] (current)
wtoher Updated scripts while working on dvorak keyboard fix
Line 18: Line 18:
 Unpack {{:​acm-themes.tar.gz|this archive with the ACM and LUG themes}} into /​usr/​share/​lxdm/​themes Unpack {{:​acm-themes.tar.gz|this archive with the ACM and LUG themes}} into /​usr/​share/​lxdm/​themes
  
-This is setup by three files:+This is setup by several ​files:
  
   * /​etc/​lxdm/​LoginReady   * /​etc/​lxdm/​LoginReady
-  * /​etc/​lxdm/​PreLogin+  * /​etc/​lxdm/​PreLogin ​(unused) 
 +  * /​etc/​lxdm/​PostLogin 
 +  * /​etc/​lxdm/​PostLogout 
 +  * /​etc/​lxdm/​PreReboot (unused) 
 +  * /​etc/​lxdm/​PreShutdown (unused) 
 +  * /​etc/​lxdm/​lxdm.conf
   * /​etc/​lxdm/​SetLogo   * /​etc/​lxdm/​SetLogo
  
-** LoginReady ** - This is exicuted ​as root when LXDM is ready to show the screen.+The directory also contains the Xsession file, which should not be edited manually 
 + 
 +** LoginReady ** - This is executed ​as root when LXDM is ready to show the screen.
  
 ** PreLogin ** - Executed by LXDM as root. ** PreLogin ** - Executed by LXDM as root.
Line 31: Line 38:
  
 ====== Scripts ====== ====== Scripts ======
-Up to date as of **September ​192014**.+Up to date as of **September ​32017**. 
 ==== /​etc/​lxdm/​LoginReady | (Executed as root) ==== ==== /​etc/​lxdm/​LoginReady | (Executed as root) ====
 <code bash> <code bash>
Line 41: Line 49:
 /​usr/​bin/​localectl set-keymap us /​usr/​bin/​localectl set-keymap us
 </​code>​ </​code>​
-==== /etc/lxdm/PreLogin ​| (Executed as root) ====+ 
 +==== /etc/lxdm/PostLogin ​| (Executed as logged-in user) ====
 <code bash> <code bash>
 #!/bin/sh #!/bin/sh
-# +xset dpms 0 0 0 
-# Note: this is a sample and will not be run as is. +</​code>​ 
-#!/bin/sh + 
-# +==== /​etc/​lxdm/​PostLogout | (Executed ​as logged-in user) ==== 
-Note: this is a sample and will not be run as is. +<code bash> 
-#loltask > /dev/null & +#!/bin/bash 
-#mount -/opt/Steam /home/$USER/Steam + 
-#​mount ​-/opt/Steamlocal ​$HOME/.local/share/Steam +#umount $HOME/.local/share/Steam 
-#if [ "​$?" ​-ne "​0"​ ]+xsetroot -solid black 
 + 
 +##Reset guest directory 
 +sudo -/usr/bin/guestd ​$USER 
 + 
 +test -/usr/bin/​pax11publish && /​usr/​bin/​pax11publish -r 
 +# Terminate current user session 
 +#killall --user ​$USER -TERM 
 +#/usr/bin/loginctl terminate-session $XDG_SESSION_ID 
 +xset dpms 300 330 360 
 +#if ! pgrep lxdm-greeter >> /dev/null
 #then #then
-# mkdir -p $HOME/.local/share/Stean +# /usr/bin/systemctl restart lxdm
-# mount -B /​opt/​Steamlocal $HOME/​.local/​share/​Steam+
 #fi #fi
-#chown -R $USER:users $HOME/​.local/​share/​Steam 
-#/bin/bash /​etc/​lxdm/​SetLogo 
 </​code>​ </​code>​
  
linux/lxdm_login_theming_setup.txt · Last modified: 2017/09/03 16:39 by wtoher