Fixing Gnome logo, remove Nvidia if not present, shortcut bugfix (#4238)

* Remove Nvidia drivers in case not detected in first run

* Gnome branding logo hack

* Fix panel shortcuts
This commit is contained in:
Igor Pečovnik 2022-09-26 18:34:48 +02:00 committed by GitHub
parent d57777caad
commit a0a4668ee8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 33 deletions

View File

@ -24,3 +24,10 @@ done < /etc/passwd
systemctl --user enable psd.service || true >/dev/null 2>&1
systemctl --user start psd.service || true >/dev/null 2>&1
#
# gnome logo hack
#
cp /usr/share/pixmaps/armbian/armbian.png /usr/share/pixmaps/ubuntu-logo-icon.png
cp /usr/share/pixmaps/armbian/armbian.png /usr/share/pixmaps/ubuntu-logo-dark.png

View File

@ -1,3 +1,4 @@
celluloid
eog
gimp
mpv

View File

@ -15,7 +15,7 @@ install -Dv /dev/null $profile
# set default shortcuts
echo "
[org/gnome/shell]
favorite-apps = ['terminator.desktop']
favorite-apps = ['terminator.desktop', 'org.gnome.Nautilus.desktop', 'google-chrome.desktop', 'thunderbird.desktop', 'code.desktop', 'Zoom.desktop']
[org/gnome/desktop/background]
picture-uri='file:///usr/share/backgrounds/armbian/armbian03-Dre0x-Minum-dark-3840x2160.jpg'

View File

@ -1,11 +0,0 @@
# install Gnome X64 specific
echo "
[org/gnome/shell]
favorite-apps = [$(dconf read /org/gnome/shell/favorite-apps | sed 's/[][]//g') , 'google-chrome.desktop']
" >> $keys
# update
dconf update

View File

@ -1,11 +0,0 @@
# install Gnome X64 specific favorites
echo "
[org/gnome/shell]
favorite-apps = [$(dconf read /org/gnome/shell/favorite-apps | sed 's/[][]//g') , 'thunderbird.desktop']
" >> $keys
# Update
dconf update

View File

@ -1,10 +0,0 @@
# install Gnome x64 specific favorites
echo "
[org/gnome/shell]
favorite-apps = [$(dconf read /org/gnome/shell/favorite-apps | sed 's/[][]//g') , 'code.desktop']
" >> $keys
# Update
dconf update

View File

@ -114,6 +114,9 @@ case "$1" in
ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
systemctl restart systemd-networkd
;;
x86|arm64)
[[ -n "$(dmesg | grep "No NVIDIA GPU found")" ]] && sudo apt-get -y -qq purge nvidia-dkms-510 nvidia-driver-510 nvidia-settings nvidia-common >> /dev/null
;;
*)
esac