forked from armbian/build
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
154 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Desktop Entry] | ||
Encoding=UTF-8 | ||
Version=1.0.0 | ||
Type=Application | ||
Name=DMBP Chromium | ||
Comment=Start local browser for displaying web app | ||
Exec=chromium-browser --kiosk --no-first-run --noerrdialogs --disable-infobars --enable-features=OverlayScrollbar http://localhost | ||
OnlyShowIn=GNOME; | ||
StartupNotify=false | ||
Terminal=false | ||
Hidden=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Desktop Entry] | ||
Encoding=UTF-8 | ||
Version=1.0.0 | ||
Type=Application | ||
Name=DMBP Gnome | ||
Comment=Patch Gnome settings for DMB Pro | ||
Exec=dmbp-update-gnome | ||
OnlyShowIn=GNOME; | ||
StartupNotify=false | ||
Terminal=false | ||
Hidden=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Desktop Entry] | ||
Encoding=UTF-8 | ||
Version=1.0.0 | ||
Type=Application | ||
Name=DMBP Resolution | ||
Comment=Set vertical screen orientation | ||
Exec=dmbp-update-resolution | ||
OnlyShowIn=GNOME; | ||
StartupNotify=false | ||
Terminal=false | ||
Hidden=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
# Credit to https://unix.stackexchange.com/a/771693 | ||
|
||
# Disable Gnome automatic screen timeout. | ||
gsettings set org.gnome.desktop.session idle-delay 0 | ||
gsettings set org.gnome.desktop.screensaver lock-delay 0 | ||
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0 | ||
|
||
# Disable Gnome wallpaper. | ||
gsettings set org.gnome.desktop.background picture-options 'none' | ||
gsettings set org.gnome.desktop.background primary-color '#000000' | ||
|
||
# Disable Gnome Hide Top Bar extension's intellihide mode. | ||
# (Top bar should always be hidden) | ||
gnome-extensions enable hidetopbar@mathieu.bidon.ca | ||
dconf write /org/gnome/shell/extensions/hidetopbar/enable-intellihide false | ||
|
||
# Disable Gnome overview at startup | ||
# (The ONLY other way to do this is through an extension and we're not doing that -_-). | ||
# (Thanks Gnome developers!) | ||
MTIME=50 | ||
for ((i=0; i<$MTIME; i++)); do | ||
read -r DUMMY DUMMY IS_OVERVIEW <<< "$(dbus-send --print-reply=literal --session --dest=org.gnome.Shell --type=method_call /org/gnome/Shell org.freedesktop.DBus.Properties.Get string:org.gnome.Shell string:OverviewActive)" | ||
if [[ "$IS_OVERVIEW" = "true" ]] ; then | ||
/usr/bin/dbus-send --session --dest=org.gnome.Shell --type=method_call /org/gnome/Shell org.freedesktop.DBus.Properties.Set string:org.gnome.Shell string:OverviewActive variant:boolean:false | ||
exit | ||
fi | ||
sleep 0.1 | ||
done | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
max_resolution=$(head -1 /sys/class/drm/card0-HDMI-A-1/modes) | ||
gnome-monitor-config set -LpM HDMI-1 -t left -m $max_resolution@60.000 |
64 changes: 64 additions & 0 deletions
64
userpatches/overlay/rootfs/usr/share/plymouth/themes/armbian/armbian.plymouth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
[Plymouth Theme] | ||
Name=Armbian | ||
Description=Armbian logo | ||
ModuleName=two-step | ||
|
||
[two-step] | ||
Font=DejaVu Sans 15 | ||
TitleFont=DejaVu Sans Mono Bold 30 | ||
ImageDir=/usr/share/plymouth/themes/armbian | ||
DialogHorizontalAlignment=.5 | ||
DialogVerticalAlignment=.7 | ||
TitleHorizontalAlignment=.5 | ||
TitleVerticalAlignment=.382 | ||
HorizontalAlignment=.6 | ||
VerticalAlignment=.5 | ||
WatermarkHorizontalAlignment=.5 | ||
WatermarkVerticalAlignment=.5 | ||
Transition=none | ||
TransitionDuration=0.0 | ||
BackgroundStartColor=0x000000 | ||
BackgroundEndColor=0x000000 | ||
ProgressBarBackgroundColor=0x606060 | ||
ProgressBarForegroundColor=0xffffff | ||
DialogClearsFirmwareBackground=false | ||
MessageBelowAnimation=true | ||
|
||
[boot-up] | ||
UseEndAnimation=false | ||
UseFirmwareBackground=false | ||
|
||
[shutdown] | ||
UseEndAnimation=false | ||
UseFirmwareBackground=false | ||
|
||
[reboot] | ||
UseEndAnimation=false | ||
UseFirmwareBackground=false | ||
|
||
[updates] | ||
SuppressMessages=true | ||
ProgressBarShowPercentComplete=true | ||
UseProgressBar=true | ||
Title=Installing Updates... | ||
_Title=Installing Updates... | ||
SubTitle=Do not turn off your computer | ||
_SubTitle=Do not turn off your computer | ||
|
||
[system-upgrade] | ||
SuppressMessages=true | ||
ProgressBarShowPercentComplete=true | ||
UseProgressBar=true | ||
Title=Upgrading System... | ||
_Title=Upgrading System... | ||
SubTitle=Do not turn off your computer | ||
_SubTitle=Do not turn off your computer | ||
|
||
[firmware-upgrade] | ||
SuppressMessages=true | ||
ProgressBarShowPercentComplete=true | ||
UseProgressBar=true | ||
Title=Upgrading Firmware... | ||
_Title=Upgrading Firmware... | ||
SubTitle=Do not turn off your computer | ||
_SubTitle=Do not turn off your computer |
Binary file added
BIN
+72.4 KB
userpatches/overlay/rootfs/usr/share/plymouth/themes/armbian/watermark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.