-
Notifications
You must be signed in to change notification settings - Fork 0
/
testing-postinstall-30_desktop
executable file
·49 lines (42 loc) · 1.64 KB
/
testing-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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/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=(
calibre
copyq
flameshot
freerdp2-x11
icedtea-netx
keychain
libcanberra-gtk-module
libreoffice
lightdm-remote-session-freerdp2
nautilus-extension-burner
nautilus-filename-repairer
nautilus-scripts-manager
network-manager-pptp-gnome
okular
rdesktop
ssh-askpass-gnome
ttf-xfree86-nonfree
wireshark
xclip
zathura
)
echo "Installation APT: " "${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