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
Next revision
Previous revision
Next revision Both sides next revision
linux:lxdm_login_theming_setup [2014/09/15 21:49]
walter [Setup]
linux:lxdm_login_theming_setup [2017/09/03 21:17]
wtoher [/etc/lxdm/LoginReady | (Executed as root)]
Line 1: Line 1:
 +====== LXDM Login Theming Setup ======
 +
 ====== Introduction ====== ====== Introduction ======
  
 The ArchLinux Workstations are themed with either the ACM Logo or LUG logo.  They are set to alternate between workstations. The ArchLinux Workstations are themed with either the ACM Logo or LUG logo.  They are set to alternate between workstations.
  
-I(clee231)(Chase Lee) have written a script to determine and switch the logos based on hostname.+====== Setup ======
  
-Currently, ​the script is setup to run once before logging in the user as root. This means that there needs to be at least one login for the script to run.+<WRAP center round info 60%> 
 +Setup the [[linux:​acm_custom_repo|ACM custom repo]] on the workstation first 
 +</​WRAP>​
  
-====== Setup ======+Install themes with this command and follow the post install instructions 
 +<​code|bash>​ 
 +pacman -S acm-lug-lxdm-themes 
 +</​code>​ 
 + 
 +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 three files:
Line 27: Line 36:
 #!/bin/sh #!/bin/sh
 /​etc/​lxdm/​SetLogo /​etc/​lxdm/​SetLogo
 +#/​usr/​bin/​xsetroot -solid black
 +/​usr/​bin/​mount 172.29.0.6:/​acm-home /home
 +/​usr/​bin/​mount 172.29.0.7:/​pkgs-64 /​var/​cache/​pacman/​pkg
 +/​usr/​bin/​localectl set-keymap us
 </​code>​ </​code>​
 ==== /​etc/​lxdm/​PreLogin | (Executed as root) ==== ==== /​etc/​lxdm/​PreLogin | (Executed as root) ====
Line 56: Line 69:
 # Description:​ Determines and sets the login theming based on modulus 2 op on last segment of IPv4 address. # Description:​ Determines and sets the login theming based on modulus 2 op on last segment of IPv4 address.
 # Dependencies: ​ # Dependencies: ​
-#               ​- ​Sed (sed >= 4.2.2)+#               ​- ​Awk (Awk >= 4.1.0)
 #               - Bash (GNU Bash >= 4.2) (;-P) #               - Bash (GNU Bash >= 4.2) (;-P)
  
linux/lxdm_login_theming_setup.txt · Last modified: 2021/05/02 21:36 (external edit)