Skip to content

Commit

Permalink
add sid xfce
Browse files Browse the repository at this point in the history
  • Loading branch information
BPI-SINOVOIP committed Aug 22, 2024
1 parent ef75ccd commit c117db9
Show file tree
Hide file tree
Showing 6 changed files with 165 additions and 1 deletion.
1 change: 0 additions & 1 deletion config/desktop/sid/environments/xfce

This file was deleted.

1 change: 1 addition & 0 deletions config/desktop/sid/environments/xfce/architectures
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
arm64, amd64, armhf, riscv64
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# 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 cinnamon desktop bar icons
mkdir -p "${destination}"/usr/share/icons/armbian
cp "${SRC}"/packages/blobs/desktop/desktop-icons/*.png "${destination}"/usr/share/icons/armbian

# install wallpapers
mkdir -p "${destination}"/usr/share/backgrounds/armbian/
cp "${SRC}"/packages/blobs/desktop/desktop-wallpapers/*.jpg "${destination}"/usr/share/backgrounds/armbian

# install wallpapers
mkdir -p "${destination}"/usr/share/backgrounds/armbian-lightdm/
cp "${SRC}"/packages/blobs/desktop/lightdm-wallpapers/*.jpg "${destination}"/usr/share/backgrounds/armbian-lightdm

# 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
123 changes: 123 additions & 0 deletions config/desktop/sid/environments/xfce/config_base/packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
anacron
apt-xapian-index
blueman
bluez
bluez-cups
bluez-tools
brltty
brltty-x11
cifs-utils
colord
cups
cups-bsd
cups-client
cups-filters
dbus-x11
dmz-cursor-theme
evince
evince-common
fontconfig
fontconfig-config
fonts-noto-cjk
fonts-ubuntu
fonts-ubuntu-console
foomatic-db-compressed-ppds
gdebi
ghostscript-x
gnome-calculator
gnome-font-viewer
gnome-disk-utility
gnome-screenshot
gnome-system-monitor
gstreamer1.0-packagekit
gstreamer1.0-plugins-base-apps
gstreamer1.0-pulseaudio
gtk2-engines
gtk2-engines-murrine
gtk2-engines-pixbuf
gvfs-backends
hplip
inputattach
inxi
keyutils
laptop-detect
libatk-adaptor
libfontconfig1
libfontembed1
libfontenc1
libgail-common
libgl1-mesa-dri
libgsettings-qt1
libgtk2.0-bin
libnotify-bin
libpam-gnome-keyring
libproxy1-plugin-gsettings
libproxy1-plugin-networkmanager
libu2f-udev
libwmf0.2-7-gtk
libxcursor1
lightdm
lm-sensors
lxtask
mesa-utils
mousepad
mousetweaks
network-manager-gnome
network-manager-openvpn
network-manager-ssh
network-manager-vpnc
numix-gtk-theme
numix-icon-theme
numix-icon-theme-circle
openprinting-ppds
orca
p7zip-full
pamix
pasystray
pavucontrol
pavumeter
#policykit-1
polkitd
#printer-driver-all
profile-sync-daemon
pulseaudio
pulseaudio-module-bluetooth
redshift
slick-greeter
smbclient
software-properties-gtk
spice-vdagent
synaptic
system-config-printer
system-config-printer-common
terminator
thunar-volman
update-inetd
viewnior
x11-apps
x11-utils
x11-xserver-utils
xapps-common
xarchiver
xbacklight
xcursor-themes
xdg-user-dirs
xdg-user-dirs-gtk
xfce4
xfce4-notifyd
xfce4-power-manager
xfce4-screenshooter
xfce4-terminal
xfonts-100dpi
xfonts-75dpi
xfonts-base
xfonts-encodings
xfonts-scalable
xfonts-utils
xorg-docs-core
xscreensaver
xsensors
xserver-xorg
xserver-xorg-video-fbdev
xauth
xwallpaper
18 changes: 18 additions & 0 deletions config/desktop/sid/environments/xfce/debian/postinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# overwrite stock lightdm greeter configuration
if [ -d /etc/armbian/lightdm ]; then cp -R /etc/armbian/lightdm /etc/; fi

# Adjust menu
if [ -f /etc/xdg/menus/xfce-applications.menu ]; then
sed -i -n '/<Menuname>Settings<\/Menuname>/{p;:a;N;/<Filename>xfce4-session-logout.desktop<\/Filename>/!ba;s/.*\n/\
\t<Separator\/>\n\t<Merge type="all"\/>\n <Separator\/>\n <Filename>armbian-donate.desktop<\/Filename>\
\n <Filename>armbian-support.desktop<\/Filename>\n/};p' /etc/xdg/menus/xfce-applications.menu
fi

# Hide few items
if [ -f /usr/share/applications/display-im6.q16.desktop ]; then mv /usr/share/applications/display-im6.q16.desktop /usr/share/applications/display-im6.q16.desktop.hidden; fi
if [ -f /usr/share/applications/display-im6.desktop ]; then mv /usr/share/applications/display-im6.desktop /usr/share/applications/display-im6.desktop.hidden; fi
if [ -f /usr/share/applications/vim.desktop ]; then mv /usr/share/applications/vim.desktop /usr/share/applications/vim.desktop.hidden; fi
if [ -f /usr/share/applications/libreoffice-startcenter.desktop ]; then mv /usr/share/applications/libreoffice-startcenter.desktop /usr/share/applications/libreoffice-startcenter.desktop.hidden; 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 change: 1 addition & 0 deletions config/desktop/sid/environments/xfce/support
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
supported

0 comments on commit c117db9

Please sign in to comment.