Archlabs Installer : geolocation automations

Hello guys! I was thinking about some improvmentes at the installer script.
One of them is using the geoip info to automate and accelerate the selction of LOCALE and TIMEZONE.

Maybe just offer a preselected option based on that info… If the users wanna change, they change.

IMO is a improvment if I could go faster on that steps, and I could help if you want (and consider a good idea) .
:slight_smile:

Yea were open to improvments.

1 Like

Hello Nate!
Before to do that, I would like to ask you about some other UX and Design improvments. Can I?

Take a look this idea

The result:
firstrun|690x360

Maybe we could hide MOTD and run this script when logon from livecd installer.
Minimal like we like

1 Like

That looks great. Some colour tweaks are required but it looks really nice.

Great!
Gimme the directions that you wanna use.

I kept bg black due all my other suggestions consider black as default from boot, syslinux, grub, plymouth and lightdm themes.

And as I was just sharing the main idea I didnt do all the color adjustments.

I saw this function on installer script to standardize the colors, So if you agree I could use the same options.

termcol()
{
local colors=(
"\e]P0191919" # #191919
"\e]P1D15355" # #D15355
"\e]P2609960" # #609960
"\e]P3FFCC66" # #FFCC66
"\e]P4255A9B" # #255A9B
"\e]P5AF86C8" # #AF86C8
"\e]P62EC8D3" # #2EC8D3
"\e]P7949494" # #949494
"\e]P8191919" # #191919
"\e]P9D15355" # #D15355
"\e]PA609960" # #609960
"\e]PBFF9157" # #FF9157
"\e]PC4E88CF" # #4E88CF
"\e]PDAF86C8" # #AF86C8
"\e]PE2ec8d3" # #2ec8d3
"\e]PFE1E1E1" # #E1E1E1
)
[[ $TERM == 'linux' ]] && printf "%b" "${colors[@]}" && clear
}

Yea nice.

You can use something like

printf -v prefix "%*s" N

prefix will then be a string containing N spaces (might need to pass another space ' '), not important but just a tip.