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:51] walter [Introduction] |
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. | ||
- | <WRAP center round todo 60%> | + | ====== Setup ====== |
- | Upload theme files and post installation instructions | + | |
+ | <WRAP center round info 60%> | ||
+ | Setup the [[linux:acm_custom_repo|ACM custom repo]] on the workstation first | ||
</WRAP> | </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) | ||