2022-07-19 18:52:03 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Installing symlinks in the chroot
|
|
|
|
# We might be changing directories with each symlink.
|
|
|
|
# Don't assume each instance will be from ~/ for the root user.
|
|
|
|
|
|
|
|
# Workaround for using snapd on debian. Thank You - @stevesveryown.
|
|
|
|
[ ! -e /etc/skel/.local/share ] && mkdir -p /etc/skel/.local/share
|
2023-02-23 15:46:01 -01:00
|
|
|
#[ ! -e /var/lib/snapd/desktop/applications ] &&
|
|
|
|
#mkdir -p /var/lib/snapd/desktop/applications &&
|
|
|
|
#chmod 777 /var/lib/snapd/desktop/applications
|
|
|
|
#ln -s /var/lib/snapd/desktop/applications /etc/skel/.local/share/applications
|
2022-07-19 18:52:03 +00:00
|
|
|
ln -s snap /usr/bin/snap-store
|
|
|
|
|
|
|
|
# This fixes the 'Right-Click doesn't open terminal in nemo' issue.
|
|
|
|
ln -s xfce4-terminal /usr/bin/gnome-terminal
|
2024-01-08 12:57:45 -01:00
|
|
|
|
2022-07-19 18:52:03 +00:00
|
|
|
# This work-around lets ICE find Chromium (cromium-browser) in /usr/bin .
|
|
|
|
# No similar work-arounds were needed for FF, FF-ESR, Chrome or Vivaldi .
|
2024-01-08 12:57:45 -01:00
|
|
|
ln -s chromium /usr/bin/chromium-browser
|
2022-07-19 18:52:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
# These are for the 3 installer scripts - icons.sh, themes.sh & walls.sh
|
|
|
|
# In 0610- we set the permissions to 777 on the DIRECTORY, not the contents.
|
|
|
|
ln -s icons /usr/share/pepicons
|
|
|
|
ln -s themes /usr/share/pepthemes
|
|
|
|
ln -s backgrounds /usr/share/pepwallpaper
|
|
|
|
|
|
|
|
# A better version of vi and vim than vim-tiny
|
|
|
|
rm /etc/alternatives/vi
|
|
|
|
ln -s ../../etc/alternatives/vim /usr/bin/vim
|
|
|
|
ln -s ../../usr/bin/vim.tiny /etc/alternatives/vim
|
|
|
|
ln -s ../../usr/bin/busybox /etc/alternatives/vi
|
|
|
|
|
|
|
|
# Put a .png at ~/.face from within /etc/skel
|
2023-02-23 15:46:01 -01:00
|
|
|
#ln -s /usr/share/pixmaps/logo.png /etc/skel/.face
|
2022-07-19 18:52:03 +00:00
|
|
|
|