This shows you the differences between two versions of the page.
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:57] walter |
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 ====== | ||
Line 4: | Line 6: | ||
====== Setup ====== | ====== Setup ====== | ||
+ | |||
+ | <WRAP center round info 60%> | ||
+ | Setup the [[linux:acm_custom_repo|ACM custom repo]] on the workstation first | ||
+ | </WRAP> | ||
+ | |||
+ | 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 | Unpack {{:acm-themes.tar.gz|this archive with the ACM and LUG themes}} into /usr/share/lxdm/themes | ||
Line 25: | 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 54: | 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) | ||