AR-1708 - Improve i3-wm support (#5188)

This commit is contained in:
Tomáš Mozdřeň
2023-05-18 13:09:52 +02:00
committed by GitHub
parent 97983de408
commit 65dd6f8aa6
9 changed files with 194 additions and 2 deletions

View File

@@ -0,0 +1 @@
../../../focal/environments/i3-wm/architectures

View File

@@ -0,0 +1 @@
../../../focal/environments/i3-wm/armbian

View File

@@ -0,0 +1,152 @@
anacron
apt-config-auto-update
arandr
blueman
bluez
bluez-cups
bluez-tools
brltty
brltty-x11
caffeine
cifs-utils
compton
conky
conky-all
cups
cups-bsd
cups-client
cups-filters
dbus-x11
dictionaries-common
dmz-cursor-theme
doc-base
dunst
evince
evince-common
feh
fontconfig
fontconfig-config
fonts-arphic-ukai
fonts-arphic-uming
fonts-dejavu-core
fonts-freefont-ttf
fonts-guru
fonts-guru-extra
fonts-kacst
fonts-kacst-one
fonts-khmeros
fonts-liberation
fonts-nanum
fonts-opensymbol
fonts-stix
fonts-symbola
fonts-ubuntu
fonts-ubuntu-console
foomatic-db-compressed-ppds
gdebi
ghostscript-x
gnome-bluetooth
gnome-disk-utility
gnome-font-viewer
gnome-power-manager
gnome-system-monitor
gnome-system-tools
gromit
gstreamer1.0-packagekit
gstreamer1.0-plugins-base-apps
gstreamer1.0-pulseaudio
gvfs-backends
hplip
i3
i3lock
i3status
i3-wm
suckless-tools
ayatana-indicator-printers
inputattach
keyutils
locales
locales-all
laptop-detect
libanyevent-i3-perl
libatk-adaptor
libev4
libfont-afm-perl
libfontconfig1
libfontembed1
libfontenc1
libgail-common
libgl1-mesa-dri
libgnome-bluetooth13
libgsettings-qt1
libjson-xs-perl
libnotify-bin
libproxy1-plugin-gsettings
libproxy1-plugin-networkmanager
libu2f-udev
libwmf0.2-7-gtk
libxcb-cursor0
libxcursor1
lightdm
lightdm-gtk-greeter
lightdm-gtk-greeter-settings
lightdm-settings
lxappearance
mousetweaks
network-manager-openvpn-gnome
network-manager-vpnc
nitrogen
numix-gtk-theme
openprinting-ppds
p7zip-full
pamix
pasystray
pavucontrol
pavucontrol-qt
pavumeter
policykit-1
policykit-1-gnome
printer-driver-all
profile-sync-daemon
pulseaudio-module-bluetooth
redshift
rofi
samba
slick-greeter
smbclient
software-properties-gtk
speech-dispatcher
spice-vdagent
system-config-printer
system-config-printer-common
terminator
thunar
totem
totem-common
totem-plugins
apt-config-auto-update
ayatana-indicator-printers
vifm
x11-apps
x11-xserver-utils
xarchiver
xbacklight
xcursor-themes
xdg-user-dirs
xdg-user-dirs-gtk
xfonts-100dpi
xfonts-75dpi
xfonts-base
xfonts-encodings
xfonts-scalable
xfonts-utils
xorg-docs
xorg-docs-core
xscreensaver
xserver-xorg
xserver-xorg-video-fbdev
xauth
xtitle
xttitle
xwallpaper
apt-xapian-index

View File

@@ -0,0 +1 @@
../../../focal/environments/i3-wm/debian

View File

@@ -0,0 +1 @@
../../../focal/environments/i3-wm/support

View File

@@ -1,5 +1,6 @@
anacron
apport-gtk
apt-xapian-index
arandr
blueman
bluez
@@ -63,6 +64,7 @@ i3
i3lock
i3status
i3-wm
suckless-tools
indicator-printers
inputattach
kerneloops

View File

@@ -5,5 +5,37 @@ if [ -d /etc/armbian/lightdm ]; then cp -R /etc/armbian/lightdm /etc/; fi
if [ -f /etc/pulse/default.pa ]; then sed "s/load-module module-udev-detect$/& tsched=0/g" -i /etc/pulse/default.pa; fi
# set wallpapper to armbian
echo "exec_always --no-startup-id feh --bg-scale --zoom fill --no-fehbg /usr/share/backgrounds/armbian/armbian03-Dre0x-Minum-dark-3840x2160.jpg" | tee -a /etc/i3/config
# lightdm wallpaper
mv /etc/lightdm/slick-greeter.conf /etc/lightdm/slick-greeter.conf.bak
touch /etc/lightdm/slick-greeter.conf
echo "[Greeter]
background=/usr/share/backgrounds/armbian/armbian03-Dre0x-Minum-dark-3840x2160.jpg
theme-name = Numix
icon-theme-name = Numix
font-name = Sans 11
draw-user-background = false
show-keyboard = true
onscreen-keyboard = false
screen-reader = true
draw-grid = true" | tee -a /etc/lightdm/slick-greeter.conf
echo "Finished preparing /etc/lightdm/slick-greeter.conf..."
mv /etc/lightdm/lightdm-gtk-greeter.conf /etc/lightdm/lightdm-gtk-greeter.conf.bak
touch /etc/lightdm/lightdm-gtk-greeter.conf
echo "[greeter]
background=/usr/share/backgrounds/armbian/armbian03-Dre0x-Minum-dark-3840x2160.jpg
theme-name = Numix
icon-theme-name = Numix
font-name = Sans 11
draw-user-background = false
show-keyboard = true
onscreen-keyboard = false
screen-reader = true
draw-grid = true" | tee -a /etc/lightdm/lightdm-gtk-greeter.conf
echo "Finished preparing /etc/lightdm/lightdm-gtk-greeter.conf..."
slick-greeter -h #applies wallpaper

View File

@@ -1 +1 @@
csc
supported

View File

@@ -1,5 +1,6 @@
anacron
apport-gtk
apt-xapian-index
arandr
blueman
bluez
@@ -62,6 +63,7 @@ i3
i3lock
i3status
i3-wm
suckless-tools
indicator-printers
inputattach
kerneloops
@@ -157,4 +159,4 @@ xserver-xorg-video-fbdev
xauth
xtitle
xttitle
xwallpaper
xwallpaper