Skip to content

Commit

Permalink
Fix sound in firefox, remove chromium, get xsecurelock from testing
Browse files Browse the repository at this point in the history
closes #140, #139
  • Loading branch information
SolidHal committed Jan 11, 2020
1 parent c2fb359 commit 7408913
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
4 changes: 2 additions & 2 deletions resources/InstallResources/default.pa
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,5 @@ load-module module-filter-apply
### Make some devices default
#set-default-sink output
#set-default-source input
load-module module-alsa-sink device=sysdefault
load-module module-alsa-source device=sysdefault
# load-module module-alsa-sink device=sysdefault
# load-module module-alsa-source device=sysdefault
10 changes: 4 additions & 6 deletions scripts/InstallScripts/InstallPackages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ dpkg-reconfigure tzdata
DEBIAN_FRONTEND=noninteractive apt install -y xorg acpi-support lightdm tasksel dpkg librsvg2-common xorg xserver-xorg-input-libinput alsa-utils anacron avahi-daemon eject iw libnss-mdns xdg-utils mousepad vlc dconf-cli dconf-editor sudo dtrx emacs sysfsutils bluetooth
DEBIAN_FRONTEND=noninteractive apt install -y network-manager-gnome network-manager-openvpn network-manager-openvpn-gnome

# #install firefox from buster (if buster repos are present, i.e. installed suite is less than bullseye), otherwise from default suite
DEBIAN_FRONTEND=noninteractive apt -t buster install -y firefox-esr || DEBIAN_FRONTEND=noninteractive apt install -y firefox-esr

# #install chromium from buster (if buster repos are present, i.e. installed suite is less than bullseye), otherwise from default suite
DEBIAN_FRONTEND=noninteractive apt -t buster install -y chromium || DEBIAN_FRONTEND=noninteractive apt install -y chromium
DEBIAN_FRONTEND=noninteractive apt install -y firefox-esr

[ "$DE" = "xfce" ] && apt install -y xfce4 dbus-user-session system-config-printer tango-icon-theme xfce4-power-manager xfce4-terminal xfce4-goodies numix-gtk-theme plank accountsservice papirus-icon-theme
[ "$DE" = "lxqt" ] && apt install -y lxqt pavucontrol-qt
Expand Down Expand Up @@ -74,7 +70,7 @@ then
# is told to sleep at lid close, and activate lock
# gnome-screensaver shows the desktop for a fraction of a second at wakeup
# xscreensaver works as well, if you prefer that but is less simple
DEBIAN_FRONTEND=noninteractive apt install -y -t unstable xsecurelock
DEBIAN_FRONTEND=noninteractive apt install -y -t testing xsecurelock

#Install packages not in an apt repo
dpkg -i $DIR/xfce-themes/*
Expand Down Expand Up @@ -132,6 +128,8 @@ fi

#Copy in acpi, pulse audio, trackpad settings, funtion key settings
cp -rf $DIR/default.pa /etc/pulse/default.pa
# Disable flat-volumes in pulseaudio, fixes broken sound for some sources in firefox
echo "flat-volumes = no" > /etc/pulse/daemon.conf
cp -rf $DIR/sound.sh /etc/acpi/sound.sh
cp -rf $DIR/headphone-acpi-toggle /etc/acpi/events/headphone-acpi-toggle
mkdir /etc/X11/xorg.conf.d/
Expand Down
3 changes: 1 addition & 2 deletions scripts/buildFilesystem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,13 @@ chroot $outmnt apt-get clean
chroot $outmnt apt install -y libinput-tools xdotool build-essential
#Package is copied into /InstallResources/packages

chroot $outmnt apt-get install -y -t unstable -d xsecurelock
chroot $outmnt apt-get install -y -t testing -d xsecurelock

#Download the packages to be installed by Install.sh:
chroot $outmnt apt-get install -y -d xorg acpi-support lightdm tasksel dpkg librsvg2-common xorg xserver-xorg-input-libinput alsa-utils anacron avahi-daemon eject iw libnss-mdns xdg-utils lxqt crda xfce4 dbus-user-session system-config-printer tango-icon-theme xfce4-power-manager xfce4-terminal xfce4-goodies mousepad vlc libutempter0 xterm numix-gtk-theme dconf-cli dconf-editor plank network-manager-gnome network-manager-openvpn network-manager-openvpn-gnome dtrx emacs accountsservice sudo pavucontrol-qt papirus-icon-theme sysfsutils bluetooth

chroot $outmnt apt-get install -d -y firefox-esr
# grab chromium as well, since sound is still broken in firefox for some media
chroot $outmnt apt-get install -d -y chromium

#Cleanup hosts
rm -rf $outmnt/etc/hosts #This is what https://wiki.debian.org/EmDebian/CrossDebootstrap suggests
Expand Down

0 comments on commit 7408913

Please sign in to comment.