mirror of https://github.com/armbian/build.git
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:
parent
d57777caad
commit
a0a4668ee8
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
celluloid
|
||||
eog
|
||||
gimp
|
||||
mpv
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
@ -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
|
||||
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue