-
Notifications
You must be signed in to change notification settings - Fork 1
/
ubuntu_setup.sh
executable file
·75 lines (59 loc) · 2.61 KB
/
ubuntu_setup.sh
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#!/bin/sh
#nerdfetch
sudo curl -fsSL https://raw.githubusercontent.com/ThatOneCalculator/NerdFetch/main/nerdfetch -o /usr/bin/nerdfetch
sudo chmod +x /usr/bin/nerdfetch
nerdfetch
#omakub
wget -qO- https://omakub.org/install | bash
cd ~/Downloads
#disable omakub shortcuts - they conflict with Jetbrains tools
gsettings set org.gnome.shell.keybindings switch-to-application-1 "[]"
gsettings set org.gnome.shell.keybindings switch-to-application-2 "[]"
gsettings set org.gnome.shell.keybindings switch-to-application-3 "[]"
gsettings set org.gnome.shell.keybindings switch-to-application-4 "[]"
gsettings set org.gnome.shell.keybindings switch-to-application-5 "[]"
gsettings set org.gnome.shell.keybindings switch-to-application-6 "[]"
gsettings set org.gnome.shell.keybindings switch-to-application-7 "[]"
gsettings set org.gnome.shell.keybindings switch-to-application-8 "[]"
gsettings set org.gnome.shell.keybindings switch-to-application-9 "[]"
#microsoft edge
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list'
sudo rm microsoft.gpg
sudo apt update && sudo apt install microsoft-edge-stable
# dotnet
wget https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh
chmod +x dotnet-install.sh
./dotnet-install.sh -v 6.0.425
./dotnet-install.sh -v latest
# dotnet configurations
dotnet tool update -g linux-dev-certs
dotnet linux-dev-certs install
# dotnet global tools
dotnet tool install -g dotnet-depends
dotnet tool install -g dotnet-ef
dotnet tool install -g dotnet-outdated-tool
dotnet tool install -g GitVersion.Tool
dotnet tool install -g nbgv
dotnet tool install -g tye2 --version 0.11.10
#jetbrains toolbox
sudo apt install libfuse2
curl -fsSL https://raw.githubusercontent.com/nagygergo/jetbrains-toolbox-install/master/jetbrains-toolbox.sh | bash
#azure cli
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
#tools
curl -s https://ohmyposh.dev/install.sh | bash -s
snap install azuredatastudio
snap install chromium
snap install drawio
snap install gitkraken --classic
snap install powershell --classic
snap install storage-explorer
#onedrive sync
sudo apt install onedrive #https://ubuntuhandbook.org/index.php/2024/02/install-onedrive-ubuntu/
onedrive --synchronize --single-directory 'Projects'
onedrive --synchronize --single-directory 'Work'
systemctl enable --user onedrive
systemctl start --user onedrive
systemctl status --user onedrive