Skip to content

Commit

Permalink
Updating the rp4 profile
Browse files Browse the repository at this point in the history
  • Loading branch information
marigostra committed Oct 6, 2022
1 parent 511558c commit 95033a1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
7 changes: 7 additions & 0 deletions rp4/aliases
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

alias s='sudo systemctl'
alias d='udisksctl'
alias n='sudo nmcli'
alias bt=bluetoothctl
alias ac='sudo apt-cache'
alias ag='sudo apt-get'
11 changes: 8 additions & 3 deletions rp4/prepare
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ deb https://download.luwrain.org/repo/ luwrain bullseye
EOF

apt-get update
apt-get install --yes voiceman mbrola-suite rhvoice-legacy dwm-luwrain locales-all xserver-xorg-video-dummy mplayer openjdk-17-jre openjfx network-manager
apt-get install --yes voiceman mbrola-suite rhvoice-legacy dwm-luwrain locales-all xserver-xorg-video-dummy mplayer network-manager bluez-tools
apt-get remove --yes openresolv dhcpcd5

mkdir /etc/luwrain
Expand Down Expand Up @@ -56,13 +56,12 @@ cat <<EOF > /etc/asound.conf
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
EOF


cd /etc/java-*-openjdk
cat <<EOF >> sound.properties
Expand All @@ -74,3 +73,9 @@ EOF

cd /etc/pulse
echo 'load-module module-switch-on-connect' >> default.pa

cp aliases /home/luwrain/.bash_aliases
chown luwrain:luwrain /home/luwrain/.bash_aliases

# removing vlc-bin vlc-data

1 change: 1 addition & 0 deletions rp4/userconf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
luwrain:$6$zZpKNb4LE/BLWkhf$SggedAdSixVz2KJOb/85GyH.7a6Fj0GE3OKoNYzPMzCUhD/cD/CX/tbTA4PXqhyN4NaHkAlmoV15mmEHAsY3Q0
2 changes: 2 additions & 0 deletions ubuntu/22.04/scripts/scripts.d/40-sound
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ javax.sound.sampled.Port=com.sun.media.sound.PortMixerProvider
javax.sound.sampled.SourceDataLine=com.sun.media.sound.DirectAudioDeviceProvider
javax.sound.sampled.TargetDataLine=com.sun.media.sound.DirectAudioDeviceProvider
EOF

echo 'load-module module-switch-on-connect' >> $LWRISO_ROOT/etc/pulse/default.pa

0 comments on commit 95033a1

Please sign in to comment.