Define panel shortcuts for Gnome x64 per appgroup (#4222)

This commit is contained in:
Igor Pečovnik 2022-09-23 19:05:34 +02:00 committed by GitHub
parent 6a2e1829c9
commit 47d74f553f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 38 additions and 3 deletions

View File

@ -12,7 +12,12 @@ profile=/etc/dconf/profile/user
install -Dv /dev/null $keys
install -Dv /dev/null $profile
echo "[org/gnome/desktop/background]
# set default shortcuts
echo "
[org/gnome/shell]
favorite-apps = ['terminator.desktop']
[org/gnome/desktop/background]
picture-uri='file:///usr/share/backgrounds/armbian/armbian03-Dre0x-Minum-dark-3840x2160.jpg'
picture-options='zoom'
primary-color='#456789'
@ -29,8 +34,6 @@ system-db:local" >> $profile
dconf update
#sudo apt-get -y remove gnome-shell-extension-desktop-icons
#compile schemas
if [ -d /usr/share/glib-2.0/schemas ]; then
glib-compile-schemas /usr/share/glib-2.0/schemas

View File

@ -0,0 +1,11 @@
# 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

@ -0,0 +1,11 @@
# 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

@ -0,0 +1,10 @@
# 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