mirror of https://github.com/armbian/build.git
Desktop (mainly Gnome ) - add additional packages, small fixes and improvements
This commit is contained in:
parent
ca73176bd9
commit
9b2843d225
|
|
@ -1,4 +1 @@
|
|||
hexchat
|
||||
#pidgin
|
||||
#purple-discord
|
||||
#purple-rocketchat
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
bleachbit
|
||||
baobab
|
||||
gparted
|
||||
|
|
|
|||
|
|
@ -2,4 +2,8 @@ celluloid
|
|||
eog
|
||||
gimp
|
||||
pithos
|
||||
shotwell
|
||||
rhythmbox
|
||||
rhythmbox-data
|
||||
mpv
|
||||
totem
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
evince
|
||||
evince-common
|
||||
libreoffice
|
||||
libreoffice-gtk3
|
||||
libreoffice-style-elementary
|
||||
simple-scan
|
||||
sane-utils
|
||||
|
|
|
|||
|
|
@ -2,18 +2,32 @@ anacron
|
|||
at-spi2-core
|
||||
colord
|
||||
cups
|
||||
cups-browsed
|
||||
cups-bsd
|
||||
cups-pk-helper
|
||||
bolt
|
||||
bluez-cups
|
||||
cifs-utils
|
||||
fprintd
|
||||
dbus-x11
|
||||
dmz-cursor-theme
|
||||
dconf-cli
|
||||
eject
|
||||
foomatic-db-compressed-ppds
|
||||
fonts-noto-cjk
|
||||
fonts-arphic-ukai
|
||||
fonts-arphic-uming
|
||||
fonts-droid-fallback
|
||||
fonts-liberation-sans-narrow
|
||||
fonts-noto-core
|
||||
fonts-noto-mono
|
||||
fonts-ubuntu
|
||||
fonts-ubuntu-console
|
||||
gdebi
|
||||
gnome-control-center
|
||||
gnome-disk-utility
|
||||
gnome-desktop3-data
|
||||
gnome-online-accounts
|
||||
gnome-keyring
|
||||
gnome-menus
|
||||
gnome-screenshot
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
discord
|
||||
|
|
@ -552,6 +552,9 @@ add_user() {
|
|||
if ! id "$RealUserName" > /dev/null 2>&1; then break; else echo -e "Username \e[0;31m$RealUserName\x1B[0m already exists on the system."; fi
|
||||
done
|
||||
|
||||
# Set default user login icon
|
||||
set_user_icon "$RealUserName"
|
||||
|
||||
while [ -f "/root/.not_logged_in_yet" ]; do
|
||||
if [ -z "$PRESET_USER_PASSWORD" ];then
|
||||
read_password "Create user ($username)"
|
||||
|
|
@ -605,7 +608,7 @@ add_user() {
|
|||
# (docker-ce package creates this group automatically during postinst, but we create it early
|
||||
# to guarantee group membership is ready immediately after user creation.)
|
||||
if ! getent group docker >/dev/null; then
|
||||
if ! addgroup --system docker 2>/dev/null; then
|
||||
if ! addgroup --system --quiet docker 2>/dev/null; then
|
||||
echo "Warning: Failed to create docker group" >&2
|
||||
fi
|
||||
fi
|
||||
|
|
@ -637,6 +640,31 @@ add_user() {
|
|||
|
||||
}
|
||||
|
||||
set_user_icon() {
|
||||
local U="$1"
|
||||
local ICON_SRC="/usr/share/armbian/armbian-user-icon.png"
|
||||
local ICON_DST="/var/lib/AccountsService/icons/$U"
|
||||
local META="/var/lib/AccountsService/users/$U"
|
||||
|
||||
# If the icon doesn't exist, do nothing.
|
||||
[ -f "$ICON_SRC" ] || return 0
|
||||
|
||||
mkdir -p /var/lib/AccountsService/icons /var/lib/AccountsService/users
|
||||
|
||||
# Copy icon
|
||||
install -m 0644 "$ICON_SRC" "$ICON_DST"
|
||||
|
||||
# Write AccountsService metadata
|
||||
cat <<- EOF > "$META"
|
||||
[User]
|
||||
Icon=$ICON_DST
|
||||
SystemAccount=false
|
||||
EOF
|
||||
chown root:root "$ICON_DST" "$META"
|
||||
chmod 0644 "$ICON_DST" "$META"
|
||||
}
|
||||
|
||||
|
||||
if [[ -f /root/.not_logged_in_yet && -n $(tty) ]]; then
|
||||
|
||||
. /root/.not_logged_in_yet
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
Loading…
Reference in New Issue