mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-21 06:11:31 +00:00
Lxde update (#2470)
* debian lxde install package file. * added missing dir
This commit is contained in:
parent
e1f0747492
commit
96264f7145
6 changed files with 56 additions and 0 deletions
|
@ -0,0 +1,43 @@
|
||||||
|
# install lightdm greeter
|
||||||
|
cp -R "${SRC}"/packages/blobs/desktop/lightdm "${destination}"/etc/armbian
|
||||||
|
|
||||||
|
# install default desktop settings
|
||||||
|
mkdir -p "${destination}"/etc/skel
|
||||||
|
cp -R "${SRC}"/packages/blobs/desktop/skel/. "${destination}"/etc/skel
|
||||||
|
|
||||||
|
# install logo for login screen
|
||||||
|
mkdir -p "${destination}"/usr/share/pixmaps/armbian
|
||||||
|
cp "${SRC}"/packages/blobs/desktop/icons/armbian.png "${destination}"/usr/share/pixmaps/armbian
|
||||||
|
|
||||||
|
# install wallpapers
|
||||||
|
mkdir -p "${destination}"/usr/share/backgrounds/armbian/
|
||||||
|
cp "${SRC}"/packages/blobs/desktop/wallpapers/armbian*.jpg "${destination}"/usr/share/backgrounds/armbian/
|
||||||
|
|
||||||
|
mkdir -p "${destination}"/usr/share/mate-background-properties
|
||||||
|
cat <<-EOF > "${destination}"/usr/share/mate-background-properties/armbian.xml
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
|
||||||
|
<wallpapers>
|
||||||
|
<wallpaper deleted="false">
|
||||||
|
<name>Armbian light</name>
|
||||||
|
<filename>/usr/share/backgrounds/armbian/armbian18-Dre0x-Minum-light-3840x2160.jpg</filename>
|
||||||
|
<options>zoom</options>
|
||||||
|
<pcolor>#ffffff</pcolor>
|
||||||
|
<scolor>#000000</scolor>
|
||||||
|
</wallpaper>
|
||||||
|
<wallpaper deleted="false">
|
||||||
|
<name>Armbian dark</name>
|
||||||
|
<filename>/usr/share/backgrounds/armbian/armbian03-Dre0x-Minum-dark-3840x2160.jpg</filename>
|
||||||
|
<options>zoom</options>
|
||||||
|
<pcolor>#ffffff</pcolor>
|
||||||
|
<scolor>#000000</scolor>
|
||||||
|
</wallpaper>
|
||||||
|
</wallpapers>
|
||||||
|
EOF
|
||||||
|
|
||||||
|
mkdir -p "${destination}"/usr/share/glib-2.0/schemas
|
||||||
|
cat <<-EOF > "${destination}"/usr/share/glib-2.0/schemas/org.gnome.desktop.background.gschema.override
|
||||||
|
[org.gnome.desktop.background]
|
||||||
|
picture-uri='file:///usr/share/backgrounds/armbian/armbian03-Dre0x-Minum-dark-3840x2160.jpg'
|
||||||
|
show-desktop-icons=true
|
||||||
|
EOF
|
|
@ -0,0 +1,5 @@
|
||||||
|
# install custom xorg for pinebook-pro
|
||||||
|
cp -R "${SRC}"/packages/bsp/pinebook-pro/xorg.conf "${destination}"/etc/X11/xorg.conf.d/
|
||||||
|
|
||||||
|
# install custom asound state for pinebook-pro
|
||||||
|
cp -R "${SRC}"/packages/asouund.state/ "${destination}"/etc/
|
|
@ -0,0 +1 @@
|
||||||
|
echo "Hello from debian/postinst in the DDE for PineBook-Pro !"
|
|
@ -0,0 +1 @@
|
||||||
|
|
5
config/desktop/buster/environments/lxde/debian/postinst
Normal file
5
config/desktop/buster/environments/lxde/debian/postinst
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# overwrite stock lightdm greeter configuration
|
||||||
|
if [ -d /etc/armbian/lightdm ]; then cp -R /etc/armbian/lightdm /etc/; fi
|
||||||
|
|
||||||
|
# Disable Pulseaudio timer scheduling which does not work with sndhdmi driver
|
||||||
|
if [ -f /etc/pulse/default.pa ]; then sed "s/load-module module-udev-detect$/& tsched=0/g" -i /etc/pulse/default.pa; fi
|
1
config/desktop/buster/environments/lxde/support
Normal file
1
config/desktop/buster/environments/lxde/support
Normal file
|
@ -0,0 +1 @@
|
||||||
|
csc
|
Loading…
Add table
Reference in a new issue