-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpostinstall-30_desktop
executable file
·32 lines (24 loc) · 1.65 KB
/
postinstall-30_desktop
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive
export NEEDRESTART_MODE=a
echo "Disable GDM Wayland"
sudo sed -i s/#Wayland/Wayland/g /etc/gdm3/daemon.conf
install_browsers
install_burpsuite
PKGS="freerdp2-x11 ssh-askpass-gnome xclip keychain icedtea-netx network-manager-pptp-gnome \
libcanberra-gtk-module calibre libreoffice flameshot pepperflashplugin-nonfree ttf-xfree86-nonfree \
copyq rdesktop lightdm-remote-session-freerdp2 \
nautilus-extension-burner nautilus-filename-repairer nautilus-scripts-manager wireshark zathura"
echo "Installation apt-get ${PKGS}"
sudo apt-get -y install ${PKGS} > /dev/null
echo "Ajout shorcut flameshot"
gsettings set org.gnome.settings-daemon.plugins.media-keys screenshot '[]'
gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/flameshot/']"
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/flameshot/ name 'PrtScr flameshot'
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/flameshot/ command '/usr/bin/flameshot gui'
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/flameshot/ binding 'Print'
if [[ ! -f "${HOME}/.local/bin/obsidian" ]]; then
echo "Installation Obsidian"
wget 'https://github.com/obsidianmd/obsidian-releases/releases/download/v0.12.15/Obsidian-0.12.15.AppImage' -O ${HOME}/.local/bin/obsidian
chmod +x ${HOME}/.local/bin/obsidian
fi