-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_other_packages.sh
executable file
·336 lines (304 loc) · 10.6 KB
/
test_other_packages.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
#!/bin/sh
pacman -S dialog --noconfirm
# Basics:
PACKAGES+=($(dialog --stdout --checklist "Basic Packages:" 60 80 33 \
xorg "Xorg graphics server package group" on \
xorg-xinit "Manually start Xorg server" on \
ntfs-3g "FOSS implementation of NTFS filesystem" on \
cifs-utils "Tools for CIFS filesystem (Samba)" on \
fuse "Allow mounting filesystems" on \
picom "X Compositor" on \
dunst "Notification daemon" on \
libnotify "Notification library" on \
zip "Creating/modifying .zip files" on \
unzip "Extracting/viewing .zip files" on \
udisks2 "Mount/unmount storage" on \
eza "Better ls" on \
bat "Better cat" on \
procs "Better ps" on \
prettyping "Better ping" on \
wget "Download files" on \
xdotool "Automate keyboard/mouse" on \
htop "Process viewer" on \
iftop "View traffic on network" on \
maim "Screenshot" on \
arandr "Graphical front of xrandr" on \
starship "Cross-shell prompt" on \
blugon "(AUR) Blue light filter for X" on \
base-devel "Group of packages for AUR" on \
paru-bin "(AUR) AUR Helper" on \
snapd "(AUR) For installing snap packages" off \
tlp "Battery Manager" off \
tlpui "(AUR) GUI for tlp" off \
jq "Command line JSON" on \
atool "Archive manager script" on \
inetutils "Provides telnet command" on \
cpupower "Tune processor speeds" on \
cheese "GNOME Camera Utility" on
))
# Audio Setup:
PACKAGES+=($(dialog --stdout --checklist "Audio/Bluetooth Setup:" 20 80 13 \
pulseaudio "General-purpose sound server" on \
pulseaudio-alsa "For pulseaudio to manage ALSA" on \
pulseaudio-bluetooth "Pulseaudio bluetooth audio support" on \
pulseaudio-jack "Pulseaudio JACK sink, source, dbus" on \
pulseaudio-equalizer "Pulseaudio equalizer" on \
alsa-utils "ALSA utilities" on \
pavucontrol "Graphical pulseaudio control" on \
pavumeter "(AUR) Volume meter for pulseaudio channels" on \
paman "(AUR) Simple pulseaudio manager" on \
bluez "Bluetooth protocol stack" on \
bluez-utils "Bluetooth utility" on \
blueman "Bluetooth manager" on \
rtcqs "(AUR) Script to test system for realtime performance" on
))
# Login Managers/Lock Screens:
PACKAGES+=($(dialog --stdout --checklist "Login Managers/Lock Screens:" 10 80 3 \
sddm "QML-based login-manager" on \
xlockmore "X screensaver and lock screen" off \
slock "Simple X lock screen" off
))
# DE/WM/Docks:
PACKAGES+=($(dialog --stdout --checklist "Desktops/Window Managers/etc.:" 50 80 17 \
network-manager-applet "Tray icon for network-manager" on \
networkmanager-dmenu-git "(AUR) dmenu script for interacting with NM" on \
pasystray "Tray icon for pulseaudio" on \
xmonad "X Tiling window manager" on \
xmonad-contrib "Extentions for Xmonad" on \
xmobar "Minimal statusbar (for xmonad)" on \
cabal-install "Command-line interface for Cabal and Hackage" on \
openbox "Floating X window manager" on \
tint2 "Taskbar (for openbox)" on \
obconf "Openbox config tool" on \
xfce4 "GTK3 desktop environment" on \
plank "Simple dock (for xfce)" on \
bspwm "Tiling Window manager" on \
polybar "Status bar for bspwm" on \
sxhkd "X hotkey daemon (for bspwm)" on \
trayer "GTK2-based system tray" on \
kdocker "Dock any window" on
))
# Browsers:
PACKAGES+=($(dialog --stdout --checklist "Browsers:" 20 80 6 \
brave-bin "(AUR) Privacy fork of chromium" on \
librewolf-bin "(AUR) Privacy fork of firefox" on \
firefox "" off \
qutebrowser "Vim-like browser" on \
lynx "Terminal browser" on \
amfora "Browser for Gemini protocol" off
))
# Communication:
PACKAGES+=($(dialog --stdout --checklist "Communication:" 15 80 4 \
discord "" on \
neomutt "Terminal email client" off \
thunderbird "Graphical email client" off \
zoom "(AUR)" on
))
# Network/Internet
PACKAGES+=($(dialog --stdout --checklist "Network/Internet:" 20 80 4 \
putty "SSH client" on \
qbittorrent "Bittorrent client" on \
network-manager-openvpn "For connecting to VPNs" off \
nextcloud-client "Nextcloud desktop client" off
))
# Games:
PACKAGES+=($(dialog --stdout --checklist "Games:" 15 80 4 \
steam "" on \
ttf-liberation "Font needed for steam" on \
minecraft-launcher "(AUR)" on \
nbtexplorer-bin "(AUR) Open .nbt files for minecraft" on
))
# Document/Text Editors:
PACKAGES+=($(dialog --stdout --checklist "Document/Text Editors:" 40 80 7 \
libreoffice-fresh "" on \
code "Open source version of VSCode" on \
neovim "Better vim" on \
emacs "Complicated editor" on \
gedit "Graphical text editor" on \
nano "Terminal text editor" on \
geany "Lightweight IDE" off
))
# Development:
PACKAGES+=($(dialog --stdout --checklist "Development:" 40 80 20 \
intellij-idea-community-edition "" on \
pycharm-community-edition "" on \
android-studio "(AUR)" on \
arduino "" on \
arduino-avr-core "Needed for arduino" on \
valgrind "Memory leak checker" on \
rust "" on \
jre-openjdk "Java Development Kit" on \
python-pip "Python package manager" on \
unityhub "(AUR) Unity game engine installer" off \
dotnet-runtime ".NET Core runtime (needed for unity)" off \
dotnet-sdk ".NET Core sdk (needed for unity)" off \
mono-msbuild "Xamarin implementation of MS build system" off \
mono "Implementation of .NET platform" off \
imlib "Image library for C" off \
nasm "x86 Assembler" off \
portaudio "Audio I/O library" on \
nodejs "" on \
ghidra "Software reverse engineering tool" on \
dfu-programmer "Programmer for Atmel Chips with USB Bootloader" on
))
# Graphics/Design:
PACKAGES+=($(dialog --stdout --checklist "Graphics/Design:" 20 80 5 \
gimp "Powerful image editor" on \
blender "3D graphics creation" off \
freecad "Parametric CAD" off \
imagemagick "Image viewing/manipulation" on \
rawtherapee "Raw image processing" off
))
# Audio Editors:
PACKAGES+=($(dialog --stdout --checklist "Audio Editors:" 10 80 1 \
audacity "" on
))
# Music:
PACKAGES+=($(dialog --stdout --checklist "Music:" 20 80 11 \
moc-pulse-svn "(AUR) Terminal music player" on \
spotify "(AUR)" on \
polybar-spotify-module "(AUR)" on \
qsynth "Qt GUI for fluidsynth" on \
jack "Low-latency audio server for music (needed by qsynth)" on \
qjackctl "Qt GUI front-end for jack" on \
cadence "Another GUI front-end for jack" on \
musescore "Sheet music creation" on \
guitarix "Guitar amp and FX using jack" on \
lmms "DAW" on \
ardour "DAW" on
))
# Calculators:
PACKAGES+=($(dialog --stdout --checklist "Calculators:" 15 80 3 \
qalculate-gtk "GUI and terminal calculator" on \
octave "FOSS matlab" on \
gcc-fortran "Needed for octave" on
))
# Virtual Machines:
PACKAGES+=($(dialog --stdout --checklist "Virtual Machines:" 30 80 6 \
qemu "" on \
virt-manager "Front-end for qemu" on \
ebtables "Needed for qemu" on \
dnsmasq "Needed for qemu" on \
virtualbox "" on \
virtualbox-host-modules-arch "Needed for virtualbox" on
))
# Terminals:
PACKAGES+=($(dialog --stdout --checklist "Terminals:" 15 80 3 \
alacritty "" on \
xterm "Basic X terminal" on \
cool-retro-term "Cathode-display terminal" off
))
# File Managers:
PACKAGES+=($(dialog --stdout --checklist "File Managers:" 10 80 4 \
pcmanfm "GTK file manager" on \
lf "(AUR) Terminal file manager" on \
filezilla "FTP, FTPS, SFTP client" off \
thunar "xfce FM (installed by xfdesktop)" off
))
# Documents:
PACKAGES+=($(dialog --stdout --checklist "Document Viewers/Tools:" 15 80 5 \
atril "Document viewer" on \
zathura "Minimal document viewer" on \
zathura-pdf-mupdf "PDF support for zathura" on \
poppler "PDF rendering library" on \
joplin-appimage "(AUR) Note-taking app" on
))
# Themes/Wallpapers/Icons/Fonts:
PACKAGES+=($(dialog --stdout --checklist "Appearance:" 30 80 18 \
ttf-mononoki-nerd "Font" on \
ttf-roboto-mono-nerd "Main font" on \
ttf-ubuntu-font-family "Ubuntu fonts" on \
ttf-ms-fonts "(AUR) Microsoft fonts" on \
ttf-vista-fonts "(AUR) Microsoft fonts" on \
noto-fonts-emoji "Emoji font" on \
xorg-fonts-misc "Xorg fonts" on \
xorg-xlsfonts "List available X fonts" on \
xorg-xfontsel "Tool for selecting font names" on \
nitrogen "Wallpaper setter" on \
archlinux-wallpaper "Arch wallpaper pack" on \
livewallpaper "Animated 3D wallpapers" off \
lxappearance "GTK theme switcher" on \
qt5ct "Qt5 theme switcher" on \
breeze-gtk "Breeze GTK2 and GTK3 theme" on \
breeze-icons "Breeze theme icons" on \
arc-gtk-theme "Arc GTK2, GTK3, GTK4 theme" on \
materia-gtk-theme "Material design theme" on \
arc-icon-theme "Arc icon theme" on \
papirus "Papirus icon theme" on
))
# Media players:
PACKAGES+=($(dialog --stdout --checklist "Media Players:" 15 80 4 \
feh "Image viewer" on \
vlc "Media player" on \
mpv "Video player" on \
mpg123 "Audio player" on
))
# Other Apps
PACKAGES+=($(dialog --stdout --checklist "Other Apps:" 50 80 27 \
stellarium-bin "(AUR) Planetarium software" on \
baobab "GUI directory tree analyzer" on \
android-file-transfer "Android MTP client" on \
scrcpy "Display and control android device" on \
grub-customizer "GUI grub2 settings manager" on \
nmap "Network discovery and security" on \
wireshark-qt "GUI network traffic and protocol analyzer" on \
gpick "Color picker" on \
xorg-xclock "Clock" on \
shellcheck "Shell script analysis" on \
calcurse "Calendar and organizer" on \
rofi "Window switcher and run launcher" on \
dmenu "Plain X run launcher" off \
keepassxc "Password organizer" off \
youtube-dl "Download youtube audio and video" on \
minicom "Serial communication" on \
kiwix-desktop "Offline reader for web content (expecially wikipedia)" off \
macchanger "Change MAC address" on \
newsboat "Terminal RSS/atom feed reader" on \
reflector "Retrieve latest pacman mirror list" on \
anki-bin "(AUR) Flash card program" off \
rpi-imager "(AUR) Flash images to card for RPi" off \
gqrx "SDR Receiver" on \
sdrsharp "(AUR) Better SDR Receiver" on \
ltspice "(AUR) SPICE simulator" off \
wike "(AUR) Wikipedia viewer" on \
gparted "GUI disk partition manager" on
))
# Fun stuff:
PACKAGES+=($(dialog --stdout --checklist "Fun stuff:" 20 80 9 \
glava "Audio spectrum visualizer" on \
cmatrix "Matrix terminal" on \
doge "doge" on \
figlet "Large letters from text" on \
lolcat "Rainbows" on \
neofetch "Display system info" on \
kjv-git "(AUR) Terminal KJV Bible" on \
openrazer-meta "(AUR) Razer keyboard backend" off \
polychromatic-git "(AUR) Razer keyboard GUI frontend" off
))
clear
echo "Expanding package groups..."
packagesExpanded=()
for item in "${PACKAGES[@]}"
do
# If item is a package
pacman -Qi "$item" &>/dev/null
if [ $? -eq 0 ]; then
packagesExpanded+=("$item")
continue
fi
# If item is a group
groupPackages=($(pacman -Sgq "$item"))
if [ $? -eq 0 ]; then
packagesExpanded+=("${groupPackages[@]}")
fi
done
INSTALLED_PACKAGES=($(pacman -Qe | awk {'print $1'}))
for item in "${INSTALLED_PACKAGES[@]}"
do
if printf '%s\0' "${packagesExpanded[@]}" | grep -Fxqz -- "$item"; then
printf '\e[0;32m%s: in script\n' $item
else
printf '\e[0;31m%s: not in script\n' $item
fi
done
#exit 0