Skip to content

Commit

Permalink
wallpaper, gnome-customizations
Browse files Browse the repository at this point in the history
  • Loading branch information
slspeek committed Sep 3, 2024
1 parent 266e83a commit 7b396b9
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 0 deletions.
1 change: 1 addition & 0 deletions late-cmds/gnome-customizations
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sudo -u $(id -nu 1000) /bin/sh -c 'dbus-run-session -- gnome-customizations.sh'
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#!/bin/sh

. /lib/live/config.sh

## live-config(7) - System Configuration Components
## Copyright (C) 2016-2020 The Debian Live team
## Copyright (C) 2006-2015 Daniel Baumann <mail@daniel-baumann.ch>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
## under certain conditions; see COPYING for details.


#set -e

Cmdline ()
{
# Reading kernel command line
for _PARAMETER in ${LIVE_CONFIG_CMDLINE}
do
case "${_PARAMETER}" in
live-config.username=*|username=*)
LIVE_USERNAME="${_PARAMETER#*username=}"
;;
esac
done
}

Init ()
{
# Checking if package is installed or already configured
if component_was_executed "gnome-customizations"
then
exit 0
fi

echo -n " gnome-customizations"
}

Config ()
{
sudo -u $LIVE_USERNAME dbus-run-session -- /usr/local/bin/gnome-customizations.sh
touch /var/lib/live/config/gnome-customizations
}

Cmdline
Init
Config
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
pref("distribution.searchplugins.defaultLocale", "en-US");
// Forbid application updates
pref("app.update.enabled", false, locked);

pref("devtools.webide.autoinstallADBHelper", false);
pref("devtools.webide.autoinstallFxdtAdapters", false);

pref("extensions.unsignedScopes", 12);

pref("spellchecker.dictionary_path", "/usr/share/hunspell");
pref("browser.startup.homepage", "https://slspeek.github.io/debian")
9 changes: 9 additions & 0 deletions scripts/gnome-customizations.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -e

gsettings set org.gnome.desktop.interface enable-hot-corners false

gsettings set org.gnome.desktop.screensaver lock-enabled false

gsettings set org.gnome.desktop.background picture-uri file:///usr/local/share/wallpaper/Noord-Hollands-Duinreservaat.jpg

0 comments on commit 7b396b9

Please sign in to comment.